update fan pwm
diff --git a/bin/Barreleye.py b/bin/Barreleye.py
index 8562187..5a6b457 100755
--- a/bin/Barreleye.py
+++ b/bin/Barreleye.py
@@ -26,7 +26,7 @@
EXIT_STATE_DEPEND = {
'BASE_APPS' : {
'/org/openbmc/sensors': 0,
- '/org/openbmc/sensors/speed/fan6': 0,
+ '/org/openbmc/sensors/speed/fan5': 0,
},
'BMC_STARTING' : {
'/org/openbmc/control/chassis0': 0,
@@ -68,7 +68,7 @@
APPS = {
'startup_hacks' : {
'system_state' : 'BASE_APPS',
- 'start_process' : True,
+ 'start_process' : False,
'monitor_process' : False,
'process_name' : 'startup_barreleye.sh',
},
@@ -162,8 +162,8 @@
},
'hwmon_barreleye' : {
'system_state' : 'BASE_APPS',
- 'start_process' : True,
- 'monitor_process' : True,
+ 'start_process' : False,
+ 'monitor_process' : False,
'process_name' : 'hwmons_barreleye.exe',
}
}
diff --git a/bin/fan_control.py b/bin/fan_control.py
index 87dc7a9..6b645d7 100755
--- a/bin/fan_control.py
+++ b/bin/fan_control.py
@@ -14,12 +14,12 @@
FAN_BUS = 'org.openbmc.sensors.hwmon'
FAN_OBJS = [
+ '/org/openbmc/sensors/speed/fan0',
'/org/openbmc/sensors/speed/fan1',
'/org/openbmc/sensors/speed/fan2',
'/org/openbmc/sensors/speed/fan3',
'/org/openbmc/sensors/speed/fan4',
'/org/openbmc/sensors/speed/fan5',
- '/org/openbmc/sensors/speed/fan6',
]
FAN_IFACE = 'org.openbmc.SensorValue'
diff --git a/objects/hwmons_barreleye.c b/objects/hwmons_barreleye.c
index 663e676..af25986 100644
--- a/objects/hwmons_barreleye.c
+++ b/objects/hwmons_barreleye.c
@@ -87,7 +87,7 @@
g_print("ERROR: Unable to read value: %s\n",filename);
} else {
guint32 value = atoi(buf);
- g_print("%s = %d\n",filename,value);
+ //g_print("%s = %d\n",filename,value);
GVariant* v = NEW_VARIANT_U(value);
sensor_value_set_value(sensor,v);
}