From owner-freebsd-questions@FreeBSD.ORG Sat Jan 8 00:32:36 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA60916A4CE for ; Sat, 8 Jan 2005 00:32:36 +0000 (GMT) Received: from above.proper.com (above.proper.com [208.184.76.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id A791943D45 for ; Sat, 8 Jan 2005 00:32:36 +0000 (GMT) (envelope-from phoffman@proper.com) Received: from [10.20.30.249] (adsl-66-125-125-68.dsl.pltn13.pacbell.net [66.125.125.68]) (authenticated bits=0) by above.proper.com (8.12.11/8.12.9) with ESMTP id j080WSvA048061 for ; Fri, 7 Jan 2005 16:32:30 -0800 (PST) (envelope-from phoffman@proper.com) Mime-Version: 1.0 Message-Id: Date: Fri, 7 Jan 2005 16:32:31 -0800 To: freebsd-questions@FreeBSD.ORG From: Paul Hoffman Content-Type: text/plain; charset="us-ascii" ; format="flowed" Subject: Getting USB2 on FreeBSD 5.3? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Jan 2005 00:32:36 -0000 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: mem 0xfe123000-0xfe123fff irq 18 at device 3.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0 usb0: 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: mem 0xfe122000-0xfe122fff irq 19 at device 3.1 on pci0 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0 usb1: 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: 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: 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: 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: 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: 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