commit | 3dc3558944da95b8b288fa1afc3aaa96d273383d | [log] [tgz] |
---|---|---|
author | Jeremy Kerr <jk@ozlabs.org> | Sun May 17 15:47:07 2020 +0800 |
committer | Tom Joseph <tomjoseph@in.ibm.com> | Wed May 27 05:18:38 2020 +0000 |
tree | f9ffa10f7ac9bebffed8d97cd2938f1f5f7316a0 | |
parent | 4d623e98935268b7ae747e9249b6bf31dc6acb06 [diff] |
sensordatahandler: enable scanning on assertion sensors Currently, only readingData type sensors will call enableScanning to indicate (in the IPMI response) that the sensor is enabled. From the IPMI spec v2: System software must ignore any sensor that has the sensor scanning bit disabled - if system software didn’t disable the sensor. - and ipmitool will report that the sensor is disabled if the response does not have this bit set. This means that only the readingData type sensors work at the moment. This change calls enableScanning() for the assertion, readingAssertion, and eventdata2 sensor types too. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Change-Id: Ifafdbf03bdf7690b9e263ab480ac79d27ed9b1a4
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
.