[Pkg-utopia-maintainers] Bug#818649: power.d scripts are not run at	all
    Gaudenz Steinlin 
    gaudenz at debian.org
       
    Fri Mar 18 13:30:07 UTC 2016
    
    
  
Package: pm-utils
Version: 1.4.1-16
Severity: important
Hi
The scripts in /usr/lib/pm-utils/power.d are not run at all when power
is plugged or unplugged. If I understand this correctly upower used to
call pm-powersave but the code to do this was removed in recent
versions. For some time there was a --enable-deprecated switch to upower
which was used in Debian, but the corresponding code has been removed
from upower.
acpid also calls pm-powersave from /etc/acpi/power.sh, but checks for
upower before doing this. So as long as upower is running this does not
work either. But the jessie release notes [1] recommend to uninstall
acpid if using logind (which is probably used on most laptop system).
I don't have a good suggestion on how to fix this, but IMO this should
be at least documented somewhere in the package and the scripts should
be removed if they are no longer executed by anything.
Another option would be to add a udev rule like suggested in the Arch
wiki. [2] 
Feel free to reassign this bug to a more appropriate package.
Gaudenz
[1]
https://www.debian.org/releases/stable/amd64/release-notes/ch-information.en.html#idp36451200
[2]
https://wiki.archlinux.org/index.php/Power_management#Using_a_script_and_an_udev_rule
-- System Information:
Debian Release: stretch/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing'), (100, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages pm-utils depends on:
ii  powermgmt-base  1.31+nmu1
Versions of packages pm-utils recommends:
ii  ethtool  1:4.2-1
ii  hdparm   9.43-2
ii  kbd      2.0.3-2
ii  procps   2:3.3.11-3
ii  vbetool  1.1-3
Versions of packages pm-utils suggests:
pn  cpufrequtils    <none>
pn  radeontool      <none>
ii  wireless-tools  30~pre9-8
-- no debconf information
    
    
More information about the Pkg-utopia-maintainers
mailing list