| Eric Anholt ( @ 2006-06-23 10:31:00 |
getting ready for GUADEC
I'll be flying out Saturday to head to GUADEC. It's 9+ hours on the plane, but I'm still really looking forward to this -- conferences with desktop people are always fun, and I think we've got some neat WIP stuff to talk about with where we're taking xf86-video-intel's modesetting and what that'll offer for configuration.
In preparation for lots of travel again, I finally got my suspend/resume working. It turned out to be easy -- I had to disable the ioapic (sad because it means no hwpmc, but it sounds like jhb might get to it some day), and I had to set a flag to tell the mouse driver to poke the mouse and see if it wakes up. It sounds like the flag might become the default soon, at least.
I've also made a dummy driver to turn off unused devices in my system. There's a sysctl to do this by default for anything that doesn't get a driver attached, but it causes issues because sometimes other drivers are relying on the functions of another device that doesn't specifically have its own driver attached. For example, I bet setting D3 on the windows dummy second head device of my graphics chip wouldn't give me a result I wanted. So, dummy_powerdown only matches specific device IDs, and I've got a script to dump out the list of devices and their power states. I haven't actually measured any difference in power consumption, though. My kill-a-watt meter is really the wrong thing for this job -- it's on the AC side of things, and doesn't report fractional watts.
So, next step is to find a spare IBM power adapter and hack it up. That and get a bigger battery for next time I travel. I wish I'd remembered to get that two days ago.
I'll be flying out Saturday to head to GUADEC. It's 9+ hours on the plane, but I'm still really looking forward to this -- conferences with desktop people are always fun, and I think we've got some neat WIP stuff to talk about with where we're taking xf86-video-intel's modesetting and what that'll offer for configuration.
In preparation for lots of travel again, I finally got my suspend/resume working. It turned out to be easy -- I had to disable the ioapic (sad because it means no hwpmc, but it sounds like jhb might get to it some day), and I had to set a flag to tell the mouse driver to poke the mouse and see if it wakes up. It sounds like the flag might become the default soon, at least.
I've also made a dummy driver to turn off unused devices in my system. There's a sysctl to do this by default for anything that doesn't get a driver attached, but it causes issues because sometimes other drivers are relying on the functions of another device that doesn't specifically have its own driver attached. For example, I bet setting D3 on the windows dummy second head device of my graphics chip wouldn't give me a result I wanted. So, dummy_powerdown only matches specific device IDs, and I've got a script to dump out the list of devices and their power states. I haven't actually measured any difference in power consumption, though. My kill-a-watt meter is really the wrong thing for this job -- it's on the AC side of things, and doesn't report fractional watts.
So, next step is to find a spare IBM power adapter and hack it up. That and get a bigger battery for next time I travel. I wish I'd remembered to get that two days ago.