blob: 466fc031390d5321eddef4ce60747306599341e4 [file] [log] [blame]
Kuiying Wang4132f4b2018-06-26 11:52:34 +08001description: >
2 Power button control service
3methods:
4 - name: simPress
5 description: >
6 Emulate power button press.
7 errors:
8 - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
9 - xyz.openbmc_project.Chassis.Common.Error.IOError
10
11 - name: simLongPress
12 description: >
13 Emulate power button long press.
14 errors:
15 - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
16 - xyz.openbmc_project.Chassis.Common.Error.IOError
17
Kuiying Wang3a516872018-12-26 16:14:00 +080018properties:
19 - name: Enabled
20 type: boolean
21 default: true
22 description: >
23 Enable/disable power button.
24 false means power button is disabled
25 true means power button is enabled
26 errors:
27 - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand
28 - xyz.openbmc_project.Chassis.Common.Error.IOError
29
Kuiying Wang4132f4b2018-06-26 11:52:34 +080030signals:
31 - name: Released
32 description: >
33 Power button released signal
34 - name: Pressed
35 description: >
36 Power button pressed signal
37 - name: PressedLong
38 description: >
39 Power button long pressed signal