From owner-freebsd-current@FreeBSD.ORG Wed Jan 7 23:43:07 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 425ED16A4CE for ; Wed, 7 Jan 2004 23:43:07 -0800 (PST) Received: from smtp.web.de (smtp05.web.de [217.72.192.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FB0643D2D for ; Wed, 7 Jan 2004 23:43:05 -0800 (PST) (envelope-from nakal@web.de) Received: from [217.81.247.108] (helo=[217.81.247.108]) by smtp.web.de with esmtp (TLSv1:DES-CBC3-SHA:168) (WEB.DE 4.99 #566) id 1AeUop-0001hM-00; Thu, 08 Jan 2004 08:43:03 +0100 From: Martin To: Jay Cornwall In-Reply-To: <3FFCC12A.7030609@evilrealms.net> References: <3FFB4150.2020601@evilrealms.net> <1073497253.715.27.camel@klotz.local> <3FFCC12A.7030609@evilrealms.net> Content-Type: text/plain Message-Id: <1073547780.692.38.camel@klotz.local> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 08 Jan 2004 08:43:01 +0100 Content-Transfer-Encoding: 7bit Sender: nakal@web.de cc: FreeBSD Current Subject: Re: [PATCH] Fix for USB ugen panics X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2004 07:43:07 -0000 On Thu, 2004-01-08 at 03:32, Jay Cornwall wrote: > I think you're on the right lines, but all that's going wrong is setting the > device configuration to zero. You need to look up the technical specs for your > USB webcam to see which configurations are available, and what interfaces and > endpoints are available in each configuration. I have them here. I've got a document called w9968cf-spec.pdf. You can get it from the www.winbond.com site: http://www.winbond.com/e-winbondhtm/partner/PDFresult.asp?Pname=173 (at least, it SHOULD be there, I cannot access it somehow) or from a sourceforge-project: http://sourceforge.net/project/showfiles.php?group_id=10775&release_id=43893 (The specs are really bad and don't tell how to get images from the webcam.) > If it says that configuration zero is an > acceptable configuration, then I'm > confused. :) In section 7.5.3 "Bandwidth Management" it says something about "Set Configuration" request and the zero-setting. Maybe I misunderstood the paragraph. Perhaps you can tell me a second thing. In section 7.5.2 they say there are 0-length packets used for frame-sync. I have never seen a 0-length packet coming from the interface, but some packets are (irregulary) shorter. Is the FreeBSD ugen-driver supporting 0-length packets? Martin