aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>2007-07-18 22:45:44 -0400
committerLen Brown <len.brown@intel.com>2007-07-21 23:49:18 -0400
commitedf0e0e56904f794c97ca6c4562d8256e3d8d8e3 (patch)
treeaab531df2112114bc7a855c5b283207de2b37406 /Documentation
parent24d3b77467b6aaf59e38dce4aa86d05541858195 (diff)
ACPI: thinkpad-acpi: react to Lenovo ThinkPad differences in hot key
Lenovo ThinkPads have a slightly different key map layout from IBM ThinkPads (fn+f2 and fn+f3 are swapped). Knowing which one we are dealing with, we can properly set a few more hot keys up by default. Also, export the correct vendor in the input device, as that information might be useful to userspace. Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/thinkpad-acpi.txt40
1 files changed, 28 insertions, 12 deletions
diff --git a/Documentation/thinkpad-acpi.txt b/Documentation/thinkpad-acpi.txt
index c145bcce2339..5d827ded34d1 100644
--- a/Documentation/thinkpad-acpi.txt
+++ b/Documentation/thinkpad-acpi.txt
@@ -270,7 +270,8 @@ remapping KEY_UNKNOWN keys.
270The events are available in an input device, with the following id: 270The events are available in an input device, with the following id:
271 271
272 Bus: BUS_HOST 272 Bus: BUS_HOST
273 vendor: 0x1014 (PCI_VENDOR_ID_IBM) 273 vendor: 0x1014 (PCI_VENDOR_ID_IBM) or
274 0x17aa (PCI_VENDOR_ID_LENOVO)
274 product: 0x5054 ("TP") 275 product: 0x5054 ("TP")
275 version: 0x4101 276 version: 0x4101
276 277
@@ -290,12 +291,15 @@ ACPI Scan
290event code Key Notes 291event code Key Notes
291 292
2920x1001 0x00 FN+F1 - 2930x1001 0x00 FN+F1 -
2930x1002 0x01 FN+F2 - 2940x1002 0x01 FN+F2 IBM: battery (rare)
295 Lenovo: Screen lock
294 296
2950x1003 0x02 FN+F3 Many models always report this 2970x1003 0x02 FN+F3 Many IBM models always report
296 hot key, even with hot keys 298 this hot key, even with hot keys
297 disabled or with Fn+F3 masked 299 disabled or with Fn+F3 masked
298 off 300 off
301 IBM: screen lock
302 Lenovo: battery
299 303
3000x1004 0x03 FN+F4 Sleep button (ACPI sleep button 3040x1004 0x03 FN+F4 Sleep button (ACPI sleep button
301 semanthics, i.e. sleep-to-RAM). 305 semanthics, i.e. sleep-to-RAM).
@@ -313,13 +317,19 @@ event code Key Notes
313 and W-WAN card if left in control 317 and W-WAN card if left in control
314 of the firmware. Does not affect 318 of the firmware. Does not affect
315 the WLAN card. 319 the WLAN card.
320 Should be used to turn on/off all
321 radios (bluetooth+W-WAN+WLAN),
322 really.
316 323
3170x1006 0x05 FN+F6 - 3240x1006 0x05 FN+F6 -
318 325
3190x1007 0x06 FN+F7 Video output cycle. 3260x1007 0x06 FN+F7 Video output cycle.
320 Do you feel lucky today? 327 Do you feel lucky today?
321 328
3220x1008 0x07 FN+F8 - 3290x1008 0x07 FN+F8 IBM: toggle screen expand
330 Lenovo: configure ultranav
331
3320x1009 0x08 FN+F9 -
323 .. .. .. 333 .. .. ..
3240x100B 0x0A FN+F11 - 3340x100B 0x0A FN+F11 -
325 335
@@ -338,13 +348,15 @@ event code Key Notes
3380x100F 0x0E FN+DELETE - 3480x100F 0x0E FN+DELETE -
339 349
3400x1010 0x0F FN+HOME Brightness up. This key is 3500x1010 0x0F FN+HOME Brightness up. This key is
341 always handled by the firmware, 351 always handled by the firmware
342 even when unmasked. Just leave 352 in IBM ThinkPads, even when
343 it alone. 353 unmasked. Just leave it alone.
3440x1011 0x10 FN+END Brightness down. This key is 354 For Lenovo ThinkPads with a new
345 always handled by the firmware, 355 BIOS, it has to be handled either
346 even when unmasked. Just leave 356 by the ACPI OSI, or by userspace.
347 it alone. 3570x1011 0x10 FN+END Brightness down. See brightness
358 up for details.
359
3480x1012 0x11 FN+PGUP Thinklight toggle. This key is 3600x1012 0x11 FN+PGUP Thinklight toggle. This key is
349 always handled by the firmware, 361 always handled by the firmware,
350 even when unmasked. 362 even when unmasked.
@@ -356,9 +368,13 @@ event code Key Notes
3560x1015 0x14 VOLUME UP Internal mixer volume up. This 3680x1015 0x14 VOLUME UP Internal mixer volume up. This
357 key is always handled by the 369 key is always handled by the
358 firmware, even when unmasked. 370 firmware, even when unmasked.
371 NOTE: Lenovo seems to be changing
372 this.
3590x1016 0x15 VOLUME DOWN Internal mixer volume up. This 3730x1016 0x15 VOLUME DOWN Internal mixer volume up. This
360 key is always handled by the 374 key is always handled by the
361 firmware, even when unmasked. 375 firmware, even when unmasked.
376 NOTE: Lenovo seems to be changing
377 this.
3620x1017 0x16 MUTE Mute internal mixer. This 3780x1017 0x16 MUTE Mute internal mixer. This
363 key is always handled by the 379 key is always handled by the
364 firmware, even when unmasked. 380 firmware, even when unmasked.