Bug#725284: hdparm + systemd: Configuration not restored after resume

2015-08-14 Thread gpe
Package: hdparm
Version: 9.43-2
Followup-For: Bug #725284

Dear Maintainer,

Is there any new about this bug ?

BR

-- System Information:
Debian Release: stretch/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages hdparm depends on:
ii  libc6 2.19-19
ii  lsb-base  4.1+Debian13+nmu1

Versions of packages hdparm recommends:
ii  powermgmt-base  1.31+nmu1

Versions of packages hdparm suggests:
pn  apmd  none

-- Configuration Files:
/etc/hdparm.conf changed:
quiet 
/dev/sda {
apm = 1
}


-- no debconf information



Bug#725284: hdparm + systemd: Configuration not restored after resume

2015-02-01 Thread Niels Thykier
On Thu, 03 Oct 2013 18:25:58 +0200 Ralf Jung p...@ralfj.de wrote:
 [...]
 
 Dear Maintainer,
 
 when using hdparm and systemd, the HDD configuration is not properly restored
 after resuming the system from standby. Instead, the default value (APM = 128)
 is used again which lets the disk click all the time.
 
 Kind regards
 Ralf
 [...]

Hi Stephen and Michael,

Any news on this bug?  There are reported two possible solutions:

 * Use the Ubuntu approach of having a udev script[1]
 * Add a one-shot systemd service, see #725284 comment #10 and comment
   #54[2].

Thanks,
~Niels

[1] I believe you are looking for:

 * debian/hdparm.udev-script
 * debian/hdparm.udev-script

from https://patches.ubuntu.com/h/hdparm/hdparm_9.43-1ubuntu3.patch

You may also be interested in the reset apm_opt variable in
debian/95hdparm-apm, see LP: #1248012:

 * https://bugs.launchpad.net/ubuntu/+source/hdparm/+bug/1248012

[2]
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725284#10
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725284#54


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org