[Bug 235625] Repeated excessive logging about unsuccessful port reset during device enumeration

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 18 21:34:25 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235625

--- Comment #7 from Max <maxsteciuk at gmail.com> ---
Hello 
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_change
or unset for port_status.
As per log snippet wPortStatus = 0x07fb and wPortChange = 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_STATUS))) {



>>>Feb 18 16:17:48  kernel: uhub_reattach_port: Port 3 is in Host Mode
>>>Feb 18 16:17:49  kernel: usb_needs_explore: 
>>>Feb 18 16:17:49  kernel: uhub_read_port_status: port 3, wPortStatus=0x07fb, wPortChange=0x00fb, err=USB_ERR_NORMAL_COMPLETION
>>>Feb 18 16:17:49  kernel: uhub_reattach_port: giving up port reset - device 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=0x07fb, wPortChange=0x00fb, err=USB_ERR_NORMAL_COMPLETION
>>>Feb 18 16:17:49  kernel: uhub_suspend_resume_port: suspended=0


Please let me know if more information is needed

Thanks,
Max

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


More information about the freebsd-usb mailing list