Ad - leaderboard

Thursday, December 10, 2009

Skype in Ubuntu couldn't see my Microsoft VX-7000 webcam

My VX-7000 works fine with Cheese, but not in Skype. I'm not sure any of the stuff in part 2 is necessary, but typing the command in part 1 below, in terminal mode, instantly started Skype and the Video:

1. Since your camera is recognized by ubuntu. So may the famous command:
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype

Of course you don't want to type this every time you use skype, so make a script that runs when you type ./skypescript.sh in the terminal. Then paste the ./skypescript.sh into your desktop LAUNCHER and you are done.
To prepare the script place this follow the instructions in this link but replace the script with this one:
#!/bin/sh
sudo modprobe -r uvcvideo
sudo modprobe uvcvideo
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype

This script loads the driver and preloads stuff, then runs Skype.
Next, run this command to make the file executable:
chmod 777 samplescript.sh
and you are in business.

2. The mess below, was very busy, but did not succeed. Installing the drivers for the webcam. Not child's play.

install subversion

Code:
sudo apt-get install subversion
get uvc svn version

Code:
svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk
get kernel header

Code:
sudo apt-get install linux-headers-`uname -r`

in the uvc MAKEFILE

change

Code:
INSTALL_MOD_DIR := usb/media to  INSTALL_MOD_DIR := ubuntu/media/usbvideo
compile and install

Code:
make && make install
load the module

Code:
sudo modprobe -r uvcvideo  
sudo modprobe uvcvideo