Ralink 5370 wifi driver
#1
I just purchased a cheap USB wifi dongle that was stated to be Pi compatible. Plugging it into the CM3 it doesn't seem to be recognized, a quick google lead me to: https://elinux.org/RPi_USB_Wi-Fi_Adapters
Under windows it works fine and is hardware ID is 148f:7601 so I'm guessing its a RA5370 but with the Mediatek 7601T chipset. Looks like there is a driver for it, but its not included out of the box with Pi Linux distros, any chance this could be added to the CM3 image since with no wifi connection I can't add it myself.
Reply
#2
Linux kernel 4.2 look to have the driver but at this point, Raspberry kernel is 4.14 so it should be include.
It is possible that the driver has been removed at some point due to problems.

I will check after my working day, I think I have one of these dongle at home.
Reply
#3
I can maybe help with this one of these days, too. I've been pretty sick for a couple days, and I am trying to get back and catch up on stuff.

In the meantime, I did a quick search, and it seems that DougieLawson isn't too keen on that particular adapter.
https://www.raspberrypi.org/forums/viewt...p?t=180452
Card Fighters' Clash 2 English Translation ( http://cfc2english.blogspot.com/ )
Neo Geo Pocket Flash Cart and Linker Project ( http://www.flashmasta.com/ )
Avatar art thanks to Trev-Mun ( http://trevmun.deviantart.com/ )
Reply
#4
Thanks guys, I actually remembered I had a USB ethernet device too (that has worked out of the box with Pi Zero retropie builds in the past) only problem is it has a micro USB connector so I just ordered up an adapter. Now I should at least be able to get the system online and then make changes from there, I only planned on using the wifi adapter sporadically to set up the library and maybe make a few tweaks so if I have to do it with the wired connection its not the end of the world.

And hope you feel better Ed.
Reply
#5
So, I have 2 dongles with the same chip as yours, here is the dmesg output for each:

Quote:[   28.702112] usb 1-1: New USB device found, idVendor=148f, idProduct=7601
[   28.702128] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   28.702133] usb 1-1: Product: 802.11 n WLAN
[   28.702137] usb 1-1: Manufacturer: MediaTek
[   28.702141] usb 1-1: SerialNumber: 1.0
[   29.031559] usb 1-1: reset high-speed USB device number 2 using dwc_otg
[   29.274116] mt7601u 1-1:1.0: ASIC revision: 76010001 MAC revision: 76010500
[   29.282387] mt7601u 1-1:1.0: Firmware Version: 0.1.00 Build: 7640 Build time: 201302052146____
[   29.738612] mt7601u 1-1:1.0: Warning: unsupported EEPROM version 0d
[   29.738629] mt7601u 1-1:1.0: EEPROM ver:0d fae:00
[   30.009852] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   30.011288] usbcore: registered new interface driver mt7601u
[   30.263301] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   31.863618] wlan0: authenticate with XXX
[   31.924899] wlan0: send auth to XXX (try 1/3)
[   31.926625] wlan0: authenticated
[   31.931966] wlan0: associate with XXX (try 1/3)
[   31.935616] wlan0: RX AssocResp from XXX (capab=0x411 status=0 aid=4)
[   31.973846] wlan0: associated
[   33.026678] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

Quote:[   15.951644] usb 1-1: new high-speed USB device number 2 using dwc_otg
[   16.202174] usb 1-1: New USB device found, idVendor=148f, idProduct=7601
[   16.202190] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   16.202196] usb 1-1: Product: 802.11 n WLAN
[   16.202200] usb 1-1: Manufacturer: MediaTek
[   16.202205] usb 1-1: SerialNumber: 1.0
[   16.531570] usb 1-1: reset high-speed USB device number 2 using dwc_otg
[   16.773864] mt7601u 1-1:1.0: ASIC revision: 76010001 MAC revision: 76010500
[   16.781246] mt7601u 1-1:1.0: Firmware Version: 0.1.00 Build: 7640 Build time: 201302052146____
[   17.279907] mt7601u 1-1:1.0: EEPROM ver:0c fae:00
[   17.546069] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   17.547610] usbcore: registered new interface driver mt7601u
[   17.813354] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   19.424186] wlan0: authenticate with XXX
[   19.485028] wlan0: send auth to XXX (try 1/3)
[   19.486762] wlan0: authenticated
[   19.491577] wlan0: associate with XXX (try 1/3)
[   19.495225] wlan0: RX AssocResp from XXX (capab=0x411 status=0 aid=4)
[   19.527474] wlan0: associated
[   20.581020] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

Each one is able to connect without problem, I didn't test the stability.

Maybe your dongle is defective :/ , If you are looking to get a new one, avoid theses models, they have a bad reputation.
Search for a RTL8192CU, the problem is that they share the same "case" as MT7601


Attached Files Thumbnail(s)
   
Reply
#6
Also, for anyone that comes across this thread, we highly recommend 2 different dongles:
Edup EP-N8508GS
Edimax EW-7811Un

We have sold both of these at our site. I don't mean to say that you would need to purchase them from us, but you can see what they look like here.
https://www.freeplaytech.com/product/edi...i-adapter/

There are others on the market that will work "out of the box" but these ones draw less power and do not get hot like the cheap knockoff ones we also tested.
Card Fighters' Clash 2 English Translation ( http://cfc2english.blogspot.com/ )
Neo Geo Pocket Flash Cart and Linker Project ( http://www.flashmasta.com/ )
Avatar art thanks to Trev-Mun ( http://trevmun.deviantart.com/ )
Reply
#7
Thanks guys, its possible I don't have the latest image, I'll try to update to that once I get the USB adapter in and can pull off my save games. If that doesn't work I'll just use it wired whenever I need network connectivity or try one of the dongles Ed suggested.
Reply
#8
So I was able to backup and upgrade to the most recent image and the wifi dongle still doesn't work, when trying to manually scan for a network I just get the message that no Wlan device is available or something like that. The dongle works fine on a W10 laptop.

I guess I'll try following some instructions on trying to install a driver for it.
Reply
#9
I am pretty sure that driver is included in this image.

Do you have a USB Hub? If so, can you try something please :
- Connect USB Hub to the CM3 and your Ethernet dongle on it.
- Start the console and connect thru SSH.
- Run 'sudo dmesg -w', connect your WiFi dongle, wait 10 sec, press Ctrl+C and copy/paste output here.

Without theses information it will be very hard to get a "good" starting point to troubleshoot / found a solution.
Reply
#10
Also,
Check kernel version by running 'uname -a', it should be 4.14.98-v7+ or 4.14.94-v7+
If so :
- in '/lib/firmware/', check if 'mt7601u.bin' is present
- in '/lib/modules/VERSION FROM UNAME/kernel/drivers/net/wireless/mediatek/', check if folder 'mt7601u' is present and if it contain 'mt7601u.ko'
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)