Date: Fri, 7 Jan 2005 16:32:31 -0800 From: Paul Hoffman <phoffman@proper.com> To: freebsd-questions@FreeBSD.ORG Subject: Getting USB2 on FreeBSD 5.3? Message-ID: <p0620070bbe04cc4ea356@[10.20.30.249]>
next in thread | raw e-mail | index | archive | help
Greetings again. I have a no-name USB 2 controller card in my server running FreeBSD 5.3. I rebuilt the kernel with the ehci driver (simply by adding a line to copy of GENERIC and rebuilding). The box already has two USB 1 ports. The dmesg says: . . . ohci0: <NEC uPD 9210 USB controller> mem 0xfe123000-0xfe123fff irq 18 at device 3.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0 usb0: <NEC uPD 9210 USB controller> on ohci0 usb0: USB revision 1.0 uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: <NEC uPD 9210 USB controller> mem 0xfe122000-0xfe122fff irq 19 at device 3.1 on pci0 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0 usb1: <NEC uPD 9210 USB controller> on ohci1 usb1: USB revision 1.0 uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ehci0: <NEC uPD 720100 USB 2.0 controller> mem 0xfe124000-0xfe1240ff irq 18 at device 3.2 on pci0 ehci0: [GIANT-LOCKED] ehci_pci_attach: companion usb0 ehci_pci_attach: companion usb1 usb2: EHCI version 0.95 usb2: companion controllers, 3 ports each: usb0 usb1 usb2: <NEC uPD 720100 USB 2.0 controller> on ehci0 usb2: USB revision 2.0 uhub2: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 5 ports with 5 removable, self powered . . . ohci2: <OHCI (generic) USB controller> mem 0xfe120000-0xfe120fff irq 3 at device 15.2 on pci0 ohci2: [GIANT-LOCKED] usb3: OHCI version 1.0, legacy support usb3: SMM does not respond, resetting usb3: <OHCI (generic) USB controller> on ohci2 usb3: USB revision 1.0 uhub3: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered When I plug in a USB 2 IDE adapter to the USB 2 card, I see: umass0: Myson Century, Inc. USB Mass Storage Device, rev 2.00/a3.01, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: <ST312002 6A 3.04> Fixed Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 114473MB (234441648 512 byte sectors: 255H 63S/T 14593C) The transfers happen at USB 1, not USB 2 speeds, which is of course not what I want. I can't tell why da0 is getting the slow (USB 1) mode. I also can't figure out what the heck ohci2 is; there is only the on-board USB 1 ports (which I assume are ohci0 and ohci1) and the card (which is clearly ehci0). Is ohci2 possibly also running on the add-in card and stomping on ehci0? I guess a related question is how can I tell what device umass0 thinks it is plugged into? --Paul Hoffman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p0620070bbe04cc4ea356>