On 09/30/2011 10:53 PM, James Chew wrote: > Something I forgot to add earlier, here's what happens to the > /proc/sys/vm/laptop_mode file when I transit from battery power to AC power. > >>tail -f /proc/sys/vm/laptop_mode > 5 > tail: laptop_mode: file truncated > 0 > tail: laptop_mode: file truncated > 0 > tail: laptop_mode: file truncated > 2 > tail: laptop_mode: file truncated > 2 > > > > 5 is when it's on battery power. When I reattach the AC power, 0 gets > written in (good), but then almost immediately 2 gets written in.
Okay!! Thanks. I replied you before checking this email. It definitely looks like pm-utils is overwriting the settings. To test, you might want to purge pm-utils and then try. -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System
signature.asc
Description: OpenPGP digital signature