wifi-dongle rt5370 failed to load firmware on BananaPi

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

wifi-dongle rt5370 failed to load firmware on BananaPi

Postby snark » Mon Jul 06, 2015 9:47 pm

Hi everyone!

I have recently bought wifi dongle which identifies itself as
$this->bbcode_second_pass_code('', 'ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter')
and tried to connect to my bananapi

When I plug the dongle, modules loaded look like this:
$this->bbcode_second_pass_code('', '~ $ lsmod | grep rt
rt5370sta 657429 0
rt2800usb 13440 0
rt2800lib 49005 1 rt2800usb
rt2x00usb 11156 1 rt2800usb
rt2x00lib 41516 3 rt2x00usb,rt2800lib,rt2800usb
mac80211 254322 3 rt2x00lib,rt2x00usb,rt2800lib')

The problem is that the driver can't load firmware, although it exists in filesystem:
$this->bbcode_second_pass_code('', '[10678.663636] ehci_irq: port change detect
[10679.004881] usb 3-1: new high-speed USB device number 2 using sw-ehci
[10679.325936] usb 3-1: New USB device found, idVendor=148f, idProduct=5370
[10679.479460] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[10679.522873] usb 3-1: Product: 802.11 n WLAN
[10679.693638] usb 3-1: Manufacturer: Ralink
[10679.729774] usb 3-1: SerialNumber: 1.0
[10680.017055] usb 3-1: reset high-speed USB device number 2 using sw-ehci
[10680.346508] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[10680.423955] Registered led device: rt2800usb-phy1::radio
[10680.481968] Registered led device: rt2800usb-phy1::assoc
[10680.538745] Registered led device: rt2800usb-phy1::quality
[10680.689693] rtusb init rt2870 --->
[10680.754862] sw_usb_enable_hcd: usbc_num = 2
[10680.846455] usbcore: registered new interface driver rt2870
[10741.994769] phy1 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.')

$this->bbcode_second_pass_code('', '~ $ ls -la /lib/firmware/ | grep rt
-rw-r--r-- 1 root root 8192 Jan 6 2013 rt2561.bin
-rw-r--r-- 1 root root 8192 Jan 6 2013 rt2561s.bin
-rw-r--r-- 1 root root 8192 Jan 6 2013 rt2661.bin
-rw-r--r-- 1 root root 8192 Jan 6 2013 rt2860.bin
-rw-r--r-- 1 root root 8192 Jan 6 2013 rt2870.bin
-rw-r--r-- 1 root root 8192 Jun 18 2014 rt2870.bin.default
lrwxrwxrwx 1 root root 10 Jan 6 2013 rt3070.bin -> rt2870.bin
-rw-r--r-- 1 root root 4096 Jan 6 2013 rt3071.bin
lrwxrwxrwx 1 root root 10 Jan 6 2013 rt3090.bin -> rt2860.bin
-rw-r--r-- 1 root root 4096 Jun 7 10:16 rt3290.bin
-rw-r--r-- 1 root root 2048 Jan 6 2013 rt73.bin
drwxr-xr-x 2 root root 4096 Jun 7 10:16 rtl_bt
drwxr-xr-x 2 root root 4096 Jul 6 17:29 rtl_nic
drwxr-xr-x 2 root root 4096 Jul 6 17:29 rtlwifi
')

Using ip link I can see wlan0 interface, but can't make it up
$this->bbcode_second_pass_code('', '~ $ sudo ip link set wlan0 up
RTNETLINK answers: No such file or directory')

I have already found on some forums that this device requires driver rt2870sta and since kernel 3.0 this driver have moved to rt2800usb.
First I though that it's rt5370sta which causes problems, so I blacklisted it, rebooted and inserted dongle. but anyway, error was the same - "rt2x00lib_request_firmware: Error - Failed to request Firmware."
Second, I tried doing opposite - blacklist rt2800usb rt2x00usb rt2800lib rt2x00lib and unlisted rt5370sta, rebooted and inserted, but it didn't even create wlan0 interface as it should be seen in ip link.

My system is
$this->bbcode_second_pass_code('', 'Linux lemaker 3.4.90 #2 SMP PREEMPT Tue Aug 5 14:11:40 CST 2014 armv7l GNU/Linux')

Any ideas why driver can't load firmware file which is in place?
snark
 
Posts: 1
Joined: Mon Jul 06, 2015 9:12 pm

Re: wifi-dongle rt5370 failed to load firmware on BananaPi

Postby samos123 » Wed Sep 16, 2015 1:03 pm

I'm having the exact same issue with rt5372 wifi dongle

$this->bbcode_second_pass_code('', 'lsusb
Bus 002 Device 002: ID 148f:5372 Ralink Technology, Corp. RT5372 Wireless Adapter

dmesg
phy1 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.')

Did you solve the problem, @snark?
samos123
 
Posts: 1
Joined: Wed Sep 16, 2015 1:00 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 10 guests