[Bug 251503] Disconnecting/reconnecting USB-C dock makes other USB ports unusable
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Dec 23 09:10:55 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251503
--- Comment #4 from Ali Abdallah <ali.abdallah at suse.com> ---
I've enabled USB_DEBUG, I'm attaching here the relevant messages when the dock
is removed and inserted again
ugen1.2: <VIA Labs, Inc. USB2.0 Hub> at usbus1 (disconnected)
uhub3: at uhub0, port 1, addr 1 (disconnected)
ugen1.3: <Realtek USB-C Dock Ethernet> at usbus1 (disconnected)
ugen1.4: <VIA Labs, Inc. USB2.0 Hub> at usbus1 (disconnected)
uhub5: at uhub3, port 3, addr 3 (disconnected)
ugen1.5: <Lenovo USB2.0 Hub> at usbus1 (disconnected)
uhub6: at uhub5, port 3, addr 4 (disconnected)
ugen1.6: <Cypress Semiconductor 40AS> at usbus1 (disconnected)
uhid0: at uhub6, port 1, addr 5 (disconnected)
uhid0: detached
ugen1.7: <Lenovo ThinkPad USB-C Dock Gen2 USB Audio> at usbus1 (disconnected)
uaudio0: at uhub6, port 2, addr 6 (disconnected)
pcm4: detached
uaudio0: detached
uhid1: at uhub6, port 2, addr 6 (disconnected)
uhid1: detached
uhub6: detached
ugen1.8: <SMI Corporation USB DISK> at usbus1 (disconnected)
umass0: at uhub5, port 4, addr 7 (disconnected)
da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
da0: <INTENSO USB 1100> s/n AA04012900007619 detached
(da0:umass-sim0:0:0:0): Periph destroyed
umass0: detached
uhub5: detached
uhub3: detached
--> Attaching
ugen1.2: <VIA Labs, Inc. USB2.0 Hub> at usbus1
uhub3 on uhub0
uhub3: <VIA Labs, Inc. USB2.0 Hub, class 9/0, rev 2.10/d.24, addr 1> on usbus1
uhub3: MTT enabled
uhub3: 4 ports with 2 removable, self powered
Could not stop endpoint 3 index 1
Could not set dequeue ptr for endpoint 3 index 1
uhub_reattach_port: port 5 U1 timeout failed, error=USB_ERR_IOERROR
uhub_reattach_port: port 5 U2 timeout failed, error=USB_ERR_IOERROR
ugen1.3: <VIA Labs, Inc. USB3.1 Hub> at usbus1
uhub5 on uhub0
uhub5: <VIA Labs, Inc. USB3.1 Hub, class 9/0, rev 3.10/d.24, addr 2> on usbus1
uhub5: 4 ports with 2 removable, self powered
Could not stop endpoint 3 index 2
Could not set dequeue ptr for endpoint 3 index 2
Could not set dequeue ptr for endpoint 1 index 1
Could not set dequeue ptr for endpoint 1 index 2
Could not set dequeue ptr for endpoint 1 index 1
Could not set dequeue ptr for endpoint 1 index 2
Could not set dequeue ptr for endpoint 1 index 1
Could not set dequeue ptr for endpoint 1 index 2
As you can, they are xhci messages of dequeue failures, and endpoint stopping
failures when the dock in inserted back.
BTW, on dfly bsd the same sequence of events is causing full controller reset,
which is clearly bad, as USB devices attached (to the laptop) on xhci0 will
vanish.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-usb
mailing list