/usr/share/dbus-1/interfaces/org.freedesktop.URfkill.xml is in urfkill 0.6.0~20150318.103828.5539c0d.1-0ubuntu6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 | <!DOCTYPE node PUBLIC
"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
<interface name="org.freedesktop.URfkill">
<doc:doc>
<doc:description>
<doc:para>
The urfkill service is available via the system message
bus. To access the service, use
the <doc:tt>org.freedesktop.URfkill</doc:tt> interface on
the <doc:tt>/org/freedesktop/URfkill</doc:tt> object on
the D-Bus system bus service with the well-known
name <doc:tt>org.freedesktop.URfkill</doc:tt>.
</doc:para>
<doc:para>
<doc:example language="shell" title="simple example">
<doc:code>
$ gdbus call -y \
-d org.freedesktop.URfkill \
-o /org/freedesktop/URfkill \
-m org.freedesktop.URfkill.EnumerateDevices
([objectpath '/org/freedesktop/URfkill/devices/0', '/org/freedesktop/URfkill/devices/1'],)
</doc:code>
</doc:example>
</doc:para>
</doc:description>
</doc:doc>
<!-- ************************************************************ -->
<method name="Block">
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<arg type="u" name="type" direction="in">
<doc:doc><doc:summary>
The type of devices to be blocked/unblocked
</doc:summary></doc:doc>
</arg>
<arg type="b" name="block" direction="in">
<doc:doc><doc:summary>
TRUE to block the devices, FALSE to unblock
</doc:summary></doc:doc>
</arg>
<arg type="b" name="ret" direction="out">
<doc:doc><doc:summary>
TRUE for success, otherwise FALSE
</doc:summary></doc:doc>
</arg>
<doc:doc>
<doc:description>
<doc:para>
Block or unblock the devices belonging to the type.
The types are defined as the followings:
</doc:para>
<doc:list>
<doc:item>
<doc:term>0</doc:term><doc:definition>All</doc:definition>
</doc:item>
<doc:item>
<doc:term>1</doc:term><doc:definition>WLAN</doc:definition>
</doc:item>
<doc:item>
<doc:term>2</doc:term><doc:definition>Bluetooth</doc:definition>
</doc:item>
<doc:item>
<doc:term>3</doc:term><doc:definition>UWB</doc:definition>
</doc:item>
<doc:item>
<doc:term>4</doc:term><doc:definition>WIMAX</doc:definition>
</doc:item>
<doc:item>
<doc:term>5</doc:term><doc:definition>WWAN</doc:definition>
</doc:item>
<doc:item>
<doc:term>6</doc:term><doc:definition>GPS</doc:definition>
</doc:item>
<doc:item>
<doc:term>7</doc:term><doc:definition>FM</doc:definition>
</doc:item>
</doc:list>
<doc:para>
Note: This method only changes soft block. Hard block is controlled
by BIOS or the hardware and there is no way to change the
state of hard block through kernel functions.
</doc:para>
</doc:description>
<doc:permission>
This method is restricted to the active session user.
</doc:permission>
</doc:doc>
</method>
<!-- ************************************************************ -->
<method name="BlockIdx">
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<arg type="u" name="index" direction="in">
<doc:doc><doc:summary>
The index of the device to be blocked/unblocked
</doc:summary></doc:doc>
</arg>
<arg type="b" name="block" direction="in">
<doc:doc><doc:summary>
TRUE to block the device, FALSE to unblock
</doc:summary></doc:doc>
</arg>
<arg type="b" name="ret" direction="out">
<doc:doc><doc:summary>
TRUE for success, otherwise FALSE
</doc:summary></doc:doc>
</arg>
<doc:doc>
<doc:description>
<doc:para>
Block or unblock the device by the index.
</doc:para>
<doc:para>
Note: This method only changes soft block. Hard block is controlled
by BIOS or the hardware and there is no way to change the
state of hard block through kernel functions.
</doc:para>
</doc:description>
<doc:permission>
This method is restricted to the currently active session user.
</doc:permission>
</doc:doc>
</method>
<!-- ************************************************************ -->
<method name="EnumerateDevices">
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<arg type="ao" name="array" direction="out">
<doc:doc><doc:summary>
An array of the object pathes for the devices
</doc:summary></doc:doc>
</arg>
<doc:doc>
<doc:description>
<doc:para>
Enumerate all rfkill objects on the system.
</doc:para>
</doc:description>
</doc:doc>
</method>
<!-- ************************************************************ -->
<method name="IsInhibited">
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<arg type="b" name="is_inhibited" direction="out">
<doc:doc><doc:summary>
TRUE if the key control is inhibited, otherwise FALSE
</doc:summary></doc:doc>
</arg>
<doc:doc>
<doc:description>
<doc:para>
Get whether the rfkill key handling function is inhibited or not.
</doc:para>
</doc:description>
</doc:doc>
</method>
<!-- ************************************************************ -->
<method name="Inhibit">
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<arg type="s" name="reason" direction="in">
<doc:doc><doc:summary>
The reason to inhibit the key control
</doc:summary></doc:doc>
</arg>
<arg type="u" name="inhibit_cookie" direction="out">
<doc:doc><doc:summary>
The cookie
</doc:summary></doc:doc>
</arg>
<doc:doc>
<doc:description>
<doc:para>
Inhibit the rfkill key handling function for the session.
</doc:para>
</doc:description>
</doc:doc>
</method>
<!-- ************************************************************ -->
<method name="Uninhibit">
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<arg type="u" name="inhibit_cookie" direction="in">
<doc:doc><doc:summary>
The cookie
</doc:summary></doc:doc>
</arg>
<doc:doc>
<doc:description>
<doc:para>
Cancel a previous call to <doc:ref type="method" to="org.freedesktop.URfkill.Inhibit">Inhibit()</doc:ref>
identified by the cookie.
</doc:para>
</doc:description>
</doc:doc>
</method>
<!-- ************************************************************ -->
<signal name="DeviceAdded">
<arg type="o" name="device" direction="out">
<doc:doc><doc:summary>
The object path for the device that was added
</doc:summary></doc:doc>
</arg>
<doc:doc>
<doc:description>
<doc:para>
Emitted when a device is added.
</doc:para>
</doc:description>
</doc:doc>
</signal>
<!-- ************************************************************ -->
<signal name="DeviceRemoved">
<arg type="o" name="device" direction="out">
<doc:doc><doc:summary>
The object path for the device that was removed
</doc:summary></doc:doc>
</arg>
<doc:doc>
<doc:description>
<doc:para>
Emitted when a device is removed.
</doc:para>
</doc:description>
</doc:doc>
</signal>
<!-- ************************************************************ -->
<signal name="DeviceChanged">
<arg type="o" name="device" direction="out">
<doc:doc><doc:summary>
The object path for the device that was changed
</doc:summary></doc:doc>
</arg>
<doc:doc>
<doc:description>
<doc:para>
Emitted when a device is changed.
</doc:para>
</doc:description>
</doc:doc>
</signal>
<!-- ************************************************************ -->
<signal name="UrfkeyPressed">
<arg type="i" name="keycode" direction="out">
<doc:doc><doc:summary>
The keycode emitted from the input device
</doc:summary></doc:doc>
</arg>
<doc:doc>
<doc:description>
<doc:para>
Emitted when a rfkill key is pressed. The keycode is defined in
<linux/input.h>.
</doc:para>
<doc:list>
<doc:item>
<doc:term>237</doc:term><doc:definition>KEY_BLUETOOTH</doc:definition>
</doc:item>
<doc:item>
<doc:term>238</doc:term><doc:definition>KEY_WLAN</doc:definition>
</doc:item>
<doc:item>
<doc:term>239</doc:term><doc:definition>KEY_UWB</doc:definition>
</doc:item>
<doc:item>
<doc:term>246</doc:term><doc:definition>KEY_WIMAX</doc:definition>
</doc:item>
<doc:item>
<doc:term>247</doc:term><doc:definition>KEY_RFKILL</doc:definition>
</doc:item>
</doc:list>
</doc:description>
</doc:doc>
</signal>
<!-- ************************************************************ -->
<property name="DaemonVersion" type="s" access="read">
<doc:doc>
<doc:description>
<doc:para>
The version the running daemon. e.g. 0.2.0
</doc:para>
</doc:description>
</doc:doc>
</property>
<property name="KeyControl" type="b" access="read">
<doc:doc>
<doc:description>
<doc:para>
Whether the key control is enabled or not
</doc:para>
</doc:description>
</doc:doc>
</property>
</interface>
</node>
|