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

2009-06-12 Thread Janusz Krzysztofik
Hi Dmitry, Thursday 11 June 2009 08:18:56 Dmitry Torokhov napisaƂ(a): 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

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

2009-06-11 Thread Dmitry Torokhov
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

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

2009-06-04 Thread Janusz Krzysztofik
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,