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 | a134741 | 2022-12-06 10:56:22 -0600 | [diff] [blame] | 16 | Enable/disable reset button. false means reset button is disabled true |
| 17 | means reset button is enabled |
Kuiying Wang | 3a51687 | 2018-12-26 16:14:00 +0800 | [diff] [blame] | 18 | errors: |
Patrick Williams | 8da396c | 2022-03-14 14:21:02 -0500 | [diff] [blame] | 19 | - xyz.openbmc_project.Chassis.Common.Error.UnsupportedCommand |
| 20 | - xyz.openbmc_project.Chassis.Common.Error.IOError |
Kuiying Wang | 3a51687 | 2018-12-26 16:14:00 +0800 | [diff] [blame] | 21 | |
Kuiying Wang | 4132f4b | 2018-06-26 11:52:34 +0800 | [diff] [blame] | 22 | signals: |
| 23 | - name: Released |
| 24 | description: > |
Patrick Williams | 8da396c | 2022-03-14 14:21:02 -0500 | [diff] [blame] | 25 | Reset button released signal |
Kuiying Wang | 4132f4b | 2018-06-26 11:52:34 +0800 | [diff] [blame] | 26 | - name: Pressed |
| 27 | description: > |
Patrick Williams | 8da396c | 2022-03-14 14:21:02 -0500 | [diff] [blame] | 28 | Reset button pressed signal |