xref: /linux/Documentation/ABI/stable/sysfs-class-rfkill (revision cdd38c5f1ce4398ec58fec95904b75824daab7b5)
169c86373Sflorian@mickler.orgrfkill - radio frequency (RF) connector kill switch support
269c86373Sflorian@mickler.org
3baa293e9SMauro Carvalho ChehabFor details to this subsystem look at Documentation/driver-api/rfkill.rst.
469c86373Sflorian@mickler.org
5*98913408SMauro Carvalho ChehabFor 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.
39*98913408SMauro Carvalho ChehabValues: 	A numeric value:
40*98913408SMauro Carvalho Chehab
41*98913408SMauro Carvalho Chehab		- 0: false
42*98913408SMauro Carvalho Chehab		- 1: true
436c26361eSflorian@mickler.org
446c26361eSflorian@mickler.org
454b636dc6SJoão Paulo Rechi VitaWhat:		/sys/class/rfkill/rfkill[0-9]+/state
464b636dc6SJoão Paulo Rechi VitaDate:		09-Jul-2007
474b636dc6SJoão Paulo Rechi VitaKernelVersion	v2.6.22
484b636dc6SJoão Paulo Rechi VitaContact:	linux-wireless@vger.kernel.org
494b636dc6SJoão Paulo Rechi VitaDescription: 	Current state of the transmitter.
504b636dc6SJoão Paulo Rechi Vita		This file was scheduled to be removed in 2014, but due to its
514b636dc6SJoão Paulo Rechi Vita		large number of users it will be sticking around for a bit
52e529f4d6SPeter Meerwald		longer. Despite it being marked as stable, the newer "hard" and
53e529f4d6SPeter Meerwald		"soft" interfaces should be preferred, since it is not possible
544b636dc6SJoão Paulo Rechi Vita		to express the 'soft and hard block' state of the rfkill driver
554b636dc6SJoão Paulo Rechi Vita		through this interface. There will likely be another attempt to
564b636dc6SJoão Paulo Rechi Vita		remove it in the future.
574b636dc6SJoão Paulo Rechi VitaValues: 	A numeric value.
58*98913408SMauro Carvalho Chehab
594b636dc6SJoão Paulo Rechi Vita		0: RFKILL_STATE_SOFT_BLOCKED
604b636dc6SJoão Paulo Rechi Vita			transmitter is turned off by software
614b636dc6SJoão Paulo Rechi Vita		1: RFKILL_STATE_UNBLOCKED
624b636dc6SJoão Paulo Rechi Vita			transmitter is (potentially) active
634b636dc6SJoão Paulo Rechi Vita		2: RFKILL_STATE_HARD_BLOCKED
644b636dc6SJoão Paulo Rechi Vita			transmitter is forced off by something outside of
654b636dc6SJoão Paulo Rechi Vita			the driver's control.
664b636dc6SJoão Paulo Rechi Vita
674b636dc6SJoão Paulo Rechi Vita
68819bfeccSflorian@mickler.orgWhat:		/sys/class/rfkill/rfkill[0-9]+/hard
69819bfeccSflorian@mickler.orgDate:		12-March-2010
706c26361eSflorian@mickler.orgKernelVersion	v2.6.34
716c26361eSflorian@mickler.orgContact:	linux-wireless@vger.kernel.org
726c26361eSflorian@mickler.orgDescription: 	Current hardblock state. This file is read only.
736c26361eSflorian@mickler.orgValues: 	A numeric value.
74*98913408SMauro Carvalho Chehab
756c26361eSflorian@mickler.org		0: inactive
766c26361eSflorian@mickler.org			The transmitter is (potentially) active.
776c26361eSflorian@mickler.org		1: active
786c26361eSflorian@mickler.org			The transmitter is forced off by something outside of
796c26361eSflorian@mickler.org			the driver's control.
806c26361eSflorian@mickler.org
816c26361eSflorian@mickler.org
82819bfeccSflorian@mickler.orgWhat:		/sys/class/rfkill/rfkill[0-9]+/soft
83819bfeccSflorian@mickler.orgDate:		12-March-2010
846c26361eSflorian@mickler.orgKernelVersion	v2.6.34
856c26361eSflorian@mickler.orgContact:	linux-wireless@vger.kernel.org
866c26361eSflorian@mickler.orgDescription:	Current softblock state. This file is read and write.
876c26361eSflorian@mickler.orgValues: 	A numeric value.
88*98913408SMauro Carvalho Chehab
896c26361eSflorian@mickler.org		0: inactive
906c26361eSflorian@mickler.org			The transmitter is (potentially) active.
91*98913408SMauro Carvalho Chehab
926c26361eSflorian@mickler.org		1: active
936c26361eSflorian@mickler.org			The transmitter is turned off by software.
94