mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]> Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
parent
69c86373c6
commit
6c26361e4b
2 changed files with 83 additions and 0 deletions
|
|
@ -40,3 +40,28 @@ Description: Whether the soft blocked state is initialised from non-volatile
|
|||
Values: A numeric value.
|
||||
0: false
|
||||
1: true
|
||||
|
||||
|
||||
What: /sys/class/rfkill/rfkill[0-9]+/blocked_hw
|
||||
Date: 23-Feb-2010
|
||||
KernelVersion v2.6.34
|
||||
Contact: [email protected]
|
||||
Description: Current hardblock state. This file is read only.
|
||||
Values: A numeric value.
|
||||
0: inactive
|
||||
The transmitter is (potentially) active.
|
||||
1: active
|
||||
The transmitter is forced off by something outside of
|
||||
the driver's control.
|
||||
|
||||
|
||||
What: /sys/class/rfkill/rfkill[0-9]+/blocked_sw
|
||||
Date: 23-Feb-2010
|
||||
KernelVersion v2.6.34
|
||||
Contact: [email protected]
|
||||
Description: Current softblock state. This file is read and write.
|
||||
Values: A numeric value.
|
||||
0: inactive
|
||||
The transmitter is (potentially) active.
|
||||
1: active
|
||||
The transmitter is turned off by software.
|
||||
|
|
|
|||
Loading…
Reference in a new issue