Presumably this just sets up the polling for the buttons. How does one read the state?
Chris -----Original Message----- From: Arnaud Patard (Rtp) [mailto:[email protected]] Sent: Friday, March 29, 2013 4:18 AM To: Chris Wilkinson Cc: [email protected] Subject: Re: SS4000E LEDS and Power/Reset Buttons "Chris Wilkinson" <[email protected]> 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 [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected] -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/000001ce2db4$67abab30$37030190$@net

