Linux & AMD B450: reading sensor values

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....

Linux & AMD B450: reading sensor values

Postby ^rooker » Mon Apr 27, 2020 11:15 pm

Hardware:
  • Mainboard: MSI Mortar B450M
  • Controller Chip: Nuvoton NCT6797D

Running "sensors" displayed at least 3 temperatures from the "k10temp" kernel module:
k10temp-pci-00c3
Adapter: PCI adapter
Tdie: +39.9°C (high = +70.0°C)
Tctl: +49.9°C


BUT: The [NCT6775 kernel driver](https://github.com/torvalds/linux/blob/ ... /nct6775.c) lists this controller chip as supported:
Code: Select all
Chip        #vin    #fan    #pwm    #temp  chip IDs       man ID
 * nct6797d    14      7       7       2+6    0xd450 0xc1    0x5ca3


So I manually loaded the kernel module:
Code: Select all
$ sudo modprobe -v nct6775


Running "sensors" again now looks a bit better:
Code: Select all
nct6797-isa-0a20
Adapter: ISA adapter
in0:                    +0.51 V  (min =  +0.00 V, max =  +1.74 V)
in1:                    +1.01 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in2:                    +3.39 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in3:                    +3.38 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in4:                    +1.01 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in5:                    +0.18 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in6:                    +0.86 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in7:                    +3.38 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in8:                    +3.33 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in9:                    +1.84 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in10:                   +0.00 V  (min =  +0.00 V, max =  +0.00 V)
in11:                   +0.62 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in12:                   +1.15 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in13:                   +0.69 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in14:                   +1.54 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
fan1:                     0 RPM  (min =    0 RPM)
fan2:                   944 RPM  (min =    0 RPM)
fan3:                   870 RPM  (min =    0 RPM)
fan4:                     0 RPM  (min =    0 RPM)
fan5:                     0 RPM  (min =    0 RPM)
SYSTIN:                 +39.0°C  (high = +80.0°C, hyst = +75.0°C)  sensor = CPU diode
CPUTIN:                 +35.0°C  (high = +115.0°C, hyst = +90.0°C)  sensor = thermistor
AUXTIN0:                +33.5°C  (high = +115.0°C, hyst = +90.0°C)  sensor = thermistor
AUXTIN1:               -128.0°C    sensor = thermistor
AUXTIN2:                +48.0°C    sensor = thermistor
AUXTIN3:                 -3.0°C    sensor = thermistor
SMBUSMASTER 0:          +50.0°C 
PCH_CHIP_CPU_MAX_TEMP:   +0.0°C 
PCH_CHIP_TEMP:           +0.0°C 
PCH_CPU_TEMP:            +0.0°C 
intrusion0:            ALARM
intrusion1:            ALARM
beep_enable:           disabled


Making it persistent:
To load the kernel module automatically after reboot, copy the following contents into "/etc/modules-load.d/sensors.conf":
Code: Select all
# Module to support NUVOTON NCT6797D controller chip:
nct6775



Links:

Additional, optional information:

Running sensors-detect, answering everything with yes, or this:
Code: Select all
$ sudo sensors-detect --auto


Finds no sensors. Even after loading the nct6775 module:
Sorry, no sensors were detected.
Either your system has no sensors, or they are not supported, or
they are connected to an I2C or SMBus adapter that is not
supported. If you find out what chips are on your board, check
http://www.lm-sensors.org/wiki/Devices for driver status.
  • 0

Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
User avatar
^rooker
Site Admin
 
Posts: 1446
Joined: Fri Aug 29, 2003 8:39 pm
Reputation: 0

Return to Knowledge Base

Who is online

Users browsing this forum: No registered users and 3 guests

Who is online over last 24 hours

Users browsed this forum in the last 24 hours: Bing [Bot] and 25 guests

cron
Reputation System ©'