Solved Problem with Ralink RT5390 Wi-Fi chip and Asus X55VD laptop

Hi,

I bought a new lappy the other day and I thought to power it with FreeBSD but seems it has some sort of problem with my ral0 WiFi chip (Ralink's RT5390) as whenever I try to enable WiFi by creating a wlan0 device and up it from official install DVD's LiveCD mode, the console locks up and I can't even change terminal. Keyboard and screen also lock up; only way out is to hard reset the laptop.

I figured Ralink chips are well supported but this one is giving me a headache for some reason. I tried both amd64 9.1-RELEASE and 10-CURRENT but to no avail.

Here's dmesg output from within the LiveCD:

http://hastebin.com/xabevukora.textile

Also, pciconf -l -v output:
http://hastebin.com/qusaxetapo.textile

I'm trying to configure WiFi by following the Handbook:

Code:
# ifconfig wlan0 create wlandev ral0
wlan0: Ethernet address: a4:17:31:0f:47:94

Code:
# ifconfig wlan0 up scan

And this is the place where everything locks up, on bringing device up. Let me know if I could do anything else.

Thanks in advance.
 
RT5390 was open sourced in February 2011, but patches need be implemented for FreeBSD. See here.
 
Hmm, I thought it was included earlier as it recognized it and showing it in both dmesg and pciconf. Don't know, bummer.
 
@cpu82, that seems two years old, god knows if it'll make it to -RELEASE at all.
 
Last edited by a moderator:
pentago said:
cpu82 that seem 2 years old, god knows if it'll make it to release at all..

Was added the IDs there is the first step, followed by a new firmware module and some glue code.
http://svnweb.freebsd.org/base?diff_format=u&view=revision&revision=235233.

In usr/src/sys/dev/ral/if_ral_pci.c is:
Code:
static const struct ral_pci_ident ral_pci_ids[] = {
        { 0x1814, 0x5390, "Ralink Technology RT5390" },
        { 0x1814, 0x539a, "Ralink Technology RT5390" },
        { 0x1814, 0x539f, "Ralink Technology RT5390" },

You can ask on freebsd-wireless@ ML.
 
Back
Top