NR7101 - GSM modem not working, Maybe the USB cable is bad?

Hello,

I was successful flashing the NR7101 with the 23.05 version (I've tried also with previous) and I cannot make the modem working. By looking at the log, after few minutes, I get an error message related to the USB and the device is no longer available.
Any hint ?

[ 10.540678] procd: - init -
[ 11.263652] kmodloader: loading kernel modules from /etc/modules.d/*
[ 11.464643] usbcore: registered new interface driver cdc_wdm
[ 11.477043] Loading modules backported from Linux version v6.1.24-0-g0102425ac76b
[ 11.492038] Backport generated by backports.git v5.15.92-1-44-gd6ea70fafd36
[ 11.521952] usbcore: registered new interface driver usbserial_generic
[ 11.535275] usbserial: USB Serial support registered for generic
[ 11.723275] pci 0000:00:00.0: enabling device (0000 -> 0003)
[ 11.734710] mt7603e 0000:01:00.0: enabling device (0000 -> 0002)
[ 11.747045] mt7603e 0000:01:00.0: ASIC revision: 76030010
[ 12.380503] urngd: v1.0.2 started.
[ 12.777237] mt7603e 0000:01:00.0: Firmware Version: ap_pcie
[ 12.788422] mt7603e 0000:01:00.0: Build Time: 20160107100755
[ 12.821241] mt7603e 0000:01:00.0: firmware init done
[ 13.011414] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 13.087211] PPP generic driver version 2.4.2
[ 13.098852] NET: Registered PF_PPPOX protocol family
[ 13.112476] xhci-mtk 1e1c0000.xhci: drop_ep_quirk super-speed ep8in intr, mpkt:8, interval:9/32ms
[ 13.131721] qmi_wwan 2-1:1.4: cdc-wdm0: USB WDM device
[ 13.142257] random: crng init done
[ 13.143908] qmi_wwan 2-1:1.4 wwan0: register 'qmi_wwan' at usb-1e1c0000.xhci-1, WWAN/QMI device, 5e:54:43:76:ba:ac
[ 13.149214] random: 32 urandom warning(s) missed due to ratelimiting
[ 13.170093] usbcore: registered new interface driver qmi_wwan
[ 13.202043] usbcore: registered new interface driver option
[ 13.213389] usbserial: USB Serial support registered for GSM modem (1-port)
[ 13.227746] option 2-1:1.0: GSM modem (1-port) converter detected
[ 13.240420] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 13.254793] option 2-1:1.2: GSM modem (1-port) converter detected
[ 13.267470] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 13.281601] option 2-1:1.3: GSM modem (1-port) converter detected
[ 13.294390] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB2
[ 13.312908] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 20.982811] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[ 21.004092] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 21.022333] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 21.037170] mt7530-mdio mdio-bus:1f lan: configuring for phy/gmii link mode
[ 21.053564] br-lan: port 1(lan) entered blocking state
[ 21.063965] br-lan: port 1(lan) entered disabled state
[ 21.076146] device lan entered promiscuous mode
[ 21.085281] device eth0 entered promiscuous mode
[ 24.286100] mt7530-mdio mdio-bus:1f lan: Link is Up - 1Gbps/Full - flow control rx/tx
[ 24.301871] br-lan: port 1(lan) entered blocking state
[ 24.312151] br-lan: port 1(lan) entered forwarding state
[ 24.324345] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 199.353599] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
[ 199.366732] usb 2-1: USB disconnect, device number 2
[ 199.377054] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 199.393331] option 2-1:1.0: device disconnected
[ 199.403995] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 199.420359] option 2-1:1.2: device disconnected
[ 199.430444] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[ 199.446811] option 2-1:1.3: device disconnected
[ 199.456520] qmi_wwan 2-1:1.4 wwan0: unregister 'qmi_wwan' usb-1e1c0000.xhci-1, WWAN/QMI device
[ 199.564779] xhci-mtk 1e1c0000.xhci: drop_ep_quirk super-speed ep3in intr, mpkt:10, interval:9/32ms
[ 199.584225] xhci-mtk 1e1c0000.xhci: drop_ep_quirk super-speed ep5in intr, mpkt:10, interval:9/32ms
[ 199.602298] xhci-mtk 1e1c0000.xhci: drop_ep_quirk super-speed ep7in intr, mpkt:10, interval:9/32ms
[ 199.620282] xhci-mtk 1e1c0000.xhci: drop_ep_quirk super-speed ep8in intr, mpkt:8, interval:9/32ms
[ 204.153530] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
[ 208.483505] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
[ 212.813487] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
[ 217.143468] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
[ 221.473453] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
[ 225.803469] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?

Thank you, I know. I was the original trouble maker for that issue. :smiley:

[facepalm]

then my comment's pointless, going to delete it :wink:

There isn't a cable of course other than a few inches of circuit board track connecting the CPU to the modem module.

Realize that the modem has its own on-board CPU and OS, and it can suffer hardware failure or software crash. That appears to be the case here.

It seems to be more sw related as it doesn’t happen immediately and with regularity.

Ed

What is strange is the timing of this message. It is usually showing up after few minutes the LTE module start being connected to internet.
If for example it takes more than usual to find the signal I don't get any error.
If I don't insert any SIM, the error is not shown at all.
Could it be related to udev binding ?

Thanks for any hint
Ed

Not sure wether that’s the case but if you are using QMI and the modem reaches speeds higher than 200mbs then it crashes.