diff options
author | florian@mickler.org <florian@mickler.org> | 2010-02-26 06:01:34 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-10 17:09:34 -0500 |
commit | 6c26361e4be3cf0dad7083e38ca52001a987e3e6 (patch) | |
tree | 4638fff76e14e4a8ab6de035a8e3ee47cb7bfae1 /Documentation/ABI | |
parent | 69c86373c6ea1149aa559e6088362d58d8ec8835 (diff) |
enhance sysfs rfkill interface
This commit introduces two new sysfs knobs.
/sys/class/rfkill/rfkill[0-9]+/blocked_hw: (ro)
hardblock kill state
/sys/class/rfkill/rfkill[0-9]+/blocked_sw: (rw)
softblock kill state
Signed-off-by: Florian Mickler <florian@mickler.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r-- | Documentation/ABI/stable/sysfs-class-rfkill | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/ABI/stable/sysfs-class-rfkill b/Documentation/ABI/stable/sysfs-class-rfkill index 97d5064f4f84..b91c3f37453a 100644 --- a/Documentation/ABI/stable/sysfs-class-rfkill +++ b/Documentation/ABI/stable/sysfs-class-rfkill | |||
@@ -40,3 +40,28 @@ Description: Whether the soft blocked state is initialised from non-volatile | |||
40 | Values: A numeric value. | 40 | Values: A numeric value. |
41 | 0: false | 41 | 0: false |
42 | 1: true | 42 | 1: true |
43 | |||
44 | |||
45 | What: /sys/class/rfkill/rfkill[0-9]+/blocked_hw | ||
46 | Date: 23-Feb-2010 | ||
47 | KernelVersion v2.6.34 | ||
48 | Contact: linux-wireless@vger.kernel.org | ||
49 | Description: Current hardblock state. This file is read only. | ||
50 | Values: A numeric value. | ||
51 | 0: inactive | ||
52 | The transmitter is (potentially) active. | ||
53 | 1: active | ||
54 | The transmitter is forced off by something outside of | ||
55 | the driver's control. | ||
56 | |||
57 | |||
58 | What: /sys/class/rfkill/rfkill[0-9]+/blocked_sw | ||
59 | Date: 23-Feb-2010 | ||
60 | KernelVersion v2.6.34 | ||
61 | Contact: linux-wireless@vger.kernel.org | ||
62 | Description: Current softblock state. This file is read and write. | ||
63 | Values: A numeric value. | ||
64 | 0: inactive | ||
65 | The transmitter is (potentially) active. | ||
66 | 1: active | ||
67 | The transmitter is turned off by software. | ||