Friday, February 9, 2007

ACPI Wakeup/Shutdown

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.

Friday, February 2, 2007

HDHomeRun

I installed an HDHomeRun tonight. It was extremely easy and fast. Hook up the cables and point the input config at it. The Myth backend was down for maybe 3 minutes. I am watching live-tv on it now and it seems to be of similar quality to the pchdtv.
I am noticing a little more 'tearing'.. but that may just have been the commercial I was watching (can't ff past them in live tv :-). Oddly enough, it seems that a lot more of the commercials on at this time (1:30am) are in HD, or at least in widescreen format.
A quick check of the upcoming recordings and it looks like the first recording to use the new tuner will be on Monday. I must say, I am pretty excited.
I played around with the PiP a little bit. While it looked nice, the PiP screen was rather jumpy and studdered a good bit. Rather similar to how HD played all the time when I had the slower processor.. yet top said I still had about 30% cpu sitting idle. Who knows. It certainly isn't a critical feature. More of just a 'wow, look at this' thing, and for that, a studdering picture is just fine :-)