sonic-buildimage/device/arista/x86_64-arista_7050_qx32/sensors.conf
Samuel Angebault 26afa348ea [device] Misc fixes for Arista platforms (#1844)
* Update sensors.conf for 7050QX-32 and 7050QX-32S

These two platforms were using a previous version of a kernel driver.
The new one names the i2c buses differently.
We therefore need to rename them here.

* Fix the default minigraph for the 7050QX-32S

The interface offset is invalid which makes sonic-cfggen generate an
invalid config_db.jon in rc.local.
This config then silently makes orchagent/syncd fail.

* Use the partition on which sonic-aboot.swi is

Instead of always assuming /mnt/flash, use the partition where the image
to be installed lies.
This allow for the image to be on any partition.
2018-07-05 14:30:57 -07:00

83 lines
2.0 KiB
Plaintext

# libsensors configuration file for DCS-7050QX-32
# ------------------------------------------------
#
bus "i2c-2" "SCD 0000:04:00.0 SMBus master 0 bus 0"
bus "i2c-3" "SCD 0000:04:00.0 SMBus master 0 bus 1"
bus "i2c-5" "SCD 0000:04:00.0 SMBus master 0 bus 3"
bus "i2c-6" "SCD 0000:04:00.0 SMBus master 0 bus 4"
bus "i2c-7" "SCD 0000:04:00.0 SMBus master 0 bus 5"
chip "k10temp-pci-00c3"
label temp1 "Cpu temp sensor"
chip "lm73-i2c-3-48"
label temp1 "Back panel temp sensor"
set temp1_max 65
#set temp1_max_alarm 75 # read-only
chip "max6658-i2c-2-4c"
label temp1 "Board temp sensor"
set temp1_max 65
set temp1_crit 75
label temp2 "Front panel temp sensor"
set temp2_max 65
set temp2_crit 75
# disabled because of some eeprom corruption risks
#chip "pmbus-i2c-3-4e"
# label temp1 "Power controller sensor 1"
# set temp1_max 60
# set temp1_crit 70
# label temp2 "Power controller sensor 2"
# set temp2_max 60
# set temp2_crit 70
# ignore curr1
chip "dps460-i2c-5-58"
label temp1 "Power supply 1 inlet temp sensor"
# maximum and critical thresholds are not supported for this psu
set temp1_max 60
set temp1_crit 70
label temp2 "Power supply 1 internal sensor"
set temp2_max 60
set temp2_crit 70
ignore temp3
set in1_max 250
set in1_crit 255
set power1_max 525
set power2_max 460
set power2_crit 462
set curr1_max 5.28
set curr1_crit 5.30
set curr2_max 36
set curr2_crit 37
chip "dps460-i2c-6-58"
label temp1 "Power supply 2 inlet temp sensor"
# maximum and critical thresholds are not supported for this psu
set temp1_max 60
set temp1_crit 70
label temp2 "Power supply 2 internal sensor"
set temp2_max 60
set temp2_crit 70
ignore temp3
set in1_max 250
set in1_crit 255
set power1_max 525
set power2_max 460
set power2_crit 462
set curr1_max 5.28
set curr1_crit 5.30
set curr2_max 36
set curr2_crit 37