[Pkg-acpi-devel] Bug#767947: acpi-support: AC event checks AC0 to narrowly
Martin Erik Werner
martinerikwerner at gmail.com
Mon Nov 3 15:37:24 UTC 2014
Package: acpi-support
Version: 0.142-5
Severity: normal
Dear Maintainer,
The 0.142-5 acpi-support update contains commit
499f573ee826205868ff766c5eed7d180d98c4b2 which adds this check:
if [ $(cat /sys/class/power_supply/AC0/online) = 1 ]; then
pm-powersave false
else
pm_powersave true
fi
On my machine, this fails because /sys/class/power_supply/AC0/ does not
exist, it is instead /sys/class/power_supply/AC/, so this results in
powersave never being switched.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages acpi-support depends on:
ii acpi-support-base 0.142-5
ii acpid 1:2.0.23-1
ii lsb-base 4.1+Debian13+nmu1
ii pm-utils 1.4.1-15
ii x11-xserver-utils 7.7+3
Versions of packages acpi-support recommends:
ii acpi-fakekey 0.142-5
ii rfkill 0.5-1
Versions of packages acpi-support suggests:
ii gnome-screensaver 3.6.1-2
ii radeontool 1.6.3-1
ii vbetool 1.1-3
ii xinput 1.6.1-1
-- no debconf information
More information about the Pkg-acpi-devel
mailing list