[PATCH] ARM: gta02: Add button support

Nelson Castillo arhuaco at freaks-unidos.net
Fri Sep 25 09:44:29 CEST 2009


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?



More information about the openmoko-kernel mailing list