Re: [RFC] [PATCH] input: export gpio-keys driven switch status over gpiolib sysfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Janusz,

On Fri, Jun 05, 2009 at 12:39:39AM +0200, Janusz Krzysztofik wrote:
> This patch adds support for exporting status of GPIO switches, configured as
> gpio-keys buttons that generate events of type EV_SW, over standard gpiolib
> sysfs interface. That way, switch state can be easily accessed from userspace
> via a modern sysfs API in addition to traditional ioclt API, without the need
> for adding a new, usualy controversial entry to sysfs interface.
>

But this would make your application only work with devices using
gpio-keys driver and nothing else. I don't think it's a good idea.

Thanks.

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux