Re: [Zaurus-devel] Zaurus GPIO buttons with matrix keypad drivers

2011-06-01 Thread Andrea Adami
I've looked again at the patch [1] and while the lid switch implementation seems straightforward I have a doubt about external power on/off key on corgi. It looks to me this key is managed by matrix-kbd driver on corgi. 301 #define CORGI_KEY_OFF KEY_SUSPEND In fact, pressing that key w

Re: [Zaurus-devel] Zaurus GPIO buttons with matrix keypad drivers

2011-05-21 Thread Pavel Machek
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: > > #

Re: [Zaurus-devel] Zaurus GPIO buttons with matrix keypad drivers

2011-05-14 Thread Andrea Adami
On Mon, May 2, 2011 at 2:18 PM, Andrea Adami 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.

[Zaurus-devel] Zaurus GPIO buttons with matrix keypad drivers

2011-05-02 Thread Andrea Adami
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(CONF