Jump to content
XPEnology Community

lm-Sensors and inserting drivers


Eph61

Recommended Posts

Hello

 

I have a WD Sentinal DX4000 running DSM 6.1.4, and runs really well, but my fan is running very fast.

 

I have looked at cpufreq,and its not that.

lm-Sensors seem the route to go down as this will give me the fancontrol.

I have obtained via opkg lm-sensors 3.3.5.2, and lm-sensors-detect.

 

sensors detect gives me

 

 

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no):
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):
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 `Nuvoton NCT5577D/NCT6776F Super IO Sensors'          Success!
    (address 0xa30, driver `nct6775')

 

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

Driver `nct6775':
  * ISA bus, address 0xa30
    Chip `Nuvoton NCT5577D/NCT6776F Super IO Sensors' (confidence: 9)

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

Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no):
You should now start the lm_sensors service to load the required
kernel modules.

 

I have obtained the module nct6775.ko

 

but now I am stuck.

 

Where do I place the driver module, How do I get it loaded,  which configuration file need to be modified.  I would prefer not to build the kernel as I am not that knowledgeable on linux or coding

 

I think that I have to also modify the lm_sensors script which i have copied to /etc/init.d ( if thats the right place )

 

 

Link to comment
Share on other sites

  • 1 month later...
On 1/5/2018 at 6:48 PM, Eph61 said:

Where do I place the driver module, How do I get it loaded,  which configuration file need to be modified.  I would prefer not to build the kernel as I am not that knowledgeable on linux or coding

 

On 1/5/2018 at 6:48 PM, Eph61 said:

I have obtained the module nct6775.ko

how? if your knowledge about it is not so good i'd guess you just took a file with the right name from somewhere? that will not work

kernel drivers have to be compiled specifically for the kernel you are using

as i was already building hwmon drivers for some one i did nct6775.ko too, loading it manually for testing will be with "insmod", but if you want to go that deep you will have to read a lot to pull that off, dsm/xpenology is not a good platform for doing stuff like this, its a appliance so you depend on what sysnology is doing and they don't care about "extension" like this, so even if you get it up and runnning, next update you install and you will have to redo all the steps

 

you will find your driver for 3615 image here

https://xpenology.com/forum/topic/9925-hwmon-kernel-driver/

Link to comment
Share on other sites

  • 4 months later...

Hello!

 

i have same NAS. How you do this? How lm-sensors uses driver nct6775?

I download module from IG-88 link, place to NAS and activate by insmod command. But sensors-detect not see it! Returns "must-be-written". 

Dx4000 fan run on 100%.

My sensors returns:

bash-3.2# sensors


coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +32.0°C  (crit = +100.0°C)
Core 1:       +31.0°C  (crit = +100.0°C)

nct6776-isa-0a30
Adapter: ISA adapter
Vcore:          +1.20 V  (min =  +0.00 V, max =  +1.74 V)
in1:            +1.07 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
AVCC:           +3.34 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
+3.3V:          +3.33 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in4:            +1.01 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in5:            +1.02 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in6:            +0.29 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
3VSB:           +3.34 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
Vbat:           +3.23 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
fan1:             0 RPM  (min =    0 RPM)
fan2:          2327 RPM  (min =    0 RPM)
fan3:             0 RPM  (min =    0 RPM)
SYSTIN:         +40.0°C  (high =  +0.0°C, hyst =  +0.0°C)  ALARM  sensor = thermistor
CPUTIN:         +65.5°C  (high = +80.0°C, hyst = +75.0°C)  sensor = diode
AUXTIN:         +81.0°C  (high = +80.0°C, hyst = +75.0°C)  ALARM  sensor = thermistor
PCH_CHIP_TEMP:   +0.0°C  
PCH_CPU_TEMP:    +0.0°C  
PCH_MCH_TEMP:    +0.0°C  
intrusion0:    ALARM
intrusion1:    ALARM

 

 What I need to do next?

Thanks to everyone. 

Link to comment
Share on other sites

  • 2 years later...

Hi, @IG-88

 

I have this nas WD Sentinel DX4000 and i am on DSM 6.2.3, jun loader 1.04b, DS918+

The problem is of course the fan noise, i have installed OPKG and lm-sensors, atfer detection i have:

 

Found `Nuvoton NCT5577D/NCT6776F Super IO Sensors'          Success!
    (address 0xa30, driver `nct6775')

 

 

"kernel drivers have to be compiled specifically for the kernel you are using "    i dont know how to do it 🙁

 

This driver nct6775 is included in some DSM or extra.lzma ?

 

I think I've read half of the forum, but I admit that linux is a new thing to me.

Link to comment
Share on other sites

1 hour ago, Dixsu said:

I have this nas WD Sentinel DX4000 and i am on DSM 6.2.3, jun loader 1.04b, DS918+

The problem is of course the fan noise, i have installed OPKG and lm-sensors, atfer detection i have:

 

Found `Nuvoton NCT5577D/NCT6776F Super IO Sensors'          Success!
    (address 0xa30, driver `nct6775')

 

 

"kernel drivers have to be compiled specifically for the kernel you are using "    i dont know how to do it 

 

you can have the driver, i made that specific for a user who wanted to implement it the synology way

afaik its not like having a driver and lm-sensors, so you may look here for implementig it properly

https://xpenology.com/forum/topic/14007-terramaster-f4-220-fan-control/?tab=comments#comment-184414

the attached file contains the driver for all three loaders

 

1 hour ago, Dixsu said:

This driver nct6775 is included in some DSM or extra.lzma ?

there would be a lot of these drivers in the kernel but without any software package supporting it its pointless to invest time

nct6775_dsm_6.2.3.zip

Link to comment
Share on other sites

  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

×
×
  • Create New...