From owner-freebsd-current@FreeBSD.ORG Thu Jan 8 18:17:14 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 B4F6016A4CE for ; Thu, 8 Jan 2004 18:17:14 -0800 (PST) Received: from python.evilrealms.net (evilrealms.demon.co.uk [62.49.12.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FCAC43D5A for ; Thu, 8 Jan 2004 18:17:12 -0800 (PST) (envelope-from jay@evilrealms.net) Received: from evilrealms.net (viper.evilrealms.net [192.168.1.2]) by python.evilrealms.net (Postfix) with ESMTP id 5D2755CCA; Fri, 9 Jan 2004 02:16:59 +0000 (GMT) Message-ID: <3FFE0F25.3040201@evilrealms.net> Date: Fri, 09 Jan 2004 02:17:09 +0000 From: Jay Cornwall User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Martin References: <3FFB4150.2020601@evilrealms.net> <3FFB41DE.7030607@evilrealms.net> <1073497253.715.27.camel@klotz.local> <3FFCC12A.7030609@evilrealms.net> <1073547780.692.38.camel@klotz.local> In-Reply-To: <1073547780.692.38.camel@klotz.local> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org 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: Fri, 09 Jan 2004 02:17:14 -0000 Martin wrote: > or from a sourceforge-project: > http://sourceforge.net/project/showfiles.php?group_id=10775&release_id=43893 > In section 7.5.3 "Bandwidth Management" it says something about > "Set Configuration" request and the zero-setting. Maybe I > misunderstood the paragraph. "...by providing a zero-bandwidth interface (alternate setting zero) and 16 alternate settings interfaces wth 8Mbps down to 0.5Mbps bandwidth in descending 0.5Mbps steps." These can be accessed through USB_SET_ALTINTERFACE with a value from 0 to 16. "The default alternate setting zero (with zero bandwidth) selected by a Set Configuration request..." I think this is the badly phrased sentence in question. What the author is trying to say is that alternate interface 0 will be selected by default upon USB_SET_CONFIGURATION - which seems a bit daft without explaining which configurations are available. Try a USB_SET_CONFIGURATION of 1, and see if the 16 interfaces are available then. > 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? Now that, I'm not sure of. :) But if their device does that, which is USB 1.1 compliant, it's probably in the spec and so probably supported by ugen. Probably, there's only one real way to find out. ;) -- Cheers, Jay http://www.evilrealms.net/ - Systems Administrator & Developer http://www.imperial.ac.uk/ - 3rd year CS student