|
Power button working on iPAQs, using KEY_POWER kernel keycode: msg#00043linux.ports.h2200
Hi, I got Power button working on h2200. I think this interests all iPAQs with kernel 2.6 and no working Power button till now. KEY_POWER as kernel keycode. I use kernel_keymap.patch to Qte, likewise Zauri, for a clean passage of keycodes up to Qt level and comfortable definitions of keycodes->key symbol mappings. Mapped to key symbol Hardkey_Suspend (defined as Qt::Key_F34 in odevice.h). Then in odevice_ipaq.cpp, iPAQ::filter, I intercepted the key and rely on the logic already there for Key_SysReq. So I tested h2200 suspends on short press of Power button; and presumably would power off backlight on longer press, if I had appropriate backlight code for the machine. I'll submit pacthes for Opie and OE. Giorgio _______________________________________________ http://opie.handhelds.org/cgi-bin/moin.cgi/DeveloperWikiIndex Opie-devel mailing list Opie-devel@xxxxxxxxxxxxx https://handhelds.org/mailman/listinfo/opie-devel |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: v0.8.4-rc3 - wifi problem which doesn't exist under kernel 2.6.15-hh0: 00043, Joshua Layne |
|---|---|
| Next by Date: | Re: v0.8.4-rc3 - wifi problem which doesn't exist under kernel 2.6.15-hh0: 00043, Philipp H. Mohr |
| Previous by Thread: | this weeks top stock is HLVC - time to build a good position nowi: 00043, Liz |
| Next by Thread: | Re: v0.8.4-rc3 - wifi problem which doesn't exist underkernel 2.6.15-hh0: 00043, Joshua Layne |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |