kernel_optimize_test/drivers/misc
Henrique de Moraes Holschuh 6c231bd5eb ACPI: thinkpad-acpi: add tablet-mode reporting
A quick study of the 0x5009/0x500A HKEY event on the X61t DSDT revealed the
existence of the EC HTAB register (EC 0x0f, bit 7), and a compare with the
X41t DSDT shows that HKEY.MHKG can be used to verify if the ThinkPad is
tablet-capable (MHKG present), and in tablet mode (bit 3 of MHKG return is
set).

Add an attribute to report this information, "hotkey_tablet_mode".  This
attribute has poll()/select() support, and can be used along with EV_SW
SW_TABLET_MODE to hook userspace to tablet events.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
2008-02-16 00:34:06 -05:00
..
hdpuftrs [POWERPC] Sky Cpu and Nexus: use seq_file/single_open on proc interface 2007-10-03 12:02:44 +10:00
ibmasm kobject: convert ibmasm to use kref, not kobject 2008-01-24 20:40:08 -08:00
acer-wmi.c acer-wmi: Fix backlight on AMW0 (V1) laptops 2008-02-09 03:29:33 -05:00
asus-laptop.c Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 2008-02-07 09:45:58 -08:00
atmel_pwm.c Basic PWM driver for AVR32 and AT91 2008-02-08 09:22:38 -08:00
atmel-ssc.c Driver for the Atmel on-chip SSC on AT32AP and AT91 2007-10-17 08:42:47 -07:00
eeprom_93cx6.c eeprom_93cx6: shorten pulse timing to match spec (bis) 2007-07-10 12:41:09 -04:00
enclosure.c [SCSI] enclosure: add support for enclosure services 2008-02-07 18:04:10 -06:00
fujitsu-laptop.c Remove inclusions of <linux/autoconf.h> 2008-02-06 10:41:00 -08:00
intel_menlow.c intel_menlo: introduce new platform specific driver 2008-02-01 23:20:57 -05:00
ioc4.c drivers/misc: Move misplaced pci_dev_put's 2007-11-14 18:45:39 -08:00
Kconfig ACPI: thinkpad-acpi: make the video output feature optional 2008-02-16 00:33:59 -05:00
lkdtm.c drivers/misc/lkdtm.c: cleanups 2008-02-06 10:41:03 -08:00
Makefile Basic PWM driver for AVR32 and AT91 2008-02-08 09:22:38 -08:00
msi-laptop.c Remove inclusions of <linux/autoconf.h> 2008-02-06 10:41:00 -08:00
phantom.c phantom: don't grab other devices 2008-02-06 10:41:10 -08:00
sony-laptop.c sony-laptop: fix scancode decode 2008-01-24 00:47:29 -05:00
tc1100-wmi.c tc1100-wmi: Add driver for HP Compaq TC1100 Tablets 2008-02-05 15:07:16 -05:00
thinkpad_acpi.c ACPI: thinkpad-acpi: add tablet-mode reporting 2008-02-16 00:34:06 -05:00
tifm_7xx1.c memstick: initial commit for Sony MemoryStick support 2008-02-09 11:08:34 -08:00
tifm_core.c memstick: initial commit for Sony MemoryStick support 2008-02-09 11:08:34 -08:00