Jump to content
spl147

need driver for new motherboard Super I/O chip

25 posts in this topic Last Reply

Recommended Posts

i recently purchased a ASRock E3C204 MB. great board, i works fine except the super i/o chip for fan control doesnt have a driver in the newest 5.0.5 build, it is supported as of kernel 3.12.

 

i guess my question is can some one add the driver? its here:https://github.com/groeck/nct6775

 

or recompile unraid 5.0.5 with the 3.12 kernel?

Share this post


Link to post

I needed that driver for my ASRock E3C226D2I too.  I asked Tom about it, he said there wasn't a driver available for the kernel in 5.x but he added to to 6b3.

Share this post


Link to post

Yea, but im not gonna run v6 beta for quite some time, 5.05 is damn near perfect, just need that driver or the updated kernel

Share this post


Link to post

Yea, but im not gonna run v6 beta for quite some time, 5.05 is damn near perfect, just need that driver or the updated kernel

 

What are your arguments against running V6?  You can boot without Xen and there are 64 bit plugins of most of the apps that are used.

Share this post


Link to post

Module is attached, it is for unraid-5.0.5.

sweeet...thanks, but what do i do with it now?  LOL

 

Share this post


Link to post

modprobe hwmon-vid

insmod nct6775.ko

 

Should work. You can copy nct6775.ko to your flash drive. Just create directory under /boot, and put that module there. You can write a script which can be executed from go, same as unmenu.

Share this post


Link to post

Here are more detailed steps:

 

1. Create a directory under /boot called drivers

mkdir /boot/drivers

2. Copy nct6775.ko to /boot/drivers

3. Create sensors.conf

chip "nct6776-isa-0290"

label temp1  "CPU Temp"

label temp2  "MB Temp"

4. Copy this file to /boot/config/plugins/dynamix/sensors.conf

5. Edit /boot/config/go and append following lines:

modprobe hwmon-vid

insmod /boot/drivers/nct6775.ko

cp /boot//config/plugins/dynamix/sensors.conf /etc/sensors.d/

6. Done

 

Share this post


Link to post

Here are more detailed steps:

 

1. Create a directory under /boot called drivers

mkdir /boot/drivers

2. Copy nct6775.ko to /boot/drivers

3. Create sensors.conf

chip "nct6776-isa-0290"

label temp1  "CPU Temp"

label temp2  "MB Temp"

4. Copy this file to /boot/config/plugins/dynamix/sensors.conf

5. Edit /boot/config/go and append following lines:

modprobe hwmon-vid

insmod /boot/drivers/nct6775.ko

cp /boot//config/plugins/dynamix/sensors.conf /etc/sensors.d/

6. Done

 

root@SERVER:/boot/scripts# pwmconfig

# pwmconfig revision 5770 (2009-09-16)

This program will search your sensors for pulse width modulation (pwm)

controls, and test each one to see if it controls a fan on

your motherboard. Note that many motherboards do not have pwm

circuitry installed, even if your sensor chip supports pwm.

 

We will attempt to briefly stop each fan using the pwm controls.

The program will attempt to restore each fan to full speed

after testing. However, it is ** very important ** that you

physically verify that the fans have been to full speed

after the program has completed.

 

Found the following devices:

  hwmon0/device is coretemp

  hwmon1/device is nct6776

 

Found the following PWM controls:

  hwmon1/device/pwm1

  hwmon1/device/pwm2

  hwmon1/device/pwm3

 

Giving the fans some time to reach full speed...

Found the following fan sensors:

  hwmon1/device/fan1_input    current speed: 0 ... skipping!

  hwmon1/device/fan2_input    current speed: 0 ... skipping!

  hwmon1/device/fan3_input    current speed: 0 ... skipping!

  hwmon1/device/fan4_input    current speed: 0 ... skipping!

  hwmon1/device/fan5_input    current speed: 0 ... skipping!

 

There are no working fan sensors, all readings are 0.

Make sure you have a 3-wire fan connected.

You may also need to increase the fan divisors.

See doc/fan-divisors for more information.

Share this post


Link to post

I have different motherboard. What is the output of sensors command?

 

root@SERVER:~# sensors

coretemp-isa-0000

Adapter: ISA adapter

Physical id 0: +49.0 C  (high = +80.0 C, crit = +85.0 C) 

Core 0:        +49.0 C  (high = +80.0 C, crit = +85.0 C) 

Core 1:        +48.0 C  (high = +80.0 C, crit = +85.0 C) 

 

nct6776-isa-0290

