Package: pm-utils Version: 1.4.1-7 Severity: normal I am using an Lenovo R500 and if I pull the power out to run on battery (and visa versa) the scripts under /usr/lib/pm-utils/power.d and /etc/pm/power.d do not run and power saving options do not start or stop.
I am not sure if it has something to do with the system shell as if I try and execute one of the scripts manually I get this error: > /usr/lib/pm-utils/power.d/laptop-mode "true" ..: 3: : not found > cat /proc/sys/vm/laptop_mode 0 If I use bash the script runs but with some errors. > bash /usr/lib/pm-utils/power.d/laptop-mode true /usr/lib/pm-utils/power.d/laptop-mode: line 3: : No such file or directory /usr/lib/pm-utils/power.d/laptop-mode: line 77: state_exists: command not found /usr/lib/pm-utils/power.d/laptop-mode: line 78: savestate: command not found Laptop mode enabled. > cat /proc/sys/vm/laptop_mode 5 -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages pm-utils depends on: ii kbd 1.15.2-3 Linux console font and keytable ut ii powermgmt-base 1.31 Common utils and configs for power Versions of packages pm-utils recommends: ii hdparm 9.32-1 tune hard disk parameters for high ii procps 1:3.2.8-10 /proc file system utilities ii vbetool 1.1-2 run real-mode video BIOS code to a Versions of packages pm-utils suggests: ii cpufrequtils 007-1 utilities to deal with the cpufreq ii ethtool 1:2.6.38-1 display or change Ethernet device pn radeontool <none> (no description available) ii wireless-tools 30~pre9-5 Tools for manipulating Linux Wirel -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

