Subject: Re: USB not configured as high-speed (480Mbps)
To: Perry E. Metzger <perry@piermont.com>
From: Dieter <netbsd@sopwith.solgatos.com>
List: netbsd-help
Date: 01/24/2005 12:19:33
In message <874qh6vfuz.fsf@snark.piermont.com>, "Perry E. Metzger" writes:
> 
> Quentin Garnier <cube@cubidou.net> writes:
> > On Mon, Jan 24, 2005 at 09:48:01AM +0000, Dieter wrote:
> > [...]
> >> NEC USB Host Controller (USB serial bus, interface 0x20, revision 0x02) at pci2 dev 9 function 2 not configured
> > [...]
> >> Oh, and what exactly is it that is "not configured" ?
> >
> > The ehci controller, which provides USB 2.0 functions.  I don't remember
> > how usable ehci is on 1.6.
> 
> Luckily it is quite usable in NetBSD 2.0...

Okay... I added

ehci*   at    pci? dev ? function ?           # USB hi-speed (480Mbps)
usb*    at    ehci?

to my config file and now I get:

fwohci0 at pci2 dev 8 function 0: NEC uPD72871 IEEE 1394 OHCI Host Controller (rev. 0x01)
fwohci0: interrupting at eb164 irq 14
fwohci0: OHCI 1.0, 00:00:4c:01:00:00:00:00, 400Mb/s, 1024 max_rec, 4 iso_ctx
ohci0 at pci2 dev 9 function 0: NEC USB Host Controller (rev. 0x41)
ohci0: interrupting at eb164 irq 18
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci2 dev 9 function 1: NEC USB Host Controller (rev. 0x41)
ohci1: interrupting at eb164 irq 3
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0 at pci2 dev 9 function 2: NEC USB Host Controller (rev. 0x02)
ehci0: interrupting at eb164 irq 10
ehci0: EHCI version 0.95
ehci0: companion controllers, 3 ports each: ohci0 ohci1
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 5 ports with 5 removable, self powered


Controller /dev/usb0:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), NEC(0x1033), rev 1.00
  uhub0
 port 1 powered
 port 2 powered
 port 3 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), NEC(0x1033), rev 1.00
  uhub1
 port 1 powered
 port 2 powered
Controller /dev/usb2:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), NEC(0x1033), rev 1.00
  uhub2
 port 1 powered
 port 2 addr 2: high speed, power 2 mA, config 1, product 0x0320(0x0320), vendor 0x2116(0x2116), rev 0.01
   umass0
 port 3 powered
 port 4 powered
 port 5 powered

Thank you!

But...

attempting to read data from a cd/dvd drive yields:

ehci_idone: need toggle update
umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR

This worked (slowly) before adding the EHCI stuff to my config file.

Is this problem known to be fixed in 2.0 ?