This webcam worked on Slackware 13.0 only because I was able to come up with a script scheme to find which video device number was being assigned between the VIA8235, bttv, and camera. It changed almost regularly. With 13.37 that script does not work. Here is what I know:
lsusb:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 001 Device 003: ID 0c45:60fc Microdia PC Camera with Mic (SN9C105)
Bus 001 Device 004: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
egrep -i sn9c1 /var/log/messages
Apr 6 20:27:04 kernel: [ 4.295318] sn9c102: V4L2 driver for SN9C1xx PC Camera Controllers v1:1.47pre49
Apr 6 20:27:04 kernel: [ 4.295814] usb 1-1.3: SN9C105 PC Camera Controller detected (vidid 0x0C45:0x60FC)
Apr 6 20:27:04 kernel: [ 4.401175] usbcore: registered new interface driver sn9c102
lsmod | egrep -i sn9c1
sn9c102 141903 0
videodev 57461 7 tuner,tvaudio,tda7432,msp3400,bttv,
v4l2_common,sn9c102
alsamixer
and F6-key:
0 VIA 8235
1 Brooktree Bt878
2 USB camera <----------it has microphone
usb_submit_urb() failed, error -28 occurs in the boot up
I have tried several mplayer commands to get a snapshot in either .png or .jpeg with the same result a bordered window with no image and the image entirely black.
Here is an example:
mplayer -fps 15 -vf screenshot -vo xv,x11 tv:// -tv driver=v4l2:device=/dev/video1:width=640:height=480
If /dev/video0 is used it gives the error: unable to open '/dev/video0': No space left on device
if /dev/video2 is used it gives the error: unable to open '/dev/video2': No such file or directory
I do not know how to prove it but I think that video1 is really for bttv and somehow the correct device is not found. Any help appreciated.

Reply With Quote
