summaryrefslogtreecommitdiffstats
path: root/fanctl/Makefile
diff options
context:
space:
mode:
authorYi Li <adamliyi@msn.com>2016-08-03 11:09:55 +0800
committerPatrick Williams <patrick@stwcx.xyz>2016-10-07 02:56:12 +0000
commit2f3213f9e0ede2f9a58bf2e912d5205300ce4bb2 (patch)
treebce9776bca9b09e1e744e09155e1a70fe09d32fd /fanctl/Makefile
parent3205742d8f5371c12e376ec2b387dda81663213e (diff)
downloadtalos-skeleton-2f3213f9e0ede2f9a58bf2e912d5205300ce4bb2.tar.gz
talos-skeleton-2f3213f9e0ede2f9a58bf2e912d5205300ce4bb2.zip
Add fanctl to skeleton
fanctl replaces pyfanctl. It provides fan control service with dbus object "/org/openbmc/control/fans". Currently there are two methods: setMax() to set all fans' speed to maximum, and updatePresent() to update the "Present" status of inventory objects: "/org/openbmc/inventory/system/chassis/fan*". In future, more methods will be added, like setting fan speed based on temperature sensor reading. Fixes openbmc/openbmc#93 Change-Id: Ic65089f5d0538cd5e17cfcd9f27e652ae6080ec5 Signed-off-by: Yi Li <adamliyi@msn.com>
Diffstat (limited to 'fanctl/Makefile')
-rw-r--r--fanctl/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/fanctl/Makefile b/fanctl/Makefile
new file mode 100644
index 0000000..a02b1a6
--- /dev/null
+++ b/fanctl/Makefile
@@ -0,0 +1,3 @@
+BINS=fan_control
+include ../sdbus.mk
+include ../rules.mk
OpenPOWER on IntegriCloud