PDA

View Full Version : [SOLVED] pwmconfig doesn't write /etc/fancontrol



luca10
April 6th, 2014, 09:12 AM
Hello everybody :p

After I run pwconfig it doesn't write the properties within /etc/fancontrol



xxxxx@xxxxxx:~$ sudo pwmconfig
# pwmconfig revision 5857 (2010-08-22)
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 is atk0110
hwmon2 is nouveau


Found the following PWM controls:
hwmon2/pwm1 current value: 5


Giving the fans some time to reach full speed...
Found the following fan sensors:
hwmon1/fan1_input current speed: 2280 RPM
hwmon1/fan2_input current speed: 1757 RPM
hwmon1/fan3_input current speed: 0 ... skipping!
hwmon1/fan4_input current speed: 0 ... skipping!
hwmon1/fan5_input current speed: 1670 RPM


Warning!!! This program will stop your fans, one at a time,
for approximately 5 seconds each!!!
This may cause your processor temperature to rise!!!
If you do not want to do this hit control-C now!!!
Hit return to continue:


Testing pwm control hwmon2/pwm1 ...
Manual control mode not supported, skipping.
Testing is complete.
Please verify that all fans have returned to their normal speed.


The fancontrol script can automatically respond to temperature changes
of your system by changing fanspeeds.
Do you want to set up its configuration file now (y)? y
What should be the path to your fancontrol config file (/etc/fancontrol)?
Loading configuration from /etc/fancontrol ...


Select fan output to configure, or other action:
1) Change INTERVAL 3) Save and quit
2) Just quit 4) Show configuration
select (1-n): 4


Common Settings:
INTERVAL=10




Select fan output to configure, or other action:
1) Change INTERVAL 3) Save and quit
2) Just quit 4) Show configuration
select (1-n): 3


Saving configuration to /etc/fancontrol...
Configuration saved





After that I do
more etc/fancontrol and I see this :



xxxxx@xxxxxx:~$ more /etc/fancontrol
# Configuration file generated by pwmconfig, changes will be lost
INTERVAL=10
DEVPATH=
DEVNAME=
FCTEMPS=
FCFANS=
MINTEMP=
MAXTEMP=
MINSTART=
MINSTOP=


My OS is Ubuntu 13.10 64-bit
Motherboard Asus P5B-Deluxe

Where I have to check to solve this problem?
Thanks

Yellow Pasque
April 6th, 2014, 09:36 PM
All the pwmconfig program is doing is testing whether it can control the fan on your nvidia card (and failing).

Testing pwm control hwmon2/pwm1 ...
Manual control mode not supported, skipping.
Testing is complete.
It then writes INTERVAL=10, so it is outputting correctly. I guess you want to control the fans on your mobo? You need to make sure you turn off BIOS fan control and that the fan headers are capable of PWM control.

luca10
April 7th, 2014, 08:10 AM
All the pwmconfig program is doing is testing whether it can control the fan on your nvidia card (and failing).

Testing pwm control hwmon2/pwm1 ...
Manual control mode not supported, skipping.
Testing is complete.
It then writes INTERVAL=10, so it is outputting correctly. I guess you want to control the fans on your mobo? You need to make sure you turn off BIOS fan control and that the fan headers are capable of PWM control.

Yes I want do that.
Do you know the settings that I have to turn off? I wouldn't burn my mobo or core. :lolflag:
My mobo is Asus P5B-Deluxe.

Yellow Pasque
April 7th, 2014, 12:08 PM
It depends on your BIOS. I think Asus calls it Qfan.


I wouldn't burn my mobo or core.
No. If you turn off the BIOS fan control, the fans will run at full speed until you run pwmconfig.

luca10
April 7th, 2014, 11:19 PM
These are my settings BIOS

POWER


Suspend mode
[auto]


Repost video on s3 resume
[disabled]


ACPI 2.0 support
[disabled]


ACPI APIC support
[enabled]


