Skip to contentSkip to conversation

How to configure my motherboard

DISCUSSION Léo El Amri 2 participants 8 messages Sep 21, 2018 – Sep 26, 2018

lore
Share & tools
lore
#0 lore raw

Hello there,

I would like to know how I can configure my motherboard. ie:
How can I find relations between voltage and temperature ? How to identify sensors "locations" ?
Etc.

I guess my first "entry point" on the matter would be to read the datasheet of the chip.

Here are some information about my MB:
Manufacturer: ASRock
Model: B450 Gaming-ITX/ac
BIOS version: (AMI) P1.20
Chip (As identified by sensors-detect): Nuvoton NCT6792D Chip (As identified by sensors): nct6792-isa-0290 Driver for the sensor: nct6775

I could find the location for the datasheet at
http://www.nuvoton.com/hq/products/cloud-computing/i-o/super-i-o-series/nct6792d/
. However, I need an account to download it. Does someone here already have a "myNuvoton" account ?

I may ask more questions once I get to read the datasheet.

While I'm at it: How should I name the configuration file if ever I had to share it ? (The / in the model name being the problem)

Cordially,
Léo

#1 lore raw

Hi Léo,

Quoted 4 lines · Léo El Amri

Hello there,

I would like to know how I can configure my motherboard. ie:
How can I find relations between voltage and temperature ?

This article documents how to figure out the voltage labels and the voltage divider ratios:
https://hwmon.wiki.kernel.org/voltagelabelsandscaling
I may be able to help with some of the voltage labels later.

The temperatures are often reported correctly already. In the cases when the values are clearly bogus, I haven't yet figured out what the problem can be.

Quoted 1 line

How to identify sensors "locations" ?

Which sensors? What locations?

Quoted 2 lines

I guess my first "entry point" on the matter would be to read the datasheet of the chip.

That'll be a long read, but you'll need a couple of numbers from the datasheet, see the article above.

Quoted 13 lines

Here are some information about my MB:
Manufacturer: ASRock
Model: B450 Gaming-ITX/ac
BIOS version: (AMI) P1.20
Chip (As identified by sensors-detect): Nuvoton NCT6792D Chip (As identified by sensors): nct6792-isa-0290 Driver for the sensor: nct6775

I could find the location for the datasheet at
http://www.nuvoton.com/hq/products/cloud-computing/i-o/super-i-o-series/nct6792d/
. However, I need an account to download it. Does someone here already have a "myNuvoton" account ?

Quoted 4 lines

I may ask more questions once I get to read the datasheet.

While I'm at it: How should I name the configuration file if ever I had to share it ? (The / in the model name being the problem)

Not sure, perhaps B450-Gaming-ITX-ac.conf.

Best regards
Ondřej Lysoněk

#2 lore raw
In reply to Léo El Amri

Hi Ondřej,

Quoted 3 lines · Ondřej Lysoněk

The temperatures are often reported correctly already. In the cases when the values are clearly bogus, I haven't yet figured out what the problem can be.

In my case, the reading for the CPU ("CPUTIN") is -62500

Quoted 3 lines
Quoted 1 line

How to identify sensors "locations" ?

Which sensors? What locations?

I used the wrong terminology. By "sensors" I meant "voltage", "temperature" and "pwm" (For example), and by "location" I meant "CPU", "Northbridge", "2nd chassis fan" (For example). So I can have a match such as "in1 is the 5V line", or "fan1 is the CPU fan".

I'll try the method from voltagelabelsandscaling right away. And I'll proceed to download the datasheet by myself if nobody got it before I really need it.

Thanks :)
Léo

#3 lore raw
In reply to Léo El Amri

Hi,

Quoted 5 lines · Léo El Amri

Here are some information about my MB:
Manufacturer: ASRock
Model: B450 Gaming-ITX/ac
BIOS version: (AMI) P1.20
Chip (As identified by sensors-detect): Nuvoton NCT6792D

Please find the chip on the board and verify this. I found a review which claims the chip is Nuvoton NCT5562D [1] (which I was not even able to find on the Nuvoton website).

[1]
https://www.tweaktown.com/reviews/8718/asrock-fatal1ty-b450-gaming-itx-ac-motherboard-review/index4.html

Ondřej Lysoněk

#4 lore raw
In reply to Léo El Amri
Quoted 9 lines · Léo El Amri
Quoted 3 lines · Ondřej Lysoněk
Quoted 1 line

How to identify sensors "locations" ?

Which sensors? What locations?

I used the wrong terminology. By "sensors" I meant "voltage", "temperature" and "pwm" (For example), and by "location" I meant "CPU", "Northbridge", "2nd chassis fan" (For example). So I can have a match such as "in1 is the 5V line", or "fan1 is the CPU fan".

