Sensors: ACPI Adapter mssing

I have just installed OpenSUSE Leap 42.1 on a new computer. Trying to read the sensors, but the ACPI Adapter is missing
On my old computer also running Leap I get the following sensor data:


djviking@mintaka:~> sensors
atk0110-acpi-0
Adapter: ACPI interface
Vcore Voltage:       +1.09 V  (min =  +0.80 V, max =  +1.60 V)
 +3.3 Voltage:       +3.34 V  (min =  +2.97 V, max =  +3.63 V)
 +5 Voltage:         +5.04 V  (min =  +4.50 V, max =  +5.50 V)
 +12 Voltage:       +12.26 V  (min = +10.20 V, max = +13.80 V)
CPU FAN Speed:      2008 RPM  (min =  600 RPM, max = 7200 RPM)
CHASSIS1 FAN Speed:    0 RPM  (min =  600 RPM, max = 7200 RPM)
CHASSIS2 FAN Speed:    0 RPM  (min =  600 RPM, max = 7200 RPM)
CHASSIS3 FAN Speed:    0 RPM  (min =  600 RPM, max = 7200 RPM)
POWER FAN Speed:       0 RPM  (min =  600 RPM, max = 7200 RPM)
CPU Temperature:     +37.0°C  (high = +60.0°C, crit = +95.0°C)
MB Temperature:      +49.0°C  (high = +45.0°C, crit = +95.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +36.0°C  (high = +76.0°C, crit = +100.0°C)
Core 1:       +35.0°C  (high = +76.0°C, crit = +100.0°C)

On my new computer all I get is the ISA Adapter. Both installations have installed the package acpica.

Got some information on ASRock forum. Looks like ACPI is the old way and is not used anymore. My motherboard ASRock Fatal1ty X99X Killer has the Nuvoton sensor chip.

Running sensors-detect:


Now follows a summary of the probes I have just done.
Just press ENTER to continue:  

Driver `nct6775':
  * ISA bus, address 0x290
    Chip `Nuvoton NCT6791D Super IO Sensors' (confidence: 9)

Driver `coretemp':
  * Chip `Intel digital thermal sensor' (confidence: 9)

Do you want to generate /etc/sysconfig/lm_sensors? (YES/no): YES
Copy prog/init/lm_sensors.init to /etc/init.d/lm_sensors
for initialization at boot time.
You should now start the lm_sensors service to load the required
kernel modules.

Unloading i2c-dev... OK
Unloading cpuid... OK

How do I get the information from this sensor chip? Do I perhaps need a newer Linux kernel?

I did find some files for this driver


**linux-l3hz:/home/djviking #** find / | grep nct6775
/usr/src/linux-4.1.27-27-obj/x86_64/default/include/config/sensors/**nct6775**.h
/lib/modules/4.1.12-1-default/kernel/drivers/hwmon/**nct6775**.ko
/lib/modules/4.1.27-27-default/kernel/drivers/hwmon/**nct6775**.ko

Did some more digging around for this nct6775 driver

**linux-l3hz:/home/djviking #** modinfo nct6775
filename:       /lib/modules/4.1.27-27-default/kernel/drivers/hwmon/nct6775.ko
license:        GPL
description:    NCT6106D/NCT6775F/NCT6776F/NCT6779D/NCT6791D/NCT6792D driver
author:         Guenter Roeck <linux@roeck-us.net>
srcversion:     390CF321A164C9657B8047A
depends:        hwmon-vid
intree:         Y
vermagic:       4.1.27-27-default SMP preempt mod_unload modversions  
signer:         openSUSE Secure Boot Signkey
sig_key:        03:32:FA:9C:BF:0D:88:BF:21:92:4B:0D:E8:2A:09:A5:4D:5D:EF:C8
sig_hashalgo:   sha256
parm:           force_id:Override the detected device ID (ushort)
parm:           fan_debounce:Enable debouncing for fan RPM signal (ushort)

After running sensors-detect again, the file /etc/sysconfig/lm_sensors added the Nuvoton driver
HWMON_MODULES=“coretemp nct6775”
Started the lm_sensors service and now I was able to get much more information from sensors:


nct6791-isa-0290
Adapter: ISA adapter
in0:                    +0.89 V  (min =  +0.00 V, max =  +1.74 V)
in1:                    +1.86 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in2:                    +3.34 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in3:                    +3.34 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in4:                    +1.37 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in5:                    +1.68 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in6:                    +0.89 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in7:                    +3.47 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in8:                    +3.36 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in9:                    +0.96 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in10:                   +1.30 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in11:                   +1.73 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in12:                   +1.36 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in13:                   +1.05 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in14:                   +0.14 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
fan1:                     0 RPM  (min =    0 RPM)
fan2:                  1439 RPM  (min =    0 RPM)
fan3:                     0 RPM  (min =    0 RPM)
fan4:                     0 RPM  (min =    0 RPM)
fan5:                     0 RPM  (min =    0 RPM)
fan6:                  1985 RPM
SYSTIN:                 +34.0°C  (high =  +0.0°C, hyst =  +0.0°C)  ALARM  sensor = thermistor
CPUTIN:                 +29.0°C  (high = +80.0°C, hyst = +75.0°C)  sensor = thermistor
AUXTIN0:                +32.0°C    sensor = thermistor
AUXTIN1:                +58.0°C    sensor = thermistor
AUXTIN2:                +18.0°C    sensor = thermistor
AUXTIN3:               +110.0°C    sensor = thermistor
PECI Agent 0:           +28.5°C  (high = +80.0°C, hyst = +75.0°C)
                                 (crit = +100.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

Though I think there should be more from this sensor not showing. I saw alot more information from a third party sensor program reading from Nuvoton sensor.

How can I get more human readable sensor names for in0-14. SYSTIN, AUXTIN0-4, FAN0-6
Would be great to know what kind of voltage the different in# values are, also which kind of fans the different fan# are.

I can see that the sensors get the names for each sensor parameter from the following location
/sys/devices/platform/nct6775.656/hwmon/hwmon1
Is there any way to change these to more human readable names?
/sys/devices/platform/nct6775.656/hwmon/hwmon1/temp1_label = SYSTIN = MB?
/sys/devices/platform/nct6775.656/hwmon/hwmon1/temp2_label = CPUIN = CPU
/sys/devices/platform/nct6775.656/hwmon/hwmon1/temp3_label = AUXTIN0 = ?

Wonder if Nuvoton has some kind of documentation for these. I could not find any.

On Mon 08 Aug 2016 05:46:01 PM CDT, DJViking wrote:

How can I get more human readable sensor names for in0-14. SYSTIN,
AUXTIN0-4, FAN0-6
Would be great to know what kind of voltage the different in# values
are, also which kind of fans the different fan# are.

I can see that the sensors get the names for each sensor parameter from
the following location
/sys/devices/platform/nct6775.656/hwmon/hwmon1
Is there any way to change these to more human readable names?
/sys/devices/platform/nct6775.656/hwmon/hwmon1/temp1_label = SYSTIN =
MB?
/sys/devices/platform/nct6775.656/hwmon/hwmon1/temp2_label = CPUIN = CPU
/sys/devices/platform/nct6775.656/hwmon/hwmon1/temp3_label = AUXTIN0 =
?

Wonder if Nuvoton has some kind of documentation for these. I could not
find any.

Hi
Customize /etc/sensors3.conf file… here is my current one for this HP
M/B;


cat /etc/sensors3.conf

chip "it8721-*"

label  in0   "Vcore"
ignore in1
label  in2   "+12V"
ignore in4
label  in5   "+5V"
ignore in6

compute  in2  @ * (50/12), @ / (50/12)
compute  in5  @ * (205/120), @ / (205/120)
compute  temp1 @ + 10, @ - 10

label fan1 "CPU Fan"
label fan2 "Chassis Fan"

label temp1 "CPU Temp"
label temp2 "M/B Temp"
ignore temp3
ignore intrusion0

set in0_min   0.5
set in0_max   1.5
set in2_min  12   * 0.95
set in2_max  12   * 1.05
set in3_min   3.3 * 0.95
set in3_max   3.3 * 1.05
set in5_min   5   * 0.95
set in5_max   5   * 1.95
set in7_min   3.3 * 0.95
set in7_max   3.3 * 1.05

set temp1_min 0
set temp1_max 70
set temp2_min 0
set temp2_max 60

set fan1_min 0
set fan2_min 0

chip "adt7475-*"

label in2 "+3.3V"

set in2_min  3.3 * 0.90
set in2_max  3.3 * 1.10

label temp2 "Board Temp"

chip "k10temp-*"
label temp1 "CPU Core Temp"

For the voltages, you need to look at the chip specs and then calculate
out the values. I did this with my old ASUS M/B (I have a spreadsheet
around somewhere…).


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.27-27-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

My motherboard ASRock Fatal1ty X99X Killer has the Nuvoton sensor chip (nct6775)
I could only find a small set of the sensor parameters for this chip in /etc/sensors3.conf


chip "w83627ehf-*" "w83627dhg-*" "w83667hg-*" "nct6775-*" "nct6776-*"

    label in0 "Vcore"
    label in2 "AVCC"
    label in3 "+3.3V"
    label in7 "3VSB"
    label in8 "Vbat"

    set in2_min  3.3 * 0.90
    set in2_max  3.3 * 1.10
    set in3_min  3.3 * 0.90
    set in3_max  3.3 * 1.10
    set in7_min  3.3 * 0.90
    set in7_max  3.3 * 1.10
    set in8_min  3.0 * 0.90
    set in8_max  3.3 * 1.10

Nothing about the other parameters, fan, SYSTIN, AUXTIN…

On Mon 08 Aug 2016 06:46:05 PM CDT, DJViking wrote:

My motherboard ASRock Fatal1ty X99X Killer has the Nuvoton sensor chip
(nct6775)
I could only find a small set of the sensor parameters for this chip in
/etc/sensors3.conf

Code:

chip “w83627ehf-" "w83627dhg-” “w83667hg-" "nct6775-” “nct6776-*”

label in0 “Vcore”
label in2 “AVCC”
label in3 “+3.3V”
label in7 “3VSB”
label in8 “Vbat”

set in2_min 3.3 * 0.90
set in2_max 3.3 * 1.10
set in3_min 3.3 * 0.90
set in3_max 3.3 * 1.10
set in7_min 3.3 * 0.90
set in7_max 3.3 * 1.10
set in8_min 3.0 * 0.90
set in8_max 3.3 * 1.10


Nothing about the other parameters, fan, SYSTIN, AUXTIN…

Hi
You need to go online and look for the actual specifications
(manufacturer) for it… :wink: I see
https://www.kernel.org/doc/Documentation/hwmon/nct6775

Spotted this, note the acpi_enforce_resources=lax grub entry (I had to
use that on an older kernel, so may not be needed);

I’ve always customized mine, just use the info in sensors3.conf as a
starting point.


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.27-27-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Didn’t get much useful information from that documentation.
It doesn’t show any labels for the in#, fan# and temp#

For instance from the fedoraforum page
label in0 “Vcore”
label in1 “CPU PLL”
label in2 “AVCC”
label in3 “+3.3V”
label in5 “DRAM”
label in6 “VTT”
label in7 “3VSB”
label in8 “Vbat”
That was for nct6776, while I have nct6775, but I guess they aren’t any different.

I have searched high and low for any documentation and examples for /etc/sensors.d/nct6775.conf

  • Nuvoton NCT5572D/NCT6771F/NCT6772F/NCT6775F/W83677HG-I
    Prefix: ‘nct6775’
    Addresses scanned: ISA address retrieved from Super I/O registers
    Datasheet: Available from Nuvoton upon request

Upon request…
Is this a new sensor? I don’t understand why it should be such a hassle to get right human readable labels for the sensor parameters. I have seen the output from same motherboard in the Windows program HWiNFO display much more and human readable.

Hi
What about this one (has a datasheet link);
https://blog.hqcodeshop.fi/archives/276-Improving-Nuvoton-NCT6776-lm_sensors-output.html

You add your own label entries etc if they don’t exist.

Yes, I have just read that one. Found it a little bit helpful, but nothing conclusive.

Hi
Maybe grab the 3.4 version from Base:System for Leap?
https://build.opensuse.org/package/show?project=Base%3ASystem&package=sensors

That got me a little bit closer. Got some names on the Voltage sensors as describes for nct6775 in /etc/sensors3.conf
label in0 “Vcore”
label in2 “AVCC”
label in3 “+3.3V”
label in7 “3VSB”
label in8 “Vbat”

**linux-l3hz:/etc #** sensors --version
sensors version 3.4.0 with libsensors version 3.4.0
**linux-l3hz:/etc #** sensors
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +27.0°C  (high = +90.0°C, crit = +100.0°C)
Core 0:         +19.0°C  (high = +90.0°C, crit = +100.0°C)
Core 1:         +21.0°C  (high = +90.0°C, crit = +100.0°C)
Core 2:         +19.0°C  (high = +90.0°C, crit = +100.0°C)
Core 3:         +20.0°C  (high = +90.0°C, crit = +100.0°C)
Core 4:         +19.0°C  (high = +90.0°C, crit = +100.0°C)
Core 5:         +21.0°C  (high = +90.0°C, crit = +100.0°C)

nct6791-isa-0290
Adapter: ISA adapter
Vcore:                  +0.89 V  (min =  +0.00 V, max =  +1.74 V)
in1:                    +1.86 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
AVCC:                   +3.34 V  (min =  +2.98 V, max =  +3.63 V)
+3.3V:                  +3.34 V  (min =  +2.98 V, max =  +3.63 V)
in4:                    +1.36 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in5:                    +1.68 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in6:                    +0.89 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
3VSB:                   +3.47 V  (min =  +2.98 V, max =  +3.63 V)
Vbat:                   +3.34 V  (min =  +2.70 V, max =  +3.63 V)
in9:                    +0.96 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in10:                   +1.29 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in11:                   +1.72 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in12:                   +1.36 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in13:                   +1.05 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in14:                   +0.14 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
fan1:                     0 RPM  (min =    0 RPM)
fan2:                  1446 RPM  (min =    0 RPM)
fan3:                     0 RPM  (min =    0 RPM)
fan4:                     0 RPM  (min =    0 RPM)
fan5:                     0 RPM  (min =    0 RPM)
fan6:                  2163 RPM
SYSTIN:                 +32.0°C  (high =  +0.0°C, hyst =  +0.0°C)  ALARM  sensor = thermistor
CPUTIN:                 +28.0°C  (high = +80.0°C, hyst = +75.0°C)  sensor = thermistor
AUXTIN0:                +32.0°C    sensor = thermistor
AUXTIN1:                +59.0°C    sensor = thermistor
AUXTIN2:                +19.0°C    sensor = thermistor
AUXTIN3:               +109.0°C    sensor = thermistor
PECI Agent 0:           +27.0°C  (high = +80.0°C, hyst = +75.0°C)
                                 (crit = +100.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


I tried to add /etc/sensors.d/nct6791.conf with the following
label SYSTIN “MB Temp”
label CPUTIN “CPU Temp”
Then restarted service lm_sensors. However that did not work.

Hi
So now you can add your own labels in the config as required?

For example change label fan2 to say “My Computer Fan” and when you run sensors it will say;


My Computer Fan:                  1446 RPM  (min =    0 RPM)

You need to check the spec sheet to find out what the other inputs are and add human readable labels…

I tried, but it did not work.
My /etc/sensors.d/nct6791.conf

   
   label fan2 "CPU Fan"
    label fan6 "CPU Pump"

    label SYSTIN "MB Temp"
    label CPUTIN "CPU Temp"

I restarted the service lm_sensors, but still these labels where not changed.

Hi
Is that all you put in the file? If so, it needs to be the full config.

Updated my config


chip "nct6791-*"

    label in0 "Vcore Voltage"
    label in2 "AVCC Voltage"
    label in3 "+3.3V Voltage"
    label in7 "3VSB Voltage"
    label in8 "Vbat Voltage"

    set in2_min  3.3 * 0.90
    set in2_max  3.3 * 1.10
    set in3_min  3.3 * 0.90
    set in3_max  3.3 * 1.10
    set in7_min  3.3 * 0.90
    set in7_max  3.3 * 1.10
    set in8_min  3.0 * 0.90
    set in8_max  3.3 * 1.10

    label fan1 "Chassis Fan 1 Speed"
    label fan2 "CPU Fan Speed"
    label fan3 "Chassis Fan 3 Speed"
    label fan4 "Chassis Fan 4 Speed"
    label fan5 "Power Fan Speed"
    label fan6 "CPU Pump Speed"     
     
    label temp1 "MB Temperature"
    label temp2 "CPU Temperature"

It works…

I found from someone who also has a motherboard from ASRock with nct6791

chip "nct6791-isa-0290"
 label fan1 "Chassis Fan 1 Speed"
 label fan2 "CPU Fan 1 Speed"
 label fan3 "Chassis Fan 3 Speed"
 label fan4 "Chassis Fan 4 Speed"
 label fan5 "Power Fan Speed"
 label fan6 "CPU Fan 2 Speed"

Probably same then for my motherboard. Though he had Z97 while I have a X99 motherboard from ASRock.

What remains now is to determine what the rests are.
in1, in4, in5, in6, in9-14
AUXTIN0-4
PECI Agent 0