[PATCH skeleton v4 15/18] Workarounf for fan PWM 100%

OpenBMC Patches openbmc-patches at stwcx.xyz
Mon Nov 23 12:20:27 AEDT 2015


From: Ken <ken.sk.lai at mail.foxconn.com>

---
 bin/startup_hacks.sh | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/bin/startup_hacks.sh b/bin/startup_hacks.sh
index 18582ae..214e08d 100755
--- a/bin/startup_hacks.sh
+++ b/bin/startup_hacks.sh
@@ -2,3 +2,24 @@
 
 systemctl stop serial-getty at ttyS0
 
+<<<<<<< HEAD
+=======
+echo nct7904 0x2e > /sys/bus/i2c/devices/i2c-6/new_device
+echo nct7904 0x2d > /sys/bus/i2c/devices/i2c-6/new_device
+
+echo 0x2d > /sys/bus/i2c/devices/i2c-6/delete_device
+echo 0x2e > /sys/bus/i2c/devices/i2c-6/delete_device
+
+echo nct7904 0x2e > /sys/bus/i2c/devices/i2c-6/new_device
+echo nct7904 0x2d > /sys/bus/i2c/devices/i2c-6/new_device
+
+echo 255 > /sys/class/hwmon/hwmon1/pwm1
+echo 255 > /sys/class/hwmon/hwmon1/pwm2
+echo 255 > /sys/class/hwmon/hwmon1/pwm3
+echo 255 > /sys/class/hwmon/hwmon1/pwm4
+
+echo 255 > /sys/class/hwmon/hwmon2/pwm1
+echo 255 > /sys/class/hwmon/hwmon2/pwm2
+echo 255 > /sys/class/hwmon/hwmon2/pwm3
+echo 255 > /sys/class/hwmon/hwmon2/pwm4
+>>>>>>> Workarounf for fan PWM 100%
-- 
2.6.3




More information about the openbmc mailing list