Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2008 20:37:11 -0700
From:      "Chris Anderson" <cva@pobox.com>
To:        freebsd-usb@freebsd.org
Subject:   device timeout on boot (but not when inserted after boot)
Message-ID:  <254cbb760805192037u1ecec39y49fb36366c9ddf8b@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I've been playing with an APC Back-UPS ES 450 and experiencing a
strange problem.

If I plug the UPS into the box after it has completely booted, it is
recognized by the kernel and mapped to a ugen device:

   kernel: ugen0: <APC Back-UPS ES 450 FW:844.K1d.D USB FW:K1d, class
0/0, rev 1.10/1.06, addr 2> on uhub0

However, if I have the device plugged in when the box boots, a ugen
device is not created and the only error I see in dmesg is:

   uhub0: device problem (TIMEOUT), disabling port 2

Would this be related to a USB problem in FreeBSD, or is it the fault
of the UPS? Are there some additional tools I can use to debug this
further?

cva

# uname -a
FreeBSD blah.aloof.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24
10:35:36 UTC 2008
root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

# dmesg | egrep '^(usb|uhub)'
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
usb2: OHCI version 1.0, legacy support
usb2: SMM does not respond, resetting
usb2: <OHCI (generic) USB controller> on ohci2
usb2: USB revision 1.0
uhub2: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
uhub2: 2 ports with 2 removable, self powered
usb3: OHCI version 1.0, legacy support
usb3: SMM does not respond, resetting
usb3: <OHCI (generic) USB controller> on ohci3
usb3: USB revision 1.0
uhub3: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
uhub3: 2 ports with 2 removable, self powered
usb4: OHCI version 1.0, legacy support
usb4: SMM does not respond, resetting
usb4: <OHCI (generic) USB controller> on ohci4
usb4: USB revision 1.0
uhub4: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb4
uhub4: 2 ports with 2 removable, self powered
usb5: EHCI version 1.0
usb5: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4
usb5: <EHCI (generic) USB 2.0 controller> on ehci0
usb5: USB revision 2.0
uhub5: <ATI EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb5
uhub5: 10 ports with 10 removable, self powered
uhub0: device problem (TIMEOUT), disabling port 2



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?254cbb760805192037u1ecec39y49fb36366c9ddf8b>