Adapter: ISA adapter

in0:          +0.98 V  (min =  +0.00 V, max =  +1.74 V) 

in1:          +1.87 V  (min =  +0.00 V, max =  +0.00 V)  ALARM

in2:          +3.30 V  (min =  +0.00 V, max =  +0.00 V)  ALARM

in3:          +3.28 V  (min =  +0.00 V, max =  +0.00 V)  ALARM

in4:          +0.08 V  (min =  +0.00 V, max =  +0.00 V)  ALARM

in5:          +1.72 V  (min =  +0.00 V, max =  +0.00 V)  ALARM

in6:          +2.04 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.30 V  (min =  +0.00 V, max =  +0.00 V)  ALARM

fan1:            0 RPM  (min =    0 RPM)

fan2:            0 RPM  (min =    0 RPM)

fan3:            0 RPM  (min =    0 RPM)

fan4:            0 RPM  (min =    0 RPM)

fan5:            0 RPM  (min =    0 RPM)

CPU Temp:      +55.0 C  (high =  +0.0 C, hyst =  +0.0 C)  ALARM  sensor = thermistor

MB Temp:      +45.0 C  (high = +80.0 C, hyst = +75.0 C)  sensor = thermistor

AUXTIN:        -62.0 C  (high = +80.0 C, hyst = +75.0 C)  sensor = thermistor

PCH_CHIP_TEMP:  +0.0 C                                   

PCH_CPU_TEMP:  +0.0 C                                   

PCH_MCH_TEMP:  +0.0 C                                   

cpu0_vid:    +0.000 V

beep_enable:  disabled

Share this post


Link to post

here is sensors-detect

 

root@SERVER:/boot/scripts# sensors-detect

# sensors-detect revision 6215 (2014-01-26 22:52:57 +0100)

# Board: ASRock E3C204

 

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): YES

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 15h power sensors...                            No

AMD Family 16h power sensors...                            No

Intel digital thermal sensor...                            Success!

    (driver `coretemp')

Intel AMB FB-DIMM 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): YES

Probing for Super-I/O at 0x2e/0x2f

Trying family `National Semiconductor/ITE'...              No

Trying family `SMSC'...                                    No

Trying family `VIA/Winbond/Nuvoton/Fintek'...              Yes

Found `Nuvoton NCT5577D/NCT6776F Super IO Sensors'          Success!

    (address 0x290, driver `nct6775')

Probing for Super-I/O at 0x4e/0x4f

Trying family `National Semiconductor/ITE'...              No

Trying family `SMSC'...                                    No

Trying family `VIA/Winbond/Nuvoton/Fintek'...              No

Trying family `ITE'...                                      No

 

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): YES

Probing for `IPMI BMC KCS' at 0xca0...                      Success!

    (confidence 4, driver `to-be-written')

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): YES

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): YES

Using driver `i2c-i801' for device 0000:00:1f.3: Intel Cougar Point (PCH)

Module i2c-dev loaded successfully.

 

 

Now follows a summary of the probes I have just done.

Just press ENTER to continue:

 

Driver `to-be-written':

  * ISA bus, address 0xca0

    Chip `IPMI BMC KCS' (confidence: 4)

 

Driver `coretemp':

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

 

Driver `nct6775':

  * ISA bus, address 0x290

    Chip `Nuvoton NCT5577D/NCT6776F Super IO Sensors' (confidence: 9)

 

Note: there is no driver for IPMI BMC KCS yet.

Check http://www.lm-sensors.org/wiki/Devices for updates.

 

Warning: the required module nct6775 is not currently installed

on your system. Check http://www.lm-sensors.org/wiki/Devices for

driver availability.

 

Do you want to generate /etc/sysconfig/lm_sensors? (yes/NO): NO

To load everything that is needed, add this to one of the system

initialization scripts (e.g. /etc/rc.d/rc.local):

 

#----cut here----

# Chip drivers

modprobe coretemp

/usr/bin/sensors -s

#----cut here----

 

You really should try these commands right now to make sure everything

is working properly. Monitoring programs won't work until the needed

modules are loaded.

 

Unloading i2c-dev... OK

Share this post


Link to post

This line has a typo:

 

cp /boot//config/plugins/dynamix/sensors.conf /etc/sensors.d/

 

Should be:

 

cp /boot/config/plugins/dynamix/sensors.conf /etc/sensors.d/

Share this post


Link to post

Thanks for this guys. I got it working on my ASRock E3226D21. and thanks for dgaschk for spotting the typo. Great help.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.