I have an Alfa AWUS036ACM (Mediatek MT7612U) on a Raspberry Pi 4. with:
OpenWrt SNAPSHOT r13626-751e6ab8e6 / LuCI Master git-20.175.45303-bb95e67
Kernel Version: 5.4.48
# lsusb
Bus 002 Device 002: ID 0e8d:7612 MediaTek Inc.
|My AP keeps dieing (I suspect when it's under load and some other
condition :-(). mt76x2u 2-1:1.0: error: mt76x02u_mcu_wait_resp failed
with -110| I tried:
https://superuser.com/questions/176319/hard-reset-usb-in-ubuntu-10-04
cd /sys/bus/usb/drivers/usb
echo 2-2 > unbind ; sleep 3 ; echo 2-2 > bind I think it should be 2-1
so I tried that:
echo 2-1 > unbind ; sleep 3 ; echo 2-1 > bind
|[ 3539.309730] mt76x2u 2-1:1.0: firmware upload failed: -110
[ 3540.828260] mt76x2u: probe of 2-1:1.0 failed with error -5|
That didn't work.
Physically removing reinserting works (if I also "reset" the wifi in
OpenWrt (I don't know what this does)).
There must be a way to remove/reinsert in software instead of rebooting.