[arch-projects] [netcfg] [PATCH] Take rfkill switches attached to PHYs into account.

Jouke Witteveen j.witteveen at gmail.com
Wed Oct 3 05:11:51 EDT 2012


On Tue, Oct 2, 2012 at 7:47 PM, Ivan Shapovalov <intelfx100 at gmail.com> wrote:
> I have rfkill switches under path
> "/sys/class/net/$INTERFACE/phy80211/rfkill*"
> but not
> "/sys/class/net/$INTERFACE/rfkill"
> on two systems with iwlagn and ath9k drivers. Guess someone else also
> has these.
>
> Signed-off-by: Ivan Shapovalov <intelfx100 at gmail.com>

Our rfkill code is using deprecated functionality. The 'new' ABI is
documented at
http://www.kernel.org/doc/Documentation/ABI/stable/sysfs-class-rfkill
I am not too familiar with rfkill, so if someone could rewrite the
rfkill code, that would be much appreciated.
Instead of using the new sysfs structure, we could also use the rfkill
userspace program, although I don't know whether that would have any
practical advantages.

- Jouke


More information about the arch-projects mailing list