Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Dec 2020 09:10:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        usb@FreeBSD.org
Subject:   [Bug 251503] Disconnecting/reconnecting USB-C dock makes other USB ports unusable
Message-ID:  <bug-251503-19105-eiGDsuygsm@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-251503-19105@https.bugs.freebsd.org/bugzilla/>
References:  <bug-251503-19105@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251503

--- Comment #4 from Ali Abdallah <ali.abdallah@suse.com> ---
I've enabled USB_DEBUG, I'm attaching here the relevant messages when the d=
ock
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 (disconnecte=
d)
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 usb=
us1
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=3DUSB_ERR_IOERROR
uhub_reattach_port: port 5 U2 timeout failed, error=3DUSB_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 usb=
us1
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 stoppi=
ng
failures when the dock in inserted back.

BTW, on dfly bsd the same sequence of events is causing full controller res=
et,
which is clearly bad, as USB devices attached (to the laptop) on xhci0 will
vanish.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251503-19105-eiGDsuygsm>