Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Dec 2009 20:26:39 +0100
From:      Bernhard Schmidt <bschmidt@techwires.net>
To:        freebsd-current@freebsd.org
Subject:   CFR: rfkill facility
Message-ID:  <200912272026.39782.bschmidt@techwires.net>

next in thread | raw e-mail | index | archive | help
Hi,

I've spend quite bit of time to get the RF kill switch handling correct 
while working on iwn(4). During that I have noticed that almost every 
driver has its own quirks to get things done and that there is no way to 
get the state exposed to the user.

An interface for that might address those issues. I had some spare time and  
put a few things together:
http://techwires.net/~bschmidt/patches/freebsd/rfkill/

With that and just a few modifications to a driver, e.g. for iwn(4)
http://techwires.net/~bschmidt/patches/freebsd/iwn/iwn_rfkill.diff
we can get a more desirable outcome.

maja:~# rfkill
  RFID Device           Type             Hard   Soft
     1 iwn0             WLAN             no     no

-- 
Bernhard



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912272026.39782.bschmidt>