Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Jan 2004 02:17:09 +0000
From:      Jay Cornwall <jay@evilrealms.net>
To:        Martin <nakal@web.de>
Cc:        freebsd-current@freebsd.org
Subject:   Re: [PATCH] Fix for USB ugen panics
Message-ID:  <3FFE0F25.3040201@evilrealms.net>
In-Reply-To: <1073547780.692.38.camel@klotz.local>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FFE0F25.3040201>