On Mon, 02 Nov 2009, Felix Maibaum wrote: > However > ibm/hotkey HKEY 00000080 00005009 > ibm/hotkey HKEY 00000080 0000500a > > do not generate a keypress event. Which in a way may be sensible, since Yeah, it generates a EV_SW event on the input device. This thing is a switch, not a pair of keys. The input events it produces are: EV_SW SW_TABLET_MODE 0 (normal mode) EV_SW SW_TABLET_MODE 1 (tablet mode) And you can also query its current state (you don't need to wait for an event) using the standard input device IOCTLs. As for how to access these events easily, well, I don't know if the input-device enabled utilities (or HAL for that matter) already know how to hantle EV_SW. You can query the hotkey_tablet_mode attribute (which has poll/select support) instead of querying the EV_SW SW_TABLET_MODE switch: I don't plan to remove that thinkpad-specific attribute anytime soon. Refer to Documentation/laptops/thinkpad-acpi.txt for details. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ ibm-acpi-devel mailing list ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel