Kuiying Wang | 4132f4b | 2018-06-26 11:52:34 +0800 | [diff] [blame] | 1 | description: > |
| 2 | Reset button control service |
| 3 | methods: |
| 4 | - name: simPress |
| 5 | description: > |
Patrick Williams | 8da396c | 2022-03-14 14:21:02 -0500 | [diff] [blame] | 6 | Emulate reset button press. |
Kuiying Wang | 4132f4b | 2018-06-26 11:52:34 +0800 | [diff] [blame] | 7 | errors: |
Patrick Williams | 8da396c | 2022-03-14 14:21:02 -0500 | [diff] [blame] | 8 | - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand |
| 9 | - xyz.openbmc_project.Chassis.Common.Error.IOError |
Kuiying Wang | 4132f4b | 2018-06-26 11:52:34 +0800 | [diff] [blame] | 10 | |
Kuiying Wang | 3a51687 | 2018-12-26 16:14:00 +0800 | [diff] [blame] | 11 | properties: |
| 12 | - name: Enabled |
| 13 | type: boolean |
| 14 | default: true |
| 15 | description: > |
Patrick Williams | 8da396c | 2022-03-14 14:21:02 -0500 | [diff] [blame] | 16 | Enable/disable reset button. |
| 17 | false means reset button is disabled |
| 18 | true means reset button is enabled |
Kuiying Wang | 3a51687 | 2018-12-26 16:14:00 +0800 | [diff] [blame] | 19 | errors: |
Patrick Williams | 8da396c | 2022-03-14 14:21:02 -0500 | [diff] [blame] | 20 | - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand |
| 21 | - xyz.openbmc_project.Chassis.Common.Error.IOError |
Kuiying Wang | 3a51687 | 2018-12-26 16:14:00 +0800 | [diff] [blame] | 22 | |
Kuiying Wang | 4132f4b | 2018-06-26 11:52:34 +0800 | [diff] [blame] | 23 | signals: |
| 24 | - name: Released |
| 25 | description: > |
Patrick Williams | 8da396c | 2022-03-14 14:21:02 -0500 | [diff] [blame] | 26 | Reset button released signal |
Kuiying Wang | 4132f4b | 2018-06-26 11:52:34 +0800 | [diff] [blame] | 27 | - name: Pressed |
| 28 | description: > |
Patrick Williams | 8da396c | 2022-03-14 14:21:02 -0500 | [diff] [blame] | 29 | Reset button pressed signal |