Your message dated Tue, 12 Apr 2011 16:38:36 +0200
with message-id <[email protected]>
and subject line Re: Bug#622360: pm-utils scripts not executed on power state
change
has caused the Debian Bug report #622360,
regarding pm-utils scripts not executed on power state change
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
622360: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622360
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Am 12.04.2011 16:36, schrieb James Robertson:
>
> I did not understand the requirements of pm-powersave. Thanks and sorry for
> any time wasted. my googling did not result in an answer - hence the bug
> report. gnome=power-manager installed and works fine.
>
Ok, closing the bug report then
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature
--- End Message ---