diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2008-01-08 16:02:53 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-02-02 04:26:08 +0100 |
commit | d1edb2b5f1d016d679600cccf2716e0134fff917 (patch) | |
tree | d6b5abd280b74fa4c5ac19ddb0e47bdef6462753 /drivers/misc | |
parent | ACPI: thinkpad-acpi: wakeup on hotunplug reporting (diff) | |
download | linux-d1edb2b5f1d016d679600cccf2716e0134fff917.tar.xz linux-d1edb2b5f1d016d679600cccf2716e0134fff917.zip |
ACPI: thinkpad-acpi: add X61t HKEY events
Tomas Carnecky reports that events 0x5009 and 0x500a are swivel events, and
that 0x500b/0x500c are tablet pen storage bay events.
Document these events, and avoid nasty messages when they happen.
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/thinkpad_acpi.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/misc/thinkpad_acpi.c b/drivers/misc/thinkpad_acpi.c index 9b0235dc5308..049ec42c77be 100644 --- a/drivers/misc/thinkpad_acpi.c +++ b/drivers/misc/thinkpad_acpi.c @@ -2127,10 +2127,13 @@ static void hotkey_notify(struct ibm_struct *ibm, u32 event) } break; case 5: - /* 0x5000-0x5FFF: On screen display helpers */ + /* 0x5000-0x5FFF: human interface helpers */ switch (hkey) { - case 0x5010: - /* Lenovo Vista BIOS: brightness changed */ + case 0x5010: /* Lenovo new BIOS: brightness changed */ + case 0x5009: /* X61t: swivel up (tablet mode) */ + case 0x500a: /* X61t: swivel down (normal mode) */ + case 0x500b: /* X61t: tablet pen inserted into bay */ + case 0x500c: /* X61t: tablet pen removed from bay */ break; case 0x5001: case 0x5002: |