169c86373Sflorian@mickler.orgrfkill - radio frequency (RF) connector kill switch support 269c86373Sflorian@mickler.org 369c86373Sflorian@mickler.orgFor details to this subsystem look at Documentation/rfkill.txt. 469c86373Sflorian@mickler.org 526b359c8SJoão Paulo Rechi VitaFor the deprecated /sys/class/rfkill/*/claim knobs of this interface look in 626b359c8SJoão Paulo Rechi VitaDocumentation/ABI/removed/sysfs-class-rfkill. 726b359c8SJoão Paulo Rechi Vita 869c86373Sflorian@mickler.orgWhat: /sys/class/rfkill 969c86373Sflorian@mickler.orgDate: 09-Jul-2007 1069c86373Sflorian@mickler.orgKernelVersion: v2.6.22 1169c86373Sflorian@mickler.orgContact: linux-wireless@vger.kernel.org, 1269c86373Sflorian@mickler.orgDescription: The rfkill class subsystem folder. 1369c86373Sflorian@mickler.org Each registered rfkill driver is represented by an rfkillX 1469c86373Sflorian@mickler.org subfolder (X being an integer > 0). 1569c86373Sflorian@mickler.org 1669c86373Sflorian@mickler.org 1769c86373Sflorian@mickler.orgWhat: /sys/class/rfkill/rfkill[0-9]+/name 1869c86373Sflorian@mickler.orgDate: 09-Jul-2007 1969c86373Sflorian@mickler.orgKernelVersion v2.6.22 2069c86373Sflorian@mickler.orgContact: linux-wireless@vger.kernel.org 2169c86373Sflorian@mickler.orgDescription: Name assigned by driver to this key (interface or driver name). 2269c86373Sflorian@mickler.orgValues: arbitrary string. 2369c86373Sflorian@mickler.org 2469c86373Sflorian@mickler.org 2569c86373Sflorian@mickler.orgWhat: /sys/class/rfkill/rfkill[0-9]+/type 2669c86373Sflorian@mickler.orgDate: 09-Jul-2007 2769c86373Sflorian@mickler.orgKernelVersion v2.6.22 2869c86373Sflorian@mickler.orgContact: linux-wireless@vger.kernel.org 2969c86373Sflorian@mickler.orgDescription: Driver type string ("wlan", "bluetooth", etc). 3069c86373Sflorian@mickler.orgValues: See include/linux/rfkill.h. 3169c86373Sflorian@mickler.org 3269c86373Sflorian@mickler.org 3369c86373Sflorian@mickler.orgWhat: /sys/class/rfkill/rfkill[0-9]+/persistent 3469c86373Sflorian@mickler.orgDate: 09-Jul-2007 3569c86373Sflorian@mickler.orgKernelVersion v2.6.22 3669c86373Sflorian@mickler.orgContact: linux-wireless@vger.kernel.org 3769c86373Sflorian@mickler.orgDescription: Whether the soft blocked state is initialised from non-volatile 3869c86373Sflorian@mickler.org storage at startup. 3969c86373Sflorian@mickler.orgValues: A numeric value. 4069c86373Sflorian@mickler.org 0: false 4169c86373Sflorian@mickler.org 1: true 426c26361eSflorian@mickler.org 436c26361eSflorian@mickler.org 44*4b636dc6SJoão Paulo Rechi VitaWhat: /sys/class/rfkill/rfkill[0-9]+/state 45*4b636dc6SJoão Paulo Rechi VitaDate: 09-Jul-2007 46*4b636dc6SJoão Paulo Rechi VitaKernelVersion v2.6.22 47*4b636dc6SJoão Paulo Rechi VitaContact: linux-wireless@vger.kernel.org 48*4b636dc6SJoão Paulo Rechi VitaDescription: Current state of the transmitter. 49*4b636dc6SJoão Paulo Rechi Vita This file was scheduled to be removed in 2014, but due to its 50*4b636dc6SJoão Paulo Rechi Vita large number of users it will be sticking around for a bit 51*4b636dc6SJoão Paulo Rechi Vita longer. Despite it being marked as stabe, the newer "hard" and 52*4b636dc6SJoão Paulo Rechi Vita "soft" interfaces should be preffered, since it is not possible 53*4b636dc6SJoão Paulo Rechi Vita to express the 'soft and hard block' state of the rfkill driver 54*4b636dc6SJoão Paulo Rechi Vita through this interface. There will likely be another attempt to 55*4b636dc6SJoão Paulo Rechi Vita remove it in the future. 56*4b636dc6SJoão Paulo Rechi VitaValues: A numeric value. 57*4b636dc6SJoão Paulo Rechi Vita 0: RFKILL_STATE_SOFT_BLOCKED 58*4b636dc6SJoão Paulo Rechi Vita transmitter is turned off by software 59*4b636dc6SJoão Paulo Rechi Vita 1: RFKILL_STATE_UNBLOCKED 60*4b636dc6SJoão Paulo Rechi Vita transmitter is (potentially) active 61*4b636dc6SJoão Paulo Rechi Vita 2: RFKILL_STATE_HARD_BLOCKED 62*4b636dc6SJoão Paulo Rechi Vita transmitter is forced off by something outside of 63*4b636dc6SJoão Paulo Rechi Vita the driver's control. 64*4b636dc6SJoão Paulo Rechi Vita 65*4b636dc6SJoão Paulo Rechi Vita 66819bfeccSflorian@mickler.orgWhat: /sys/class/rfkill/rfkill[0-9]+/hard 67819bfeccSflorian@mickler.orgDate: 12-March-2010 686c26361eSflorian@mickler.orgKernelVersion v2.6.34 696c26361eSflorian@mickler.orgContact: linux-wireless@vger.kernel.org 706c26361eSflorian@mickler.orgDescription: Current hardblock state. This file is read only. 716c26361eSflorian@mickler.orgValues: A numeric value. 726c26361eSflorian@mickler.org 0: inactive 736c26361eSflorian@mickler.org The transmitter is (potentially) active. 746c26361eSflorian@mickler.org 1: active 756c26361eSflorian@mickler.org The transmitter is forced off by something outside of 766c26361eSflorian@mickler.org the driver's control. 776c26361eSflorian@mickler.org 786c26361eSflorian@mickler.org 79819bfeccSflorian@mickler.orgWhat: /sys/class/rfkill/rfkill[0-9]+/soft 80819bfeccSflorian@mickler.orgDate: 12-March-2010 816c26361eSflorian@mickler.orgKernelVersion v2.6.34 826c26361eSflorian@mickler.orgContact: linux-wireless@vger.kernel.org 836c26361eSflorian@mickler.orgDescription: Current softblock state. This file is read and write. 846c26361eSflorian@mickler.orgValues: A numeric value. 856c26361eSflorian@mickler.org 0: inactive 866c26361eSflorian@mickler.org The transmitter is (potentially) active. 876c26361eSflorian@mickler.org 1: active 886c26361eSflorian@mickler.org The transmitter is turned off by software. 89