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

Darren Salt linux at youmustbejoking.demon.co.uk
Wed Feb 4 21:11:35 UTC 2009


The following commit has been merged in the master branch:
commit 52808287a93513aadf8467b74d78a8d32831d1a2
Author: Darren Salt <linux at youmustbejoking.demon.co.uk>
Date:   Wed Feb 4 20:00:25 2009 +0000

    Apparently, 00000011 is also used to mean "wireless on".

diff --git a/debian/changelog b/debian/changelog
index 7c1191b..d52a066 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,7 +8,7 @@ eeepc-acpi-scripts (1.0.12) UNRELEASED; urgency=low
   * Try to use rfkill when toggling wireless & bluetooth.
   * Ignore events when shutting down or rebooting.
   * Give immediate indication of pressing of Fn-F2.
-  * The same ACPI key code may be used for wireless on as well as wireless off.
+  * The same ACPI key codes may be used for wireless on as well as off.
   * Allow reporting via OSD of brightness changes. (Closes: #501577)
   * Tweaked notifications a bit:
     - Replaced the heuristic for determining which should be fast
diff --git a/etc/acpi/actions/hotkey.sh b/etc/acpi/actions/hotkey.sh
index 980716c..4eaf061 100755
--- a/etc/acpi/actions/hotkey.sh
+++ b/etc/acpi/actions/hotkey.sh
@@ -96,16 +96,11 @@ show_brightness() {
 
 case $code in
     # Fn+F2 -- toggle wireless
-    00000010)
+    0000001[01])
 	notify wireless 'Wireless ...'
 	/etc/acpi/actions/wireless.sh toggle
 	show_wireless
 	;;
-    00000011)
-	notify wireless 'Wireless ...'
-	/etc/acpi/actions/wireless.sh off
-	show_wireless
-	;;
     # Fn+F6
     00000012)
 	if [ "${FnF6:-NONE}" != 'NONE' ]; then

-- 
Maintenance of eeepc-acpi-scripts debian package



More information about the Debian-eeepc-commits mailing list