I finally got ACPI wakeup and shutdown working. I was motivated by my latest electricity bill (I try to be as green as possible, but money certainly is quite a functional motivator).
After fiddling with MythWelcome for a few days, I had to abandon it. At first I was getting the fairly common "Could not connect to backend" errors when the system would first start up. I fixed that by delaying the kdm auto-login. But that just made things worse. Well, I think it rather exposed a deeper problem. Whenever MythWelcome tries to connect to the backend, the backend loses both tuners and exits. The error message is pretty vague and I haven't bothered looking into it more (debugging, etc). Instead I just dropped the MythWelcome idea and configured the acpi wakeup stuff right in the backend. Of course, then I ran into a ton of permissions problems. After combining the advice from a few different sources, I finally got it to work.
What I would like to do now is have the backend pop up an alert when it is going to shut down and ask if I want to keep it up. It would have a one minute timeout or something similar. That would give me an opportunity to restart the frontend, x, kdm or something along those lines.
And then my next project is to get Amarok working with the remote control. I like it better than the mythmusic thing. I found a nice sample lirc config somewhere that I can use as a guide.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment