(Solved) How can fan speed be adjusted automatically according to temperature?

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Matthew_Wai
Level 4
Level 4
Posts: 425
Joined: Sun Jun 07, 2015 10:42 am
Location: China

(Solved) How can fan speed be adjusted automatically according to temperature?

Post by Matthew_Wai » Wed Jan 23, 2019 6:29 am

How can fan speed be adjusted automatically according to temperature?
Last edited by Matthew_Wai on Fri Mar 08, 2019 10:35 am, edited 4 times in total.

DAMIEN1307
Level 8
Level 8
Posts: 2066
Joined: Tue Feb 21, 2017 8:13 pm
Location: Alamogordo, New Mexico, USA

Re: How can fan speed be adjusted automatically according to temperature?

Post by DAMIEN1307 » Wed Jan 23, 2019 4:10 pm

to access lm-sensors, it does not have a native GUI...you use the terminal to see it by typing the word "sensors" into the terminal...if you want it to work via a GUI, you will need to download 'psensor"...just copy and paste the command provided below into your terminal to download it...be sure that once you open it from the menu to click on the tab in upper left corner that says "psensor" then click "preferences", then click "startup" and make sure all three boxes are ticked in the on position so that psensor will startup and be in the system panel tray...DAMIEN

ps...as far as a substitute for speedfan, hopefully someone else will have an answer for that one...the ones i know, "thinkfan" and "fancontrol" are both discontinued and no longer supported...should be noted that "speedfan" you used in windows was also discontinued i think in june 2016 and also is no longer supported.

Code: Select all

sudo apt install psensor
ORDO AB CHAO

User avatar
phd21
Level 19
Level 19
Posts: 9291
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: How can fan speed be adjusted automatically according to temperature?

Post by phd21 » Wed Jan 23, 2019 5:51 pm

Hi Matthew_Wai,

Fan speed control - ArchWiki
https://wiki.archlinux.org/index.php/fan_speed_control

Most Effective Ways To Reduce Laptop Overheating In Linux - It's FOSS
https://itsfoss.com/reduce-overheating-laptops-linux/

Maldela/fancontrol-gui: GUI for Fancontrol. It uses the KAuth module of the KDE Frameworks 5 to write the generated config file. Furthermore it communicates with systemd via dbus to control the fancontrol service. If you want to compile without systemd support set the -DNO_SYSTEMD option.
https://github.com/Maldela/fancontrol-gui

Very high fan speed on Ubuntu 18.04 - Ask Ubuntu
https://askubuntu.com/questions/1032109 ... untu-18-04

What is a good GUI application to control the fan speed ? : Ubuntu
https://www.reddit.com/r/Ubuntu/comment ... l_the_fan/

Hope this helps ...
Phd21: Mint KDE 18.3 & 19, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

Matthew_Wai
Level 4
Level 4
Posts: 425
Joined: Sun Jun 07, 2015 10:42 am
Location: China

Re: How can fan speed be adjusted automatically according to temperature?

Post by Matthew_Wai » Thu Jan 24, 2019 2:11 am

Google found this https://pkgs.org/download/fancontrol
Does it work on Mint 19?

User avatar
phd21
Level 19
Level 19
Posts: 9291
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: How can fan speed be adjusted automatically according to temperature?

Post by phd21 » Thu Jan 24, 2019 2:21 am

Hi Matthew_Wai,

"fancontrol" is already in the Software Manager or Synaptic Package Manager (SPM). This is not a desktop GUI and the links I provided before cover using fancontrol.

The only desktop GUI for fan control I could find requires compiling it from source code which did compile on my system. Unfortunately, my ancient under-powered computer does not have smart motherboard features where the fan can be monitored or controlled except from the Bios, so I cannot test desktop GUI.
Phd21: Mint KDE 18.3 & 19, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

Matthew_Wai
Level 4
Level 4
Posts: 425
Joined: Sun Jun 07, 2015 10:42 am
Location: China

Re: How can fan speed be adjusted automatically according to temperature?

Post by Matthew_Wai » Thu Jan 24, 2019 3:11 am

phd21 wrote:
Thu Jan 24, 2019 2:21 am
"fancontrol" is already in the Software Manager
Do you mean it can be installed offline, i.e. without Internet connection?
I want an offline installer because I like manual installation instead of clicking on "Install" below.

Fancontrol on Software Manager.jpg

Matthew_Wai
Level 4
Level 4
Posts: 425
Joined: Sun Jun 07, 2015 10:42 am
Location: China

Re: How can fan speed be adjusted automatically according to temperature?

Post by Matthew_Wai » Thu Jan 24, 2019 7:56 am

Fancontrol installed.jpg
I have just installed Fancontrol, but /etc/conf.d/lm_sensors does not exist.
No RPM is shown below. What should I do? My chip is ITE IT8620E, which is on this support list.

Code: Select all

matthew@matthew-pc:~$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:        +27.8°C  (crit = +105.0°C)
temp2:        +29.8°C  (crit = +105.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +30.0°C  (high = +80.0°C, crit = +100.0°C)
Core 0:        +27.0°C  (high = +80.0°C, crit = +100.0°C)
Core 1:        +30.0°C  (high = +80.0°C, crit = +100.0°C)

Matthew_Wai
Level 4
Level 4
Posts: 425
Joined: Sun Jun 07, 2015 10:42 am
Location: China

Re: How can fan speed be adjusted automatically according to temperature?

Post by Matthew_Wai » Thu Jan 24, 2019 10:30 am

Have I done correctly below? What should I do next?

Code: Select all

matthew@matthew-pc:~$ sudo sensors-detect
[sudo] password for matthew: 
# sensors-detect revision 6284 (2015-05-31 14:00:33 +0200)
# System: Gigabyte Technology Co., Ltd. H81M-DS2
# Kernel: 4.15.0-20-generic x86_64
# Processor: Intel(R) Core(TM) i3-4130 CPU @ 3.40GHz (6/60/3)

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...                             Success!
    (driver `coretemp')
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'...                                      Yes
Found `ITE IT8620E Super IO Sensors'                        Success!
    (address 0xa30, driver `it87')
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): 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
Using driver `i2c-i801' for device 0000:00:1f.3: Intel Lynx Point (PCH)
Module i2c-i801 loaded successfully.

Next adapter: i915 gmbus ssc (i2c-0)
Do you want to scan it? (yes/NO/selectively): y

Next adapter: i915 gmbus vga (i2c-1)
Do you want to scan it? (yes/NO/selectively): y
Client found at address 0x58
Probing for `Analog Devices ADT7462'...                     No
Probing for `Andigilog aSC7512'...                          No

Next adapter: i915 gmbus panel (i2c-2)
Do you want to scan it? (yes/NO/selectively): y

Next adapter: i915 gmbus dpc (i2c-3)
Do you want to scan it? (yes/NO/selectively): y

Next adapter: i915 gmbus dpb (i2c-4)
Do you want to scan it? (yes/NO/selectively): y

Next adapter: i915 gmbus dpd (i2c-5)
Do you want to scan it? (yes/NO/selectively): y

Next adapter: SMBus I801 adapter at f040 (i2c-6)
Do you want to scan it? (yes/NO/selectively): y
Client found at address 0x50
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'...                                No
Client found at address 0x52
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 Yes
    (confidence 8, not a hardware monitoring chip)


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

Driver `it87':
  * ISA bus, address 0xa30
    Chip `ITE IT8620E Super IO Sensors' (confidence: 9)

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

To load everything that is needed, add this to /etc/modules:
#----cut here----
# Chip drivers
coretemp
it87
#----cut here----
If you have some drivers built into your kernel, the list above will
contain too many modules. Skip the appropriate ones!

Do you want to add these lines automatically to /etc/modules? (yes/NO)n

Unloading i2c-i801... OK
Unloading cpuid... OK

User avatar
trytip
Level 11
Level 11
Posts: 3689
Joined: Tue Jul 05, 2016 1:20 pm

Re: How can fan speed be adjusted automatically according to temperature?

Post by trytip » Thu Jan 24, 2019 1:13 pm

doesn't your bios have fan control? that's where i set my controls. i don't let linux or windows software control fan speeds
Image

User avatar
phd21
Level 19
Level 19
Posts: 9291
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: How can fan speed be adjusted automatically according to temperature?

Post by phd21 » Thu Jan 24, 2019 2:10 pm

Hi Matthew_Wai,

The links I already provided and the one below should provide you with enough instructions on getting "fancontrol" and your software for hardware sensors installed and working. If you search the "Synaptic Package Manager (SPM)" for "fan control" you will see various packages that can be installed. As I already stated my ancient computer hardware only has sensors for the CPU, no fan access, and nothing else that newer computers would have, so I cannot test this thoroughly.

Fan speed control - Linuxsecrets
https://www.linuxsecrets.com/2744-fan-speed-control

Below is the only fancontrol desktop GUI application I could find and it has good instructions for downloading and compiling its source code towards the bottom of the web page.

First Install various software packages for compiling software applications from source code, then follow the instructions from the link.

Code: Select all

sudo apt-get install -y apt-transport-https build-essential cmake  cmake-extras extra-cmake-modules git curl wget checkinstall autogen ccache
fancontrol-gui: GUI for Fancontrol. It uses the KAuth module of the KDE Frameworks 5 to write the generated config file. Furthermore it communicates with systemd via dbus to control the fancontrol service. If you want to compile without systemd support set the -DNO_SYSTEMD option.
https://github.com/Maldela/fancontrol-gui

To install fancontrol-gui using their instructions, open a console terminal, type in, or copy & paste, each line below one by one: Click "Select All" above command, right click the highlighted command, select Copy (or Ctrl+Insert), click in the console terminal window, and right click paste ("Shift+Insert" or "Ctrl+Shift+v"), repeat for each command.

Code: Select all

sudo apt-get install libkf5config-dev libkf5auth-dev libkf5package-dev libkf5declarative-dev libkf5coreaddons-dev libkf5kcmutils-dev libkf5i18n-dev libqt5core5a libqt5widgets5 libqt5gui5 libqt5qml5 extra-cmake-modules qtbase5-dev kirigami2-dev libkf5kirigami2-5 libkf5notifications-dev qml-module-org-kde-kirigami2 cmake

Code: Select all

git clone https://github.com/Maldela/fancontrol-gui.git

Code: Select all

cd fancontrol-gui

Code: Select all

mkdir build

Code: Select all

cd build

Code: Select all

cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_KCM=on

Code: Select all

make -j2

Code: Select all

sudo make install

When updating your sensors for the first time and after saying yes to all the questions, towards the bottom it asks if you want to update the "/etc/modules" which I think you should have said yes to, then restart your computer. You can re-run the sensors command or manually edit the "/etc/modules" file to add the information from below.

Tip: When running "sensors-detect" you can have it automatically answer all the default questions

Code: Select all

sudo sensors-detect --auto
To load everything that is needed, add this to /etc/modules:
#----cut here----
# Chip drivers
coretemp
it87
#----cut here----
If you have some drivers built into your kernel, the list above will
contain too many modules. Skip the appropriate ones!

Do you want to add these lines automatically to /etc/modules? (yes/NO)n yes
Unloading i2c-i801... OK
Unloading cpuid... OK
Hope this helps ...
.
fancontrol-gui
fancontrol-gui
Last edited by phd21 on Thu Mar 07, 2019 12:06 pm, edited 1 time in total.
Phd21: Mint KDE 18.3 & 19, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram,256gb SDD, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

Matthew_Wai
Level 4
Level 4
Posts: 425
Joined: Sun Jun 07, 2015 10:42 am
Location: China

Re: How can fan speed be adjusted automatically according to temperature?

Post by Matthew_Wai » Fri Jan 25, 2019 6:29 am

Code: Select all

matthew@matthew-pc:~$ sensors
it8620-isa-0a30
Adapter: ISA adapter
in0:          +0.01 V  (min =  +0.00 V, max =  +3.06 V)
in1:          +2.08 V  (min =  +0.00 V, max =  +3.06 V)
in2:          +2.03 V  (min =  +0.00 V, max =  +3.06 V)
in3:          +2.02 V  (min =  +0.00 V, max =  +3.06 V)
in4:          +0.01 V  (min =  +0.00 V, max =  +3.06 V)
in5:          +1.74 V  (min =  +0.00 V, max =  +3.06 V)
in6:          +1.50 V  (min =  +0.00 V, max =  +3.06 V)
3VSB:         +3.38 V  (min =  +0.00 V, max =  +6.12 V)
Vbat:         +2.90 V  
fan1:         807 RPM  (min =    0 RPM)
fan2:        2257 RPM  (min =    0 RPM)
fan3:           0 RPM  (min =    0 RPM)
fan4:           0 RPM  (min =    0 RPM)
fan5:           0 RPM  (min =    0 RPM)
temp1:        +34.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp2:       -128.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = disabled
temp3:        +23.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = Intel PECI
temp4:        +45.0°C  
temp5:        +36.0°C  
temp6:        +45.0°C  
intrusion0:  ALARM

acpitz-virtual-0
Adapter: Virtual device
temp1:        +27.8°C  (crit = +105.0°C)
temp2:        +29.8°C  (crit = +105.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +33.0°C  (high = +80.0°C, crit = +100.0°C)
Core 0:        +30.0°C  (high = +80.0°C, crit = +100.0°C)
Core 1:        +32.0°C  (high = +80.0°C, crit = +100.0°C) 
Last edited by Matthew_Wai on Sat Jan 26, 2019 11:56 am, edited 4 times in total.

Matthew_Wai
Level 4
Level 4
Posts: 425
Joined: Sun Jun 07, 2015 10:42 am
Location: China

Re: How can fan speed be adjusted automatically according to temperature?

Post by Matthew_Wai » Fri Jan 25, 2019 7:46 am

trytip wrote:
Thu Jan 24, 2019 1:13 pm
doesn't your bios have fan control?
My BIOS adjusts the case fan according to the motherboard temperature.
I want to adjust the case fan according to the hard disk temperature.
The hard disk temperature is usually higher than the motherboard temperature.
In summer, even if the hard disk is hot, the case fan will still not spin at full speed.

Matthew_Wai
Level 4
Level 4
Posts: 425
Joined: Sun Jun 07, 2015 10:42 am
Location: China

Re: How can fan speed be adjusted automatically according to temperature?

Post by Matthew_Wai » Fri Jan 25, 2019 9:14 am

DAMIEN1307 wrote:
Wed Jan 23, 2019 4:10 pm

Code: Select all

sudo apt install psensor
I like to install software via offline installers rather than via commands, so I have downloaded Psensor, Psensor-common, and libxnvctrl0 from the following pages:
https://www.ubuntuupdates.org/package/c ... se/psensor
https://www.ubuntuupdates.org/package_m ... sor-common
https://www.ubuntuupdates.org/pm/libxnvctrl0

Matthew_Wai
Level 4
Level 4
Posts: 425
Joined: Sun Jun 07, 2015 10:42 am
Location: China

Re: How can fan speed be adjusted automatically according to temperature?

Post by Matthew_Wai » Fri Jan 25, 2019 9:41 am

No "temp" on Terminal refers to the hard disk, which is 39°C.
It seems that the hard disk sensor is not detected.

Which is HDD.jpg

DAMIEN1307
Level 8
Level 8
Posts: 2066
Joined: Tue Feb 21, 2017 8:13 pm
Location: Alamogordo, New Mexico, USA

Re: How can fan speed be adjusted automatically according to temperature?

Post by DAMIEN1307 » Fri Jan 25, 2019 7:53 pm

i gave you that way only because t was quick and easy, it was also in your regular software manager...it is not wise at all to download from other locations other than software manager or synaptic or the terminal...just because linux mint is ubuntu based does not mean to download things from ubuntuupdates.org, not all stuff from ubuntu will work correctly on linux mint...there are things about linux mint that are unique to linux mint only.
in future when you need a program, look in update manager or synaptic FIRST, or ask here and follow instructions that knowledgeable people here will help you with and try to stay within our own repositories unless your instructed here in the forums which programs from the "outside" will work ok, to do otherwise will risk the security and stability of your operating system...DAMIEN

PS...the right hand portion of your split screen picture you posted show your Hard drive temp to be 39C which is a pretty good temperature for your hard drive. when you open up psensor from the menu, it should show you the same thing as well. follow the instructions i gave you in the first post to enable psensor on startup so you will see it in the panel/taskbar upon startup.
ORDO AB CHAO

Matthew_Wai
Level 4
Level 4
Posts: 425
Joined: Sun Jun 07, 2015 10:42 am
Location: China

Re: How can fan speed be adjusted automatically according to temperature?

Post by Matthew_Wai » Fri Jan 25, 2019 11:30 pm

DAMIEN1307 wrote:
Fri Jan 25, 2019 7:53 pm
Hard drive temp to be 39C which is a pretty good temperature for your hard drive.
It is in winter now, so the hard drive is not hot. When it is in summer, the hard drive will be much hotter, but the case fan will still not spin at full speed.

Matthew_Wai
Level 4
Level 4
Posts: 425
Joined: Sun Jun 07, 2015 10:42 am
Location: China

Re: How can fan speed be adjusted automatically according to temperature?

Post by Matthew_Wai » Sat Jan 26, 2019 12:38 pm

DAMIEN1307 wrote:
Fri Jan 25, 2019 7:53 pm
your Hard drive temp [...] when you open up psensor from the menu, it should show you the same thing as well.
My hard disk temperature is not shown on Psensor.

HDD temp is absent.jpg

User avatar
trytip
Level 11
Level 11
Posts: 3689
Joined: Tue Jul 05, 2016 1:20 pm

Re: How can fan speed be adjusted automatically according to temperature?

Post by trytip » Sat Jan 26, 2019 1:23 pm

@ Matthew_Wai
i haven't used psensor in quite a while but i remember i had to hide some temps and allow others. for instance your fans 3-5 don't display any values so you can remove them from being shown. in psensors preferences you may have to enable more providers
Image

Matthew_Wai
Level 4
Level 4
Posts: 425
Joined: Sun Jun 07, 2015 10:42 am
Location: China

Re: How can fan speed be adjusted automatically according to temperature?

Post by Matthew_Wai » Sat Jan 26, 2019 2:30 pm

trytip wrote:
Sat Jan 26, 2019 1:23 pm
your fans 3-5 don't display any values so you can remove them from being shown. in psensors preferences you may have to enable more providers
Done as you said. See the screenshot below. My hard disk has just appeared as "ST3500418AS". However, pwmconfig shows the following list, from which "ST3500418AS" is absent, so it is impossible to adjust the case fan according to the hard disk temperature. Psensor can detect my hard disk ,but Lm-sensors cannot. Do you have a solution?

Psensor shows HDD.jpg

Code: Select all

matthew@matthew-pc:~$ sudo pwmconfig
[...]
Current temperature readings are as follows:
hwmon0/temp1_input	27
hwmon0/temp2_input	29
hwmon1/temp1_input	29
hwmon1/temp2_input	28
hwmon1/temp3_input	28
hwmon2/temp1_input	32
hwmon2/temp2_input	-128
hwmon2/temp3_input	20
hwmon2/temp4_input	45
hwmon2/temp5_input	32
hwmon2/temp6_input	45

Code: Select all

matthew@matthew-pc:~$ sensors
[...]
temp1:        +34.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp2:       -128.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = disabled
temp3:        +24.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = Intel PECI
temp4:        +45.0°C  
temp5:        +35.0°C  
temp6:        +45.0°C  
intrusion0:  ALARM

acpitz-virtual-0
Adapter: Virtual device
temp1:        +27.8°C  (crit = +105.0°C)
temp2:        +29.8°C  (crit = +105.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +33.0°C  (high = +80.0°C, crit = +100.0°C)
Core 0:        +30.0°C  (high = +80.0°C, crit = +100.0°C)
Core 1:        +33.0°C  (high = +80.0°C, crit = +100.0°C)

Matthew_Wai
Level 4
Level 4
Posts: 425
Joined: Sun Jun 07, 2015 10:42 am
Location: China

Re: How can fan speed be adjusted automatically according to temperature?

Post by Matthew_Wai » Sun Jan 27, 2019 1:34 am

https://github.com/desbma/hddfancontrol
I just found the above, but it is too difficult for me, a beginner, to understand.

I wonder why hddtemp /dev/sda can detect the hard disk, but sensors cannot.

Code: Select all

matthew@matthew-pc:~$ sudo hddtemp /dev/sda
[sudo] password for matthew: 
/dev/sda: ST3500418AS: 37°C
matthew@matthew-pc:~$ sensors
[...]
temp1:        +33.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp2:       -128.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = disabled
temp3:        +21.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = Intel PECI
temp4:        +45.0°C  
temp5:        +34.0°C  
temp6:        +45.0°C  
intrusion0:  ALARM

acpitz-virtual-0
Adapter: Virtual device
temp1:        +27.8°C  (crit = +105.0°C)
temp2:        +29.8°C  (crit = +105.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +31.0°C  (high = +80.0°C, crit = +100.0°C)
Core 0:        +29.0°C  (high = +80.0°C, crit = +100.0°C)
Core 1:        +31.0°C  (high = +80.0°C, crit = +100.0°C)

Post Reply

Return to “Hardware Support”