From bacon@smithers.neuro.mcw.edu Fri Aug 10 18:25:16 2007 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C24FB16A419 for ; Fri, 10 Aug 2007 18:25:16 +0000 (UTC) (envelope-from bacon@smithers.neuro.mcw.edu) Received: from smithers.neuro.mcw.edu (smithers.neuro.mcw.edu [141.106.204.28]) by mx1.freebsd.org (Postfix) with ESMTP id 656D513C45B for ; Fri, 10 Aug 2007 18:25:16 +0000 (UTC) (envelope-from bacon@smithers.neuro.mcw.edu) Received: from smithers.neuro.mcw.edu (localhost [127.0.0.1]) by smithers.neuro.mcw.edu (8.13.6/8.13.6) with ESMTP id l7AHtlQK085064 for ; Fri, 10 Aug 2007 12:55:47 -0500 (CDT) (envelope-from bacon@smithers.neuro.mcw.edu) Received: (from bacon@localhost) by smithers.neuro.mcw.edu (8.13.6/8.13.6/Submit) id l7AHtiYF085063; Fri, 10 Aug 2007 12:55:44 -0500 (CDT) (envelope-from bacon) Message-Id: <200708101755.l7AHtiYF085063@smithers.neuro.mcw.edu> Date: Fri, 10 Aug 2007 12:55:44 -0500 (CDT) From: Jason Bacon Reply-To: Jason Bacon To: FreeBSD-gnats-submit@freebsd.org Cc: Subject: Problem with EHCI on ASUS M2N4-SLI X-Send-Pr-Version: 3.113 X-GNATS-Notify: >Number: 115400 >Category: usb >Synopsis: [ehci] Problem with EHCI on ASUS M2N4-SLI >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 10 18:30:03 GMT 2007 >Closed-Date: >Last-Modified: Tue Mar 15 23:20:11 UTC 2011 >Originator: Jason Bacon >Release: FreeBSD 6.2-RELEASE AMD64 >Organization: Medical College of Wisconsin >Environment: System: FreeBSD apu.neuro.mcw.edu 6.2-RELEASE FreeBSD 6.2-RELEASE #1: Fri Aug 10 10:25:22 CDT 2007 bacon@apu.neuro.mcw.edu:/usr/obj/usr/src/sys/APU amd64 >Description: When attempting to attach an HP LaserJet 4250 via USB to the built-in USB ports on the ASUS M2N4, I got the following errors (same error on all ports) Aug 10 09:36:50 apu kernel: uhub1: device problem (SHORT_XFER), disabling port 4 Aug 10 09:41:43 apu kernel: uhub1: device problem (SHORT_XFER), disabling port 4 Aug 10 09:44:58 apu kernel: uhub1: device problem (SHORT_XFER), disabling port 2 Aug 10 09:45:08 apu kernel: uhub1: device problem (SHORT_XFER), disabling port 2 Aug 10 09:45:57 apu kernel: uhub1: device problem (SHORT_XFER), disabling port 9 Aug 10 09:46:11 apu kernel: uhub1: device problem (SHORT_XFER), disabling port 4 >How-To-Repeat: Attach an HP LJ 4250 (or possibly other printer) to an ASUS M2N4 running FreeBSD 6.2 amd64. I can't verify whether this is a problem with other printer models or OS versions. >Fix: As a workaround, I simply disabled the EHCI driver, since it is known to be buggy, and I have no USB hard disks or other devices that require the speed of USB 2.0. USB 1.1 is fast enough for most printers, mice, flash drives, etc. For external disks, I prefer FireWire anyway. Following the instructions for editing and rebuilding the kernel in the FreeBSD handbook: 1. Comment out or remove EHCI from your kernel config file 2. Rebuild the kernel 3. Install the new kernel 4. Reboot With the EHCI driver out of the way, all is well: Aug 10 10:50:02 apu kernel: ulpt0: Hewlett-Packard hp LaserJet 4250, rev 2.00/1. 00, addr 3, iclass 7/1 Aug 10 10:50:02 apu kernel: ulpt0: using bi-directional mode >Release-Note: >Audit-Trail: Responsible-Changed-From-To: freebsd-bugs->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Fri Aug 10 20:26:48 UTC 2007 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=115400 From: Garrett Wollman To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: usb/115400: [ehci] Problem with EHCI on ASUS M2N4-SLI Date: Fri, 10 Aug 2007 18:23:12 -0400 (EDT) >Old Synopsis: Problem with EHCI on ASUS M2N4-SLI >New Synopsis: [ehci] Problem with EHCI on ASUS M2N4-SLI Sorry to tag along here, but I feel the need to note that EHCI has *never* worked for me, on any hardware platform. On my 6.2 machines, attempting to use a USB 2.0 mass-storage device reliably results in a CPU reset (presumably by way of a triple fault). The symptoms were the same in 5.x. The only workaround I've found has been to compile a custom kernel without the ehci driver, but it would be nice if this worked some day. FWIW, these are all AMD machines, and the symptoms are the same on VIA (ASUS A8V), NVIDIA (ASUS A8N-E), and SIS (Acer Aspire 5002) chipsets. The machine with the NVIDIA chipset runs in 32-bit mode, and replaced an earlier ASUS A7something with a VIA chipset and the same symptoms. -GAWollman From: Antonio Huete Jimenez To: bug-followup@FreeBSD.org, bacon@smithers.neuro.mcw.edu Cc: Subject: Re: usb/115400: [ehci] Problem with EHCI on ASUS M2N4-SLI Date: Tue, 15 Mar 2011 23:47:02 +0100 Hi, I got a M2N4-SLI mobo. I've been able to use a logitech USB mouse/keyboard as well as a Kinston USB stick. Both were attached to OHCI, not EHCI. Find below more information about it: FreeBSD 7.4-RC1 FreeBSD 7.4-RC1 #0: Wed Dec 22 18:45:47 UTC 2010 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 # usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), nVidia(0x0000), rev 1.00 port 1 powered port 2 powered port 3 powered port 4 addr 2: full speed, self powered, config 1, product 0x8021(0x8021), vendor 0x0557(0x0557), rev 1.00 port 1 addr 3: low speed, power 100 mA, config 1, product 0x1400(0x1400), vendor 0x04d9(0x04d9), rev 1.43 port 2 powered port 3 powered port 4 powered port 5 powered port 6 powered port 7 powered port 8 powered port 9 powered port 10 powered Controller /dev/usb1: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), nVidia(0x0000), rev 1.00 port 1 powered port 2 powered port 3 powered port 4 powered port 5 powered port 6 powered port 7 powered port 8 powered port 9 powered port 10 powered uhub2: on uhub0 uhub2: 4 ports with 4 removable, self powered ukbd0: on uhub2 kbd2 at ukbd0 ums0: on uhub2 ums0: 5 buttons and Z dir. ums1: on uhub2 ums1: 5 buttons and Z dir. Cheers, Antonio Huete >Unformatted: