Wireless disabled by hardware switch on an Asus X550V

I'm using Ubuntu 13.04 and I have ASUS X550V laptop. This is my rfkill list:

0: asus-wlan: Wireless LAN
    Soft blocked: no
    Hard blocked: no
1: asus-bluetooth: Bluetooth
    Soft blocked: no
    Hard blocked: no
2: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: yes
3: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no

Before you start going: Hey, just turn on your hardware switch, dummy... my hardware switch is Fn + F2 and it works perfectly fine on my Windows boot. But, on my Ubuntu boot it does nothing... All the other Fn + F_ combos work (turn off the touchpad, screen turn off, screen brightness, sound) and they give some kind of visual indicator when I press it.

My lshw log:

*-network DISABLED
                description: Wireless interface
                product: AR9485 Wireless Network Adapter
                vendor: Atheros Communications Inc.
                physical id: 0
                bus info: pci@0000:03:00.0
                logical name: wlan0
                version: 01
                serial: 24:0a:64:28:b4:25
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless
                configuration: broadcast=yes driver=ath9k driverversion=3.8.0-19-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
                resources: irq:17 memory:f7900000-f797ffff memory:f7980000-f798ffff

Is the module asus_nb_wmi loaded? Check:

lsmod | grep asus

If so, please try a driver parameter:

sudo -i
echo "options asus_nb_wmi wapf=0" > /etc/modprobe.d/asus.conf
exit

Reboot and see if the Fn+F2 behavior is changed.

If the above does not work, redo it again but replace asus_nb_wmi wapf=0 with asus_nb_wmi wapf=1, and if that does not work, replace it with asus_nb_wmi wapf=4 instead.


I have the same computer and the same problem (none of the above worked for me), now this'll be funny, but here's what does. Once I accidentally suspended the computer instead of shutting it down and when I turned it on, the hard switch was somehow magically on. I always have to suspend it and turn on again and the wifi turns on. 13.10 is quite buggy in general, I keep getting kernel error reports all the time, libre office crashes, key combinations don't work, my numeric keybord doesn't work (hard switch too)... this is really the worst version of ubuntu I've ever had and I have absolutely no idea what to do about it. I'm a woman, which implies that I'm not an expert, though I've been using Ubuntu for 6 or 7 years, I'm just a fan. If anyone has any idea (other than waiting for 14.4), please share, because this is annoying as hell.


Always worked for me:

rfkill unblock all

Since this is one of the first results that pops up on google, I'd like to share what worked for me.

I tried blacklisting the asus, acer drivers...

I tried removing the battery out of the computer, unplugging it and pressing the power button to reset something as this seemed to work for some other people...

I tried resetting bios to default...

I tried installing generic drivers...

Nothing worked. Then I found this post: http://ubuntuforums.org/showthread.php?t=1884245&p=11483954#post11483954

What I did is set my network card to boot first in bios, then the hard drive containing ubuntu and it worked from the first try. I don't know if all those other previous blacklisting and other steps helped, but this was the last straw that did it.