^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) rfkill - radio frequency (RF) connector kill switch support
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) For details to this subsystem look at Documentation/driver-api/rfkill.rst.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) For the deprecated ``/sys/class/rfkill/*/claim`` knobs of this interface look in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) Documentation/ABI/removed/sysfs-class-rfkill.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) What: /sys/class/rfkill
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) Date: 09-Jul-2007
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) KernelVersion: v2.6.22
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) Contact: linux-wireless@vger.kernel.org,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Description: The rfkill class subsystem folder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Each registered rfkill driver is represented by an rfkillX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) subfolder (X being an integer >= 0).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) What: /sys/class/rfkill/rfkill[0-9]+/name
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) Date: 09-Jul-2007
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) KernelVersion v2.6.22
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) Contact: linux-wireless@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) Description: Name assigned by driver to this key (interface or driver name).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) Values: arbitrary string.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) What: /sys/class/rfkill/rfkill[0-9]+/type
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) Date: 09-Jul-2007
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) KernelVersion v2.6.22
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) Contact: linux-wireless@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) Description: Driver type string ("wlan", "bluetooth", etc).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) Values: See include/linux/rfkill.h.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) What: /sys/class/rfkill/rfkill[0-9]+/persistent
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) Date: 09-Jul-2007
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) KernelVersion v2.6.22
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) Contact: linux-wireless@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) Description: Whether the soft blocked state is initialised from non-volatile
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) storage at startup.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) Values: A numeric value:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) - 0: false
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) - 1: true
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) What: /sys/class/rfkill/rfkill[0-9]+/state
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) Date: 09-Jul-2007
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) KernelVersion v2.6.22
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) Contact: linux-wireless@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) Description: Current state of the transmitter.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) This file was scheduled to be removed in 2014, but due to its
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) large number of users it will be sticking around for a bit
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) longer. Despite it being marked as stable, the newer "hard" and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) "soft" interfaces should be preferred, since it is not possible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) to express the 'soft and hard block' state of the rfkill driver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) through this interface. There will likely be another attempt to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) remove it in the future.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) Values: A numeric value.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) 0: RFKILL_STATE_SOFT_BLOCKED
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) transmitter is turned off by software
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) 1: RFKILL_STATE_UNBLOCKED
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) transmitter is (potentially) active
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) 2: RFKILL_STATE_HARD_BLOCKED
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) transmitter is forced off by something outside of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) the driver's control.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) What: /sys/class/rfkill/rfkill[0-9]+/hard
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) Date: 12-March-2010
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) KernelVersion v2.6.34
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) Contact: linux-wireless@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) Description: Current hardblock state. This file is read only.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) Values: A numeric value.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) 0: inactive
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) The transmitter is (potentially) active.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) 1: active
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) The transmitter is forced off by something outside of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) the driver's control.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) What: /sys/class/rfkill/rfkill[0-9]+/soft
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) Date: 12-March-2010
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) KernelVersion v2.6.34
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) Contact: linux-wireless@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) Description: Current softblock state. This file is read and write.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) Values: A numeric value.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) 0: inactive
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) The transmitter is (potentially) active.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) 1: active
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) The transmitter is turned off by software.