r342378: usbconfig takes 3-5 minutes to read the bus
Hans Petter Selasky
hps at selasky.org
Fri Jan 4 10:03:33 UTC 2019
On 1/4/19 9:02 AM, Matthias Apitz wrote:
> We definitely should resolve this before anything else.
>
> The output of the 'usbconfig list' was:
>
> # usbconfig list
> ugen1.1: <Intel EHCI root HUB> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
> ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
> ugen0.2: <SunplusIT Inc HD WebCam> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
> ugen1.2: <vendor 0x8087 product 0x8000> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
> ugen0.3: <vendor 0x0489 product 0xe056> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA)
> ugen0.4: <HID Global OMNIKEY 6121 Smart Card Reader> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps)
> pwr=ON (100mA)
>
> Any comments on this ugen1.X?
Hi,
Can you collect USB HUB debug messages in dmesg?
sysctl hw.usb.uhub.debug=16
Then reproduce then hang and send relevant output from "/var/log/messages".
It seems to me like something is constantly keeping the USB enumeration
thread busy. This can for example be:
1) fake USB plug/unplug events
2) pcscd going into a loop
--HPS
More information about the freebsd-usb
mailing list