You are not logged in.

#1 2021-09-24 12:24:27

agus
Member
Registered: 2021-09-24
Posts: 2

Cannot read values from lm_sensors with Gigabyte B450M

Hi everyone, I don't like asking for help on the forums, but I've tried everything and I'm out of options.

I have a Gigabyte B450M  combined with a Ryzen 5700g, I can't read temperate values correctly.

Output from sensors-detect:

Driver `to-be-written':
  * ISA bus, address 0xa40
    Chip `ITE IT8686E Super IO Sensors' (confidence: 9)

Note: there is no driver for ITE IT8686E Super IO Sensors yet.
Check https://hwmon.wiki.kernel.org/device_support_status for updates.

What I've tried (steps from the arch wiki):

1. Added the kernel parameters

acpi_enforce_resources=lax

2. Installed  it87-dkms-git from the AUR
3. Tried loading the module with

modprobe it87 force_id=0x8686

, even though 8686 is the correct id, I get this output

 modprobe: ERROR: could not insert 'it87': No such device 

4. Out of curiosity, I tried a few different ids, this one kinda worked

modprobe it87 force_id=0x8620

5. Now I get the following output from sensors

Adapter: ISA adapter
in0:          72.00 mV (min =  +0.00 V, max =  +3.06 V)
in1:           2.04 V  (min =  +0.00 V, max =  +3.06 V)
in2:           2.03 V  (min =  +0.00 V, max =  +3.06 V)
in3:           2.03 V  (min =  +0.00 V, max =  +3.06 V)
in4:         840.00 mV (min =  +0.00 V, max =  +3.06 V)
in5:         900.00 mV (min =  +0.00 V, max =  +3.06 V)
in6:           1.21 V  (min =  +0.00 V, max =  +3.06 V)
3VSB:          3.26 V  (min =  +0.00 V, max =  +6.12 V)
Vbat:          3.05 V  
fan1:         796 RPM  (min =    0 RPM)
fan2:           0 RPM  (min =    0 RPM)
temp1:        +24.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp2:        +41.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp3:        +26.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = disabled
temp4:        +14.0°C  
temp5:        +35.0°C  
temp6:        +35.0°C  
intrusion0:  ALARM

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +16.8°C  (crit = +20.8°C)

amdgpu-pci-0700
Adapter: PCI adapter
vddgfx:      874.00 mV 
vddnb:       843.00 mV 
edge:         +24.0°C  
power1:      1000.00 uW 

nvme-pci-0600
Adapter: PCI adapter
Composite:    +28.9°C  (low  =  -5.2°C, high = +79.8°C)
                       (crit = +84.8°C)


However, I don't know what hardware component any of those tempX values belong to, also I should be seeing temperatures values for each of the 8 cores.

I also tried loading the k10temp module, but it didn't help.

My question is:
Is it possible to get a normal output or is there an alternative to read my cpu's temperatures.

Last edited by agus (2021-09-24 12:39:23)

Offline

#2 2021-09-24 14:05:23

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: Cannot read values from lm_sensors with Gigabyte B450M

It's normal that you don't get good names for "temp1" etc. You will have to guess what the entries are about. One of them is hopefully about the CPU temperature.

If you are able to find out what the temp1 etc. entries mean, you can change the output of the "sensors" command with your own file in /etc/sensors.d/. You can look at the contents of the file "/etc/sensors3.conf" to see an example of how files in /etc/sensors.d/ work. You start with a line like 'chip "it87-*"' and then add indented lines like 'label in0 "CPU Vcore"' or 'label temp1 "Motherboard"' to give the entries your own names.

For the CPU temperatures, there's a separate driver. For Intel there's "coretemp" and for AMD there's "k10temp". Maybe your CPU isn't supported by k10temp because it's too new? You'll have to wait for a newer kernel version.

Offline

#3 2021-09-24 14:20:21

frostschutz
Member
Registered: 2013-11-15
Posts: 1,647

Re: Cannot read values from lm_sensors with Gigabyte B450M

the 5700G temperature reading probably only works with kernel 5.15 +

AMD Zen 3 APU Temperature Monitoring Narrowly Misses Linux 5.14

Offline

#4 2021-09-24 16:35:23

agus
Member
Registered: 2021-09-24
Posts: 2

Re: Cannot read values from lm_sensors with Gigabyte B450M

Thanks for the replies, they were very useful, in my case, it looks like temp5 is the cpu's temperature, and while k10temp is not working right now, I hope it will in future kernel releases.

Offline

Board footer

Powered by FluxBB