You are not logged in.

#1 2010-06-08 10:56:50

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

rfkill issues

Hi,

$ watch -n1 rfkill list all

shows

0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: yes

$ sudo rfkill unblock all

won't help; neither does

$ sudo rfkill event unblock 0

Fooling with Wi-Fi key/hardware switch doesn't make any difference; there seems to be nothing in BIOS concerning Wi-Fi.

Wi-Fi chip is RTL8187B

Wireless worked fine regardless of keys/switches until the upgrade to kernel 2.6.32; nothing seems to help since then.

That an obscure thing called rfkill might be an issue I discovered by pure chance; please don't hesitate to volunteer anything useful smile . The info is very scarce.

Offline

#2 2010-06-08 11:17:58

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: rfkill issues

blacklist the rfkill module and you will have the old behaviour back.

i dont know how to get it working. your wireless drivers might not have complete support for it yet.

Offline

#3 2010-06-08 11:59:34

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: rfkill issues

Thanks! But blacklisting doesn't seem to work:

MODULES=(vboxdrv fuse 8139cp 8139too mii !rfkill rtl8187)

$ lsmod | grep rfkill
rfkill                 12198  1 cfg80211

$ modprobe -r rfkill
FATAL: Module rfkill is in use.

Offline

#4 2010-06-08 12:46:54

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: rfkill issues

did you restart the system? it shouldnt have loaded

Offline

#5 2010-06-08 13:38:59

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: rfkill issues

eldragon wrote:

did you restart the system? it shouldnt have loaded

Sure I did. That's why I pointed out that for some reason it isn't removable:

$ modprobe -r rfkill
FATAL: Module rfkill is in use.

Offline

#6 2010-06-08 13:52:30

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: rfkill issues

you need to remove cfg80211 and to remove that, you need to remove your wireless drivers..

so, rmmod your wireless drivers.
rmmod cfg80211
rmmod rfkill
modprobe your wireless drivers.

see how that works out. other than that, you will need to build a custom kernel with rfkill disabled.

Offline

#7 2010-06-08 14:10:59

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: rfkill issues

Thanks! Now I see the logic. No, you can't remove the offending parts and modprobe back rtl8187. I don't care to rebuild the kernel; I'd better roll back to 2.6.31.

This guy is luckier than me: http://bbs.archlinux.org/viewtopic.php?id=82966

Last edited by Llama (2010-06-08 14:13:31)

Offline

#8 2010-06-08 16:34:25

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: rfkill issues

Curiously, kernel 2.6.31 looks no different: rfkill, cfg80211, etc. It just works, though.

Offline

#9 2010-06-22 19:59:42

anadyr
Member
Registered: 2005-02-10
Posts: 225

Re: rfkill issues

I have the same problem; I recently did pacman -Syu (since a long time), and now the rfkill app doesn't work anymore. The result is that I manually have to press the wifi button before I can start the network which I don't like to do. I tried kernels 26-2.6.33.4-1, 26-2.6.33.3-2, and 26-2.6.32.10-1, but all these failed. I only have the 26-2.6.31-6-1 kernel, and that works fine.

I also do not have a wifi switch in the bios.

Offline

Board footer

Powered by FluxBB