Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/dev/usb
On Mon, Jul 26, 2010 at 09:40:47PM +0100, Jonathan Perkin wrote:
> * On 2010-07-26 at 21:33 BST, Matthias Drochner wrote:
>
> > Module Name: src
> > Committed By: drochner
> > Date: Tue Jul 20 20:56:06 UTC 2010
> >
> > Modified Files:
> > src/sys/dev/usb: usb_subr.c
> >
> > Log Message:
> > another iteration in the eternal device enumeration struggle:
> > use a request of 64 bytes for the initial device descriptor fetch.
> > This is what windows does, and I've seen USB device firmware which
> > really depends on this. (sends 8 bytes if 64 are requested and
> > the full descriptor which is more than NetBSD's USB_MAX_IPACKET
> > otherwise) This is the world...
>
> This also kills my USB. Relevant parts of dmesg:
Thing is, we're not acting exactly like Windows.
Bus activity shows that Windows will preform a device reset after
requesting the initial descriptor, and before setting the address.
As our code is now, we set the address immediately after getting the
initial descriptor.
Jonathan Kollasch
Home |
Main Index |
Thread Index |
Old Index