Kuiying Wang | 4132f4b | 2018-06-26 11:52:34 +0800 | [diff] [blame] | 1 | description: > |
| 2 | Power button control service |
| 3 | methods: |
| 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 | |
| 18 | signals: |
| 19 | - name: Released |
| 20 | description: > |
| 21 | Power button released signal |
| 22 | - name: Pressed |
| 23 | description: > |
| 24 | Power button pressed signal |
| 25 | - name: PressedLong |
| 26 | description: > |
| 27 | Power button long pressed signal |