kern/129673: uhci (uhub) confused on replugging USB 1.1 scanner

Matthias Andree matthias.andree at
Tue Dec 16 03:00:17 PST 2008

>Number:         129673
>Category:       kern
>Synopsis:       uhci (uhub) confused on replugging USB 1.1 scanner
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 16 11:00:15 UTC 2008
>Originator:     Matthias Andree
>Release:        FreeBSD 7.1-PRERELEASE i386
System: FreeBSD 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #4: Sun Dec 14 18:09:28 CET 2008 root at i386

The uhci driver can sometimes get into a confused state when unplugging and
replugging a stuck USB 1.1 scanner.

The port on that hub is then later disabled after a timeout. The scanner has to be plugged to a different hub to get it back to work.

$ dmesg # (with angles replaced by parentheses for send-pr)
Symptom: scanner gets addr 0:
$ usbdevs
addr 1: UHCI root hub, VIA
 addr 0 should never happen!

usb6: (VIA 83C572 USB controller) on uhci5
usb6: USB revision 1.0
uhub7: (VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1) on usb6
uhub7: 2 ports with 2 removable, self powered
ehci1: (VIA VT6202 USB 2.0 controller) mem 0xea800000-0xea8000ff at device 19.2 on pci0
ehci1: [ITHREAD]
usb7: EHCI version 1.0
usb7: companion controllers, 2 ports each: usb5 usb6
usb7: (VIA VT6202 USB 2.0 controller) on ehci1
usb7: USB revision 2.0
uscanner0: (EPSON EPSON Scanner, class 255/255, rev 1.10/3.02, addr 2) on uhub7
uscanner0: at uhub7 port 1 (addr 2) disconnected
uscanner0: detached

And this happens after replugging:

uhub7: device problem (TIMEOUT), disabling port 1



More information about the freebsd-bugs mailing list