Bug#930796: spindown_time and force_spindown_time are broken in hdparm 9.58+ds-1

2019-10-10 Thread Sébastien Béhuret
Hi Alex, Apologies for the late reply, I found what prevented the HDDs to enter standby mode: udisksd. I leave the workarounds here for reference. Intro: The smartd and udisksd [1] daemons poll S.M.A.R.T. data from drives regularly, and HDDs with a longer standby (or spindown) timeout than the

Bug#930796: spindown_time and force_spindown_time are broken in hdparm 9.58+ds-1

2019-10-09 Thread Alex Mestiashvili
On 7/1/19 1:23 PM, Sébastien Béhuret wrote: > For USB or FireWere disks, APM & spindown_time options are ignored, > other options are applied, force_spindown_time will be applied too. > There is bug, https://bugs.launchpad.net/bugs/515023 > explaining why USB and

Bug#930796: spindown_time and force_spindown_time are broken in hdparm 9.58+ds-1

2019-07-01 Thread Sébastien Béhuret
> > For USB or FireWere disks, APM & spindown_time options are ignored, >> other options are applied, force_spindown_time will be applied too. >> There is bug, https://bugs.launchpad.net/bugs/515023 >> explaining why USB and FireWire drives are ignored, however the >> situation might have improved

Bug#930796: spindown_time and force_spindown_time are broken in hdparm 9.58+ds-1

2019-06-29 Thread Sébastien Béhuret
On Fri, Jun 28, 2019 at 10:40 AM Alex Mestiashvili wrote: > > With your solution I assume that /lib/udev/hdparm would call hdparm > > twice on each HDD during udev invocation, once for non-spindown options > > returned by /lib/hdparm/hdparm-functions, and once through > >

Bug#930796: spindown_time and force_spindown_time are broken in hdparm 9.58+ds-1

2019-06-28 Thread Alex Mestiashvili
> With your solution I assume that /lib/udev/hdparm would call hdparm > twice on each HDD during udev invocation, once for non-spindown options > returned by /lib/hdparm/hdparm-functions, and once through > /usr/lib/pm-utils/power.d/95hdparm-apm for spindown options. Exactly, for the APM options,

Bug#930796: spindown_time and force_spindown_time are broken in hdparm 9.58+ds-1

2019-06-27 Thread Sébastien Béhuret
Hi Alex, Thanks for your detailed reply. 2. I agree that it is appropriate to drop /etc/apm/event.d/20hdparm. 3. Your solution is OK: Calling /usr/lib/pm-utils/power.d/95hdparm-apm from /lib/udev/hdparm would fix the force_spindown_time conversion issue. With your solution I assume that

Bug#930796: spindown_time and force_spindown_time are broken in hdparm 9.58+ds-1

2019-06-24 Thread Alex Mestiashvili
On 6/20/19 8:42 PM, Sébastien Béhuret wrote: > Package: hdparm > Version: 9.58+ds-1 > Severity: serious > > Dear Maintainers, > > In this version of hdparm, a new option 'force_spindown_time' was > introduced to set the spindown time for disks that don't support APM. > This option is supposed

Bug#930796: spindown_time and force_spindown_time are broken in hdparm 9.58+ds-1

2019-06-20 Thread Sébastien Béhuret
Package: hdparm Version: 9.58+ds-1 Severity: serious Dear Maintainers, In this version of hdparm, a new option 'force_spindown_time' was introduced to set the spindown time for disks that don't support APM. This option is supposed to translate to hdparm -S, similarly to the original option