Adding MythTV to the AspireOne

I have a MythTV based PVR that I setup a while back.  It turned our seldom used StarChoice satellite servce into something pretty useful, if you haven’t made the leap to having a PVR/DVR you owe it to yourself to try one out.  MythTV isn’t for everyone as there is a fair bit of configuration that you need to be able to manage, but there are some nice distros being put together now that make it much easier.

As its based on Linux, my PVR is effectively just another server in the house.  This means that I can do stuff like transcode the video to play on my iPod, or serve it up to other machines on the network.  Aside from the dedicated machine next to the TV, Jenn’s Mac and my Linux desktop both can run the frontend.  Now the AspireOne can too.

The Linpus OS that the AspireOne is running is based on Fedora8.  I’ve previously talked about installing additional software on the machine, so I’ll assume that you’ve done at least that to your machine if you’re trying to replicate this.

A few notes on life with the AspireOne thus far: Its been a fun toy.  The keyboard is small, but not too bad to work with.  I find the left shift key to be a little tricky to hit, but its just something you need to get used to.  When hacking the home screen menus (modifying group-app.xml) – you’ve got to be a little careful as getting something wrong (like missing an icon) can cause the system to get hung up on boot (Alt-F2 to the rescue).  It is a bit eerie working on any laptop with a SSD, as you don’t get the normal grinding drive feedback as to what is taking so long.  With the price dropping on these things, I’m tempted to buy another just to hack on.

On to installing MythTV.  My backend is running 0.20, and upgrading will mean changing all of the existing front ends to match.  Not something I’m keen on doing right now.  Google quickly found me a thread where someone had stashed the 0.20 rpms.  These RPMs turned out to be from ATrpms.net, so I needed to add the signing key.

rpm –import http://ATrpms.net/RPM-GPG-KEY.atrpms

I used the following command to install the downloaded 0.20 mythtv packages:

yum localinstall mythtv-frontend-0.20.2-175.fc8.i386.rpm

The result of this command pointed me at the set of missing dependencies, most of which were the other packages that I had already downloaded based on the thread where I found the 0.20 binaries.  There was one additional package that was not in the others repositories I was already pointed at, this was the libdca.so library, so I grabbed it from ATrpms.

[I suppose that alternatively instead of manually grabbing the various RPMs, I could have just added ATrpms.net to my yum repository list – but they don’t seem to still have the 0.20 version, so for my purposes it seemed like a localinstall was a better solution]

So simply appending the missing dependency RPMs which I had already downloaded locally got me to the point where yum was happy to install MythTV for me.  Once installed I was able to launch it from the XFCE4 menu.  Adding it to the group-app.xml was relatively trivial.

It seems to work well.  The only annoying thing is that if the front end detects no network connection, it falls into the setup sequence.  Since the AspireOne seems to be fairly slow to connect to the wifi network, this means you’ve got to be a little patient before launching MythTV.  If anything, I’d say that was my one pet peeve with the AspireOne – the boot time is very fast, but the wifi seems to lag behind – and with a netbook, the whole point is to connect to the network.

Solo 5150 Revived

Well tonight I took that old laptop that had developed sticky keys (a Gateway Solo 5150) and took it apart (again) to see if I could get it working again.  I disconnected the keyboard and cleaned the connectors which were quite dirty, I’m hopeful this will resolve the issue.  The machine seems quite happy now, but I’ll give it a few days before claiming total success.

The last time I had the machine apart and had pulled the keyboard out, I didn’t really manage to get it to fit back in properly.  Tonight I found some instructions that explained what I had done wrong.

The trick is documented on the Gateway site too.  The keyboard has these very small sliders that lock the bottom half of the keyboard in place (there are 5 in total).  The top is held in by some fixed tabs which are pretty obvious if you’ve got the keyboard out as I had.

Now of course, the AspireOne is still a lot more computer than this old clunky laptop, so it is unlikely we’ll use it very much at this point.  I still get a kick out of breathing life (and some amount of useful functionality) back into this old laptop.

Sharing a Mac printer with Linux

Our printer is plugged into the Mac as this is the primary machine we use for printing things.  My desktop is a Linux box, and until today I simply copied the files up to the network drive and printed them using the Mac.

Quite some time ago I came across an article on Building a heterogeneous home network for Linux and Mac OS X which is pretty much the situation I have here at home.  I’ve been working on making the network the important thing, and the computers simply use the network services.  Eventually I may simply move the printer to be on the network and run off my Slug, but its easier to let the Mac just talk to it directly right now.

Enabling the Mac to share the attached printer is very simple.  From the Apple select System Preferences.  Then you want to find the Sharing icon and click on that.

The Sharing page is pretty self explanatory, but I’ve got some screenshots to make it painfully obvious if your not sure.  You want to check the box that says Printer Sharing.  Also check on the Firewall tab that you won’t have a problem with blocking the required ports.

That’s all you need to do on the Mac. Now off to Linux.  I run Ubuntu, so other distros will have different paths to the same basic functionality.  Under System->Administration->Printing which will open up the printer configuration.  We want to add a New Printer.

The new printer will be an IPP Printer.  Fill in the Host, then use the Find Queue button to locate the queue that the Mac is exporting.  I found that for whatever reason the system then mapped the hostname to localhost (127.0.0.1) which is wrong – so I manually changed it back.  Verify was good to check things were cool.

Now I can print from my Linux box.  I probably should have done this ages ago, if I had known how trivial it was going to be I would have done it much sooner.