Comment 10 for bug 59695

Revision history for this message
Gilles Schintgen (shigi) wrote : Re: default value in power.sh potentially kills laptop disks

It seems that I completely forgot to publish my fix/workaroud. As far as I remember I did two things:

1) I added the following lines to my hdparm.conf:
/dev/sda {
  apm = 255
}

2) I created a file /etc/acpi/resume.d/99-stop-hitachi-madness.sh
with the following contents:
#!/bin/sh
hdparm -B 255 /dev/sda

I hope this helps.