Date: Tue, 26 Jan 2010 20:47:25 +0200 From: Andriy Gapon <avg@freebsd.org> To: Hans Petter Selasky <hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing Message-ID: <4B5F38BD.7000301@freebsd.org> In-Reply-To: <4B5F37C8.20504@icyb.net.ua> References: <201001101437.37269.hselasky@c2i.net> <4B5F2784.2090406@icyb.net.ua> <201001261837.08651.hselasky@c2i.net> <4B5F3621.2080105@icyb.net.ua> <4B5F36CF.4080206@freebsd.org> <4B5F37C8.20504@icyb.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B5F38BD.7000301>