fancontrol - configuring 2 individual pwm fans

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
Gorgar
Level 1
Level 1
Posts: 7
Joined: Thu Mar 08, 2018 2:04 pm

fancontrol - configuring 2 individual pwm fans

Post by Gorgar » Sun Mar 18, 2018 3:53 pm

Dear community,

i would like to control 2 fans individually.

(as mentioned in my other post on kernel upgrade and consequences viewtopic.php?f=90&t=265980#p1445825, i'm now having problems with fancontrol/psensor)

I use two pwm fans in my case: one for the CPU, one for the HDDs.

The sensors found are
  • Intel digital thermal sensor...
    (driver `coretemp')
  • Found `ITE IT8718F Super IO Sensors'
    (address 0x290, driver `it87') .
This is what fancontrol shows
  • # Configuration file generated by pwmconfig, changes will be lost
    INTERVAL=10
    DEVPATH=hwmon1=devices/platform/coretemp.0 hwmon2=devices/platform/it87.656
    DEVNAME=hwmon1=coretemp hwmon2=it8718
    FCTEMPS=hwmon2/device/pwm1=hwmon1/temp2_input
    FCFANS= hwmon2/device/pwm1=hwmon2/device/fan1_input
    MINTEMP=hwmon2/device/pwm1=20
    MAXTEMP=hwmon2/device/pwm1=38
    MINSTART=hwmon2/device/pwm1=145
    MINSTOP=hwmon2/device/pwm1=75
    MINPWM=hwmon2/device/pwm1=75
    MAXPWM=hwmon2/device/pwm1=255.

While the CPU-fan (lmsensor it8718-isa-290 fan1) runs o.k., the HDD-fan (lmsensor it8718-isa-290 fan2) hardly starts. Especially that is bugging me, because now my HDDs are close to 40°C compared to less than 30°C before changing the kernel and fancontrol.

Is there a way of adding fan2 to fancontrol/pwmconfig by adding a line?
Do you have suggestions?
I am not a robot.

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

Re: fancontrol - configuring 2 individual pwm fans

Post by Matthew_Wai » Thu Mar 07, 2019 10:38 am

Gorgar wrote:
Sun Mar 18, 2018 3:53 pm
Is there a way of adding fan2 to fancontrol/pwmconfig by adding a line?
Did you enter "Y" in answer to the question about hwmon2/device/pwm2 during the "pwmconfig" session?
I replaced Windows 10 with Linux Mint on January 1, 2019.

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

Re: fancontrol - configuring 2 individual pwm fans

Post by phd21 » Thu Mar 07, 2019 11:55 am

Hi Gorgar,

I just read your post and the good replies to it. Here are my thoughts on this as well.

Here is another post on fan control.

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

Code: Select all

sudo sensors-detect --auto
How can fan speed be adjusted automatically according to temperature?
viewtopic.php?f=49&t=286399&hilit=fancontrol

Install and configure monitoring tool in Ubuntu 18.04
https://medium.com/@Oysiyl/install-and- ... e1566050a8

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: 219
Joined: Sun Jun 07, 2015 10:42 am
Location: China

Re: fancontrol - configuring 2 individual pwm fans

Post by Matthew_Wai » Fri Mar 08, 2019 9:32 am

phd21 wrote:
Thu Mar 07, 2019 11:55 am
Tip: When running "sensors-detect" you can have it automatically answer all the default questions

Code: Select all

sudo sensors-detect --auto
I found the following warning on another forum: https://askubuntu.com/questions/22108/

WARNING: Do NOT answer to all sensors-detect questions with yes. I did that, and I had the most disturbing system crash!
I would like to reiterate: Do NOT answer all sensors-detect questions with "Yes", it can PERMANENTLY damage your computer.
I replaced Windows 10 with Linux Mint on January 1, 2019.

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

Re: fancontrol - configuring 2 individual pwm fans

Post by phd21 » Fri Mar 08, 2019 12:46 pm

Hi "Matthew_Wai",

The command "sensors-detect" with the "--auto" uses the defaults for all the questions, it does not automatically answer yes to all of them.

I have run this "sensors-detect" command many times on various computers and Linux operating systems for years where I did manually answer yes to all of the questions and it never produced a problem for me or the systems I ran it on. But, that does not necessarily mean everyone should answer yes to all of the sensor questions.

Type "man sensors-detect" to see help description on this and or search the Internet.

I also read your other post where you have updated it with your instructions for updating sensors. Since my ancient computer hardware does not have any sensors other than CPU and drive temp. sensors, I cannot test or try those.
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: 219
Joined: Sun Jun 07, 2015 10:42 am
Location: China

Re: fancontrol - configuring 2 individual pwm fans

Post by Matthew_Wai » Fri Mar 08, 2019 11:19 pm

phd21 wrote:
Fri Mar 08, 2019 12:46 pm
The command "sensors-detect" with the "--auto" uses the defaults for all the questions, it does not automatically answer yes to all of them.
Please look at the following question:
Do you want to add these lines automatically to /etc/modules? (yes/NO)
The default is "NO".
As sudo sensors-detect --auto uses the defaults, does a user have to manually add the lines to /etc/modules?

BTW, yesterday I submitted a tutorial in the Tutorials section. When will it be processed? Will I be notified if it is rejected?
I replaced Windows 10 with Linux Mint on January 1, 2019.

Post Reply

Return to “Newbie Questions”