162306a36Sopenharmony_cirfkill - radio frequency (RF) connector kill switch support 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciFor details to this subsystem look at Documentation/driver-api/rfkill.rst. 462306a36Sopenharmony_ci 562306a36Sopenharmony_ciFor the deprecated ``/sys/class/rfkill/*/claim`` knobs of this interface look in 662306a36Sopenharmony_ciDocumentation/ABI/removed/sysfs-class-rfkill. 762306a36Sopenharmony_ci 862306a36Sopenharmony_ciWhat: /sys/class/rfkill 962306a36Sopenharmony_ciDate: 09-Jul-2007 1062306a36Sopenharmony_ciKernelVersion: v2.6.22 1162306a36Sopenharmony_ciContact: linux-wireless@vger.kernel.org, 1262306a36Sopenharmony_ciDescription: The rfkill class subsystem folder. 1362306a36Sopenharmony_ci Each registered rfkill driver is represented by an rfkillX 1462306a36Sopenharmony_ci subfolder (X being an integer >= 0). 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_ciWhat: /sys/class/rfkill/rfkill[0-9]+/name 1862306a36Sopenharmony_ciDate: 09-Jul-2007 1962306a36Sopenharmony_ciKernelVersion v2.6.22 2062306a36Sopenharmony_ciContact: linux-wireless@vger.kernel.org 2162306a36Sopenharmony_ciDescription: Name assigned by driver to this key (interface or driver name). 2262306a36Sopenharmony_ciValues: arbitrary string. 2362306a36Sopenharmony_ci 2462306a36Sopenharmony_ci 2562306a36Sopenharmony_ciWhat: /sys/class/rfkill/rfkill[0-9]+/type 2662306a36Sopenharmony_ciDate: 09-Jul-2007 2762306a36Sopenharmony_ciKernelVersion v2.6.22 2862306a36Sopenharmony_ciContact: linux-wireless@vger.kernel.org 2962306a36Sopenharmony_ciDescription: Driver type string ("wlan", "bluetooth", etc). 3062306a36Sopenharmony_ciValues: See include/linux/rfkill.h. 3162306a36Sopenharmony_ci 3262306a36Sopenharmony_ci 3362306a36Sopenharmony_ciWhat: /sys/class/rfkill/rfkill[0-9]+/persistent 3462306a36Sopenharmony_ciDate: 09-Jul-2007 3562306a36Sopenharmony_ciKernelVersion v2.6.22 3662306a36Sopenharmony_ciContact: linux-wireless@vger.kernel.org 3762306a36Sopenharmony_ciDescription: Whether the soft blocked state is initialised from non-volatile 3862306a36Sopenharmony_ci storage at startup. 3962306a36Sopenharmony_ciValues: A numeric value: 4062306a36Sopenharmony_ci 4162306a36Sopenharmony_ci - 0: false 4262306a36Sopenharmony_ci - 1: true 4362306a36Sopenharmony_ci 4462306a36Sopenharmony_ci 4562306a36Sopenharmony_ciWhat: /sys/class/rfkill/rfkill[0-9]+/state 4662306a36Sopenharmony_ciDate: 09-Jul-2007 4762306a36Sopenharmony_ciKernelVersion v2.6.22 4862306a36Sopenharmony_ciContact: linux-wireless@vger.kernel.org 4962306a36Sopenharmony_ciDescription: Current state of the transmitter. 5062306a36Sopenharmony_ci This file was scheduled to be removed in 2014, but due to its 5162306a36Sopenharmony_ci large number of users it will be sticking around for a bit 5262306a36Sopenharmony_ci longer. Despite it being marked as stable, the newer "hard" and 5362306a36Sopenharmony_ci "soft" interfaces should be preferred, since it is not possible 5462306a36Sopenharmony_ci to express the 'soft and hard block' state of the rfkill driver 5562306a36Sopenharmony_ci through this interface. There will likely be another attempt to 5662306a36Sopenharmony_ci remove it in the future. 5762306a36Sopenharmony_ciValues: A numeric value. 5862306a36Sopenharmony_ci 5962306a36Sopenharmony_ci 0: RFKILL_STATE_SOFT_BLOCKED 6062306a36Sopenharmony_ci transmitter is turned off by software 6162306a36Sopenharmony_ci 1: RFKILL_STATE_UNBLOCKED 6262306a36Sopenharmony_ci transmitter is (potentially) active 6362306a36Sopenharmony_ci 2: RFKILL_STATE_HARD_BLOCKED 6462306a36Sopenharmony_ci transmitter is forced off by something outside of 6562306a36Sopenharmony_ci the driver's control. 6662306a36Sopenharmony_ci 6762306a36Sopenharmony_ci 6862306a36Sopenharmony_ciWhat: /sys/class/rfkill/rfkill[0-9]+/hard 6962306a36Sopenharmony_ciDate: 12-March-2010 7062306a36Sopenharmony_ciKernelVersion v2.6.34 7162306a36Sopenharmony_ciContact: linux-wireless@vger.kernel.org 7262306a36Sopenharmony_ciDescription: Current hardblock state. This file is read only. 7362306a36Sopenharmony_ciValues: A numeric value. 7462306a36Sopenharmony_ci 7562306a36Sopenharmony_ci 0: inactive 7662306a36Sopenharmony_ci The transmitter is (potentially) active. 7762306a36Sopenharmony_ci 1: active 7862306a36Sopenharmony_ci The transmitter is forced off by something outside of 7962306a36Sopenharmony_ci the driver's control. 8062306a36Sopenharmony_ci 8162306a36Sopenharmony_ci 8262306a36Sopenharmony_ciWhat: /sys/class/rfkill/rfkill[0-9]+/soft 8362306a36Sopenharmony_ciDate: 12-March-2010 8462306a36Sopenharmony_ciKernelVersion v2.6.34 8562306a36Sopenharmony_ciContact: linux-wireless@vger.kernel.org 8662306a36Sopenharmony_ciDescription: Current softblock state. This file is read and write. 8762306a36Sopenharmony_ciValues: A numeric value. 8862306a36Sopenharmony_ci 8962306a36Sopenharmony_ci 0: inactive 9062306a36Sopenharmony_ci The transmitter is (potentially) active. 9162306a36Sopenharmony_ci 9262306a36Sopenharmony_ci 1: active 9362306a36Sopenharmony_ci The transmitter is turned off by software. 94