Hi,
I have used IMX8MP-a1 demo board to test 5g modem(quectel RM500Q),there are some problems.
First I build the modem driver with kernel,then insmod the driver into board, there is no error report, and the 5g modem dial-up succeeded . Second I use speedtest tool to test network speed,the problems come out. The speed is very low and xhci driver report errors, then I check the patch with NXP new release,these are all in my code.
Here is the error log, anyone has some useful advice ?
root@Router:~# speedtest-cli
Retrieving speedtest.net configuration...
Testing from China Telecom (183.9.239.155)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by 湖北联通5G (Wuhan) [836.34 km]: 59.717 ms
Testing download speed................................................................[ 296.550577] xhci-hcd xhci-hcd.2.auto: ERROR unknown event type 37
[ 296.557863] xhci-hcd xhci-hcd.2.auto: ERROR unknown event type 37
[ 296.565135] xhci-hcd xhci-hcd.2.auto: ERROR unknown event type 37
[ 296.572426] xhci-hcd xhci-hcd.2.auto: ERROR unknown event type 37
[ 296.579689] xhci-hcd xhci-hcd.2.auto: ERROR unknown event type 37
....[ 297.883036] xhci-hcd xhci-hcd.2.auto: ERROR unknown event type 37
[ 297.890311] xhci-hcd xhci-hcd.2.auto: ERROR unknown event type 37
............
Download: 269.41 Mbit/s
Hi Zhiwen
seems this is xhci driver problem, one can post it on kernel mail list
https://www.spinics.net/lists/linux-usb/msg175544.html
Best regards
igor
Hi igorpadykov,
I have already seen the link in your reply. It is only a way to debug xhci information.
Flow the xhci driver code ,I think this error is an event that driver can not identify. But I don‘t know where this event come from,may be from the 5g modem or the others modules.
right, you should debug it, use for example AN4553 Using Open Source Debugging
Tools for Linux on i.MX Processors
https://www.nxp.com/docs/en/application-note/AN4553.pdf
Best regards
igor
Hi igorpadykov,
I have dumped xhci log when the error happens,but I don't understand it stand for what. Please help me to analysis the debug information, Thank you very very much.