APM Configuration
[all disabled]




POWER -> HARDWARE MONITOR


CPU Q-Fan control
[disabled]


CHASSIS Q-Fan control
[disabled]




Below the result of pwconfig


xxx@xxx:~$ sudo pwmconfig
[sudo] password for xxx:
# pwmconfig revision 5857 (2010-08-22)
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 is atk0110
hwmon2 is nouveau


Found the following PWM controls:
hwmon2/pwm1 current value: 5


Giving the fans some time to reach full speed...
Found the following fan sensors:
hwmon1/fan1_input current speed: 2311 RPM
hwmon1/fan2_input current speed: 1776 RPM
hwmon1/fan3_input current speed: 0 ... skipping!
hwmon1/fan4_input current speed: 0 ... skipping!
hwmon1/fan5_input current speed: 1721 RPM


Warning!!! This program will stop your fans, one at a time,
for approximately 5 seconds each!!!
This may cause your processor temperature to rise!!!
If you do not want to do this hit control-C now!!!
Hit return to continue:


Testing pwm control hwmon2/pwm1 ...
Manual control mode not supported, skipping.
Testing is complete.
Please verify that all fans have returned to their normal speed.


The fancontrol script can automatically respond to temperature changes
of your system by changing fanspeeds.
Do you want to set up its configuration file now (y)? y
What should be the path to your fancontrol config file (/etc/fancontrol)?
Loading configuration from /etc/fancontrol ...


Select fan output to configure, or other action:
1) Change INTERVAL 3) Save and quit
2) Just quit 4) Show configuration
select (1-n): 3


Saving configuration to /etc/fancontrol...
Configuration saved





Below the entire /etc/fancontrol



# Configuration file generated by pwmconfig, changes will be lost
INTERVAL=10
DEVPATH=
DEVNAME=
FCTEMPS=
FCFANS=
MINTEMP=
MAXTEMP=
MINSTART=
MINSTOP=


I've also tried to run sensor-detect and after I've answered only YES this is my /etc/modules



# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.


lp
rtc


# Generated by sensors-detect on Sat Apr 5 22:43:17 2014
# Chip drivers
coretemp
w83627ehf

Yellow Pasque
April 8th, 2014, 03:54 PM
If you've disabled Qfan and you still can't control the fans with PWM, then you may just be SOL. :\
This is one of the reasons I won't buy or recommend Asus mobos...

luca10
April 8th, 2014, 04:50 PM
I'm so sad :sad:
Anyway trying to control the fans with pwmconfig I've discovered that I can do that via BIOS :D
Whether I enable Q-Fan I can set the fan in Silent or Optimal or Performance Mode.
The problem is that when I set in any modality the cpu's temperature become SUPERHOT (about 75 degree celsius)!!!
Now I Know that I leave the pwmconfig and I have to concentrate on other things like to renew the thermal compound!!

Thanks to all

luca10
April 10th, 2014, 08:28 PM
My problem is solved!!! :D

I've renewed the thermal compound
I've disconnected the power fan
I've settled the CPU Fan in Performance Mode
I've settled the Chassis Fan in Silent Mode


There isn't a perfect silent but is surely better now.
Thanks :P

How can I put the tag [SOLVED] in the topic's title?

mörgæs
April 10th, 2014, 09:36 PM
How can I put the tag [SOLVED] in the topic's title?


By using Thread Tools.

Yellow Pasque
April 10th, 2014, 11:43 PM
Who are you and why are you trolling me? (Yeah, I'll probably get slapped on the wrist for that, but I'm tired of people and their passive-aggressiveness)

luca10
April 11th, 2014, 01:21 PM
Who are you and why are you trolling me? (Yeah, I'll probably get slapped on the wrist for that, but I'm tired of people and their passive-aggressiveness)

I'm confused.
What are you talking about? :confused::confused:

mörgæs
April 11th, 2014, 07:20 PM
Problem is solved and there's no need for quarrel.
Closing the thread.