Re: Rfkill buttons : bi-stable, mono-stable, tactile

From: Lukasz Sokol
Date: Fri Dec 18 2009 - 03:52:16 EST


Matthew Garrett wrote:
> (Please keep me Cc:ed - linux-kernel is high enough traffic that it's

Ok, sorry, I was posting through gmane's web interface, I like it quite, but it is stupid
in the sense that it does not keep cc:s...

>> i.e. the rfkill does not know, and the 'problem' is only noticed when the wifi
>> disassociates (but Network Manager tries on to reconnect). On the other hand,
>> invoking /sbin/rfkill [un]block wifi blocks/unblocks wifi comfortably.
>
> What does ls -l /sys/class/rfkill look like? What driver are you using
> for your wireless card?
>

lrwxrwxrwx 1 root root 0 2009-12-17 20:30 rfkill0 -> ../../devices/pci0000:00/0000:00:1c.2/0000:03:00.0/ieee80211/phy0/rfkill0

lukasz@workhorse:~$ lsmod |grep 802
mac80211 181140 1 ath5k
cfg80211 93052 3 ath5k,mac80211,ath

rfkill is built in (i.e. not a module) in this kernel, I heard somewhere.

Lukasz
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/