RE: SS4000E LEDS and Power/Reset Buttons

2013-04-01 Thread Chris Wilkinson
bian.org Subject: Re: SS4000E LEDS and Power/Reset Buttons "Chris Wilkinson" 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,

Re: SS4000E LEDS and Power/Reset Buttons

2013-03-31 Thread Rtp
"Chris Wilkinson" 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/inpu

RE: SS4000E LEDS and Power/Reset Buttons

2013-03-30 Thread Chris Wilkinson
and Power/Reset Buttons "Chris Wilkinson" writes: Hi, [...] > > static struct gpio_keys_platform_data em7210_button_data = { > .buttons= em7210_buttons, > .nbuttons = ARRAY_SIZE(em7210_buttons), > }; hm. right. I forgot that. The previous dr

Re: SS4000E LEDS and Power/Reset Buttons

2013-03-29 Thread Rtp
"Chris Wilkinson" writes: Hi, [...] > > static struct gpio_keys_platform_data em7210_button_data = { > .buttons= em7210_buttons, > .nbuttons = ARRAY_SIZE(em7210_buttons), > }; hm. right. I forgot that. The previous driver I was using had some default polling interval

SS4000E LEDS and Power/Reset Buttons

2013-03-28 Thread Chris Wilkinson
With Arnaud's F75111 patches http://git.rtp-net.org/?p=ss4000e.git;a=summary in a 3.4.1 kernel, the LEDS can be turned on/off thus >ls /sys/class/leds >HD1:amber HD2:amber HD3:amber HD4:amber HD:amber >HD1:green HD2:green HD3:green HD4:green status:green #Turn LEDS on/off #if on, HDx LED