Recently in Linux Category
Since I had blocked off a decent chunk of time over this last weekend for playing with Tiger (which didn't happen), I had to take my-lack-of-new-OSX-goodness out on something. And that something was my Ubuntu install that I did on my Athlon64 Shuttle box. Shortly after Hoary came out, I decided that I had had enough of Fedora Core 2, and wiped that Linux out with a fresh install of Ubuntu. The Ubuntu install was simply amazing (in the domain of OS installs, anyway). I would rank the install better than Windows (it actually asked me less questions, was faster, and had less reboots). The only pain is partitioning, but even that wasn't so bad -- I liked their fdisk-like utility -- it made it easy to preserve the '/home' from my FC2 install, while blowing away the rest.
So, I have been knocking around with Ubuntu for a few weeks, and am definitely liking what I am seeing. Ubuntu is one of the most polished Linux distributions that I have ever played with. It has shocked me at times, how well this OS has worked (which should tell you something about my low expectations concerning Linux).
So my project for this weekend was to finish installing and configuring MythTV on the new Ubuntu machine. I also wanted to export my data from the old MythTV box, so I wouldn't lose any state concerning which shows I want to record, and which episodes I have already seen. Fortunately, the procedure for doing the export was reasonably well-documented, so I was able to pull that off.
Not everything was clean and simple, however. Everything in the base Ubuntu distribution has had the spit & polish treatment given to it, from what I can tell. However, the core Ubuntu distribution is quite small, and doesn't cover the vast wealth of free software that is available. That is why Ubuntu is based off of Debian, which means that you can pull Debian packages "from the wild" into Ubuntu. What this means is that in order to get MythTV working properly, I have had to do some hacking, since MythTV isn't a part of Ubuntu.
The worst part was getting the remote control working. On Linux, IR remotes are handled by the LIRC project. This is a set of utilities and kernel drivers that sit outside of the main kernel. On most (sane) distributions, you can download a binary package that includes the utilities and libraries, as well as pre-compiled kernel modules that match the kernel of the distribution that you are running.
But is that how Debian works? Oh no, that's not how it works. Apparently, in Debian-land, you download the source code to the LIRC modules, as well as the source code to the kernel that you are running. Then, you use some special Debian utilities ('make-kpkg'), in order to build the LIRC kernel modules for the device that you want to support. This would all be fine, in a Gentoo-esque sort of way, if it actually worked. Unfortunately, it appears as if the 'make-kpkg' utility makes assumptions based upon the 2.4 kernel, which don't hold true for the 2.6 kernel that Ubuntu uses.
So, after fighting with this mess for awhile on Sunday night, last night I decided to simply screw Debian, fetch the LIRC source, and have at it the completely manual way. I'm pleased to report that the LIRC source was quite easy to deal with, and I now have my Hauppauge remote working on the new-and-improved MythTV box.
So, the moral of the story? Ubuntu is good, but I'm still not on board the Debian bandwagon.
-Andy.
Yesterday, Ubuntu Linux 5.04 "The Hoary Hedgehog" was released to the world. I have been reading about Ubuntu for awhile, but have deferred from playing with it until now. Quickly, Ubuntu is a new(ish) Linux distribution out of South Africa, which is actually trying to do some "design" in their distribution. Instead of throwing in all available Open Source applications, Ubuntu is aiming for "the best" application of each type. So for example, instead of coming out of the box with 3 different applications for playing audio, there is only one. This is what I would expect as a Macintosh or Windows user -- not only is it much less confusing, but it also means that there is someone behind the scenes, who I am trusting to steer me in the right direction. In my mind, this is how a desktop OS should work (hence, why I am a confirmed Machintosh user).
Ubuntu makes "Live CDs" available for multiple platforms, PowerPC included. So, I downloaded the ISO yesterday, and gave it a try today:
I have to admit, it is pretty amazing how well this works, especially on not-terribly-open Apple hardware. I just put in the CD, booted off of it, and ka-blam, I had GNOME staring me in the face. Sound works, but Airport Extreme does not. This was too be expected -- the Open Source dudes have been having a really hard time getting the necessary support to write drivers for wireless hardware. Interestingly enough, it might not just be because wireless companies are dicks.
I decided to go out on a limb, and see if I could get my Sony DSC-P100 camera to work in Linux. Much to my amazement, I plugged the USB cable in, and not only did Ubuntu automatically mount the memory stick as a USB filesystem, but it popped up a dialog and asked me if I wanted to import the pictures from the camera onto disk! Wow! So, I went ahead and got the photo that I wanted, edited it in the Gimp (version 2.2, which looks pretty slick btw), and am posting it to my blog -- all using free software. It has pretty amazing how far Linux has come in such a short time.
I think I will be giving Ubuntu a shot on my new Tivo box. If that goes well (and I don't see why it wouldn't), then I will install it on my desktop at work.
-Andy.