[BUG] wireless: mt7601u: probe failed with error -110

From: cristian_ci
Date: Sat Nov 25 2023 - 08:04:59 EST


Hi, this mt7601u device attempts continuously to probe spamming the following lines to dmesg output:

[ 99.604249] usb 1-2: new high-speed USB device number 7 using xhci_hcd
[ 99.758083] usb 1-2: New USB device found, idVendor=148f, idProduct=7601, bcdDevice= 0.00
[ 99.758098] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 99.758104] usb 1-2: Product: 802.11 n WLAN
[ 99.758109] usb 1-2: Manufacturer: MediaTek
[ 99.758114] usb 1-2: SerialNumber: 1.0
[ 99.880644] usb 1-2: reset high-speed USB device number 7 using xhci_hcd
[ 100.025562] mt7601u 1-2:1.0: ASIC revision: 76010001 MAC revision: 76010500
[ 100.029499] mt7601u 1-2:1.0: Firmware Version: 0.1.00 Build: 7640 Build time: 201302052146____
[ 100.455461] mt7601u 1-2:1.0: EEPROM ver:0d fae:00
[ 100.645586] mt7601u 1-2:1.0: Error: MCU resp urb failed:-71
[ 100.645610] mt7601u 1-2:1.0: Error: MCU resp evt:0 seq:5-4!
[ 100.645678] mt7601u 1-2:1.0: Error: MCU resp urb failed:-71
[ 100.645697] mt7601u 1-2:1.0: Error: MCU resp evt:0 seq:5-4!
[ 100.645774] mt7601u 1-2:1.0: Error: MCU resp urb failed:-71
[ 100.645816] mt7601u 1-2:1.0: Error: MCU resp evt:0 seq:5-4!
[ 100.645920] mt7601u 1-2:1.0: Error: MCU resp urb failed:-71
[ 100.645926] mt7601u 1-2:1.0: Error: MCU resp evt:0 seq:5-4!
[ 100.646026] mt7601u 1-2:1.0: Error: MCU resp urb failed:-71
[ 100.646031] mt7601u 1-2:1.0: Error: MCU resp evt:0 seq:5-4!
[ 100.646036] mt7601u 1-2:1.0: Error: mt7601u_mcu_wait_resp timed out
[ 100.784270] mt7601u 1-2:1.0: Vendor request req:07 off:0080 failed:-71
[ 100.917572] mt7601u 1-2:1.0: Vendor request req:02 off:0080 failed:-71
[ 101.057650] mt7601u 1-2:1.0: Vendor request req:02 off:0080 failed:-71
[ 101.057737] mt7601u: probe of 1-2:1.0 failed with error -110
[ 101.058197] usb 1-2: USB disconnect, device number 7
[ 101.313690] usb 1-2: new high-speed USB device number 8 using xhci_hcd

I'm not the only one to have experienced this bug. I've been suggested to report that to kernel mailing list by linux support channels.

I've tested this bug against upstream 6.6.2 kernel tarball from the latest stable branch [1].

To solve this issue. I've also tried to patch mt7601u driver disabling mcu calibration. Which doesn't seem a wise idea because apparently it fixes probing but also hangs completely the machine after some seconds (so, it needs a hard/forced shutdown).

Thanks in advance,

Regards,

Cristian.

[1] https://www.kernel.org/