Here's a little step-by-step guide to getting your Rio Karma running on Ubuntu 8.04 with the new amazing Banshee 1.0. But first a little appetizer:
What we'll do is fetch some stuff to get the compilation of Banshee working, patch up the source code, compile it and then as a last step we'll get the kernel module for Karma up and running. So, here's what you do:
$ sudo apt-get install libkarma0 libkarma-cil libkarma-dev omfs-source
$ sudo apt-get remove banshee
$ sudo apt-get build-dep banshee
Now we have the software from the Ubuntu repos, we've removed the old Banshee and installed the software needed for compiling Banshee. But we still need to get the Banshee source code. I prefer grabbing the latest version from SVN as Banshee is still under heavy development, and a lot of bug fixes will have been contributed as of writing this howto.
$ svn co http://svn.gnome.org/svn/banshee/trunk/banshee
$ cd banshee
And now the cool stuff: The patch that installs the support for Rio Karma which has not yet been committed to the trunk of the project. Bob Copeland is the maintainer so let's all use this moment to send him our best of thoughts. He's posted a patch here that you should download (look for the latest one). Save it in the same directory as the one with your banshee/ source dir. Now apply it like this:
$ cd banshee/
$ patch -p1 < karma.patch
After that you can compile banshee with the following commands.
$ ./configure --disable-boo
$ sudo make install
One thing we still need to do is compile the OMFS module for our Linux kernel. The source package in Ubuntu is broken, and what you basically need to do is to grab the latest version of the OMFS module and then overwrite the files provided by the Ubuntu omfs-source package. And only after that use module-assistant to install the module, otherwise the compile fails because something in the kernel API has changed.
$ sudo bash
tar xvfj omfs-source.tar.bz2
tar xvfz omfs-0.8.0.tar.gz
cp omfs-0.8.0/* modules/omfs
module-assistant build omfs
module-assistant install omfs
(plugin your Karma)
This isn't such a beautiful solution, but it ensures that we can still benefit from using module-assistant.
Lastly you should disable the Mass Storage plugin (it makes the Karma show up twice) and you cannot currently attach the Karma while Banshee is running.