1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119 | from /etc/urfkill:
hardware.conf --
# DO NOT EDIT! This file is created by urfkilld automatically.
[Profile]
key_control=true
master_key=false
force_sync=false
persist=true
urfkill.conf --
[general]
## Type: string
## Default: root
#
# By default, urfkilld is ran with root privilege in order
# to open the device nodes. In case you have a security concern,
# set this variable to a valid username in the system, and then
# urfkilld will drop root privilege and switch to the user after
# the devices nodes are opened.
#
user=root
## Type: boolean (true/false)
## Default: true
#
# This variable is to enable/disable the key control function
# in urfkill. While it's enabled, urfkilld will listen to
# WLAN/BLUETOOTH/WIMAX/UWB keys and change the states of the
# killswitches.
#
# Note: For the machines with hardware controlled rfkill keys,
# it's recommended to set this variable to false.
#
# key_control=true
## Type: boolean (true/false)
## Default: false
#
# A master key is a key that controls all killswitches, and
# it's generally useful for the laptop with only one rfkill
# key.
#
# Note: Some platform drivers such as thinkpad-acpi control
# the bluetooth killswitch by its own and only emit
# WLAN key. In this case, the master key function will
# conflict with the platform drivers, and it would be
# better to set this variable to false.
#
# master_key=false
## Type: boolean (true/false)
## Default: false
#
# When this variable is true, urfkilld will forcibly sync the
# states of the killswitches with the same type. Don't set this
# to true unless you encounter a sync problem.
#
# force_sync=false
## Type: boolean (true/false)
## Default: true
#
# When this variable is true, persist (save to disk on shutdown
# and restart on startup) the state of killswitches across
# restarts.
#
# persist=true
profile --
10-asus-settings.conf
10-lenovo-settings.conf
[This is an HP machine, though.]
10-asus-settings.conf --
<?xml version="1.0" encoding="UTF-8"?>
<profile version="0.1">
<device>
<match key="sys_vendor" contains_ncase="asus">
<match key="product_name" string="1005HA">
<option key="key_control" type="bool">true</option>
<option key="master_key" type="bool">true</option>
<option key="force_sync" type="bool">false</option>
</match>
</match>
</device>
</profile>
10-lenovo-settings.conf --
<?xml version="1.0" encoding="UTF-8"?>
<profile version="0.1">
<device>
<match key="sys_vendor" contains_ncase="lenovo">
<match key="product_version" string="ThinkPad X200">
<option key="key_control" type="bool">true</option>
<option key="master_key" type="bool">false</option>
<option key="force_sync" type="bool">true</option>
</match>
</match>
</device>
</profile>
|