The article explains how to guess some of the voltage labels. The datasheet could help with some of the others (you'd need to compare it with the driver code).

Regarding fans, you can try adjusting the speed of the fans using the sysfs interface, and seeing which fan reported by 'sensors' changed its speed and which fan physically changed its speed. Then look where on the board the fan is connected, there should be a label near the connector, such as SYS FAN1 or CPU FAN.

Temperatures, I don't know. That may be tough. Send the output of the 'sensors' command.

Quoted 2 lines

And I'll proceed to download the datasheet by myself if nobody got it before I really need it.

Even is someone had it, I'm not sure they'd be allowed to share it. You should probably ask Nuvoton yourself for it.

Ondřej Lysoněk

#5 lore raw
In reply to Léo El Amri
Quoted 8 lines · Ondřej Lysoněk
Quoted 1 line

Chip (As identified by sensors-detect): Nuvoton NCT6792D

Please find the chip on the board and verify this. I found a review which claims the chip is Nuvoton NCT5562D [1] (which I was not even able to find on the Nuvoton website).

[1]
https://www.tweaktown.com/reviews/8718/asrock-fatal1ty-b450-gaming-itx-ac-motherboard-review/index4.html

It seems right. Here is the identification code I found on the chip:
NCT5562D
2644B088
723G9AFA

Picture I took here:
http://superlel.me/private/leo/focus_nuvoton_NCT5562D.jpg

I could only find two results from a search from DuckDuckGo:
https://www.netcomponents.com/ch/sitemap/NCT5562D.html
https://www.transistoric.com/index.php?route=product/product&product_id591435&search=NCT5562D

I also searched in the shop of my usual electronics providers, and none of them had this chip (Farnell, RS, and even Alibaba).

#6 lore raw
In reply to Léo El Amri

Hi Ondřej,

Quoted 5 lines · Ondřej Lysoněk

Regarding fans, you can try adjusting the speed of the fans using the sysfs interface, and seeing which fan reported by 'sensors' changed its speed and which fan physically changed its speed. Then look where on the board the fan is connected, there should be a label near the connector, such as SYS FAN1 or CPU FAN.

I used a more brutal method: I slowed down the fans by hand

Quoted 2 lines

Temperatures, I don't know. That may be tough. Send the output of the 'sensors' command

With some guessing (And brutal methods again), I think I managed to find the two temperatures shown on the BIOS. Yet, there is a ~5 degrees Celsius difference between what the BIOS and the kernel are showing.

Here is the output of sensors:

leo@eggplant ~ $ sensors -u nct6792-isa-0290
nct6792-isa-0290
Adapter: ISA adapter
SYSTIN:
temp1_input: 118.000
temp1_max: 0.000
temp1_max_hyst: 0.000
temp1_type: 4.000
temp1_offset: 0.000
CPUTIN:
temp2_input: -62.500
temp2_max: 80.000
temp2_max_hyst: 75.000
temp2_alarm: 0.000
temp2_type: 4.000
temp2_offset: 0.000
temp2_beep: 0.000
AUXTIN0:
temp3_input: 37.000
temp3_max: 0.000
temp3_max_hyst: 0.000
temp3_alarm: 1.000
temp3_type: 4.000
temp3_offset: 0.000
temp3_beep: 0.000
AUXTIN1:
temp4_input: 107.000
temp4_type: 4.000
temp4_offset: 0.000
AUXTIN2:
temp5_input: 108.000
temp5_type: 4.000
temp5_offset: 0.000
AUXTIN3:
temp6_input: -128.000
temp6_type: 4.000
temp6_offset: 0.000
SMBUSMASTER 0:
temp7_input: 28.500
PCH_CHIP_CPU_MAX_TEMP:
temp8_input: 0.000
PCH_CHIP_TEMP:
temp9_input: 0.000
PCH_CPU_TEMP:
temp10_input: 0.000

I guessed temp7 is the CPU and temp3 is the MB.
My methodology here was to put the CPU under heavy load to make it hot, while monitoring the temperatures returned by all the temp*_input. I made a little Python script which was calling sensors every seconds. I could draw a chart via LibreOffice. I can give you the files if you want, but I wonder what are the rules and the best practices here regarding attachments and file sharing.

You can find a draft of the config file I came up with here:
https://github.com/lel-amri/lm-sensors/blob/asrock_b450_itx/configs/ASRock/B450-Gaming-ITX-ac.conf

Quoted 5 lines
Quoted 2 lines

And I'll proceed to download the datasheet by myself if nobody got it before I really need it.

Even is someone had it, I'm not sure they'd be allowed to share it. You should probably ask Nuvoton yourself for it.

How should I ask for the data sheet without freaking them out ? (This is the first time I should have to ask for a data sheet to the manufacturer)

I am still struggling with the voltages. With the method from the wiki, I get nearly the same values from the +3V line and the +12V line. And only one output from sensors seems to match this one. For the +5V line it's still a mystery.

Thanks,
Léo

#7 lore raw
In reply to Léo El Amri

Hi Léo,

Quoted 8 lines · Léo El Amri
Quoted 5 lines
Quoted 2 lines

And I'll proceed to download the datasheet by myself if nobody got it before I really need it.

Even is someone had it, I'm not sure they'd be allowed to share it. You should probably ask Nuvoton yourself for it.

How should I ask for the data sheet without freaking them out ? (This is the first time I should have to ask for a data sheet to the manufacturer)

it shouldn't be a problem. I asked for datasheets for other two Nuvoton chips on Friday and I received them today (I was suprised how quick the reponse was). They just asked me a couple of questions first, but there were no problems.

I also now received confirmation from Nuvoton that they don't want us to share the datasheets. If anyone's interested in a datasheet, they should reach out to Nuvoton directly.

(I'll answer the rest of your email as soon as I can.)

Best regards
Ondřej Lysoněk