summaryrefslogtreecommitdiffstats
path: root/tdecore/tdehw/hwlibdaemons/tdedbus/interfaces/org.trinitydesktop.hardwarecontrol.xml
blob: ce75047031ea4f40b09ac1f4ca0f6aaf6ad6f000 (plain)
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
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node  name="/org/trinitydesktop/hardwarecontrol">
  <interface name="org.trinitydesktop.hardwarecontrol.Brightness">
    <method name="CanSetBrightness">
      <arg name="device" direction="in" type="s" />
      <arg name="value" direction="out" type="b" />
    </method>
    <method name="SetBrightness">
      <arg name="device" direction="in" type="s" />
      <arg name="brightness" direction="in" type="s" />
      <arg name="value" direction="out" type="b" />
    </method>
  </interface>
  <interface name="org.trinitydesktop.hardwarecontrol.CPUGovernor">
    <method name="CanSetCPUGovernor">
      <arg name="cpu" direction="in" type="i" />
      <arg name="value" direction="out" type="b" />
    </method>
    <method name="SetCPUGovernor">
      <arg name="cpu" direction="in" type="i" />
      <arg name="governor" direction="in" type="s" />
      <arg name="value" direction="out" type="b" />
    </method>
  </interface>
  <interface name="org.trinitydesktop.hardwarecontrol.InputEvents">
    <method name="GetProvidedSwitches">
      <arg name="device" direction="in" type="s" />
      <arg name="value" direction="out" type="au" />
    </method>
    <method name="GetActiveSwitches">
      <arg name="device" direction="in" type="s" />
      <arg name="value" direction="out" type="au" />
    </method>
  </interface>
  <interface name="org.trinitydesktop.hardwarecontrol.Power">
    <method name="CanStandby">
      <arg name="value" direction="out" type="b" />
    </method>
    <method name="Standby">
      <arg name="value" direction="out" type="b" />
    </method>
    <method name="CanFreeze">
      <arg name="value" direction="out" type="b" />
    </method>
    <method name="Freeze">
      <arg name="value" direction="out" type="b" />
    </method>
    <method name="CanSuspend">
      <arg name="value" direction="out" type="b" />
    </method>
    <method name="Suspend">
      <arg name="value" direction="out" type="b" />
    </method>
    <method name="CanHibernate">
      <arg name="value" direction="out" type="b" />
    </method>
    <method name="Hibernate">
      <arg name="value" direction="out" type="b" />
    </method>
    <method name="CanHybridSuspend">
      <arg name="value" direction="out" type="b" />
    </method>
    <method name="HybridSuspend">
      <arg name="value" direction="out" type="b" />
    </method>
    <method name="CanSetHibernationMethod">
      <arg name="value" direction="out" type="b" />
    </method>
    <method name="SetHibernationMethod">
      <arg name="method" direction="in" type="s" />
      <arg name="value" direction="out" type="b" />
    </method>
  </interface>
  <interface name="org.freedesktop.DBus.Properties">
    <method name="Get">
      <arg name="interface" type="s" direction="in"/>
      <arg name="name" type="s" direction="in"/>
      <arg name="value" type="v" direction="out"/>
    </method>
    <method name="Set">
      <arg name="interface" type="s" direction="in"/>
      <arg name="name" type="s" direction="in"/>
      <arg name="value" type="v" direction="in"/>
    </method>
    <method name="GetAll">
      <arg name="interface" type="s" direction="in"/>
      <arg name="properties" type="a{sv}" direction="out"/>
    </method>
    <signal name="PropertiesChanged">
      <arg name="interface" type="s"/>
      <arg name="changed_properties" type="a{sv}"/>
      <arg name="invalidated_properties" type="as"/>
    </signal>
  </interface>
</node>