diff options
Diffstat (limited to 'Documentation/thinkpad-acpi.txt')
-rw-r--r-- | Documentation/thinkpad-acpi.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/thinkpad-acpi.txt b/Documentation/thinkpad-acpi.txt index 3fb864733ca1..9d08e472ef74 100644 --- a/Documentation/thinkpad-acpi.txt +++ b/Documentation/thinkpad-acpi.txt | |||
@@ -325,6 +325,21 @@ sysfs notes: | |||
325 | May return -EPERM (write access locked out by module | 325 | May return -EPERM (write access locked out by module |
326 | parameter) or -EACCES (read-only). | 326 | parameter) or -EACCES (read-only). |
327 | 327 | ||
328 | wakeup_reason: | ||
329 | Set to 1 if the system is waking up because the user | ||
330 | requested a bay ejection. Set to 2 if the system is | ||
331 | waking up because the user requested the system to | ||
332 | undock. Set to zero for normal wake-ups or wake-ups | ||
333 | due to unknown reasons. | ||
334 | |||
335 | wakeup_hotunplug_complete: | ||
336 | Set to 1 if the system was waken up because of an | ||
337 | undock or bay ejection request, and that request | ||
338 | was sucessfully completed. At this point, it might | ||
339 | be useful to send the system back to sleep, at the | ||
340 | user's choice. Refer to HKEY events 0x4003 and | ||
341 | 0x3003, below. | ||
342 | |||
328 | input layer notes: | 343 | input layer notes: |
329 | 344 | ||
330 | A Hot key is mapped to a single input layer EV_KEY event, possibly | 345 | A Hot key is mapped to a single input layer EV_KEY event, possibly |
@@ -475,6 +490,15 @@ Non hot-key ACPI HKEY event map: | |||
475 | The above events are not propagated by the driver, except for legacy | 490 | The above events are not propagated by the driver, except for legacy |
476 | compatibility purposes when hotkey_report_mode is set to 1. | 491 | compatibility purposes when hotkey_report_mode is set to 1. |
477 | 492 | ||
493 | 0x2304 System is waking up from suspend to undock | ||
494 | 0x2305 System is waking up from suspend to eject bay | ||
495 | 0x2404 System is waking up from hibernation to undock | ||
496 | 0x2405 System is waking up from hibernation to eject bay | ||
497 | |||
498 | The above events are never propagated by the driver. | ||
499 | |||
500 | 0x3003 Bay ejection (see 0x2x05) complete, can sleep again | ||
501 | 0x4003 Undocked (see 0x2x04), can sleep again | ||
478 | 0x5010 Brightness level changed (newer Lenovo BIOSes) | 502 | 0x5010 Brightness level changed (newer Lenovo BIOSes) |
479 | 503 | ||
480 | The above events are propagated by the driver. | 504 | The above events are propagated by the driver. |