| commit | 21addc5793368ea3bf28b365f71fdab2b4b776d5 | [log] [tgz] |
|---|---|---|
| author | Kuiying Wang <kuiying.wang@intel.com> | Fri Jan 04 10:50:21 2019 +0800 |
| committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Thu May 14 19:59:59 2020 +0000 |
| tree | 666e49063c7677857e466e550239693f698db276 | |
| parent | fa6e2092c1e7b5998f04df0ae695b2a9b0b5a5ed [diff] |
Implement set front panel button enables command
The buttons D-Bus interface offers an Enabled option that can be
used by IPMI to change the button enabled state.
This adds support for disabling the power and reset buttons.
Test-By: ipmitool raw 0x0 0xa 0x2 # disable reset button
ipmitool raw 0x0 0xa 0x1 # disable power button
ipmitool raw 0x0 0xa 0x0 # enable all buttons
ipmitool raw 0x0 0x01 # check button status in byte 5
Change-Id: I3d40261f4e7b4eb82606a3d7a9e861e12ca18151
Signed-off-by: Kuiying Wang <kuiying.wang@intel.com>
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
To build this package, do the following steps:
1. ./bootstrap.sh
2. ./configure ${CONFIGURE_FLAGS}
3. make
To clean the repository run ./bootstrap.sh clean.