From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 26 18:55:28 2010 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F35C1065670 for ; Tue, 26 Jan 2010 18:55:28 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 734CC8FC26 for ; Tue, 26 Jan 2010 18:55:27 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id UAA12841; Tue, 26 Jan 2010 20:47:25 +0200 (EET) (envelope-from avg@freebsd.org) Message-ID: <4B5F38BD.7000301@freebsd.org> Date: Tue, 26 Jan 2010 20:47:25 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.23 (X11/20091206) MIME-Version: 1.0 To: Hans Petter Selasky 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> In-Reply-To: <4B5F37C8.20504@icyb.net.ua> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jan 2010 18:55:28 -0000 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