xref: /linux/Documentation/ABI/stable/sysfs-class-rfkill (revision baa293e9544bea71361950d071579f0e4d5713ed)
169c86373Sflorian@mickler.orgrfkill - radio frequency (RF) connector kill switch support
269c86373Sflorian@mickler.org
3*baa293e9SMauro Carvalho ChehabFor details to this subsystem look at Documentation/driver-api/rfkill.rst.
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
14e529f4d6SPeter Meerwald		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
444b636dc6SJoão Paulo Rechi VitaWhat:		/sys/class/rfkill/rfkill[0-9]+/state
454b636dc6SJoão Paulo Rechi VitaDate:		09-Jul-2007
464b636dc6SJoão Paulo Rechi VitaKernelVersion	v2.6.22
474b636dc6SJoão Paulo Rechi VitaContact:	linux-wireless@vger.kernel.org
484b636dc6SJoão Paulo Rechi VitaDescription: 	Current state of the transmitter.
494b636dc6SJoão Paulo Rechi Vita		This file was scheduled to be removed in 2014, but due to its
504b636dc6SJoão Paulo Rechi Vita		large number of users it will be sticking around for a bit
51e529f4d6SPeter Meerwald		longer. Despite it being marked as stable, the newer "hard" and
52e529f4d6SPeter Meerwald		"soft" interfaces should be preferred, since it is not possible
534b636dc6SJoão Paulo Rechi Vita		to express the 'soft and hard block' state of the rfkill driver
544b636dc6SJoão Paulo Rechi Vita		through this interface. There will likely be another attempt to
554b636dc6SJoão Paulo Rechi Vita		remove it in the future.
564b636dc6SJoão Paulo Rechi VitaValues: 	A numeric value.
574b636dc6SJoão Paulo Rechi Vita		0: RFKILL_STATE_SOFT_BLOCKED
584b636dc6SJoão Paulo Rechi Vita			transmitter is turned off by software
594b636dc6SJoão Paulo Rechi Vita		1: RFKILL_STATE_UNBLOCKED
604b636dc6SJoão Paulo Rechi Vita			transmitter is (potentially) active
614b636dc6SJoão Paulo Rechi Vita		2: RFKILL_STATE_HARD_BLOCKED
624b636dc6SJoão Paulo Rechi Vita			transmitter is forced off by something outside of
634b636dc6SJoão Paulo Rechi Vita			the driver's control.
644b636dc6SJoão Paulo Rechi Vita
654b636dc6SJoã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