[patch] add support for the ACPI eject hotkey on Lenovo laptops
Bug #194609 reported by
sibidiba
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
acpi-support (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: acpi-support
The attached file /etc/acpi/
Tested on Thinkpad R61i .
Related branches
Changed in acpi-support: | |
status: | New → Confirmed |
Changed in acpi-support: | |
assignee: | nobody → blueyed |
importance: | Undecided → Wishlist |
status: | Confirmed → In Progress |
Changed in acpi-support: | |
milestone: | none → ubuntu-8.04 |
Changed in acpi-support: | |
assignee: | nobody → blueyed |
status: | Confirmed → In Progress |
To post a comment you must log in.
This patch is bad. You should not call a command but allow userspace to call the command. Here is a much better patch to solve this issue. It was derived from here:
http:// www.thinkwiki. org/wiki/ Installing_ Ubuntu_ 7.10_(Gutsy_ Gibbon) _on_a_ThinkPad_ R61
I tested this on my Thinkpad T61 under Gutsy, and it works!
Signed-off-by: Jerone Young <email address hidden>
diff --git a/events/ lenovo- eject b/events/ lenovo- eject lenovo- eject events/ lenovo- eject ejectbtn. sh to fake the key input /etc/acpi/ ejectbtn. sh
new file mode 100644
--- /dev/null
+++ b/events/
@@ -0,0 +1,6 @@
+# /etc/acpi/
+# This is called when the user presses the eject button
+# /etc/acpi/
+
+event=ibm/hotkey HKEY 00000080 00001009
+action=