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>
1 file changed