LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-09-2007, 08:33 AM   #1
bogdan.dusa
LQ Newbie
 
Registered: Aug 2005
Location: Bucharest, Romania
Posts: 14

Rep: Reputation: 0
Cannot install webcam VIMICRO USB PC CAMERA (ZC0301PLH) on Ubuntu Edgy


Hi, there

I tried to install a webcam, VIMICRO USB PC CAMERA (ZC0301PLH), but my Kubuntu Edgy won't even recognize it as an external device attached to the computer, let alone install any driver... With Synaptic, I installed the webcam and webcamd packages. What else can I do?

Thank you
 
Old 01-10-2007, 07:56 PM   #2
Benanzo
Member
 
Registered: Sep 2005
Location: Seattle
Distribution: Ubuntu, Debian flavors
Posts: 119

Rep: Reputation: 15
try this

Code:
sudo apt-get install linux-headers-`uname -r` linux-restricted-modules-`uname -r` build-essential

wget http://mxhaard.free.fr/spca50x/Download/spca5xx-20060501.tar.gz

tar xvfz spca5xx-20060501.tar.gz

cd spca5xx-20060501

make

sudo modprobe -r spca5xx

sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/usb/media/spca5xx*

sudo make install

sudo modprobe spca5xx
this was on ubuntuforums.org http://www.ubuntuforums.org/showthre...ghlight=webcam

These are instructions for dapper but I see nothing that would make this incompatible with edgy.
 
Old 01-11-2007, 03:09 AM   #3
bogdan.dusa
LQ Newbie
 
Registered: Aug 2005
Location: Bucharest, Romania
Posts: 14

Original Poster
Rep: Reputation: 0
The laptop still doesn't recognise the webcam as an external device, nothing happens when I connect the webcam to the computer... Can it be something wrong with my Ubuntu or the webcam itself? I have 5 USB slots on my laptop, and the webcam is not recognized when pluggen in either of them...
 
Old 01-11-2007, 04:21 PM   #4
Benanzo
Member
 
Registered: Sep 2005
Location: Seattle
Distribution: Ubuntu, Debian flavors
Posts: 119

Rep: Reputation: 15
right after you plug in the webcam run:

dmesg | tail

in a terminal. That will show any errors that are happening with your cam.
 
Old 01-12-2007, 03:52 AM   #5
blassmegod
Member
 
Registered: Nov 2006
Distribution: debian, ubuntu, fedora, mandriva
Posts: 31

Rep: Reputation: 15
Hey, try to run as root in the terminal "lsusb" with the cam pluged in and see what ID has (or PID:VID), then go to MXaard's page and see if is supported! maybe you need tot change the sensor in the driver source.
 
Old 01-12-2007, 08:43 AM   #6
bogdan.dusa
LQ Newbie
 
Registered: Aug 2005
Location: Bucharest, Romania
Posts: 14

Original Poster
Rep: Reputation: 0
Hi, there

Well, I first ran:
dmesg | tail

which gave me:
17179617.376000] bridge-eth0: attached
[17191486.844000] usb 1-1: new full speed USB device using uhci_hcd and addr 2
[17191487.040000] usb 1-1: configuration #1 chosen from 1 choice
[17191487.300000] Linux video capture interface: v1.00
[17191487.448000] /home/bob/spca5xx-20060501/drivers/usb/spca5xx.c: USB SPCA camera found. Type Vimicro Zc301P 0x303b
[17191487.448000] /home/bob/spca5xx-20060501/drivers/usb/spca5xx.c: [spca5xx be:5480] Camera type JPEG
[17191487.808000] /home/bob/spca5xx-20060501/drivers/usb/zc3xx.h: [zc3xx_con 527] Find Sensor PB0330
[17191487.812000] /home/bob/spca5xx-20060501/drivers/usb/spca5xx.c: [spca5xx capability:1765] maxw 640 maxh 480 minw 176 minh 144
[17191487.812000] usbcore: registered new driver spca5xx
[17191487.812000] /home/bob/spca5xx-20060501/drivers/usb/spca5xx.c: spca5xx er 00.60.00 registered

