Drivers for OSMC wifi dongle

I bought the OSMC 5GHz wifi dongle some time back and was using it fine with a raspberry pi running OSMC. I’ve now got an ethernet connection to that location so I don’t need to use wifi. I want to use the dongle on a raspberry pi elsewhere that is running raspbian.

Could someone point me in the direction of drivers or information on how to get this dongle working in raspbian, since it doesn’t appear to be supported by default?

Thanks.

The driver is either mt7610u or mt7610u_sta and doesn’t form part of the standard Linux kernel build. AFAIK Sam has added it to the OSMC build.

I think @sam_nazarko will need to advise you on building the driver for Raspbian. Please be aware that it will probably need to be rebuilt with every Raspbian kernel update, either manually or using DKMS.

Edit: A bit of reading around seems to suggest that there will be native support for mt7610u in kernel 4.19.

It’s supported natively in the latest version of Raspbian.
I am not sure how good the upstream driver is, but it should work

Sam

OK I’ll give it a try - not updated this particular pi to Buster yet so will give that a go and see if I can get it working. Thanks.

I have updated to Buster with this kernel version:

Linux raspberrypi 4.19.57-v7+ #1244 SMP Thu Jul 4 18:45:25 BST 2019 armv7l GNU/Linux

The dongle doesn’t appear in the list of network interfaces however, and dmesg shows:

[66106.822697] usb 1-1.4.1.4: new high-speed USB device number 10 using dwc_otg
[66106.969298] usb 1-1.4.1.4: New USB device found, idVendor=0e8d, idProduct=7610, bcdDevice= 1.00
[66106.969322] usb 1-1.4.1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[66106.969335] usb 1-1.4.1.4: Product: WiFi
[66106.969351] usb 1-1.4.1.4: Manufacturer: MediaTek
[66106.969365] usb 1-1.4.1.4: SerialNumber: 1.0
[66107.062612] usb 1-1.4.1.4: reset high-speed USB device number 10 using dwc_otg
[66107.199591] mt76x0 1-1.4.1.4:1.0: ASIC revision: 76100002 MAC revision: 76502000
[66107.207141] mt76x0 1-1.4.1.4:1.0: Direct firmware load for mediatek/mt7610u.bin failed with error -2
[66107.208149] mt76x0: probe of 1-1.4.1.4:1.0 failed with error -2

I assume this means the file mt7610u.bin should be somewhere it isn’t.

The firmware is actually a configuration file. I’m not sure if it will be the same format given that Raspbian uses an in-tree driver.

I’ve managed to get it working - there is a binary file required.

It can be obtained from the RPi-Distro on github. The file required is mt7610u.bin which should be placed in the directory /lib/firmware/mediatek/ and made executable. On doing this it was recognised straight away:

[68034.203838] usb 1-1.4.1.4: USB disconnect, device number 12
[68037.060168] usb 1-1.4.1.4: new high-speed USB device number 13 using dwc_otg
[68037.206659] usb 1-1.4.1.4: New USB device found, idVendor=0e8d, idProduct=7610, bcdDevice= 1.00
[68037.206685] usb 1-1.4.1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[68037.206698] usb 1-1.4.1.4: Product: WiFi
[68037.206709] usb 1-1.4.1.4: Manufacturer: MediaTek
[68037.206720] usb 1-1.4.1.4: SerialNumber: 1.0
[68037.309674] usb 1-1.4.1.4: reset high-speed USB device number 13 using dwc_otg
[68037.447001] mt76x0 1-1.4.1.4:1.0: ASIC revision: 76100002 MAC revision: 76502000
[68037.910702] BBP version f000f200
[68037.975368] mt76x0 1-1.4.1.4:1.0: EEPROM ver:02 fae:04
1 Like