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 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:

  uhci1 at pci0 dev 26 function 1: vendor 0x8086 product 0x2938 (rev.  0x02)
  uhci1: interrupting at ioapic0 pin 17
  usb1 at uhci1: USB revision 1.0
  uhub1 at usb1: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
  uhub1: 2 ports with 2 removable, self powered

Without change:

  uhidev0 at uhub1 port 2 configuration 1 interface 0
  uhidev0: Sun Microsystems Type 6 USB keyboard, rev 1.10/2.00, addr 2, iclass 
3/1

With change:

  uhub1: device problem, disabling port 2

Let me know any extra debug options you need.

-- 
Jonathan Perkin                                     The NetBSD Project
http://www.perkin.org.uk/                       http://www.netbsd.org/


Home | Main Index | Thread Index | Old Index