From owner-freebsd-current@FreeBSD.ORG Mon Nov 24 10:56:09 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A1B116A4D0; Mon, 24 Nov 2003 10:56:09 -0800 (PST) Received: from mail.lovett.com (core.lovett.com [216.168.8.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 116AE43F93; Mon, 24 Nov 2003 10:56:08 -0800 (PST) (envelope-from ade@FreeBSD.org) Received: from 44ba06102.mdfrd.or.charter.com ([68.186.6.102] helo=[192.168.1.100]) by mail.lovett.com with asmtp (Exim 4.24; FreeBSD 4.9) id 1AOLsV-0007hV-Pq; Mon, 24 Nov 2003 18:56:07 +0000 Mime-Version: 1.0 (Apple Message framework v606) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Ade Lovett Date: Mon, 24 Nov 2003 10:56:06 -0800 To: current@FreeBSD.org X-Mailer: Apple Mail (2.606) cc: ade@FreeBSD.org Subject: 5.2-BETA USB woes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Nov 2003 18:56:09 -0000 The full tale of woe can be found at: http://www.lovett.com/~ade/freebsd.html The executive summary is that after some unfortunate hardware failures, I picked up an ASUS A7V8X-X motherboard with a 6 USB 2.0 ports. GENERIC doesn't appear to have ehci in it, so not a great deal happened. I then took the GENERIC kernel, ripped out all of the USB code from the kernel and enabled usbd(8) to hopefully do the right thing. There's a single USB device connected up (an MS optical cordless wheelmouse, which works just fine with XP and Gentoo Linux, and is seen by 4.9-RELEASE, though nothing much happens with moused). Here's what happened: uhci0: port 0xb000-0xb01f irq 21 at device 16.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xa800-0xa81f irq 21 at device 16.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhub0: port error, restarting port 1 uhub0: port error, giving up port 1 uhci2: port 0xa400-0xa41f irq 21 at device 16.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhub1: port error, restarting port 1 uhub1: port error, giving up port 1 uhub1: port error, restarting port 2 uhub1: port error, giving up port 2 ehci0: mem 0xf1000000-0xf10000ff irq 21 at device 16.3 on pci0 ehci_pci_attach: companion usb0 ehci_pci_attach: companion usb1 ehci_pci_attach: companion usb2 usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 uhub0: port error, restarting port 2 uhub0: port error, giving up port 2 uhub0: port error, restarting port 1 uhub0: port error, giving up port 1 usb3: on ehci0 usb3: USB revision 2.0 uhub3: (0x1106) EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered uhub2: port error, restarting port 1 uhub2: port error, giving up port 1 uhub2: port error, restarting port 2 uhub2: port error, giving up port 2 No mouse detected, usbd is running, but all the ports are dead. Disconnecting and reconnecting the mouse has absolutely no effect whatsoever. If a friendly USB guru happens to be around, I can provide ssh and root access to the box, or if there are further diagnostics I can run, please let me know. -aDe