The VX-1000 LifeCam |
lsusb
into a terminal), but sound and video stubbornly refused to co-operate. I assumed that I would never been able to get it to work with Ubuntu and I'd even started to consider alternatives - Then I plugged it into 10.04!.Doubtless, I've made the process of getting this over-priced/under-performing hardware to work with Ubuntu more difficult than necessary, but now the camera works with Cheese and I can use it for both video and sound calls with Skype. That's the good news: the bad news is that the picture quality is pretty rubbish!
Actually, getting the video to work in Skype is fairly straightforward. Make sure that the camera is plugged in and then open a terminal and type:
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
However, I experienced two problems with this approach:
- After closing Skype or rebooting the computer, the video no longer worked. This seems to be because the standard command in the startup applications entry is simply,
skype
and no amount of editing in the Startup Applications' Preferences dialog would force the v4l application to load. - The built-in microphone didn't work.
#!/bin/bash
# Start Skype with video enabled
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
I saved the file in my /home directory as skype.sh and then made it executable:
chmod +x /home/jogga/skype.sh
(For obvious reasons, if you are following these instructions, change your username to suit!) Then I added this script to the startup applications by clicking Add in the Startup Applications' Preferences dialog.
This approach does seem to lengthen the boot time but it does work.
To get the sound to work I installed Jef Moine's latest gspca patch. The patch works for a broad range of webcams and you can find a list of supported devices here.
- Download the gspca-2.12.25.tar.gz patch to your Downloads directory (or any convenient location).
- Right-click the package and select the Extract Here option (or use Archive Manager to extract the package to your location of choice).
- Open a terminal and change to the gspca-2.12.25 directory - in my case:
cd /home/jogga/Downloads/gspca-2.12.25
but you should amend the command to suit your own username and directory location.
- If you want to install the whole package (i.e. support for all the webcams), type:
make
However, it is possible to install only the driver required to make your camera work. For instance, to support the VX-1000, type:
make gspca_sonixj.ko
You can identify the required driver using the gspca Supported Webcams documentation. - Then, install the driver:
sudo make install
- Reboot your computer and test your webcam's microphone by making a Skype test call.
So, this is another piece of hardware that will see a more use thanks to a little perseverance and a lot of effort by the Ubuntu Community.
Sources & References:
Jef Moine: Jef's Page
Gnome Projects: Cheese Home Page
Kernel.org gspca Supported Webcams
No comments:
Post a Comment