excursions with kopete

What a trip…I decided to see if I could get a webcam running properly under Ubuntu. The answer was eventually yes, but it was a little bit of work.

First of all I did a little homework and found that Logitech webcams were the most likely to be recognized by Linux. The company, bless ‘em, works with the linux community to provide the rest of us with the correct drivers. There’s a very nice list of supported webcams here, it’s worth checking this out first. Some webcams will work “out of the box”, but most will probably need to have either spca5xx (linux kernel versions prior to 2.6.11) or gspcav1 (versions after, which includes Ubuntu’s Edgy Eft).

Now, as far as IM’s go, there are pretty much two choices: amsn (for MSN, which I didn’t even bother with, because I don’t even have an msn account) and kopete which supports both MSN and Yahoo (among others), with webcam support on MSN/Yahoo protocols. I have a Yahoo account (as does my friend with whom I tested) so that’s what I used.

I ordered the Logitech (QuickCam Chat) and in the meantime tested out receiving the images from my friend (who ran hers on the regular Yahoo application from her Windows XP setup). The initial trial run was disappointing as all I ever got from her webcam was the first still in the stream and nothing further. Upon some investigation, which included the helpful folks at the kopete-devel mailing list, who informed me that my version, 0.12.3, needed to be updated to 0.12.4.

At this point, I got a little bit confused, because I could find no deb (or other) package for kopete 0.12.4, and when I said that, the response was “There is no separate tarball.” After puzzling over that for a while, I realized what they meant was that it was all rolled in with KDE itself. That is to say, if I upgraded from KDE 3.5.5 (which is what’s in the Ubuntu Edgy Eft 6.10 distribution) to KDE 3.5.6, kopete 0.12.4 would come bundled with that. Oy. After noodling around that one for a while, I found these partial instructions for Kubuntu (other dists can look here). Once I incorporated the Riddell key, used the synaptic package manager to add one of the listed repositories (not forgetting to reload) and then, the important part, running the following command on the terminal:


sudo apt-get upgrade kubuntu-desktop

With that, I now had KDE 3.5.6 and by extension the upgraded kopete on my system. Woot! And when I fired up the connection with my friend, after a little fiddling on both our parts, her stream came through loud and clear. Double woot!!

So now the second part, getting it to recognize MY webcam (which had arrived yesterday :-D ). This went more quickly but was a bit wonkier. First of all, I had to install and use the gspcav1 wrapper. I followed both these sets of instructions more or less (I skipped some of the setup because my system is already set up to compile things): here and here. I have no idea why there are instructions for installing spca5xx on Edgy as the linux kernel on Edgy (check with uname -r on the command line) precludes the use of spca5xx. Use the first set of instructions if you’re installing the older spca5xx stuff for linux kernels prior to 2.6.11; the second set if you’re installing gspcav1. But note that either way you’ll modprob something called spca5xx so don’t let that surprise you.

And this time, my webcam was up and running and ran just fine on kopete to my friend’s screen. So it was all quite good. The only issue left is whether or not the webcam can be set somehow to be less choppy. It’s really got a horrendous refresh rate, and it must be possible to clear that up a bit? If any of you have suggestions, please feel free to let me know.

Hope this helped someone out. My understanding is that webcameras and the like remain a weak spot in Linux, and it’s certainly true nothing worked out of the box (I do understand some webcams do not need the spca5xx/gspcav1 wrapper, and do work when plugged in, so it might be worth finding those; I was a cheapskate and got the cheapest camera that seemed to work alright.) However, it wasn’t too bad getting it to work; the worst part was finding all the information.

I also made use of a nice quick little tool just to verify that the webcam worked (for some reason my friend isn’t at her computer 24/7 with HER webcam for testing purposes…) called camorama which I found available in the synaptic package manager as well. It was a handy utility to verify that the webcam was indeed working.

del.icio.us:excursions with kopete  digg:excursions with kopete

Leave a Comment

Bad Behavior has blocked 452 access attempts in the last 7 days.