I've fixed this bug for myself by modifying the value of the -B
parameter of hdparm when running on battery power.
I did this by editing /usr/lib/pm-utils/power.d/harddrive and changing
line 14 from DRIVE_POWER_MGMT_BAT="${DRIVE_POWER_MGMT_BAT:-1}" to
DRIVE_POWER_MGMT_BAT="${DRIVE_POWER_MGMT_BAT:-128}.
With this setting, my WD2500BEVS does not spin down every thirty seconds
or so like it did before, but I will continue experimenting to find the
optimal value for my hard drive. Different drives probably need
different values.
The variable DRIVE_POWER_MGMT_BAT governs hdparm -B while running off
the battery, and DRIVE_POWER_MGMT_AC (line 8) sets the value when
connected to the mains.
I think hdparm -B should definitely not be set to 1 by default since it
causes severe problems for so many people.
--
[maverick] HD spins down all the time on AC
https://bugs.launchpad.net/bugs/606706
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs