Forum
Problem with LogiLink WL0084B (Ralink RT5370) - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Hardware (/forum-7.html)
+--- Forum: Network (/forum-25.html)
+--- Thread: Problem with LogiLink WL0084B (Ralink RT5370) (/thread-2471.html)



Problem with LogiLink WL0084B (Ralink RT5370) - VictoriaOnSnow - 13th Sep, 2014 06:29 PM

The Wlan Device LogiLink WL0084B with Ralink RT5370 is not working. ifconfig does not recognize the device. XBMC says the WLAN is down.

I am using "XBian 1.0 Release Candidate 3"

Code:
$ sudo ifconfig
eth0      Link encap:Ethernet  Hardware Adresse b8:27:eb:35:76:39  
          inet Adresse:192.168.178.55  Bcast:192.168.178.255  Maske:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metrik:1
          RX packets:428 errors:0 dropped:0 overruns:0 frame:0
          TX packets:263 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000
          RX bytes:36505 (35.6 KiB)  TX bytes:34697 (33.8 KiB)

lo        Link encap:Lokale Schleife  
          inet Adresse:127.0.0.1  Maske:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metrik:1
          RX packets:47 errors:0 dropped:0 overruns:0 frame:0
          TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0
          RX bytes:2847 (2.7 KiB)  TX bytes:2847 (2.7 KiB)

Code:
$ lsusb | grep Ralink
Bus 001 Device 004: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter

Code:
$ lsmod
Module                  Size  Used by
nfsd                  182477  2
arc4                    1268  2
rt2800usb              15025  0
rt2800lib              70032  1 rt2800usb
rt2x00usb               6736  1 rt2800usb
rt2x00lib              28620  3 rt2x00usb,rt2800lib,rt2800usb
mac80211              270996  3 rt2x00lib,rt2x00usb,rt2800lib
joydev                  7628  0
cfg80211              158600  2 mac80211,rt2x00lib
crc_ccitt                980  1 rt2800lib
rfkill                 10644  1 cfg80211
led_class               2204  1 rt2x00lib
frandom                 3316  2
vchiq                 187088  2

Code:
$ cat /etc/network/interfaces
auto eth0 lo
# interfaces(5) file used by ifup(8) and ifdown(8)

iface eth0 inet dhcp
iface lo inet loopback

allow-hotplug wlan0
iface wlan0 inet dhcp

Code:
$ dmesg
  :
[    1.452338] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    1.452469] Indeed it is in host mode hprt0 = 00001101
[    1.628193] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
[    1.628227] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.628945] hub 1-1:1.0: USB hub found
[    1.629056] hub 1-1:1.0: 3 ports detected
[    1.676528] random: nonblocking pool is initialized
[    1.902013] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    1.986516] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    1.986540] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.989400] smsc95xx v1.0.4
[    2.034019] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:35:76:39
[    2.107960] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[    2.212685] usb 1-1.2: New USB device found, idVendor=148f, idProduct=5370
[    2.212710] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.212721] usb 1-1.2: Product: 802.11 n WLAN
[    2.212731] usb 1-1.2: Manufacturer: Ralink
[    2.212741] usb 1-1.2: SerialNumber: 1.0
[    2.287935] usb 1-1.3: new low-speed USB device number 5 using dwc_otg
[    2.397666] usb 1-1.3: New USB device found, idVendor=099a, idProduct=7202
[    2.397692] usb 1-1.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[    2.397703] usb 1-1.3: Product: Wireless Keyboard/Mouse
[    2.415810] input: Wireless Keyboard/Mouse as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:099A:7202.0001/input/input0
[    2.419946] hid-generic 0003:099A:7202.0001: input,hidraw0: USB HID v1.11 Keyboard [Wireless Keyboard/Mouse] on usb-bcm2708_usb-1.3/input0
[    2.475480] input: Wireless Keyboard/Mouse as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.1/0003:099A:7202.0002/input/input1
[    2.477384] hid-generic 0003:099A:7202.0002: input,hiddev0,hidraw1: USB HID v1.11 Mouse [Wireless Keyboard/Mouse] on usb-bcm2708_usb-1.3/input1
[    6.537641] BTRFS info (device mmcblk0p2): disk space caching is enabled
[    9.969588] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   10.000454] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   11.415746] vchiq: vchiq_init_state: slot_zero = 0xd7000000, is_master = 0
[   11.425067] bcm2835-cpufreq: switching to governor powersave
[   11.425099] bcm2835-cpufreq: switching to governor powersave
[   11.433503] bcm2835-cpufreq: switching to governor performance
[   11.433539] bcm2835-cpufreq: switching to governor performance
[   11.501312] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[   12.801542] udevd[589]: starting version 175
[   15.932157] cfg80211: Calling CRDA to update world regulatory domain
[   17.062025] usb 1-1.2: reset high-speed USB device number 4 using dwc_otg
[   17.159035] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5390, rev 0502 detected
[   17.379843] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5370 detected

[    2.397692] usb 1-1.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[    2.397703] usb 1-1.3: Product: Wireless Keyboard/Mouse
[    2.415810] input: Wireless Keyboard/Mouse as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:099A:7202.0001/input/input0
[    2.419946] hid-generic 0003:099A:7202.0001: input,hidraw0: USB HID v1.11 Keyboard [Wireless Keyboard/Mouse] on usb-bcm2708_usb-1.3/input0
[    2.475480] input: Wireless Keyboard/Mouse as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.1/0003:099A:7202.0002/input/input1
[    2.477384] hid-generic 0003:099A:7202.0002: input,hiddev0,hidraw1: USB HID v1.11 Mouse [Wireless Keyboard/Mouse] on usb-bcm2708_usb-1.3/input1
[    6.537641] BTRFS info (device mmcblk0p2): disk space caching is enabled
[    9.969588] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   10.000454] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   11.415746] vchiq: vchiq_init_state: slot_zero = 0xd7000000, is_master = 0
[   11.425067] bcm2835-cpufreq: switching to governor powersave
[   11.425099] bcm2835-cpufreq: switching to governor powersave
[   11.433503] bcm2835-cpufreq: switching to governor performance
[   11.433539] bcm2835-cpufreq: switching to governor performance
[   11.501312] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[   12.801542] udevd[589]: starting version 175
[   15.932157] cfg80211: Calling CRDA to update world regulatory domain
[   17.062025] usb 1-1.2: reset high-speed USB device number 4 using dwc_otg
[   17.159035] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5390, rev 0502 detected
[   17.379843] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5370 detected
[   17.818160] init: failsafe main process (60) killed by TERM signal
[   17.860508] ieee80211 phy0: Selected rate control algorithm 'pid'
[   17.862024] usbcore: registered new interface driver rt2800usb
[   20.682206] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[   20.682469] rt2800usb 1-1.2:1.0: Direct firmware load failed with error -2
[   20.682485] rt2800usb 1-1.2:1.0: Falling back to user helper
[   20.729519] ieee80211 phy0: rt2x00lib_request_firmware: Error - Failed to request Firmware
[   20.749335] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[   20.749423] rt2800usb 1-1.2:1.0: Direct firmware load failed with error -2
[   20.749439] rt2800usb 1-1.2:1.0: Falling back to user helper
[   20.847800] ieee80211 phy0: rt2x00lib_request_firmware: Error - Failed to request Firmware
[   34.581563] init: wait-for-state (xbmcxbmc-loaded) main process (1111) killed by TERM signal
[   35.375423] init: xbian-failaccess main process (187) killed by TERM signal
[   41.829438] init: xbmc-failed-start main process (413) killed by TERM signal
[   41.950993] init: wait-for-state (zram-swapxbmc-done) main process (1026) killed by TERM signal
[   43.457500] Adding 250876k swap on /dev/mmcblk0p3.  Priority:0 extents:1 across:250876k SSFS

Code:
$ sudo ifup wlan0
ifup: interface wlan0 already configured

$ sudo ifdown wlan0
/bin/sh: 1: kill: No such process
/bin/sh: 1: kill: No such process

$ sudo ifup wlan0
RTNETLINK answers: Cannot allocate memory
DHCPDISCOVER
IP-Config: wlan0 hardware address 7c:dd:90:0c:cb:98 mtu 1500 DHCP RARP
SIOCSIFFLAGS: Out of memory
ipconfig: no devices to configure
bound
cat: /run/net-wlan0.conf: No such file or directory
sleep: missing operand
Try `sleep --help' for more information.

Any ideas?


RE: Problem with LogiLink WL0084B (Ralink RT5370) - mk01 - 8th Oct, 2014 11:30 PM

add "non-free" repo to sources so that /etc/apt/sources.list looks like that
Code:
deb http://XXXXXXXXXXXX main non-free

then
Code:
apt-get update
apt-get install linux-firmware-ralink