The red light on the webcam is on, as if the camera was working, but nothing happens...

I ran:
webcam

which gave:
reading config file: /home/bob/.webcamrc
video4linux webcam v1.5 - (c) 1998-2002 Gerd Knorr
grabber config:
size 320x240 [24 bit TrueColor (LE: bgr)]
input (null), norm (null), jpeg quality 75
rotate=0, top=0, left=0, bottom=240, right=320

but it stopped there, never coming back to the main line, where I could run another command...

I also ran:
webcamd

which gave me:
First run of webcamd !
RTFM, missing template (/home/bob/.webcamd/index_up.html)

As root, I ran afterwards:
lsusb

which gave:
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 002: ID 046d:c03e Logitech, Inc. Premium Optical Wheel Mouse
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 0ac8:303b Z-Star Microelectronics Corp. ZC0303 WebCam
Bus 001 Device 001: ID 0000:0000

I don't know MXaard is, the Google won't give me any answer on a search, it indicates me to correct if there is any typing error...

Thank you!
 
Old 01-13-2007, 07:54 AM   #7
blassmegod
Member
 
Registered: Nov 2006
Distribution: debian, ubuntu, fedora, mandriva
Posts: 31

Rep: Reputation: 15
This is the address of Michel Xaard (one of the developers) http://mxhaard.free.fr, what kernel do you use? try upgrading (changing) your kernel to an bigger version and install gspcav1 driver from this page: http://mxhaard.free.fr/spca50x/Downl...0070110.tar.gz, after that install spcaview from the same page and try to view your webcam with it.
 
Old 01-15-2007, 11:34 AM   #8
bogdan.dusa
LQ Newbie
 
Registered: Aug 2005
Location: Bucharest, Romania
Posts: 14

Original Poster
Rep: Reputation: 0
Yep, it works just fine now... Thanx!
 
Old 03-29-2007, 05:50 AM   #9
Anant Khaitan
LQ Newbie
 
Registered: Feb 2007
Location: NIT, Bhopal
Distribution: Fedora
Posts: 16

Rep: Reputation: 0
I use Fedora core 6 plz guide me to install my VIMICRO Cam
output of dmesg | tail
NET: Registered protocol family 5
usb 2-2: USB disconnect, address 3
usb 2-2: Disconnecting ZC0301[P] PC Camera...
usb 2-2: V4L2 device /dev/video0 deregistered
usb 2-2: new full speed USB device using uhci_hcd and address 4
usb 2-2: configuration #1 chosen from 1 choice
usb 2-2: ZC0301[P] Image Processor and Control Chip detected (vid/pid 0x0AC8/0x301B)
usb 2-2: PB-0330 image sensor detected
usb 2-2: Initialization succeeded
usb 2-2: V4L2 device registered as /dev/video0

And output of lsusb
Bus 001 Device 001: ID 0000:0000
Bus 001 Device 003: ID 067b:2305 Prolific Technology, Inc. PL2305 Parallel Port
Bus 002 Device 006: ID 0ac8:301b Z-Star Microelectronics Corp. ZC0301 WebCam
Bus 002 Device 001: ID 0000:0000
Bus 002 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 003 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000

Last edited by Anant Khaitan; 03-29-2007 at 05:58 AM.
 
Old 03-30-2007, 08:57 AM   #10
blassmegod
Member
 
Registered: Nov 2006
Distribution: debian, ubuntu, fedora, mandriva
Posts: 31

Rep: Reputation: 15
what driver do you use? if gspca or spca5xx then your webcam should be for V4L not V4L2, go to http://mxhaard.free.fr/spca5xx.html and get the drivers gspca, install your kernel source and then install the driver, i think it work's better on a 2.6.17 kernel.
 
Old 04-13-2007, 02:28 AM   #11
xol5000
LQ Newbie
 
Registered: Mar 2007
Posts: 3

