I.MX8MP use USB3.0 connect with 5g modem ,xhci dectected error

cancel
Showing results for 
Search instead for 
Did you mean: 

I.MX8MP use USB3.0 connect with 5g modem ,xhci dectected error

535 Views
Candle_zzw
Contributor I

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

0 Kudos
4 Replies

527 Views
igorpadykov
NXP TechSupport
NXP TechSupport

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

0 Kudos

521 Views
Candle_zzw
Contributor I

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.

0 Kudos

518 Views
igorpadykov
NXP TechSupport
NXP TechSupport

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

0 Kudos

504 Views
Candle_zzw
Contributor I

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.

0 Kudos