Hi all,
I am playing maaxboard(imx8mq). we want to use USB3.0 disk, but it disconnects something (maybe write and read data on it),
I found there is a solution here https://community.nxp.com/t5/i-MX-Processors/USB3-0-disconnect-periodic-on-i-mx8mq/m-p/1155828/highl...
so I switch to kernel 5.4.24(yocto zeus branch) ,but the issue still there.
so I want to know if the PCB layout causes the issue? or something else?
any help?
Thank you very much.
uname -a
Linux maaxboard 5.4.24-2.1.0+g491748038398 #1 SMP PREEMPT Wed Sep 8 14:33:52 UTC 2
----
error output:
maaxboard:/home/myuser# cat /home/myuser/syslog |grep usb
Sep 9 21:27:34 maaxboard kernel: [ 0.258548] usbcore: registered new interface driver usbfs
Sep 9 21:27:34 maaxboard kernel: [ 0.258598] usbcore: registered new interface driver hub
Sep 9 21:27:34 maaxboard kernel: [ 0.258678] usbcore: registered new device driver usb
Sep 9 21:27:34 maaxboard kernel: [ 1.572601] usbcore: registered new interface driver usb-storage
Sep 9 21:27:34 maaxboard kernel: [ 1.578699] usbcore: registered new interface driver usbserial_generic
Sep 9 21:27:34 maaxboard kernel: [ 1.585259] usbserial: USB Serial support registered for generic
Sep 9 21:27:34 maaxboard kernel: [ 1.591309] usbcore: registered new interface driver ftdi_sio
Sep 9 21:27:34 maaxboard kernel: [ 1.597086] usbserial: USB Serial support registered for FTDI USB Serial Device
Sep 9 21:27:34 maaxboard kernel: [ 1.604438] usbcore: registered new interface driver usb_serial_simple
Sep 9 21:27:34 maaxboard kernel: [ 1.610999] usbserial: USB Serial support registered for carelink
Sep 9 21:27:34 maaxboard kernel: [ 1.617120] usbserial: USB Serial support registered for zio
Sep 9 21:27:34 maaxboard kernel: [ 1.622809] usbserial: USB Serial support registered for funsoft
Sep 9 21:27:34 maaxboard kernel: [ 1.628845] usbserial: USB Serial support registered for flashloader
Sep 9 21:27:34 maaxboard kernel: [ 1.635232] usbserial: USB Serial support registered for google
Sep 9 21:27:34 maaxboard kernel: [ 1.641182] usbserial: USB Serial support registered for libtransistor
Sep 9 21:27:34 maaxboard kernel: [ 1.647749] usbserial: USB Serial support registered for vivopay
Sep 9 21:27:34 maaxboard kernel: [ 1.653787] usbserial: USB Serial support registered for moto_modem
Sep 9 21:27:34 maaxboard kernel: [ 1.660084] usbserial: USB Serial support registered for motorola_tetra
Sep 9 21:27:34 maaxboard kernel: [ 1.666729] usbserial: USB Serial support registered for novatel_gps
Sep 9 21:27:34 maaxboard kernel: [ 1.673112] usbserial: USB Serial support registered for hp4x
Sep 9 21:27:34 maaxboard kernel: [ 1.678886] usbserial: USB Serial support registered for suunto
Sep 9 21:27:34 maaxboard kernel: [ 1.684834] usbserial: USB Serial support registered for siemens_mpi
Sep 9 21:27:35 maaxboard kernel: [ 1.990600] usbcore: registered new interface driver usbhid
Sep 9 21:27:35 maaxboard kernel: [ 2.000005] usbhid: USB HID core driver
Sep 9 21:27:35 maaxboard kernel: [ 2.303687] imx8mq-usb-phy 381f0040.usb-phy: 381f0040.usb-phy supply vbus not found, using dummy regulator
Sep 9 21:27:35 maaxboard kernel: [ 2.313713] imx8mq-usb-phy 382f0040.usb-phy: 382f0040.usb-phy supply vbus not found, using dummy regulator
Sep 9 21:27:35 maaxboard kernel: [ 2.496277] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
Sep 9 21:27:35 maaxboard kernel: [ 2.571779] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
Sep 9 21:27:35 maaxboard kernel: [ 2.956514] usb 3-1: new high-speed USB device number 2 using xhci-hcd
Sep 9 21:27:35 maaxboard kernel: [ 2.969785] usb 3-1: Device not responding to setup address.
Sep 9 21:27:35 maaxboard kernel: [ 3.190106] usb 3-1: Device not responding to setup address.
Sep 9 21:27:35 maaxboard kernel: [ 3.401064] usb 3-1: device not accepting address 2, error -71
Sep 9 21:27:35 maaxboard kernel: [ 3.540602] usb 4-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
Sep 9 21:27:35 maaxboard kernel: [ 3.566436] usb-storage 4-1:1.0: USB Mass Storage device detected
Sep 9 21:27:35 maaxboard kernel: [ 3.579849] scsi host0: usb-storage 4-1:1.0
Sep 9 21:27:58 maaxboard kernel: [ 34.296644] usb 4-1: Device not responding to setup address.
Sep 9 21:27:59 maaxboard kernel: [ 34.508562] usb 4-1: Device not responding to setup address.
Sep 9 21:27:59 maaxboard kernel: [ 34.720520] usb 4-1: device not accepting address 2, error -71
Sep 9 21:27:59 maaxboard kernel: [ 34.920587] usb 4-1: reset SuperSpeed Gen 1 USB device number 2 using xhci-hcd
Sep 9 21:28:02 maaxboard kernel: [ 38.184719] usb 4-1: Device not responding to setup address.
Sep 9 21:28:03 maaxboard kernel: [ 38.396569] usb 4-1: Device not responding to setup address.
Sep 9 21:28:03 maaxboard kernel: [ 38.608507] usb 4-1: device not accepting address 2, error -71
Sep 9 21:28:03 maaxboard kernel: [ 38.808584] usb 4-1: reset SuperSpeed Gen 1 USB device number 2 using xhci-hcd
Sep 9 21:28:03 maaxboard kernel: [ 39.304760] usb 4-1: reset SuperSpeed Gen 1 USB device number 2 using xhci-hcd
Sep 9 21:28:04 maaxboard kernel: [ 39.448505] usb 4-1: reset SuperSpeed Gen 1 USB device number 2 using xhci-hcd
Sep 9 21:28:04 maaxboard kernel: [ 39.772510] usb 4-1: USB disconnect, device number 2
Sep 9 21:28:04 maaxboard kernel: [ 39.984585] usb 4-1: new SuperSpeed Gen 1 USB device number 3 using xhci-hcd
Sep 9 21:28:04 maaxboard kernel: [ 40.010378] usb-storage 4-1:1.0: USB Mass Storage device detected
Sep 9 21:28:04 maaxboard kernel: [ 40.021175] scsi host0: usb-storage 4-1:1.0
Thanks. I will try
Hi Peter
one can try disable-park-mode.patch provided on
Best regards
igor
hi @igorpadykov
I checked the kernel kernel 5.4.24. it has that patch. but failed.
anyway, I am going to add the patch 0001-usb-dwc3-disable-park-mode.patch in the kernel 4.14.78 to try.
so only add this patch? do not need to modify dts?