Re: [Openzaurus-devel] Sharp CE-RH2 remote kernel driver
Richard Purdie <rpurdie-Fm38FmjxZ/[email protected]>
| Newsgroups | gmane.comp.handhelds.linux.kernel,gmane.comp.handhelds.openzaurus.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 2007-01-21 at 23:29 -0800, Justin Patrin wrote: > One more revision today: > http://oe.reversefold.com/sharpsl-rc/sharpsl-rc-r4.patch > > This last one adds some code to the wakeup callback in spitz_pm.c that > allows remote command to wake up the Z. I realize that the code is not > entirely correct but it does seem to work. I remember that this was > supported in the 2.4 kernels and figured I'd try to make it work here > too. One problem with this implementation is that anything being > inserted into or removed from the headphone port also wakes up the Z. > > I would think that something similar could also wake up the Z when the > hinge button is pressed.... Before anyone gets their hopes up, no, its not possible, I've looked at this before. PKSR only works for GPIOs 0-19 so the AK at number 13 is ok, the keyboard switches at 96,97 will not trigger this register (or any others I know of). Richard