Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Feb 2019 21:34:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        usb@FreeBSD.org
Subject:   [Bug 235625] Repeated excessive logging about unsuccessful port reset during device enumeration
Message-ID:  <bug-235625-19105-iagIURh3LE@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-235625-19105@https.bugs.freebsd.org/bugzilla/>
References:  <bug-235625-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=3D235625

--- Comment #7 from Max <maxsteciuk@gmail.com> ---
Hello=20
Here is  captured syslog snippet with the message. It appears after
uhub_read_port_status call.
The below conditional expects either right-most bit to be set for port_chan=
ge
or unset for port_status.
As per log snippet wPortStatus =3D 0x07fb and wPortChange =3D 0x00fb which =
seem to
satisfy the condition for the error message...`

>>>                if ((sc->sc_st.port_change & UPS_C_CONNECT_STATUS) ||
>>>                    (!(sc->sc_st.port_status & UPS_CURRENT_CONNECT_STATU=
S))) {



>>>Feb 18 16:17:48  kernel: uhub_reattach_port: Port 3 is in Host Mode
>>>Feb 18 16:17:49  kernel: usb_needs_explore:=20
>>>Feb 18 16:17:49  kernel: uhub_read_port_status: port 3, wPortStatus=3D0x=
07fb, wPortChange=3D0x00fb, err=3DUSB_ERR_NORMAL_COMPLETION
>>>Feb 18 16:17:49  kernel: uhub_reattach_port: giving up port reset - devi=
ce vanished
>>>Feb 18 16:17:49  kernel: uhub_suspend_resume_port: port 3
>>>Feb 18 16:17:49  kernel: uhub_read_port_status: port 3, wPortStatus=3D0x=
07fb, wPortChange=3D0x00fb, err=3DUSB_ERR_NORMAL_COMPLETION
>>>Feb 18 16:17:49  kernel: uhub_suspend_resume_port: suspended=3D0


Please let me know if more information is needed

Thanks,
Max

--=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-235625-19105-iagIURh3LE>