LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-15-2008, 02:13 PM   #1
superevilspacemonkey
LQ Newbie
 
Registered: Apr 2008
Location: switzerland
Distribution: OpenSuse 11.2
Posts: 6

Rep: Reputation: 0
webcam not found under /dev/video or /dev/video0/..


Hi I hope you can help me!

I cannot seem to get my webcam (cheap and nasty) to work. As far as I can recall it worked before, without hassle (I might have played with the kernel or something, since then).

All the right stuff seem to happen (I think the relevant modules, drivers etc. are running ok, but I'm a n00b...), but I would expect to see an entry /dev/video0 or /dev/video/something or /sys/class/video4linux, alas!. Am I completely lost?

I am running OpenSuSe 10.3 x86,

according to uname -a my kernel is:
Quote:
Linux superevil 2.6.22.18-0.2-superevilspacemonkey #1 SMP PREEMPT Thu Jun 26 21:43:08 SAST 2008 i686 i686 i386 GNU/Linux
The result for /sbin/lsusb is
Quote:
Bus 001 Device 003: ID 03f0:7d04 Hewlett-Packard
Bus 001 Device 001: ID 0000:0000
Bus 003 Device 002: ID 0ac8:303b Z-Star Microelectronics Corp. ZC0303 WebCam
Bus 003 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 003: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical
Bus 002 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
The result for dmesg (partial) is:
Quote:
usb 3-2: new full speed USB device using uhci_hcd and address 2
usb 3-2: new device found, idVendor=0ac8, idProduct=303b
usb 3-2: new device strings: Mfr=1, Product=2, SerialNumber=0
usb 3-2: Product: PC Camera
usb 3-2: Manufacturer: Vimicro Corp.
usb 3-2: configuration #1 chosen from 1 choice
Linux video capture interface: v2.00
zc0301: V4L2 driver for ZC0301[P] Image Processor and Control Chip v1:1.07
usb 3-2: ZC0301[P] Image Processor and Control Chip detected (vid/pid 0x0AC8:0x303B)
usb 3-2: No supported image sensor detected
as far as I can tell, the device is supported by the "gspcav1-kmp-default" driver (According to: http://mxhaard.free.fr/spca5xx.html).

I do not know if the following results mean anything...
Quote:
> gqcam
/dev/video: No such file or directory
and

Quote:
> v4l-conf
v4l-conf: using X11 display :0
dga: version 2.0
mode: 1152x864, depth=24, bpp=32, bpl=4608, base=0xea000000
can't open /dev/video0: No such file or directory
and the contents of /dev
Quote:
/dev> ls vid*
ls: cannot access vid*: No such file or directory
/sys/class/video4linux/ is empty too.

lsmod returns (partial):
Quote:
zc0301 52100 0
compat_ioctl32 5632 1 zc0301
videodev 31104 1 zc0301
v4l1_compat 16516 1 videodev
v4l2_common 20864 2 zc0301,videodev
...
usbcore 125164 6 zc0301,usbhid,usblp,ehci_hcd,uhci_hcd
(I notice that the number "zc0301" is different from the dmesg result, "zc0303", above, does this mean anything?

lsdev however returns nothing that seems relevant.

My appologies for this massive post.

Thanks!
 
Old 11-14-2008, 03:56 PM   #2
pwalden
Member
 
Registered: Jun 2003
Location: Washington
Distribution: Fedora FC19, Raspbian
Posts: 289

Rep: Reputation: 38
Code:
zc0301: V4L2 driver for ZC0301[P] Image Processor and Control Chip v1:1.07
usb 3-2: ZC0301[P] Image Processor and Control Chip detected (vid/pid 0x0AC8:0x303B)
usb 3-2: No supported image sensor detected
I think it means the driver on your system will not accept control of that camera. If it worked before, then somehow the driver was either lost during some kind of change.

I did some reference to a conflict between the gspcav and zc0301 drivers. They may be interfering with each other. Try unloading one or the other.

http://www.murga-linux.com/puppy/vie...cc81a6a63bcf5b
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How can I assign a webcam to a specific /dev/video#? windisch Linux - Hardware 5 09-25-2008 07:37 PM
webcam spca5xx and /dev/video0 problem FrancescoPx Linux - Hardware 5 12-19-2006 01:30 PM
Webcam 0c45:60af Microdia, not assigned to /dev/video0 (new drivers won't compile) Ian_Hawdon Linux - Hardware 1 08-20-2006 09:12 AM
webcam, effecTV, /dev/video0 and vloopback gunslinger77 Linux - Software 0 04-20-2004 03:07 AM
Two Video Devices - /dev/video0 & /dev/video1 liguorir Linux - Software 1 07-21-2003 08:20 PM


All times are GMT -5. The time now is 10:08 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration