summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/sensors/phosphor-hwmon
Commit message (Collapse)AuthorAgeFilesLines
* Enable BMC patching from the /usr/local pathMichael Tritz2017-08-242-2/+4
| | | | | | | | | | | | | | | | | This commit enables patches from the /usr/local path by replacing absolute paths to /usr/sbin or /usr/bin in every service file with "/usr/bin/env ". Additionally, SyslogIdentifier is added to each file to ensure that journal entries are still distinct. In two cases, service files also had to change due to references to ${{PATH}}, which doesn't work with /usr/bin/env. These references - and the corresponding definitions - were changed to ${{DEVPATH}}. Resolves openbmc/openbmc#2149 Change-Id: I12c5c6e5101eef6820b985a563313836250ff2c7 Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
* sensors: Add max31785 MSL checking packageBrad Bishop2017-08-241-0/+10
| | | | | | | | | | | | | The phosphor-hwmon project recently added a script for setting the MSL (Minimum Ship Level) on an inventory item given specific MAX31785 firmware revision criteria. Add a package for this script. The package is not installed by default - machine implementations must pick it up themselves and configure when it runs and the script parameters (inventory items, i2c address, revision...) accordingly. Change-Id: I71aa589ad86b913d5a0637955817046b9d8de15f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Ensure hwmon doesn't start before object mapper availableAndrew Geissler2017-07-261-0/+1
| | | | | | | Resolves openbmc/openbmc#2029 Change-Id: I978ddbeb773d22c77d4ee164b61c9f6fb15252bb Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Add udev rule file for iio-hwmon type driversBrandon Wyman2017-06-261-0/+1
| | | | | | | Resolves openbmc/openbmc#1825 Change-Id: I67e254c6fccd74cd4334dc57a5698074a7183968 Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
* Add StopWhenUnneeded to hwmon sd unitBrad Bishop2017-03-011-0/+1
| | | | | | | | The net effect is that systemd will stop the unit when a udev remove event occurs. Change-Id: I89413770b01c236caef74ca8af21d3b05845db45 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add hwmon systemd unit and udev ruleBrad Bishop2017-01-192-0/+9
The udev rule invokes phosphor-hwmon with the devicetree path of the hwmon device. The systemd unit is a templated on the devicetree path, which is forwarded directly to phosphor-hwmon. The phosphor-hwmon environment file is also templated, so environment files must be placed in a devicetree like-named directory tree under /etc/defaults/obmc/hwmon/<dtreepath>.conf Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I5001f03ace34cb4e39c82270a98c0c3c902a6e63
OpenPOWER on IntegriCloud