-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
device: netberg: Add sensors.conf and update platform modules package
Now hardware monitoring platform driver implements lm-sensors compatible sysfs ABI we can add sensors.conf file to describe various platforms features with their subfeatures to sensord(8) running in pmon container. Now both sensors(1) and "show environment" work well from SONiC cmdline. Note that hardware_monitor platform driver is in change of controlling FAN speed and implements thermal policy: there is no need in fancontrol configuration for platforms handled by this driver. Adjust platform modules package version and update submodules reference. Signed-off-by: Sergey Popovich <sergey.popovich@ordnance.co>
- Loading branch information
1 parent
81436c3
commit 230880c
Showing
7 changed files
with
709 additions
and
99 deletions.
There are no files selected for viewing
60 changes: 60 additions & 0 deletions
60
device/netberg/x86_64-netberg_aurora_420_rangeley-r0/sensors.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# This is lm-sensors configuration file for Netberg Aurora 420 switch. | ||
# | ||
# Label names are taken from "Specification of Hardware Monitoring | ||
# Driver for Open Network Linux" guide (filename: HW_monitoring_ONL.pdf). | ||
# | ||
# Assume following hardware monitoring modules loaded: | ||
# | ||
# hardware_monitor - implements HURACAN (w83795adg based) sensor, | ||
# fan control, watchdog and SFP control. | ||
# jc42 - DIMM temperature sensor (?) | ||
# coretemp - Processor cores temperature sensor | ||
# | ||
|
||
bus "i2c-1" "SMBus iSMT adapter at dff38000" | ||
bus "i2c-0" "SMBus I801 adapter at f000" | ||
|
||
chip "jc42-i2c-0-*" | ||
label temp1 "DIMM Temp" | ||
set temp1_max 50 | ||
set temp1_crit 85 | ||
|
||
chip "HURACAN-i2c-0-2f" | ||
# 6.1.2. For Aurora 420 platform, p.31 | ||
label in1 "ROV" | ||
label in4 "1V" | ||
label in5 "1.8V" | ||
label in7 "1.25V" | ||
|
||
# 2.1. Temperature, p.7 | ||
label temp1 "After MAC" | ||
label temp2 "Before MAC" | ||
# MAC Temp is set by application | ||
label temp10 "MAC" | ||
|
||
chip "HURACAN-i2c-1-70" | ||
# 2.3.4. VOUT, p.11 | ||
label in12 "PSU1_VOUT" | ||
label in22 "PSU2_VOUT" | ||
|
||
# 2.3.5. IOUT, p.11 | ||
label curr12 "PSU1_IOUT" | ||
label curr22 "PSU2_IOUT" | ||
|
||
# 2.3.9. PIN, p.12 | ||
label power11 "PSU1_PIN" | ||
label power21 "PSU2_PIN" | ||
|
||
# 2.3.8. POUT, p.12 | ||
label power12 "PSU1_POUT" | ||
label power22 "PSU2_POUT" | ||
|
||
# 2.3.6. TEMPERATURE, p.11 | ||
label temp11 "PSU1_TEMP1" | ||
label temp12 "PSU1_TEMP2" | ||
label temp21 "PSU2_TEMP1" | ||
label temp22 "PSU2_TEMP2" | ||
|
||
# 2.3.7. FAN SPEED, p.11 | ||
label fan11 "PSU1_FAN" | ||
label fan21 "PSU2_FAN" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
platform/broadcom/sonic-platform-modules-netberg/debian/changelog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.