A default gutsy install has :
ENABLE_LAPTOP_MODE_ON_BATTERY=1                                                 
                                                                                
                                    
So, when on battery those settings are applied.
Unfortunately, even when the "on battery" status cannot be tested (on_ac_power 
returns 255) the system implies a "on battery" status and activates laptop mode.
Even on  battery (for real) , the settings applied are too aggressive, IMHO.

Please look at the related bug (59695) and see that I made a test by replacing 
hdparm with a script and logged the results. Despite the system being a desktop 
system,
 those hdparm -S settings are aplied...more than once and (that's funny) with 
different values :) - true, all in apm/laptop-mode related scripts, but no one 
enabled laptop-mode on this system, it's a clean default install.
If someone wants to test this on his own, it is very simple to replace the 
hdparm binary with a script that logs the execution date , parameters and a 
pstree to find the execution sequence.

As soon as I disabled the apmd and acpid services on that machine, the
hdparm settings were no longer applied and the hard disk stopped
spinning down every minute.

-- 
Hard drive spindown should be configurable
https://bugs.launchpad.net/bugs/17216
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to