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

Ben Armstrong synrg at debian.org
Sun Oct 3 11:19:20 UTC 2010


The following commit has been merged in the master branch:
commit 51c08d12cb1d103aa0423b09fdcfee2ad9540348
Author: Ben Armstrong <synrg at debian.org>
Date:   Sun Oct 3 08:20:17 2010 -0300

    Set S.H.E. in background preventing hang on some models

diff --git a/debian/changelog b/debian/changelog
index 205d6ea..1e86203 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,7 +7,11 @@ eeepc-acpi-scripts (1.1.11) UNRELEASED; urgency=low
   [ Darren Salt ]
   * Blacklist snd_pcsp.
 
- -- Darren Salt <linux at youmustbejoking.demon.co.uk>  Tue, 25 May 2010 19:29:00 +0100
+  [ Ben Armstrong ]
+  * Set S.H.E. at boot in background to prevent hang on some models when
+    on battery (e.g. 1001PX).
+
+ -- Ben Armstrong <synrg at sanctuary.nslug.ns.ca>  Sun, 03 Oct 2010 08:18:22 -0300
 
 eeepc-acpi-scripts (1.1.10) unstable; urgency=low
 
diff --git a/debian/eeepc-acpi-scripts.init b/debian/eeepc-acpi-scripts.init
index f32ca73..a45d85b 100644
--- a/debian/eeepc-acpi-scripts.init
+++ b/debian/eeepc-acpi-scripts.init
@@ -8,6 +8,8 @@
 # Short-Description: Load modules which are useful on EeePCs and similar hardware
 ### END INIT INFO
 
+set -x
+
 # exit if package not installed
 test -f /usr/share/eeepc-acpi-scripts/functions.sh || exit 0
 
@@ -110,10 +112,10 @@ case "$1" in
                 log_action_cont_msg '(manual)'
             elif [ "$(cat /sys/class/power_supply/AC0/online 2>/dev/null)" = 0 ]; then
                 log_action_cont_msg '(battery)'
-                set_shengine "${PWR_CLOCK_BATTERY:-$(($SHENGINE_LIMIT - 1))}" || :
+                set_shengine "${PWR_CLOCK_BATTERY:-$(($SHENGINE_LIMIT - 1))}" &
             else
                 log_action_cont_msg '(AC)'
-                set_shengine "${PWR_CLOCK_AC:-0}" || :
+                set_shengine "${PWR_CLOCK_AC:-0}" &
             fi
         else
             log_action_cont_msg '(model not supported)'

-- 
Maintenance of eeepc-acpi-scripts debian package



More information about the Debian-eeepc-commits mailing list