Date: Thu, 12 Jun 2014 21:06:25 +0200 From: Hans Petter Selasky <hps@selasky.org> To: current@FreeBSD.org Subject: Re: usb issues on OLD USB 1.0 machine... Message-ID: <5399FA31.7020408@selasky.org> In-Reply-To: <20140612185243.GU31367@funkthat.com> References: <20140612185243.GU31367@funkthat.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <Unknown> 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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX> > AMD Features=0x400<<b10>> > real memory = 134217728 (128 MB) > avail memory = 120770560 (115 MB) > [...] > uhci0: <VIA 83C572 USB controller> port 0x6400-0x641f irq 10 at device 7.2 on pci0 > usbus0 on uhci0 > [...] > usbus0: 12Mbps Full Speed USB v1.0 > ugen0.1: <VIA> at usbus0 > uhub0: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0 > > usbconfig: > ugen0.1: <UHCI root HUB VIA> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA) > ugen0.2: <USB-Serial Controller Prolific Technology Inc.> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5399FA31.7020408>
