Webcam in Ubuntu
i dont know why all this while im not using webcam in linux until last week i try to plug the webcam in my ubuntu. It appear great result because the webcam driver detected by need to do something more to make its working better … now lets start by checking the device detected ..
fenris@thinkbuntu:~$ lsusb
Bus 007 Device 001: ID 0000:0000
Bus 006 Device 001: ID 0000:0000
Bus 001 Device 004: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
Bus 001 Device 003: ID 0a5c:2110 Broadcom Corp.
Bus 001 Device 001: ID 0000:0000
Bus 003 Device 002: ID 0ac8:301b Z-Star Microelectronics Corp. ZC0301 WebCam
Bus 003 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 004 Device 002: ID 17ef:1003
Bus 004 Device 001: ID 0000:0000
With this information we can know the Vendor_id=0ac8 and the Product_id=301b . We could also see this using the graphical user interfase usbview. Another thing that we can see is the manufacturer of the chipset Z-Star/Vimicro (that is also used in many other cheap webcams) Among the output of the usbview program, we can see somthing like this Manufacturer: Vimicro Corp.
I’m going to summarize the steps I took:
1) Download and untar the file gspcav120071224.tar.gz:
wget -c http://mxhaard.free.fr/spca50x/Download/gspcav1-20071224.tar.gz
tar xvfz gspcav1ÂÂ20071224.tar.gz
2) Compile and install the driver:
cd gspcav1-20071224
make clean
make
sudo make install
3) This is the extra step that I had to do:
sudo gedit /etc/modprobe.d/options
and add an option for this driver:
options gspca force_rgb=1
sudo apt-get install camorama
then try to open camorama, if cant open the application,try this:
$sudo lsmod |grep gspca
gspca 660176 0
videodev 28160 2 gspca,zc0301
usbcore 134280 7 gspca,zc0301,usb_storage,libusual,ehci_hcd,uhci_hcd
Remove the zc0301 module:
$sudo modprobe -r zc0301
Insert module gspca back:
$ sudo modprobe gspca
Give a check first:
$ lsmod |grep gspca
gspca 660176 0
videodev 28160 1 gspca
usbcore 134280 6 gspca,usb_storage,libusual,ehci_hcd,uhci_hcd
Let it be more confident:
$ lsmod | grep videodev
videodev 28160 1 gspca
v4l1_compat 15236 1 videodev
v4l2_common 25216 1 videodev
If it still can’t run the camorama :
check the device permission:
$ ls -l /dev/video0
crw-rwâ€â€- 1 root video 81, 0 2008-01-27 08:10 /dev/video0
Device video0 running with user group video,so u should change the permission:
$ sudo chmod 777 /dev/video0
$ ls -l /dev/video0
crwxrwxrwx 1 root video 81, 0 2008-01-27 08:10 /dev/video0
@ the easier way is installing the gspca from repo (i forgot to check in repo, gspca is in it):
fenris@thinkbuntu:~$ sudo apt-get install gspca-sourceHope it working for u all because its working for me!!
Gud Luck!!








June 15th, 2010 at 1:43 am
ArenaBetting.com dukung fair play FIFA world cup AFSEL 2010Support Safety Riding Honda Bengkulu With PutraHosting.com Dapur Hosting Hemat and
Never Give Up Dude, All Come From Zero and http://tiaraantik.com/hosting-murah-indonesia-indositehost-com.html
June 15th, 2010 at 6:57 pm
Hi .. My Names Hakan .. You made some Good points there … very cool post indeed.
June 22nd, 2010 at 6:14 pm
This site and the admin most heartfelt thanks to all the friends say. This information is very wonderful and enlightening. more beautiful than beautiful to publish information. I thank you for comments and respect to all my friends to provide
June 24th, 2010 at 10:17 am
great, many thanks for your article, now my webcam detected in my ubuntu
August 14th, 2010 at 9:55 pm
This site and the admin most heartfelt thanks to all the friends say.
August 14th, 2010 at 9:57 pm
This information is very wonderful and enlightening. more beautiful than beautiful to publish information.
August 14th, 2010 at 9:57 pm
more beautiful than beautiful to publish information. I thank you for comments and respect to all my friends to provide
August 15th, 2010 at 9:32 pm
Great post.Thanks.
August 15th, 2010 at 11:40 pm
This site and the admin most heartfelt thanks to all the friends say.
August 18th, 2010 at 10:34 am
get windows and just plug it in and your are done!
August 26th, 2010 at 1:59 am
produces custom parts for vintage bikes, jump to a Harley but he’s been looking at the big bikes for a while with the thought of having something for long-range riding. His two BMW bikes are older models with a lot of miles on them.
September 5th, 2010 at 12:00 pm
It’s always nice when you can notAbercrombie and Fitch only be informed, but also entertained!
I’m sure you had fun writing this article.