[PATCH] ARM: gta02: Add button support

Michael Trimarchi trimarchi at gandalf.sssup.it
Fri Sep 25 10:03:25 CEST 2009


Nelson Castillo wrote:
> Hello Lars.
>
> I tested with Linux 2.6.31.
>
>   
>> +#include <linux/gpio_keys.h>
>>     
>
> I think we need this also:
>
> #include <linux/input.h>
>
>
> root at om-gta02 /sys/class/input $ ls
> event0  input0  mice
>
> event0 is power button (PCF50633 PMU event).
>
> What do I have to enable to see the input events?
> I am missing something?
>
>
>   
Hi Nelson
I have prepare a linux-2.6.31 tree and I would like to commit somenthig. 
Can we prepare a clean linux-2.6 branch?

Do you include gpio-keys driver?

Michael





More information about the openmoko-kernel mailing list