94 lines · plain
1rfkill - radio frequency (RF) connector kill switch support2 3For details to this subsystem look at Documentation/driver-api/rfkill.rst.4 5For the deprecated ``/sys/class/rfkill/*/claim`` knobs of this interface look in6Documentation/ABI/removed/sysfs-class-rfkill.7 8What: /sys/class/rfkill9Date: 09-Jul-200710KernelVersion: v2.6.2211Contact: linux-wireless@vger.kernel.org,12Description: The rfkill class subsystem folder.13 Each registered rfkill driver is represented by an rfkillX14 subfolder (X being an integer >= 0).15 16 17What: /sys/class/rfkill/rfkill[0-9]+/name18Date: 09-Jul-200719KernelVersion v2.6.2220Contact: linux-wireless@vger.kernel.org21Description: Name assigned by driver to this key (interface or driver name).22Values: arbitrary string.23 24 25What: /sys/class/rfkill/rfkill[0-9]+/type26Date: 09-Jul-200727KernelVersion v2.6.2228Contact: linux-wireless@vger.kernel.org29Description: Driver type string ("wlan", "bluetooth", etc).30Values: See include/linux/rfkill.h.31 32 33What: /sys/class/rfkill/rfkill[0-9]+/persistent34Date: 09-Jul-200735KernelVersion v2.6.2236Contact: linux-wireless@vger.kernel.org37Description: Whether the soft blocked state is initialised from non-volatile38 storage at startup.39Values: A numeric value:40 41 - 0: false42 - 1: true43 44 45What: /sys/class/rfkill/rfkill[0-9]+/state46Date: 09-Jul-200747KernelVersion v2.6.2248Contact: linux-wireless@vger.kernel.org49Description: Current state of the transmitter.50 This file was scheduled to be removed in 2014, but due to its51 large number of users it will be sticking around for a bit52 longer. Despite it being marked as stable, the newer "hard" and53 "soft" interfaces should be preferred, since it is not possible54 to express the 'soft and hard block' state of the rfkill driver55 through this interface. There will likely be another attempt to56 remove it in the future.57Values: A numeric value.58 59 0: RFKILL_STATE_SOFT_BLOCKED60 transmitter is turned off by software61 1: RFKILL_STATE_UNBLOCKED62 transmitter is (potentially) active63 2: RFKILL_STATE_HARD_BLOCKED64 transmitter is forced off by something outside of65 the driver's control.66 67 68What: /sys/class/rfkill/rfkill[0-9]+/hard69Date: 12-March-201070KernelVersion v2.6.3471Contact: linux-wireless@vger.kernel.org72Description: Current hardblock state. This file is read only.73Values: A numeric value.74 75 0: inactive76 The transmitter is (potentially) active.77 1: active78 The transmitter is forced off by something outside of79 the driver's control.80 81 82What: /sys/class/rfkill/rfkill[0-9]+/soft83Date: 12-March-201084KernelVersion v2.6.3485Contact: linux-wireless@vger.kernel.org86Description: Current softblock state. This file is read and write.87Values: A numeric value.88 89 0: inactive90 The transmitter is (potentially) active.91 92 1: active93 The transmitter is turned off by software.94