169c86373S[email protected]rfkill - radio frequency (RF) connector kill switch support 269c86373S[email protected] 3baa293e9SMauro Carvalho ChehabFor details to this subsystem look at Documentation/driver-api/rfkill.rst. 469c86373S[email protected] 598913408SMauro 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 869c86373S[email protected]What: /sys/class/rfkill 969c86373S[email protected]Date: 09-Jul-2007 1069c86373S[email protected]KernelVersion: v2.6.22 1169c86373S[email protected]Contact: [email protected], 1269c86373S[email protected]Description: The rfkill class subsystem folder. 1369c86373S[email protected] Each registered rfkill driver is represented by an rfkillX 14e529f4d6SPeter Meerwald subfolder (X being an integer >= 0). 1569c86373S[email protected] 1669c86373S[email protected] 1769c86373S[email protected]What: /sys/class/rfkill/rfkill[0-9]+/name 1869c86373S[email protected]Date: 09-Jul-2007 19*33a8b650SMauro Carvalho ChehabKernelVersion: v2.6.22 2069c86373S[email protected]Contact: [email protected] 2169c86373S[email protected]Description: Name assigned by driver to this key (interface or driver name). 2269c86373S[email protected]Values: arbitrary string. 2369c86373S[email protected] 2469c86373S[email protected] 2569c86373S[email protected]What: /sys/class/rfkill/rfkill[0-9]+/type 2669c86373S[email protected]Date: 09-Jul-2007 27*33a8b650SMauro Carvalho ChehabKernelVersion: v2.6.22 2869c86373S[email protected]Contact: [email protected] 2969c86373S[email protected]Description: Driver type string ("wlan", "bluetooth", etc). 3069c86373S[email protected]Values: See include/linux/rfkill.h. 3169c86373S[email protected] 3269c86373S[email protected] 3369c86373S[email protected]What: /sys/class/rfkill/rfkill[0-9]+/persistent 3469c86373S[email protected]Date: 09-Jul-2007 35*33a8b650SMauro Carvalho ChehabKernelVersion: v2.6.22 3669c86373S[email protected]Contact: [email protected] 3769c86373S[email protected]Description: Whether the soft blocked state is initialised from non-volatile 3869c86373S[email protected] storage at startup. 3998913408SMauro Carvalho ChehabValues: A numeric value: 4098913408SMauro Carvalho Chehab 4198913408SMauro Carvalho Chehab - 0: false 4298913408SMauro Carvalho Chehab - 1: true 436c26361eS[email protected] 446c26361eS[email protected] 454b636dc6SJoão Paulo Rechi VitaWhat: /sys/class/rfkill/rfkill[0-9]+/state 464b636dc6SJoão Paulo Rechi VitaDate: 09-Jul-2007 47*33a8b650SMauro Carvalho ChehabKernelVersion: v2.6.22 484b636dc6SJoão Paulo Rechi VitaContact: [email protected] 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. 5898913408SMauro 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 68819bfeccS[email protected]What: /sys/class/rfkill/rfkill[0-9]+/hard 69819bfeccS[email protected]Date: 12-March-2010 70*33a8b650SMauro Carvalho ChehabKernelVersion: v2.6.34 716c26361eS[email protected]Contact: [email protected] 726c26361eS[email protected]Description: Current hardblock state. This file is read only. 736c26361eS[email protected]Values: A numeric value. 7498913408SMauro Carvalho Chehab 756c26361eS[email protected] 0: inactive 766c26361eS[email protected] The transmitter is (potentially) active. 776c26361eS[email protected] 1: active 786c26361eS[email protected] The transmitter is forced off by something outside of 796c26361eS[email protected] the driver's control. 806c26361eS[email protected] 816c26361eS[email protected] 82819bfeccS[email protected]What: /sys/class/rfkill/rfkill[0-9]+/soft 83819bfeccS[email protected]Date: 12-March-2010 84*33a8b650SMauro Carvalho ChehabKernelVersion: v2.6.34 856c26361eS[email protected]Contact: [email protected] 866c26361eS[email protected]Description: Current softblock state. This file is read and write. 876c26361eS[email protected]Values: A numeric value. 8898913408SMauro Carvalho Chehab 896c26361eS[email protected] 0: inactive 906c26361eS[email protected] The transmitter is (potentially) active. 9198913408SMauro Carvalho Chehab 926c26361eS[email protected] 1: active 936c26361eS[email protected] The transmitter is turned off by software. 94