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

Re: SS4000E LEDS and Power/Reset Buttons



"Chris Wilkinson" <kinsham@verizon.net> writes:

Hi,

> Presumably this just sets up the polling for the buttons. How does one read
> the state?

yeah, this sets the polling but without it, the driver is refusing to
register the input device, so, actually it makes things working.
Once booted, you should get a /dev/input/event0 (for instance) and also
you should get some key press event through normal keyboard stuff.

To get the name of the event file, look at /proc/bus/input/devices (oh,
you need evdev to get the event file).

Arnaud


Reply to: