Re: [Zaurus-devel] Zaurus GPIO buttons with matrix keypad drivers
Hi! following comments from a Stanislav patch Spitz switched to generic matrix-gpio keyboard driver in 2.6.32-rc0, but that means that support for power button and lid switches was lost. This restores it, using button-gpio code. in the 2.6.38 source I only find in spitz.c: #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) static struct gpio_keys_button spitz_gpio_keys[] and in tosa.c : static struct gpio_keys_button tosa_gpio_keys[] What about the rest of Zaurus? Well, it probably needs similar patches It should not be hard to copy from spitz. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ___ Zaurus-devel mailing list Zaurus-devel@lists.linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel
Re: [Zaurus-devel] Zaurus GPIO buttons with matrix keypad drivers
On Mon, May 2, 2011 at 2:18 PM, Andrea Adami andrea.ad...@gmail.com wrote: Hello, following comments from a Stanislav patch Spitz switched to generic matrix-gpio keyboard driver in 2.6.32-rc0, but that means that support for power button and lid switches was lost. This restores it, using button-gpio code. in the 2.6.38 source I only find in spitz.c: #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) static struct gpio_keys_button spitz_gpio_keys[] and in tosa.c : static struct gpio_keys_button tosa_gpio_keys[] What about the rest of Zaurus? Fwiw corgi and poodle does not react at all... Any hope we'll have those GPIO-buttons back on all Zaurus models? Is it an hard patch? Andrea ___ Zaurus-devel mailing list Zaurus-devel@lists.linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel
[Zaurus-devel] Zaurus GPIO buttons with matrix keypad drivers
Hello, following comments from a Stanislav patch Spitz switched to generic matrix-gpio keyboard driver in 2.6.32-rc0, but that means that support for power button and lid switches was lost. This restores it, using button-gpio code. in the 2.6.38 source I only find in spitz.c: #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) static struct gpio_keys_button spitz_gpio_keys[] and in tosa.c : static struct gpio_keys_button tosa_gpio_keys[] What about the rest of Zaurus? Fwiw corgi and poodle does not react at all... Andrea [1] ... Signed-off-by: Pavel Machek ... ___ Zaurus-devel mailing list Zaurus-devel@lists.linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel