[FreeBSD 8/9] USB webcamd and video4bsd: Call for testing

Andriy Gapon avg at freebsd.org
Tue Jan 26 18:55:28 UTC 2010


on 26/01/2010 20:43 Andriy Gapon said the following:
[snip]
> Added control 00000000-0000-0000-0000-000000000101/2 to device  entity 5
> Added control 00000000-0000-0000-0000-000000000101/3 to device  entity 5
> Added control 00000000-0000-0000-0000-000000000101/6 to device  entity 5
> Added control 00000000-0000-0000-0000-000000000101/7 to device  entity 5
> Added control 00000000-0000-0000-0000-000000000101/8 to device  entity 5
> Added control 00000000-0000-0000-0000-000000000101/9 to device  entity 5
> Added control 00000000-0000-0000-0000-000000000101/10 to device  entity 5
> Added control 00000000-0000-0000-0000-000000000101/1 to device  entity 5
> Added control 00000000-0000-0000-0000-000000000101/5 to device  entity 5
> Added control 00000000-0000-0000-0000-000000000101/11 to device  entity 5
> Added control 00000000-0000-0000-0000-000000000101/14 to device  entity 5
> Added control 00000000-0000-0000-0000-000000000001/11 to device  entity 1
> Added control 00000000-0000-0000-0000-000000000001/13 to device  entity 1
> Scanning UVC chain:Found a valid video chain (1 -> 3).
> ^^^^^^^^^^^ this where output stops when webcamd can not attach
> UVC device initialized.
> ^^^^^^^^^^^ this is the successful case
> 
> 

When I start pwcview it show a green frame for a moment and then exits:
$ pwcview -s vga -f 30
Webcam set to: 640x480 (vga) at 30 fps
libv4l2: error converting / decoding frame data: v4l-convert: error parsing JPEG
header: Not a JPG file ?
Error reading from webcam: Input/output error

Here is what gets printed by webcamd:
uvc_v4l2_open
Trying format 0x47504a4d (MJPG): 48x32.
Using default frame interval 33333.3 us (30.0 fps).
Trying format 0x47504a4d (MJPG): 100000x100000.
Using default frame interval 100000.0 us (10.0 fps).
Trying format 0x56595559 (YUYV): 48x32.
Using default frame interval 33333.3 us (30.0 fps).
Trying format 0x56595559 (YUYV): 100000x100000.
Using default frame interval 200000.0 us (5.0 fps).
Unsupported ioctl 0xc0485619
Trying format 0x47504a4d (MJPG): 320x240.
Using default frame interval 33333.3 us (30.0 fps).
Trying format 0x47504a4d (MJPG): 320x240.
Using default frame interval 33333.3 us (30.0 fps).
Trying format 0x47504a4d (MJPG): 640x480.
Using default frame interval 33333.3 us (30.0 fps).
uvc_v4l2_mmap
uvc_v4l2_mmap
uvc_v4l2_mmap
uvc_v4l2_mmap
Queuing buffer 0.
Queuing buffer 1.
Queuing buffer 2.
Queuing buffer 3.
Device requested 3060 B/frame bandwidth.
Selecting alternate setting 6 (3060 B/frame bandwidth).
Allocated 2 URB buffers of 160x3060 bytes each.
Dropping payload (error bit set).
Dropping payload (error bit set).
Dropping payload (error bit set).
Dropping payload (error bit set).
Dropping payload (error bit set).
Frame complete (EOF found).
Dequeuing buffer 0 (4, 39388 bytes).
Queuing buffer 0.
uvc_v4l2_release

What's also strange is that webcam's "in use" light never turns on.

-- 
Andriy Gapon


More information about the freebsd-multimedia mailing list