So I have one mediatek mt76x2u that needs usbmodeswitch to swith on working mode from mass storage.
Usbmodeswitch natively support it and was working ok on x86, while on raspberrypi4b it works ony if I physically disconnect/connect the device.
At power on or reboot, the usbmodeswitch does nothing. I have also tried to send manually /etc/init.d/usbmode start or usbmode -s but does not help.
The device is recognized quite soon in the boot process:
[ 1.604779] usb 1-1.1: New USB device found, idVendor=0e8d, idProduct=2870, bcdDevice= 0.01 [ 1.613138] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1.620446] usb 1-1.1: Product: Љ [ 1.623838] usb 1-1.1: Manufacturer: Љ [ 1.627667] usb 1-1.1: SerialNumber: Љ [ 1.633007] usb-storage 1-1.1:1.0: USB Mass Storage device detected
Is there anything I can do/check? Of course the device must be up before wifi starts, otherwise I endup in a non working wifi configured on that device