pm-utils doesn't reload hdparm.conf after a suspend
Bug #238555 reported by
Jérémy Subtil
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hdparm (Ubuntu) |
Fix Released
|
Medium
|
Steve Langasek | ||
Karmic |
Fix Released
|
Medium
|
Steve Langasek | ||
pm-utils (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Karmic |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: pm-utils
For instance, I put the following lines in my /etc/hdparm.conf:
/dev/sda {
apm = 254
}
After the boot, I can see that the given parameter "apm" has been correctly set using "sudo hdparm -I /dev/sda".
However, after a suspend, it is always switched back to the value 128, as if I didn't set anything in /etc/hdparm.conf.
To suspend to RAM, I'm using the following command: "sudo pm-suspend --quirk-vbe-post"
Changed in pm-utils (Ubuntu Karmic): | |
importance: | Undecided → Medium |
To post a comment you must log in.
Disk-idleing (aka "laptop-mode") and power states are quite separate things. /wiki.ubuntu. com/PowerManage ment
https:/
Since ubuntu by default ships with laptop-mode-tools (thus disabled) which handles all the things associated with disk-idleing,
(like mount options, hdparm options, low battery exceptions, disk-idleing on AC when on the road, etc.)
laptop-mode-tools will handle it.
The ubuntu package does not work yet as well as the debian package, though.
Package laptop-mode-tools needs to put scripts into pm-tools directories. #244844
(The current laptop-mode disk-idleing approach seems to be a left-over from before the ubuntu-laptop-mode package was droped for laptop-mode-tools.)
Also package acpi-support is still preveting much of laptop-mode-tools working.
#244833 #244831 #244832 #244839 #244836 #244838