Package: laptop-mode-tools Version: 1.64-1 Severity: important Hi,
As $subject, laptop-mode-tools should do some works before suspend or after resume, but it is not triggered now. For example, "Power management for HD (hdparm -B values)" setting will get lost after resume, that value will be reset to default value, 128. Reproducing steps: 1, set that value to 192 in laptop-mode.conf and check it. 2, systemctl suspend 3, resume and check that value by `hdparm -B /dev/sda` Solution: Add a service file to get laptop-mode-tools notified of system suspend/hibernation, for example, which contains "After=suspend.target" and "WantedBy=suspend.target" -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (2, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.10-3-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages laptop-mode-tools depends on: ii lsb-base 4.1+Debian12 ii psmisc 22.20-1 ii util-linux 2.20.1-5.5 Versions of packages laptop-mode-tools recommends: ii ethtool 1:3.9-1 ii hdparm 9.43-1 ii net-tools 1.60-25 ii python-qt4 4.10.2-2 ii sdparm 1.07-1 ii udev 204-4 ii wireless-tools 30~pre9-8 Versions of packages laptop-mode-tools suggests: ii acpid 1:2.0.20-1 pn hal <none> ii python 2.7.5-5 -- Configuration Files: /etc/laptop-mode/conf.d/cpufreq.conf changed [not included] /etc/laptop-mode/laptop-mode.conf changed [not included] -- no debconf information -- Adam Lee http://adam8157.info -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org