From e1968f518b48a549d7fdff6f4a64bd2f41a07c3f Mon Sep 17 00:00:00 2001 From: Boyang Yu Date: Thu, 6 Feb 2020 10:24:04 -0800 Subject: [PATCH] Add fancontrol for arista 7050cx3 --- device/arista/x86_64-arista_7050cx3_32s/fancontrol | 10 ++++++++++ device/arista/x86_64-arista_7050cx3_32s/sensors.conf | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 device/arista/x86_64-arista_7050cx3_32s/fancontrol diff --git a/device/arista/x86_64-arista_7050cx3_32s/fancontrol b/device/arista/x86_64-arista_7050cx3_32s/fancontrol new file mode 100644 index 00000000000..913075f73d1 --- /dev/null +++ b/device/arista/x86_64-arista_7050cx3_32s/fancontrol @@ -0,0 +1,10 @@ +INTERVAL=5 +DEVPATH=hwmon4=devices/pci0000:00/0000:00:02.2/0000:02:00.0/i2c-11/11-004c hwmon3=devices/pci0000:00/0000:00:02.2/0000:02:00.0/i2c-2/2-0060 +DEVNAME=hwmon4=max6658 hwmon3=crow_cpld +FCTEMPS=hwmon3/pwm4=hwmon4/temp1_input hwmon3/pwm3=hwmon4/temp1_input hwmon3/pwm2=hwmon4/temp1_input hwmon3/pwm1=hwmon4/temp1_input +FCFANS=hwmon3/pwm4=hwmon3/fan4_input hwmon3/pwm3=hwmon3/fan3_input hwmon3/pwm2=hwmon3/fan2_input hwmon3/pwm1=hwmon3/fan1_input +MINTEMP=hwmon3/pwm4=40 hwmon3/pwm3=40 hwmon3/pwm2=40 hwmon3/pwm1=40 +MINPWM=hwmon3/pwm4=179 hwmon3/pwm3=179 hwmon3/pwm2=179 hwmon3/pwm1=179 +MAXTEMP=hwmon3/pwm4=50 hwmon3/pwm3=50 hwmon3/pwm2=50 hwmon3/pwm1=50 +MINSTART=hwmon3/pwm4=179 hwmon3/pwm3=179 hwmon3/pwm2=179 hwmon3/pwm1=179 +MINSTOP=hwmon3/pwm4=179 hwmon3/pwm3=179 hwmon3/pwm2=179 hwmon3/pwm1=179 diff --git a/device/arista/x86_64-arista_7050cx3_32s/sensors.conf b/device/arista/x86_64-arista_7050cx3_32s/sensors.conf index 9501656fb9a..c63a526124d 100644 --- a/device/arista/x86_64-arista_7050cx3_32s/sensors.conf +++ b/device/arista/x86_64-arista_7050cx3_32s/sensors.conf @@ -21,8 +21,8 @@ chip "max6658-i2c-2-4c" chip "max6658-i2c-11-4c" label temp1 "Board temp sensor" - set temp1_max 55 - set temp1_crit 70 + set temp1_max 75 + set temp1_crit 85 label temp2 "Front panel temp sensor" set temp2_max 60