I'm having problems finding the device on Raspberry 4 / OpenWrt 5.4.154 - to be exact ifconfig -a
doesn't show the new interface.
It's running on MediaTek MT7612UN chipset which should be supported by OpenWrt
Installed kernel modules:
kmod-mt76-core
kmod-mt76-usb
kmod-mt76x02-common
kmod-mt76x2
kmod-mt76x2-common
kmod-usb-net
kmod-usb3
According to the documentation, it should be usbmode switched to network card mode. lsusb
output says
Bus 002 Device 002: ID 0e8d:7612 MediaTek Inc. 802.11ac WLAN
This pair "0e8d:7612" which isn't found in /etc/usb-mode.json so I've added these lines and now usbmode -l
at least recognizes the device
"0e8d:7612": {
"*": {
"t_vendor": 3725,
"t_product": [ 30226 ],
"mode": "StandardEject",
"msg": [ ]
}
},
but fails to switch:
usbmode -s -v
Failed to send switch message
I suspect that usb-mode.json needs some extra flags. Any idea which ones? In the past someone managed to switch the mode but that was in old usb_modeswicth utility
https://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?t=2848
Device in question: