[Debian-eeepc-commits] [SCM] Maintenance of eeepc-acpi-scripts debian package branch, master, updated. 1.1.5-3-g91411ea

Darren Salt linux at youmustbejoking.demon.co.uk
Fri Dec 18 19:03:40 UTC 2009


The following commit has been merged in the master branch:
commit 91411ea5deac4d0a76c01b20a49edbcc94c26c44
Author: Darren Salt <linux at youmustbejoking.demon.co.uk>
Date:   Fri Dec 18 16:59:51 2009 +0000

    Add support for the S.H.E. button on some models.

diff --git a/debian/changelog b/debian/changelog
index 377d0fe..d765418 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ eeepc-acpi-scripts (1.1.6) UNRELEASED; urgency=low
     - There is one button/* event which is reported for two different keys,
       fortunately on different models. Disambiguation is done via the
       product name (requires DMI support, which is normally enabled).
+  * Add support for the S.H.E. button on some models, e.g. 1002HA.
+    - This is incomplete: no known button event.
 
  -- Darren Salt <linux at youmustbejoking.demon.co.uk>  Fri, 18 Dec 2009 16:48:05 +0000
 
diff --git a/debian/eeepc-acpi-scripts.default.in b/debian/eeepc-acpi-scripts.default.in
index 3836543..cc753cc 100644
--- a/debian/eeepc-acpi-scripts.default.in
+++ b/debian/eeepc-acpi-scripts.default.in
@@ -114,6 +114,7 @@ SOFTBTN1_ACTION='handle_blank_screen'
 SOFTBTN2_ACTION='NONE'
 SOFTBTN3_ACTION='handle_camera_toggle'
 SOFTBTN4_ACTION='handle_bluetooth_toggle'
+SOFTBTNSHE_ACTION='handle_shengine'
 
 # Various Fn + key, not all of which are found on all models (or all BIOSes).
 # Labelling is "<700/900-series key>/<1000-series key> - function".
diff --git a/etc/acpi/actions/hotkey.sh b/etc/acpi/actions/hotkey.sh
index dfaea51..a7f57e3 100755
--- a/etc/acpi/actions/hotkey.sh
+++ b/etc/acpi/actions/hotkey.sh
@@ -283,6 +283,14 @@ case $code in
 	acpiwrite=
 	;;
 
+    # SHE button
+    00000039)
+	if [ "${SOFTBTNSHE_ACTION}" != 'NONE' ]; then
+	    ${SOFTBTNSHE_ACTION:-handle_shengine}
+	fi
+	acpiwrite=
+	;;
+
 esac
 
 test "$acpiwrite" = '' || echo "$acpiwrite" >"$ACPITEST"

-- 
Maintenance of eeepc-acpi-scripts debian package



More information about the Debian-eeepc-commits mailing list