Bugzilla – Bug 113541
/proc/sys/vm/laptop_mode not changed while running in powersave mode
Last modified: 2005-08-31 10:49:57 UTC
aj@x40:~> cat /proc/sys/vm/laptop_mode 0 aj@x40:~> powersave -a ONLINE aj@x40:~> powersave -a OFFLINE aj@x40:~> cat /proc/sys/vm/laptop_mode 0 powersave -x Acoustic Performance AC_default_scheme Powersave active battery_default_scheme Presentation
We do not change any harddisk settings by default anymore. You can enable this again with YaST or in /etc/sysconfig/powersave/scheme_* So this is usual behaviour at the moment.
And there are reasons for this: - we had lots of "Drive ready, seek complete" messages in the logs on drives that did not support power management (should be fixed, we now first check capabilities before we set the mode) - some machines (my Dell D600) locked up hard sometimes when the drive was spun down and a disk access took place. I don't remember the bug #, axboe voted for a hardware bug ;-) but we decided to be better safe than sorry.
Holger, which variable do I have to change? Do you mean DISK_STANDBY_MODE? It is not clear which variable changes laptop_mode
## Path: System/Powermanagement/Powersave/Scheme/Performance ## Type: list(performance,powersave,aggressiv_powersave,off) ## Default: "off" # # Activates the Advanded Power Management function # of your IDE-disks, SCSI disks will be omitted. # Setting this to "off" will skip this setting. # DISK_STANDBY_MODE="powersave" anything but "off" and "performance" will activate laptop mode (and APM of the drive, if it supports it). Maybe i should reword the comment a little bit to make this more clear (OTOH, i always wanted to decouple the APM settings from the laptop-mode / remount settings)
Can we close this WONTFIX?
yes, we can.
aj, if you want a better configuration frontend etc, put it into the feature document ;-)