[Debian-eeepc-commits] [SCM] Maintenance of eeepc-acpi-scripts debian package branch, master, updated. 1.1.0-beta.1-3-g8b04f20

Damyan Ivanov dmn at debian.org
Thu Apr 9 06:43:31 UTC 2009


The following commit has been merged in the master branch:
commit 8b04f205e054a7291eb1e1d3416b3ffa26c582dd
Author: Damyan Ivanov <dmn at debian.org>
Date:   Thu Apr 9 09:41:19 2009 +0300

    stop restoring brightness on resume
    
    reported not to be necessary:
     http://lists.alioth.debian.org/pipermail/debian-eeepc-devel/2009-April/002002.html
     http://lists.alioth.debian.org/pipermail/debian-eeepc-devel/2009-April/002006.html
     http://lists.alioth.debian.org/pipermail/debian-eeepc-devel/2009-April/002024.html

diff --git a/debian/changelog b/debian/changelog
index 37395e6..b253702 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -41,6 +41,7 @@ eeepc-acpi-scripts (1.1.0) UNRELEASED; urgency=low
   * rename etc/modprobe.d/eeepc to eeepc.conf, adapting to modprobe requirement
     Closes: #518573
   * Standards-Version: 3.8.1 (no changes needed)
+  * stop saving/restoring brightness on suspend
 
  -- Ben Armstrong <synrg at sanctuary.nslug.ns.ca>  Sat, 07 Feb 2009 14:47:15 -0400
 
diff --git a/etc/acpi/actions/suspend.sh b/etc/acpi/actions/suspend.sh
index 5de23ad..c326752 100755
--- a/etc/acpi/actions/suspend.sh
+++ b/etc/acpi/actions/suspend.sh
@@ -15,11 +15,6 @@ if [ "$LOCK_SCREEN_ON_SUSPEND" = "yes" ]; then
     lock_x_screen
 fi
 
-brn_control=/sys/class/backlight/eeepc/brightness
-[ -e $brn_control ] || brn_control=/proc/acpi/asus/brn # pre-2.6.26
-
-brightness=$(cat $brn_control)
-
 # Setting defaults in case /etc/default/eeepc-acpi-scripts was not updated
 # Only set SUSPEND_OPTIONS if SUSPEND_METHOD is empty, because some methods
 # don't need/take any option.
@@ -31,5 +26,3 @@ if [ -z "$(which "$SUSPEND_METHOD")" ]; then
 fi
 
 $SUSPEND_METHOD $SUSPEND_OPTIONS
-
-echo $brightness > $brn_control

-- 
Maintenance of eeepc-acpi-scripts debian package



More information about the Debian-eeepc-commits mailing list