LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   webcam not found under /dev/video or /dev/video0/.. (https://www.linuxquestions.org/questions/linux-hardware-18/webcam-not-found-under-dev-video-or-dev-video0-676590/)

superevilspacemonkey 10-15-2008 02:13 PM

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!

pwalden 11-14-2008 03:56 PM

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


All times are GMT -5. The time now is 11:59 AM.