Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: P5Q asus mobo & fancontrol / pwmconfig

  1. #1
    Join Date
    Jun 2007
    Location
    Italia
    Beans
    121

    P5Q asus mobo & fancontrol / pwmconfig

    This mobo has a nice feature for powersaving called six engine. Is anybody able to use this feature on Linux? Or at least decrease the fan speed?

    Code:
    utente@utente-desktop:~$ pwmconfig 
    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 coretemp
       hwmon2/device is w83627ehf
    
    Found the following PWM controls:
       hwmon2/device/pwm1
       hwmon2/device/pwm2
       hwmon2/device/pwm3
       hwmon2/device/pwm4
    There are no usable PWM outputs.
    utente@utente-desktop:~$ sudo pwmconfig 
    [sudo] password for utente: 
    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 coretemp
       hwmon2/device is w83627ehf
    
    Found the following PWM controls:
       hwmon2/device/pwm1
       hwmon2/device/pwm2
       hwmon2/device/pwm3
       hwmon2/device/pwm4
    hwmon2/device/pwm4 is currently setup for automatic speed control.
    In general, automatic mode is preferred over manual mode, as
    it is more efficient and it reacts faster. Are you sure that
    you want to setup this output for manual control? (n) 
    
    Giving the fans some time to reach full speed...
    Found the following fan sensors:
       hwmon2/device/fan1_input     current speed: 0 ... skipping!
       hwmon2/device/fan2_input     current speed: 2678 RPM
       hwmon2/device/fan3_input     current speed: 0 ... skipping!
       hwmon2/device/fan4_input     current speed: 0 ... skipping!
       hwmon2/device/fan5_input     current speed: 0 ... skipping!
    
    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/device/pwm1 ...
      hwmon2/device/fan2_input ... speed was 2678 now 2657
        no correlation
    
    No correlations were detected.
    There is either no fan connected to the output of hwmon2/device/pwm1,
    or the connected fan has no rpm-signal connected to one of
    the tested fan sensors. (Note: not all motherboards have
    the pwm outputs connected to the fan connectors,
    check out the hardware database on http://www.almico.com/forumindex.php)
    
    Did you see/hear a fan stopping during the above test (n)? 
    
    Testing pwm control hwmon2/device/pwm2 ...
      hwmon2/device/fan2_input ... speed was 2678 now 2657
        no correlation
    
    No correlations were detected.
    There is either no fan connected to the output of hwmon2/device/pwm2,
    or the connected fan has no rpm-signal connected to one of
    the tested fan sensors. (Note: not all motherboards have
    the pwm outputs connected to the fan connectors,
    check out the hardware database on http://www.almico.com/forumindex.php)
    
    Did you see/hear a fan stopping during the above test (n)? 
    
    Testing pwm control hwmon2/device/pwm3 ...
      hwmon2/device/fan2_input ... speed was 2678 now 2678
        no correlation
    
    No correlations were detected.
    There is either no fan connected to the output of hwmon2/device/pwm3,
    or the connected fan has no rpm-signal connected to one of
    the tested fan sensors. (Note: not all motherboards have
    the pwm outputs connected to the fan connectors,
    check out the hardware database on http://www.almico.com/forumindex.php)
    
    Did you see/hear a fan stopping during the above test (n)? 
    
    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)? y
    
    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
    Hardware: Intel E8400, Asus P5Q, Radeon 4850
    OS: Ubuntu Linux 9.04
    Blog: http://grigio.org / Record Ubuntu Screencast in HD!

  2. #2
    Join Date
    Nov 2008
    Beans
    1

    Re: P5Q asus mobo & fancontrol / pwmconfig

    Your Motherboard can control fanspeed automatically: Enter BIOS go to Power then Hardware Monitor. Enable CPU Q-FAN Control and set CPU FAN Profile to Standard.

  3. #3
    Join Date
    Jun 2007
    Location
    Italia
    Beans
    121

    Re: P5Q asus mobo & fancontrol / pwmconfig

    I know but I'd like to set it without rebooting everytime
    Hardware: Intel E8400, Asus P5Q, Radeon 4850
    OS: Ubuntu Linux 9.04
    Blog: http://grigio.org / Record Ubuntu Screencast in HD!

  4. #4
    Join Date
    Jul 2005
    Location
    Amsterdam, NL
    Beans
    66
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: P5Q asus mobo & fancontrol / pwmconfig

    ASUS also includes tools like "AI nap" that can bring the P5Q into a energy-saving state that (according to ASUS) only requires 10W of energy consumption... Would be neat to have that with Ubuntu.

    Fan control via BIOS works like a charm! Super-silent system now

    Basically all recent ASUS mainboards can control BIOS functions (overclocking, fan control, energy saving, etc.. from the OS, you can even upgrade the BIOS from the OS - however >> Windows only..
    I have contacted ASUS on this but I am not a developer..
    Last edited by blackpaw; November 24th, 2008 at 11:25 AM. Reason: added details on fans and BIOS
    life is one of the hardest

  5. #5
    Join Date
    Aug 2006
    Location
    Geneva, Switzerland
    Beans
    93
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: P5Q asus mobo & fancontrol / pwmconfig

    Is there anything new, regarding this issue? Has someone found a bypass to get the same fan control as on windows?

  6. #6
    Join Date
    Aug 2008
    Beans
    1

    Re: P5Q asus mobo & fancontrol / pwmconfig

    After finally finding this bit of information: http://en.gentoo-wiki.com/wiki/Asus_...rdware_Sensors
    Which enlightened me as to how to get the sensor chip on my P5Q SE Plus playing nicely with lm-sensors (The P5Q-E and P5Q SE Plus have the same Winbond sensor chip, it seems), I'm able to control the "chassis" fan (and I'm assuming "Power" fan also, but don't have anything plugged into it ATM to find out). The CPU fan, though, isn't taking orders, and right now it's running at a headache-inducing highest speed.
    If you're using a different mobo your chip may already be supported properly (or possibly not at all), depending on your model, so you may not need to use that workaround I linked to.

    First, disable Q-Fan control for each fan in the BIOS (except for the CPU fan, as I'm unable to control it - hence the aforementioned headache). Then, after booting and loading the module (if necessary for you), go to:
    /sys/class/hwmon/hwmon2/device
    (it might not be hwmon2. 0 and 1 are my two CPU cores. If you have a single- or quad-core (or maybe other sensor things) your number will probably be different, so just poke around until you find files named like fan1_alarm, fan1_div, etc. etc. ad nauseum.)

    The files pwm1, pwm2, etc. are what control the fan speed, and they take numbers 0-255. The program pwmconfig will give you a correlation to RPM (you might have to run it as root). To find the current number on the first fan, use:
    cat pwm1
    To change its speed, use:
    sudo sh -c 'echo 150 > pwm1'
    The 150 you can change to your liking, between 0 and 255.

    For my board, fan1 (i.e., fan1_input etc. and pwm1 etc.) is the "Chassis" fan, fan2 is the CPU fan, and I'm assuming fan3 is going to be the "Power" fan. There is also fan4_* and pwm4* files there, and fan5_* files but no pwm5* files. My mobo only has 3 connectors though (CPU, "Power", and "Chassis"). So I'm assuming those files are are there simply because the chip has the ability to control 5(4?) fans.

    For anyone interested, specifications on the P5Q SE Plus:
    http://usa.asus.com/products.aspx?mo...11&l3=709&l4=0

    Now I'm going to go turn Q-Fan control back on for the CPU fan before the noise of it running at 1600+ RPMs gives me a real headache. :X

    Edit: Um. Kay. Now with Q-Fan re-enabled for the CPU fan I have to echo the speed to pwm2 in order to change fan1's speed, and that change is reflected in pwm1 while pwm2 still reflects the CPU fan's speed.. This is nonsense. =X
    That is to say,
    sudo sh -c 'echo 100 > pwm1' does nothing, but:
    sudo sh -c 'echo 100 > pwm2' changes the content of pwm1 to 100, while pwm2 still reports the CPU fan's speed, which is 88 at the moment.
    Last edited by Hazor; March 1st, 2009 at 10:41 PM.

  7. #7
    Join Date
    Jun 2007
    Location
    Italia
    Beans
    121

    Re: P5Q asus mobo & fancontrol / pwmconfig

    Are there improvements in Jaunty?
    Hardware: Intel E8400, Asus P5Q, Radeon 4850
    OS: Ubuntu Linux 9.04
    Blog: http://grigio.org / Record Ubuntu Screencast in HD!

  8. #8
    Join Date
    Nov 2008
    Beans
    43

    Re: P5Q asus mobo & fancontrol / pwmconfig

    Are there any improvements in Karmic?

  9. #9
    Join Date
    Jun 2007
    Location
    Italia
    Beans
    121

    Re: P5Q asus mobo & fancontrol / pwmconfig

    any news about how to control the fan speed via (Software) Linux?
    Hardware: Intel E8400, Asus P5Q, Radeon 4850
    OS: Ubuntu Linux 9.04
    Blog: http://grigio.org / Record Ubuntu Screencast in HD!

  10. #10
    Join Date
    Jun 2007
    Location
    Italia
    Beans
    121

    Thumbs down Re: P5Q asus mobo & fancontrol / pwmconfig

    up
    Hardware: Intel E8400, Asus P5Q, Radeon 4850
    OS: Ubuntu Linux 9.04
    Blog: http://grigio.org / Record Ubuntu Screencast in HD!

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •