Mon Dec 5 13:28:25 EST 2011

Cheapo uvcvideo camera

Got a "New 30 Mega Pixel USB2.0 PC/Laptop Webcam Camera With Mic" from
ebay for $7 including shipping[1].  It seems to work with the uvcvideo

[1739275.100557] usb 1-4.1.2: new high speed USB device using ehci_hcd and address 67
[1739275.248748] usb 1-4.1.2: New USB device found, idVendor=0c45, idProduct=6340
[1739275.248751] usb 1-4.1.2: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[1739275.248754] usb 1-4.1.2: Product: USB 2.0 Camera
[1739275.248755] usb 1-4.1.2: Manufacturer: Sonix Technology Co., Ltd.
[1739275.260333] 67:3:1: cannot get freq at ep 0x84
[1739275.605206] uvcvideo: Found UVC 1.00 device USB 2.0 Camera (0c45:6340)
[1739275.618673] input: USB 2.0 Camera as /class/input/input13
[1739275.618724] usbcore: registered new interface driver uvcvideo
[1739275.618725] USB Video Class driver (v0.1.0)

idVendor=  0c45   Microdia
idProduct= 6340   <???>

It works with mplayer, but not with xawtv, nor with PDP.

tom@zoo:~$ mplayer tv://
MPlayer SVN-r31918 (C) 2000-2010 MPlayer Team
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing tv://.
TV file format detected.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
 comment: first try, more to come ;-)
v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used inste
Selected device: USB 2.0 Camera
 Capabilities:  video capture  streaming
 supported norms:
 inputs: 0 = Camera 1;
 Current input: 0
 Current format: YUYV
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: ioctl set mute failed: Invalid argument
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] This driver only supports the 3Dfx Banshee, Voodoo3 and Voodoo 5.
s3fb: Couldn't map S3 registers: Operation not permitted
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such f
ile or directory
[vdpau] Error when calling vdp_device_create_x11: 1
Opening video decoder: [raw] RAW Uncompressed Video
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x480 => 640x480 Packed YUY2
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
Audio: no sound
Starting playback...
v4l2: select timeout

[1] http://www.ebay.com/itm/New-30-Mega-Pixel-USB2-0-PC-Laptop-Webcam-Camera-Mic-/290639099695