From owner-freebsd-usb@FreeBSD.ORG Tue Jan 12 18:22:37 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E31B1065672 for ; Tue, 12 Jan 2010 18:22:37 +0000 (UTC) (envelope-from gofdu-freebsd-usb@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 0A7798FC1A for ; Tue, 12 Jan 2010 18:22:36 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NUlNx-0001B9-OJ for freebsd-usb@freebsd.org; Tue, 12 Jan 2010 19:22:33 +0100 Received: from 207.155.204.151.ptr.us.xo.net ([207.155.204.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Jan 2010 19:22:33 +0100 Received: from atkin901 by 207.155.204.151.ptr.us.xo.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Jan 2010 19:22:33 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-usb@freebsd.org From: Mark Atkinson Date: Tue, 12 Jan 2010 10:22:11 -0800 Lines: 48 Message-ID: References: <201001101437.37269.hselasky@c2i.net> <201001121834.25338.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 207.155.204.151.ptr.us.xo.net User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.5) Gecko/20100104 Thunderbird/3.0 In-Reply-To: <201001121834.25338.hselasky@c2i.net> Sender: news Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2010 18:22:37 -0000 On 01/12/10 09:34, Hans Petter Selasky wrote: > On Tuesday 12 January 2010 18:28:30 Mark Atkinson wrote: >> On 01/10/10 05:37, Hans Petter Selasky wrote: >>> Feedback and bug reports are welcome. >> >> I tried a old webcam that was one of the impetus behind the spca50x >> project for linux. Really quite old now, so I'm not surprised it >> doesn't work, but I figured I'd try it. >> >> http://www.qbik.ch/usb/devices/showdev.php?id=2011 >> >> ugen6.3: at usbus6 >> [root@moby ulinux]$ ./webcamd -d ugen6.3 -i 0 -v 0 >> KrefGet: 0x28421004 = 1 >> Added device 0x283df304 >> KrefGet: 0x283df308 = 1 >> KrefGet: 0x283df308 = 2 >> KrefPut: 0x283df308 = 2 >> KrefGet: 0x283df308 = 2 >> KrefPut: 0x283df308 = 2 >> KrefGet: 0x283df308 = 2 >> KrefPut: 0x283df308 = 2 >> >> pcwview displays all green for a few seconds and then dies with: >> >> [root@moby ulinux]$ pwcview/pwcview >> Webcam set to: 320x240 (sif) at 5 fps >> libv4l2: error dequeuing buf: Device not configured >> Error reading from webcam: Device not configured >> > > Hi, > > Which revision of the software are you using? Sorry I'm using -current (up to date from yesterday), and [root@moby ulinux]$ svn update At revision 1372. > I've committed some stability fixes today and yesterday. Make sure you are > using the latest stuff. When using gspca you need to wait until the Added > device is printed before starting the pwcview. Hopefully it is, I can't see any immediate way for it to tell me it's using the correct driver. I can see from kdump the ioctl failures that return the error. I'd have to test on v4l on a native linux installation to be sure it's not a problem there anyway.