| commit | 8014eef1bb57f21800b5c5c4df2cc8c1b580a16b | [log] [tgz] |
|---|---|---|
| author | Matt Spinler <spinler@us.ibm.com> | Wed Apr 25 11:26:08 2018 -0500 |
| committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Wed May 02 16:56:54 2018 +0000 |
| tree | e14c918033febae44739423441b0e4fd0ed4c979 | |
| parent | 559d0a80c5bb576ac4c6d2088d51d0e653bf46af [diff] |
wspoon: Start hwmon differently for the MAX31785
Add a new udev rule to start the phosphor-hwmon instance for
the MAX31785 fan controller differently than other hwmon devices.
Also introduce different hwmon config files for air and water cooled
systems where the water cooled system doesn't use fan 1.
The new udev rule starts a service that will check the cooling type
and then link in the appropriate config file before starting the
actual phosphor-hwmon service.
Note that this phosphor-hwmon service is still stopped the same as
any other phosphor-hwmon service.
Tested: Test that phosphor-hwmon is started using the correct
config files on air and water cooled systems.
Change-Id: Ia93d97df024e7b6bff5eb379ddea4730fe34b55b
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
meta-openpower is the OpenPOWER layer and should be included in all OpenPOWER systems' bblayers.conf. More information on OpenPOWER can be found here.