Rep: Reputation: 0
hi, guys. I have a similar problem my webcam was not recognized by OpenSuSe, Kernel 2.6.18, I went to the http://mxhaard.free.fr/spca5xx.html website and downloaded the driver for my Vimicro 0x303B webcam. The website stated it is supported by spca50xx/LE. After I downloaded the driver and extract it, when I tried to use Make, I got the following message:

Building SPCA5XX driver for 2.5/2.6 kernel.
Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/jon/spca5xx-20060501 CC=cc modules
make[1]: Entering directory `/usr/src/linux-2.6.18.2-34-obj/i386/default'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.18.2-34-obj/i386/default'
make: *** [default] Error 2

So what should I do and how can i create rule to make target modules?
Please be specific because I'm fairly new to Linux. Thank you, all. This is the warmest and best online community I have ever been on.
Best to all.
 
Old 04-14-2007, 02:59 AM   #12
Anant Khaitan
LQ Newbie
 
Registered: Feb 2007
Location: NIT, Bhopal
Distribution: Fedora
Posts: 16

Rep: Reputation: 0
I m using FC6 and Kernel 2.6.20
but i m unable to run my cam..
plz explain the procedure with details
 
Old 04-14-2007, 05:12 AM   #13
blassmegod
Member
 
Registered: Nov 2006
Distribution: debian, ubuntu, fedora, mandriva
Posts: 31

Rep: Reputation: 15
Quote:
Originally Posted by Anant Khaitan
I m using FC6 and Kernel 2.6.20
but i m unable to run my cam..
plz explain the procedure with details
What webcam do you use? what drivers did you tried to install? and if it is on usb then write into terminal "/sbin/lsusb" and put here what it gives you, so that we know what chipset it uses.
 
Old 04-14-2007, 05:14 AM   #14
blassmegod
Member
 
Registered: Nov 2006
Distribution: debian, ubuntu, fedora, mandriva
Posts: 31

Rep: Reputation: 15
Quote:
Originally Posted by xol5000
hi, guys. I have a similar problem my webcam was not recognized by OpenSuSe, Kernel 2.6.18, I went to the http://mxhaard.free.fr/spca5xx.html website and downloaded the driver for my Vimicro 0x303B webcam. The website stated it is supported by spca50xx/LE. After I downloaded the driver and extract it, when I tried to use Make, I got the following message:

Building SPCA5XX driver for 2.5/2.6 kernel.
Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/jon/spca5xx-20060501 CC=cc modules
make[1]: Entering directory `/usr/src/linux-2.6.18.2-34-obj/i386/default'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.18.2-34-obj/i386/default'
make: *** [default] Error 2

So what should I do and how can i create rule to make target modules?
Please be specific because I'm fairly new to Linux. Thank you, all. This is the warmest and best online community I have ever been on.
Best to all.
for installing spca5xx/le (light edition) read the documentation on xaard's page http://mxhaard.free.fr/spca5le.html, hope it helps you.
 
Old 04-25-2007, 05:55 AM   #15
Anant Khaitan
LQ Newbie
 
Registered: Feb 2007
Location: NIT, Bhopal
Distribution: Fedora
Posts: 16

Rep: Reputation: 0
Bus 002 Device 005: ID 0ac8:301b Z-Star Microelectronics Corp. ZC0301 WebCam

this is what I get for my webcam
 
  


Reply

Tags
works



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
avm WLAN USB-stick on Ubuntu 6.10 (Edgy Eft) annuzzer Linux - Wireless Networking 2 02-26-2010 03:07 AM
Do you have this problem with Ubuntu Edgy and USB sticks ? kubuntu_user Ubuntu 22 05-08-2007 12:28 PM
vimicro pc camera - no linux support bobothecrock Slackware 5 03-31-2007 06:04 AM
install trust webcam/digital camera in debian mariogarcia Linux - Hardware 1 09-26-2006 05:18 AM
Possible to get video files from USB Creative PC-CAM 300 digital camera/webcam? furfurdemon666 Linux - Hardware 1 08-24-2004 09:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration