nct6683 not working

Bug #1858369 reported by Robelix
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lm-sensors (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

On my Lenovo Thinkcentre M710q sensors-detect finds an nct6683:

Found `Nuvoton NCT6683D eSIO' Success!
    (address 0xa20, driver `nct6683')

the module is loaded:

# lsmod | grep nct6683
nct6683 20480 0

# dmesg | grep nct6683
[ 32.202596] nct6683: Found NCT6683D or compatible chip at 0x2e:0xa20

but sensors shows nothing from it:

# sensors
coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +39.0°C (high = +76.0°C, crit = +92.0°C)
Core 0: +38.0°C (high = +76.0°C, crit = +92.0°C)
Core 1: +37.0°C (high = +76.0°C, crit = +92.0°C)

iwlwifi-virtual-0
Adapter: Virtual device
temp1: N/A

running bionic 18.04.3
kernel 4.15.0-72-generic

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi Robelix,
quite often that eventually comes down to broken FW/HW.
The kernel often gets quirks added to handle "just another slightly different case".

There isn't much one can do other than:
- reporting to the manufacturer (usually ignored)
- debuggung on your own (or by someone else owning the HW)

The NCT6683 was just added in lm-sensors 2.4 (which is in Bionic), we are at 3.6 now which might be worth a try. But OTOH there seemed to be no related fixes.
=> https://github.com/lm-sensors/lm-sensors/blob/master/CHANGES#L90

The best path usually is to try the very latest software stack on not-the-latest HW.
That means you could try installing a much newer Ubuntu which bings newer kernel and lm-sensors to see if things work there.
The easiest start would probably be just upgrading to the HWE kernel and hoping it might already help.
=> https://wiki.ubuntu.com/Kernel/LTSEnablementStack#Ubuntu_18.04_LTS_-_Bionic_Beaver

Step 1 for debugging would be checking the sysfs of the kernel driver:
Read:
=> https://www.kernel.org/doc/Documentation/hwmon/nct6683.rst
=> https://www.kernel.org/doc/Documentation/hwmon/sysfs-interface
And then give it a go, is the sysfs iterface available after loading the kernel module?
If not this is a kernel issue and not one in lm-sensors.

Changed in lm-sensors (Ubuntu):
status: New → Incomplete
Revision history for this message
Robelix (roland-robelix) wrote :

Thanks for your reply,

in /sys/class/hwmon I've got only two entries - coretemp and iwlwifi -> kernel issue.

Since this box is a daily driver and all the important stuff works fine I'd like to stick to LTS - Going to try the HWE-Kernel.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Ok, let me know if the HWE driver is better at properly bringing up the hwmon for this device.

Revision history for this message
Robelix (roland-robelix) wrote :

Updating to kernel 5.0.0-37-generic alone did not change anything.

But https://www.kernel.org/doc/Documentation/hwmon/nct6683.rst gave me the hint:

echo "options nct6683 force=1" >> /etc/modprobe.d/sensors.conf

did the trick:

# sensors
nct6683-isa-0a20
Adapter: ISA adapter
VIN0: +1.42 V (min = +0.00 V, max = +0.00 V)
VIN1: +1.02 V (min = +0.00 V, max = +0.00 V)
VIN3: +0.22 V (min = +0.00 V, max = +0.00 V)
VIN0: +1.42 V (min = +0.00 V, max = +0.00 V)
fan2: 1308 RPM (min = 500 RPM)
PECI 0.0: +38.0°C (low = +0.0°C)
                          (high = +99.0°C, hyst = +2.0°C)
                          (crit = +0.0°C) sensor = Intel PECI
PCH CHIP: +50.0°C (low = +0.0°C)
                          (high = +0.0°C, hyst = +0.0°C)
                          (crit = +0.0°C)
Diode 0 (curr): +42.0°C (low = +0.0°C)
                          (high = +0.0°C, hyst = +0.0°C)
                          (crit = +0.0°C) sensor = thermal diode
Diode 1 (curr): +26.5°C (low = +0.0°C)
                          (high = +50.0°C, hyst = +0.0°C)
                          (crit = +0.0°C) sensor = thermal diode
SMBus 0: +0.0°C (low = +0.0°C)
                          (high = +0.0°C, hyst = +0.0°C)
                          (crit = +0.0°C)
Thermistor 7: +10.0°C (low = +0.0°C)
                          (high = +0.0°C, hyst = +0.0°C)
                          (crit = +0.0°C) sensor = thermistor
Diode 2 (curr): +42.0°C (low = +0.0°C)
                          (high = +0.0°C, hyst = +0.0°C)
                          (crit = +0.0°C) sensor = thermal diode
intrusion0: OK
beep_enable: disabled

coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +38.0°C (high = +76.0°C, crit = +92.0°C)
Core 0: +38.0°C (high = +76.0°C, crit = +92.0°C)
Core 1: +37.0°C (high = +76.0°C, crit = +92.0°C)

Not sure about the voltages - but fan and most of the temperatures look valid.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Thanks for coming back and reporting success Roland.

Glad my doc hint helped and thanks for stating what helped on the bug with some details so other Ubuntu users searching for help can find that immediately.

Since we know now it isn't a bug I'll set the bug state to invalid.
Thanks for your help to make Ubuntu better!

Changed in lm-sensors (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Aaron Bockelie (aaronsb) wrote :

I'd like to add that this same technique revealed sensor values on my system as well. Booted to Windows and ran HWINFO, the chip came back as an NCT6685D. In Linux, modprobe successfully loaded nct6683 but had no data. After forcing load in exactly the same manner it now functions as expected.

Relevant system/sensor info:

# sensors-detect version 3.6.0
# System: Micro-Star International Co., Ltd. H310 Gaming Trident3 (MS-B920) [1.0]
# Board: Micro-Star International Co., Ltd. MS-B9201
# Kernel: 5.4.0-31-generic x86_64
# Processor: Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (6/158/10)

iwlwifi_1-virtual-0
Adapter: Virtual device
temp1: +42.0°C

nct6683-isa-0a00
Adapter: ISA adapter
VIN5: 576.00 mV (min = +0.00 V, max = +0.00 V)
VIN3: 736.00 mV (min = +0.00 V, max = +0.00 V)
VIN2: 1.25 V (min = +0.00 V, max = +0.00 V)
VIN3: 736.00 mV (min = +0.00 V, max = +0.00 V)
VCC: 3.30 V (min = +0.00 V, max = +0.00 V)
VSB: 3.30 V (min = +0.00 V, max = +0.00 V)
AVSB: 3.30 V (min = +0.00 V, max = +0.00 V)
VTT: 1.06 V (min = +0.00 V, max = +0.00 V)
VBAT: 3.20 V (min = +0.00 V, max = +0.00 V)
fan1: 879 RPM (min = 0 RPM)
PECI 0.0: +46.0°C (low = +0.0°C)
(high = +0.0°C, hyst = +0.0°C)
(crit = +0.0°C) sensor = Intel PECI
Thermistor 14: +48.5°C (low = +0.0°C)
(high = +0.0°C, hyst = +0.0°C)
(crit = +0.0°C) sensor = thermistor
Diode 1 (curr): +127.5°C (low = +0.0°C)
(high = +0.0°C, hyst = +0.0°C)
(crit = +0.0°C) sensor = thermal diode
PECI 0.0: +46.0°C (low = +0.0°C)
(high = +0.0°C, hyst = +0.0°C)
(crit = +0.0°C) sensor = Intel PECI
PCH CHIP: +0.0°C (low = +0.0°C)
(high = +0.0°C, hyst = +0.0°C)
(crit = +0.0°C)
intrusion0: OK
beep_enable: disabled

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

pch_cannonlake-virtual-0
Adapter: Virtual device
temp1: +74.0°C

coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +48.0°C (high = +82.0°C, crit = +100.0°C)
Core 0: +46.0°C (high = +82.0°C, crit = +100.0°C)
Core 1: +47.0°C (high = +82.0°C, crit = +100.0°C)
Core 2: +46.0°C (high = +82.0°C, crit = +100.0°C)
Core 3: +47.0°C (high = +82.0°C, crit = +100.0°C)
Core 4: +50.0°C (high = +82.0°C, crit = +100.0°C)
Core 5: +47.0°C (high = +82.0°C, crit = +100.0°C)

Revision history for this message
irfan bilaloğlu (irfanbilaloglu) wrote :
Download full text (3.2 KiB)

Although I am not on Ubuntu right now I was effected from the same thing.

As suggested by @~roland-robelix the nct6683 forcing solved it:
`echo "options nct6683 force=1" >> /etc/modprobe.d/sensors.conf`

Kernel: 5.17.15-1-MANJARO
Motherboard: MSI MPG X570S Edge

# Sensors

iwlwifi_1-virtual-0
Adapter: Virtual device
temp1: +39.0°C

nvme-pci-0100
Adapter: PCI adapter
Composite: +39.9°C (low = -273.1°C, high = +81.8°C)
                       (crit = +84.8°C)
Sensor 1: +39.9°C (low = -273.1°C, high = +65261.8°C)
Sensor 2: +49.9°C (low = -273.1°C, high = +65261.8°C)

nct6687-isa-0a20
Adapter: ISA adapter
VIN0: 1.01 V (min = +0.00 V, max = +0.00 V)
VIN1: 992.00 mV (min = +0.00 V, max = +0.00 V)
VIN2: 992.00 mV (min = +0.00 V, max = +0.00 V)
VIN3: 592.00 mV (min = +0.00 V, max = +0.00 V)
VIN4: 672.00 mV (min = +0.00 V, max = +0.00 V)
VIN5: 944.00 mV (min = +0.00 V, max = +0.00 V)
VIN6: 672.00 mV (min = +0.00 V, max = +0.00 V)
VIN7: 1.54 V (min = +0.00 V, max = +0.00 V)
VCC: 3.33 V (min = +0.00 V, max = +0.00 V)
VTT: 1.81 V (min = +0.00 V, max = +0.00 V)
fan1: 1233 RPM (min = 0 RPM)
fan2: 0 RPM (min = 0 RPM)
fan3: 0 RPM (min = 0 RPM)
fan4: 1304 RPM (min = 0 RPM)
fan5: 0 RPM (min = 0 RPM)
fan6: 0 RPM (min = 0 RPM)
fan7: 1162 RPM (min = 0 RPM)
fan8: 0 RPM (min = 0 RPM)
fan9: 0 RPM (min = 0 RPM)
fan10: 0 RPM (min = 0 RPM)
AMD TSI Addr 98h: +49.0°C (low = +0.0°C)
                            (high = +0.0°C, hyst = +0.0°C)
                            (crit = +0.0°C) sensor = AMD AMDSI
Diode 0 (curr): +38.5°C (low = +0.0°C)
                            (high = +0.0°C, hyst = +0.0°C)
                            (crit = +0.0°C) sensor = thermal diode
Thermistor 15: +38.5°C (low = +0.0°C)
                            (high = +0.0°C, hyst = +0.0°C)
                            (crit = +0.0°C) sensor = thermistor
Thermistor 1: +44.0°C (low = +0.0°C)
                            (high = +0.0°C, hyst = +0.0°C)
                            (crit = +0.0°C) sensor = thermistor
Thermistor 16: +36.5°C (low = +0.0°C)
                            (high = +0.0°C, hyst = +0.0°C)
                            (crit = +0.0°C) sensor = thermistor
Virtual 2: +0.0°C (low = +0.0°C)
                            (high = +0.0°C, hyst = +0.0°C)
                            (crit = +0.0°C)
Thermistor 15: +38.5°C (low = +0.0°C)
                            (high = +123.0°C, hyst = +33.0°C)
                            (crit = +0.0°C) sensor = thermistor
intrusion0: ALARM
beep_enable: disabled

zenpower-pci-00c3
Adapter: PCI adapter
SVI2_Core: 1.43 V
SVI2_SoC: 994.00 mV
Tdie: +49.1°C (high = +95.0°C)
Tctl: +49.1°C
Tccd1: +39.0°C
Tccd2: +37.2°C
SVI2_P_Core: 25.35 W
SVI2_P_SoC: 5.27 W
SVI2_C_Core: 17.79 ...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.