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

RE: SS4000E LEDS and Power/Reset Buttons



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

Chris

-----Original Message-----
From: Arnaud Patard (Rtp) [mailto:arnaud.patard@rtp-net.org] 
Sent: Friday, March 29, 2013 4:18 AM
To: Chris Wilkinson
Cc: debian-arm@lists.debian.org
Subject: Re: SS4000E LEDS and Power/Reset Buttons

"Chris Wilkinson" <kinsham@verizon.net> 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 but not the in-kernel driver. This means that it's missing
a line like this:

     .poll_interval = 100,

in em7210_button_data. With this, it should work (I hope).


Arnaud
 


--
To UNSUBSCRIBE, email to debian-arm-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
Archive: [🔎] 87sj3eaab4.fsf@lebrac.rtp-net.org">http://lists.debian.org/[🔎] 87sj3eaab4.fsf@lebrac.rtp-net.org


Reply to: