Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 84083
b: refs/heads/master
c: d1edb2b
h: refs/heads/master
i:
  84081: 23ecde6
  84079: a53fea8
v: v3
  • Loading branch information
Henrique de Moraes Holschuh authored and Len Brown committed Feb 2, 2008
1 parent 53d4184 commit a9f95c0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a713b4d7bca51e56cdb5357507f46674111d032c
refs/heads/master: d1edb2b5f1d016d679600cccf2716e0134fff917
4 changes: 4 additions & 0 deletions trunk/Documentation/thinkpad-acpi.txt
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,10 @@ The above events are never propagated by the driver.

0x3003 Bay ejection (see 0x2x05) complete, can sleep again
0x4003 Undocked (see 0x2x04), can sleep again
0x5009 Tablet swivel: switched to tablet mode
0x500A Tablet swivel: switched to normal mode
0x500B Tablet pen insterted into its storage bay
0x500C Tablet pen removed from its storage bay
0x5010 Brightness level changed (newer Lenovo BIOSes)

The above events are propagated by the driver.
Expand Down
9 changes: 6 additions & 3 deletions trunk/drivers/misc/thinkpad_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a9f95c0

Please sign in to comment.