From owner-freebsd-current@FreeBSD.ORG Thu Jun 12 19:06:05 2014 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 21355BF0 for ; Thu, 12 Jun 2014 19:06:05 +0000 (UTC) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9DE432E34 for ; Thu, 12 Jun 2014 19:06:04 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 5AE851FE026 for ; Thu, 12 Jun 2014 21:06:03 +0200 (CEST) Message-ID: <5399FA31.7020408@selasky.org> Date: Thu, 12 Jun 2014 21:06:25 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: current@FreeBSD.org Subject: Re: usb issues on OLD USB 1.0 machine... References: <20140612185243.GU31367@funkthat.com> In-Reply-To: <20140612185243.GU31367@funkthat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 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: Thu, 12 Jun 2014 19:06:05 -0000 On 06/12/14 20:52, John-Mark Gurney wrote: > So, I'm trying to get USB functional on an old i386 machine that only > supports USB 1.0... It works, but when I try to plug in a hub I get > the following: > uhub0: 2 ports with 2 removable, self powered > Root mount waiting for: usbus0 > usb_alloc_device: set address 2 failed (USB_ERR_IOERROR, ignored) > Root mount waiting for: usbus0 > usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR > Root mount waiting for: usbus0 > usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_IOERROR, ignored) > Root mount waiting for: usbus0 > Root mount waiting for: usbus0 > usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR > Root mount waiting for: usbus0 > usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_IOERROR, ignored) > Root mount waiting for: usbus0 > Root mount waiting for: usbus0 > usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR > usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_IOERROR, ignored) > Root mount waiting for: usbus0 > Root mount waiting for: usbus0 > usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR > Root mount waiting for: usbus0 > usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_IOERROR, ignored) > Root mount waiting for: usbus0 > Root mount waiting for: usbus0 > usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR > ugen0.2: at usbus0 (disconnected) > uhub_reattach_port: could not allocate new device > > This was working w/ code from around a month ago, but I don't remeber > which rev it was, and I forgot to save the old kernel.. This is from: > FreeBSD serbox.funkthat.com 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r266964:267061M: Wed Jun 11 15:35:27 PDT 2014 jmg@carbon.funkthat.com:/usr/obj/i386.i386/usr/src/sys/serbox i386 > > Interesting parts of dmesg: > FreeBSD 11.0-CURRENT #0 r266964:267061M: Wed Jun 11 15:35:27 PDT 2014 > jmg@carbon.funkthat.com:/usr/obj/i386.i386/usr/src/sys/serbox i386 > FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 > CPU: AMD-K6tm w/ multimedia extensions (200.46-MHz 586-class CPU) > Origin="AuthenticAMD" Id=0x562 Family=0x5 Model=0x6 Stepping=2 > Features=0x8001bf > AMD Features=0x400<> > real memory = 134217728 (128 MB) > avail memory = 120770560 (115 MB) > [...] > uhci0: port 0x6400-0x641f irq 10 at device 7.2 on pci0 > usbus0 on uhci0 > [...] > usbus0: 12Mbps Full Speed USB v1.0 > ugen0.1: at usbus0 > uhub0: on usbus0 > > usbconfig: > ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA) > ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) > > The ugen0.2 is plugged directly into the one of the ports, and works.. > > Let me know if there is anything more info I can provide. > Hi, Possibly increase the timing variables under: sysctl hw.usb.timings If they are not there, possibly the USB_DEBUG option has been removed from the kernel config. Can you check that? --HPS