sysfs-class-rfkill 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. rfkill - radio frequency (RF) connector kill switch support
  2. For details to this subsystem look at Documentation/rfkill.txt.
  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: [email protected],
  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: [email protected]
  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: [email protected]
  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: [email protected]
  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: [email protected]
  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 stabe, the newer "hard" and
  41. "soft" interfaces should be preffered, 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: [email protected]
  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: [email protected]
  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.