diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2007-07-18 22:45:44 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-07-21 23:49:18 -0400 |
commit | edf0e0e56904f794c97ca6c4562d8256e3d8d8e3 (patch) | |
tree | aab531df2112114bc7a855c5b283207de2b37406 /Documentation | |
parent | 24d3b77467b6aaf59e38dce4aa86d05541858195 (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.txt | 40 |
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. | |||
270 | The events are available in an input device, with the following id: | 270 | The 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 | |||
290 | event code Key Notes | 291 | event code Key Notes |
291 | 292 | ||
292 | 0x1001 0x00 FN+F1 - | 293 | 0x1001 0x00 FN+F1 - |
293 | 0x1002 0x01 FN+F2 - | 294 | 0x1002 0x01 FN+F2 IBM: battery (rare) |
295 | Lenovo: Screen lock | ||
294 | 296 | ||
295 | 0x1003 0x02 FN+F3 Many models always report this | 297 | 0x1003 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 | ||
300 | 0x1004 0x03 FN+F4 Sleep button (ACPI sleep button | 304 | 0x1004 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 | ||
317 | 0x1006 0x05 FN+F6 - | 324 | 0x1006 0x05 FN+F6 - |
318 | 325 | ||
319 | 0x1007 0x06 FN+F7 Video output cycle. | 326 | 0x1007 0x06 FN+F7 Video output cycle. |
320 | Do you feel lucky today? | 327 | Do you feel lucky today? |
321 | 328 | ||
322 | 0x1008 0x07 FN+F8 - | 329 | 0x1008 0x07 FN+F8 IBM: toggle screen expand |
330 | Lenovo: configure ultranav | ||
331 | |||
332 | 0x1009 0x08 FN+F9 - | ||
323 | .. .. .. | 333 | .. .. .. |
324 | 0x100B 0x0A FN+F11 - | 334 | 0x100B 0x0A FN+F11 - |
325 | 335 | ||
@@ -338,13 +348,15 @@ event code Key Notes | |||
338 | 0x100F 0x0E FN+DELETE - | 348 | 0x100F 0x0E FN+DELETE - |
339 | 349 | ||
340 | 0x1010 0x0F FN+HOME Brightness up. This key is | 350 | 0x1010 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. |
344 | 0x1011 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. | 357 | 0x1011 0x10 FN+END Brightness down. See brightness |
358 | up for details. | ||
359 | |||
348 | 0x1012 0x11 FN+PGUP Thinklight toggle. This key is | 360 | 0x1012 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 | |||
356 | 0x1015 0x14 VOLUME UP Internal mixer volume up. This | 368 | 0x1015 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. | ||
359 | 0x1016 0x15 VOLUME DOWN Internal mixer volume up. This | 373 | 0x1016 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. | ||
362 | 0x1017 0x16 MUTE Mute internal mixer. This | 378 | 0x1017 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. |