What, me worry ?

The personal weblog of Suhrid Karthik

Archive for the ‘ubuntu’ tag

Firefox problems on Ubuntu

without comments

Recently, Firefox stopped working on my Ubuntu laptop for no reason. The hand cursor for hyper links turned into the text select icon, browser history stopped working and overall the browser became very sluggish. I couldn’t find any useful troubleshooting information, so I decided to reinstall Firefox.  I fired up Synaptic Package Manager and got rid of the Firefox and the xul-ext-ubufox packages, rebooted the machine and installed Firefox again. Same result as before, the new install had the same broken behaviour.

Since browser history wasn’t working, I then vaguely remembered something about firefox profiles and decided that a corrupted profile could be the problem. So I removed the default profile using the steps here and did a reinstall and everything was back to normal.

Me gusta !

Written by Suhrid

November 14th, 2011 at 6:23 am

Posted in Tech,Useful

Tagged with , ,

Troubleshooting GoogleTalk and Webcam problems in Ubuntu

without comments

Of late, the google talk plugin wouldn’t allow me to make video calls. Audio used to work fine, but no video. (The tiny movie projector icon was missing.) I tried fiddling around with restarting the plugin, but it wasn’t solving the problem.

I then tried Cheese to see if the problem was with the webcam.  Turned out that it was, Cheese wasn’t recognizing the webcam. That’s why no video in GoogleTalk  – the strange thing is that the GoogleTalkPlugin didn’t provide any error messages at all when it tried to initialize the webcam. When it realized that there was no webcam, it just switched to audio only mode!

I then ran the dmesg command on the terminal which had the line:

uvcvideo: Failed to initialize the device (-5).

This seemed to point to a UVC problem.  Googling revealed that the problem could be fixed by removing and adding the UVC kernel module. Here are the steps to do that:

#Remove
sudo modprobe -r uvcvideo;

#Add
sudo modprobe uvcvideo;

As soon as I ran the second command, the blue light of the webcam flicked on and voila everything was back to normal.  Hopefully this quick fix works for you if you run into this problem.

Otherwise, the recommended solution is to upgrade to the latest UVC modules. Linux kernels 2.6.26 onwards include the UVC driver natively, so upgrading to the latest kernel should also solve the problem.

Written by Suhrid

July 16th, 2011 at 2:47 pm