/dev/hda incorrectly hardcoded in /etc/acpi/power.sh

Bug #17163 reported by Mark Lord
4
Affects Status Importance Assigned to Milestone
acpi-support (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

My laptop has /dev/sda as the hard drive, rather than /dev/hda.

The /etc/acpi/power.sh script has "hda" hardcoded, though, so the drive never
spins down on battery power. Changing the script to use sda fixes the issue for
me, but this needs to be parameterized.

YES, hdparm works for /dev/sda (libata PATA drive), thanks to Ubuntu using the
libata-dev patches on the default kernels -- those patches add hdparm support
(among other things) to the libata drivers (thanks!). I'm the author of hdparm,
by the way.

Cheers

Revision history for this message
Matthew Garrett (mjg59) wrote :

Will be fixed in the next upload

Revision history for this message
Matthew Garrett (mjg59) wrote :

In Breezy now

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.