summaryrefslogtreecommitdiff
path: root/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/sensors/phosphor-hwmon%/start_max31785_hwmon.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-08-23[Subtree] Bring openbmc machines to top levelDave Cobbley1-26/+0
The new subtree model brings the subtrees up from the openbmc-machines layer. Change-Id: I58a03ae1be374bc79ae1438e65e888375d12d0c0 Signed-off-by: Dave Cobbley <david.j.cobbley@linux.intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-05-22wspoon: Copy in the MAX31785 hwmon config fileMatt Spinler1-2/+2
The code will now copy the correct air or water cooled config file to the correct name so phosphor-hwmon can find it. It was just a link before, but that would cause problems with code updates as this directory is preserved, so if older code was put back on the link would point to nothing and phosphor-hwmon would never start for the MAX31785. Now with the copy the old code can still pick up this file. The only hole this has is if someone goes from the new code back to the old code, and then swaps air/water cooling, as the old code will then pick up the config file generated by the newer code, which now won't match the actual config. This would be a very unlikely scenario. Change-Id: I45db3c3ac8265caae30163a4e90035189e861e82 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2018-05-02wspoon: Script to help start MAX31785 hwmon daemonMatt Spinler1-0/+26
The phosphor-hwmon instance for the MAX31785 fan controller chip needs to use different config files based on if the system is air or water cooled, since different numbers of fans are used. This script will check the cooling type, link in the correct file based on that cooling type, and then start the actual hwmon service. Tested: Tested as part of end to end testing of this feature. Change-Id: Ie3efee5d3c6671911b505223152d32f3f5c5c259 Signed-off-by: Matt Spinler <spinler@us.ibm.com>