nct 6775: Need help Installing sensors Driver (microstar B450I)

Hello Everyone!

This time Im on about fixing the thermal readouts of my motherboard. The module is called nct 6775. I wish I could install them somewhat like so;
https://forum.ubuntuusers.de/topic/lm-sensors-zeigt-ryzen-temperatur-und-fannspee/
and not run into problems later on…

So, do I have to wait till this is integrated into the LEAP kernel by the responsible developer team? or can I patch this hole myself?

best wishes,
David

Hi
The module (nct6775) is already part of the kernel, so if you run sensors-detect it should add and find it.

Output of sensors-detect

finkman@hexopteryx:~> sudo sensors-detect
[sudo] Passwort für root: 
# sensors-detect revision 6284 (2015-05-31 14:00:33 +0200)
# System: Micro-Star International Co., Ltd. MS-7A40 [2.0]
# Board: Micro-Star International Co., Ltd. B450I GAMING PLUS AC (MS-7A40)
# Kernel: 4.12.14-lp150.12.45-default x86_64
# Processor: AMD Ryzen 5 2600X Six-Core Processor (23/8/2)

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): y
Module cpuid loaded successfully.
Silicon Integrated Systems SIS5595...                       No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   No
AMD Family 10h thermal sensors...                           No
AMD Family 11h thermal sensors...                           No
AMD Family 12h and 14h thermal sensors...                   No
AMD Family 15h thermal sensors...                           No
AMD Family 16h thermal sensors...                           No
AMD Family 15h power sensors...                             No
AMD Family 16h power sensors...                             No
Intel digital thermal sensor...                             No
Intel AMB FB-DIMM thermal sensor...                         No
Intel 5500/5520/X58 thermal sensor...                       No
VIA C7 thermal sensor...                                    No
VIA Nano thermal sensor...                                  No

Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): y
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor/ITE'...               No                                
Trying family `SMSC'...                                     No                                
Trying family `VIA/Winbond/Nuvoton/Fintek'...               No                                
Trying family `ITE'...                                      No                                
Probing for Super-I/O at 0x4e/0x4f                                                            
Trying family `National Semiconductor/ITE'...               No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               Yes
Found unknown chip with ID 0xd352

Some systems (mainly servers) implement IPMI, a set of common interfaces
through which system health data may be retrieved, amongst other things.
We first try to get the information from SMBIOS. If we don't find it
there, we have to read from arbitrary I/O ports to probe for such
interfaces. This is normally safe. Do you want to scan for IPMI
interfaces? (YES/no): y
Probing for `IPMI BMC KCS' at 0xca0...                      No
Probing for `IPMI BMC SMIC' at 0xca8...                     No

Some hardware monitoring chips are accessible through the ISA I/O ports.
We have to write to arbitrary I/O ports to probe them. This is usually
safe though. Yes, you do have ISA I/O ports even if you do not have any
ISA slots! Do you want to scan the ISA I/O ports? (YES/no): y
Probing for `National Semiconductor LM78' at 0x290...       No
Probing for `National Semiconductor LM79' at 0x290...       No
Probing for `Winbond W83781D' at 0x290...                   No
Probing for `Winbond W83782D' at 0x290...                   No

Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no): y
Found unknown SMBus adapter 1022:790b at 0000:00:14.0.
Sorry, no supported PCI bus adapters found.
Module i2c-dev loaded successfully.

Next adapter: SMBus PIIX4 adapter port 0 at 0b00 (i2c-0)
Do you want to scan it? (YES/no/selectively): y
Client found at address 0x28
Probing for `National Semiconductor LM78'...                No
Probing for `National Semiconductor LM79'...                No
Probing for `National Semiconductor LM80'...                No
Probing for `National Semiconductor LM96080'...             No
Probing for `Winbond W83781D'...                            No
Probing for `Winbond W83782D'...                            No
Probing for `Nuvoton NCT7802Y'...                           No
Probing for `Winbond W83627HF'...                           No
Probing for `Winbond W83627EHF'...                          No
Probing for `Winbond W83627DHG/W83667HG/W83677HG'...        No
Probing for `Asus AS99127F (rev.1)'...                      No
Probing for `Asus AS99127F (rev.2)'...                      No
Probing for `Asus ASB100 Bach'...                           No
Probing for `Analog Devices ADM1029'...                     No
Probing for `ITE IT8712F'...                                No
Client found at address 0x50
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 No
Probing for `EDID EEPROM'...                                No
Client found at address 0x51
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 No

Next adapter: SMBus PIIX4 adapter port 2 at 0b00 (i2c-1)
Do you want to scan it? (YES/no/selectively): y

Next adapter: SMBus PIIX4 adapter port 3 at 0b00 (i2c-2)
Do you want to scan it? (YES/no/selectively): y

Next adapter: SMBus PIIX4 adapter port 4 at 0b00 (i2c-3)
Do you want to scan it? (YES/no/selectively): y

Next adapter: NVIDIA i2c adapter 0 at 1f:00.0 (i2c-4)
Do you want to scan it? (yes/NO/selectively): y

Next adapter: NVIDIA i2c adapter 2 at 1f:00.0 (i2c-5)
Do you want to scan it? (yes/NO/selectively): y

Next adapter: NVIDIA i2c adapter 6 at 1f:00.0 (i2c-6)
Do you want to scan it? (yes/NO/selectively): y

Next adapter: NVIDIA i2c adapter 7 at 1f:00.0 (i2c-7)
Do you want to scan it? (yes/NO/selectively): y

Next adapter: NVIDIA i2c adapter 8 at 1f:00.0 (i2c-8)
Do you want to scan it? (yes/NO/selectively): y

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.

This is were I was coming from. The Lines I marked red are the the same as in the Link, so I figured it must also be NCT 6775. :dont-know:

What is a command/programm to find out my hardware specs? (dmidecode didnt do it and online I seem to be out of luck aswell…)

Hi
Looks like you need to create a file /etc/modprobe.d/nct6775.conf containing;


options nct6775 force_id=0xd352

Then if that by itself doesn’t work, try adding the following to the boot options;


acpi_enforce_resources=lax

First step didnt work, how do I add Boot options?

Now, to clarify, I do not know for certain nct6775 is my thermal sensor. How could I make sure?

Thanks,
David

Hi
Via YaST bootloader and in the ‘Kernel Parameters’ tab add at the end of the line finishing in “quiet”

Is nct6775 in the ouput of the command lsmod? If not as root user run;


modprobe nct6775
sensors

Hey,
so lsmod didnt show nct 6775, then using modprobe I ran into this:

hexopteryx:/home/finkman # modprobe nct6775
modprobe: ERROR: could not insert 'nct6775': No such device

so thats that, got any more ideas? :slight_smile:

Hi
Then I would try modprobe it87 and see if that kicks something into life…

FWIW I have intel boards here that use nct6775, mother boards are circa 2014…

Nope, same answer. im going to do some more research & then come back! :good: