sysfs-class-rfkill 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. rfkill - radio frequency (RF) connector kill switch support
  2. For details to this subsystem look at Documentation/driver-api/rfkill.rst.
  3. For the deprecated ``/sys/class/rfkill/*/claim`` knobs of this interface look in
  4. Documentation/ABI/removed/sysfs-class-rfkill.
  5. What: /sys/class/rfkill
  6. Date: 09-Jul-2007
  7. KernelVersion: v2.6.22
  8. Contact: linux-wireless@vger.kernel.org,
  9. Description: The rfkill class subsystem folder.
  10. Each registered rfkill driver is represented by an rfkillX
  11. subfolder (X being an integer >= 0).
  12. What: /sys/class/rfkill/rfkill[0-9]+/name
  13. Date: 09-Jul-2007
  14. KernelVersion v2.6.22
  15. Contact: linux-wireless@vger.kernel.org
  16. Description: Name assigned by driver to this key (interface or driver name).
  17. Values: arbitrary string.
  18. What: /sys/class/rfkill/rfkill[0-9]+/type
  19. Date: 09-Jul-2007
  20. KernelVersion v2.6.22
  21. Contact: linux-wireless@vger.kernel.org
  22. Description: Driver type string ("wlan", "bluetooth", etc).
  23. Values: See include/linux/rfkill.h.
  24. What: /sys/class/rfkill/rfkill[0-9]+/persistent
  25. Date: 09-Jul-2007
  26. KernelVersion v2.6.22
  27. Contact: linux-wireless@vger.kernel.org
  28. Description: Whether the soft blocked state is initialised from non-volatile
  29. storage at startup.
  30. Values: A numeric value:
  31. - 0: false
  32. - 1: true
  33. What: /sys/class/rfkill/rfkill[0-9]+/state
  34. Date: 09-Jul-2007
  35. KernelVersion v2.6.22
  36. Contact: linux-wireless@vger.kernel.org
  37. Description: Current state of the transmitter.
  38. This file was scheduled to be removed in 2014, but due to its
  39. large number of users it will be sticking around for a bit
  40. longer. Despite it being marked as stable, the newer "hard" and
  41. "soft" interfaces should be preferred, since it is not possible
  42. to express the 'soft and hard block' state of the rfkill driver
  43. through this interface. There will likely be another attempt to
  44. remove it in the future.
  45. Values: A numeric value.
  46. 0: RFKILL_STATE_SOFT_BLOCKED
  47. transmitter is turned off by software
  48. 1: RFKILL_STATE_UNBLOCKED
  49. transmitter is (potentially) active
  50. 2: RFKILL_STATE_HARD_BLOCKED
  51. transmitter is forced off by something outside of
  52. the driver's control.
  53. What: /sys/class/rfkill/rfkill[0-9]+/hard
  54. Date: 12-March-2010
  55. KernelVersion v2.6.34
  56. Contact: linux-wireless@vger.kernel.org
  57. Description: Current hardblock state. This file is read only.
  58. Values: A numeric value.
  59. 0: inactive
  60. The transmitter is (potentially) active.
  61. 1: active
  62. The transmitter is forced off by something outside of
  63. the driver's control.
  64. What: /sys/class/rfkill/rfkill[0-9]+/soft
  65. Date: 12-March-2010
  66. KernelVersion v2.6.34
  67. Contact: linux-wireless@vger.kernel.org
  68. Description: Current softblock state. This file is read and write.
  69. Values: A numeric value.
  70. 0: inactive
  71. The transmitter is (potentially) active.
  72. 1: active
  73. The transmitter is turned off by software.