Steve: Developing on the Edge - Debugging Linux Power Management
Steve: Developing on the Edge
Thoughts on development, Web-services, technology and mountains.
13Jan
Wed2010
Debugging Linux Power Management

I like working on OSS projects, good teams, good problems. But I don't like being made to get involved with something way off my line-of-research just because it isn't working. Like my linux laptop's power management behaviour.

Yesterday: plug it in to AC power and an emergency hibernate is triggered, one it doesn't recover from. There's no point looking in /var/log/pm-suspend.log for what happened, because when the machine crashed: no log. Seen that before when logging laptop behaviour on Win98 boxes. They sleep, but they don't wake up.

One finding so far: pulse-audio can't suspend unless you have the machine name set to 127.0.0.1 in /etc/hosts, which may be the ubuntu default, but something that is not much good for Hadoop or RMI on the laptop. It's sudo's fault, and I may go for a network-unfriendly hostname just to see if that is the cause. That or try out Windows 7 for a while.

Comments