Page 5 of 12 FirstFirst ... 34567 ... LastLast
Results 41 to 50 of 120

Thread: HOWTO: Fancontrol

  1. #41
    Join Date
    Apr 2007
    Beans
    173

    Re: HOWTO: Fancontrol

    But my hardware must have fan control because it is controlled when in Windows.

    My motherboard is an ASUS CUV4X-D (Coppermind PIII dual).

    How do I find out if I need a Linux driver, and what might that driver be? If I know what module I need then I can try loading it.

    Thanks for helping...

  2. #42
    Join Date
    Sep 2005
    Beans
    12

    Re: HOWTO: Fancontrol

    there are other ways besides PWM to control the fan speed, and fancontrol doesn't support those ways.

    see http://vip.asus.com/forum/view.aspx?...Language=en-us

    3 pin fan uses DC voltage control, 4 pin fans use PWM. I'm not aware of any P3 fans with 4 pins.

  3. #43
    Join Date
    May 2007
    Beans
    4

    Re: HOWTO: Fancontrol

    Quote Originally Posted by remmelt View Post

    And paste this in there:
    Code:
    #!/bin/sh
    #
    # Fancontrol start script.
    #
    
    set -e
    
    # Defaults
    DAEMON=/usr/sbin/fancontrol
    PIDFILE=/var/run/fancontrol.pid
    PATH=/sbin:/bin:/usr/sbin:/usr/bin
    
    test -f $DAEMON || exit 0
    
    . /lib/lsb/init-functions
    
    
    case "$1" in
            start)
                    log_begin_msg "Starting fancontrol daemon..."
                    start-stop-daemon --start -o -q -m -b -p $PIDFILE -x $DAEMON
                    log_end_msg $?
                    ;;
            stop)
                    log_begin_msg "Stopping fancontrol daemon..."
                    start-stop-daemon --stop -o -q -p $PIDFILE
                    log_end_msg $?
                    ;;
            force-reload|restart)
                    sh $0 stop
                    sh $0 start
                    ;;
            *)
                    log_success_msg "Usage: /etc/init.d/fancontrol {start|stop|restart|force-reload}"
                    log_success_msg "  start - starts system-wide fancontrol service"
                    log_success_msg "  stop  - stops system-wide fancontrol service"
                    log_success_msg "  restart, force-reload - starts a new system-wide fancontrol service"
                    exit 1
                    ;;
    esac
    
    exit 0
    I can't get the startup script to work. When i reboot my computer and run >ps -e fancontrol isn't listed and the fans spin att full speed. I does however set a .pid-file in /var/run/ since it complains about it when i try to start manually. I'm using this fancontrol script: http://volker.dnsalias.net/linux/tec...ors/fancontrol Could it be messing something up?

    Running Ubuntu Feisty.

  4. #44
    Join Date
    Jul 2005
    Location
    Finland
    Beans
    115

    Re: HOWTO: Fancontrol

    Hi,

    I'm wondering.. does the script start every time the system boots up? How about surviving a hibernation? I think these are general init-script issues... or?

    cheers

  5. #45
    Join Date
    Jun 2007
    Location
    UK,centre of the universe
    Beans
    59
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: Fancontrol

    I have got as far as running "sudo pwmconfig" and it successfully stops my fan so I can listen to it. However, when doing the config, it is never able to start or stop the fan with the "t" function.

    I run an ASUS M2M-MX motherboard.

    Is there some reason why it can stop the fan when pwmconfig is run, but cannot start/stop it when using the "t" option?

    I am a little concerned about using it otherwise, but it would be really nice to get it to work...

    This is the output of the first run:

    ************************************************** *************
    greg@mediapc:/etc/init.d$ sudo 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 PWM controls:
    9191-0290/pwm1
    9191-0290/pwm2
    9191-0290/pwm3

    Found the following fan sensors:
    9191-0290/fan1_input current speed: 3245 RPM
    9191-0290/fan2_input current speed: 0 ... skipping!
    9191-0290/fan3_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 9191-0290/pwm1 ...
    9191-0290/fan1_input ... speed was 3245 now 5037
    no correlation

    No correlations were detected.
    There is either no fan connected to the output of 9191-0290/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)?
    ************************************************** *************

    It does successfully stop the fan..



    Cheers
    Last edited by gheywood; July 27th, 2007 at 11:55 PM.

  6. #46
    Join Date
    Apr 2007
    Beans
    12

    Re: HOWTO: Fancontrol

    Hi y'all,

    Wondering if anybody could help me out. Have followed howto for lm-sensors and fancontrol, seems to work okay until pwmconfig and then the fans don't stop when it says they should.

    Set up lm-sensors and get output from sensors:

    k8temp-pci-00c3
    Adapter: PCI adapter
    Core0 Temp:
    +37°C

    w83627ehf-isa-0290
    Adapter: ISA adapter
    VCore: +1.14 V (min = +0.00 V, max = +1.74 V)
    in1: +12.41 V (min = +2.06 V, max = +9.29 V) ALARM
    AVCC: +3.36 V (min = +1.02 V, max = +2.69 V) ALARM
    3VCC: +3.38 V (min = +3.97 V, max = +2.86 V) ALARM
    in4: +1.70 V (min = +0.86 V, max = +1.75 V)
    in5: +1.73 V (min = +1.53 V, max = +1.26 V) ALARM
    in6: +5.56 V (min = +6.02 V, max = +5.04 V) ALARM
    VSB: +3.38 V (min = +3.95 V, max = +0.61 V) ALARM
    VBAT: +0.26 V (min = +4.08 V, max = +2.46 V) ALARM
    in9: +1.64 V (min = +0.09 V, max = +0.38 V) ALARM
    Case Fan: 1997 RPM (min = 2766 RPM, div = 4) ALARM
    CPU Fan: 3082 RPM (min = 5232 RPM, div = 2) ALARM
    Aux Fan: 0 RPM (min = 68 RPM, div = 128) ALARM
    fan5: 0 RPM (min = 168750 RPM, div = 8) ALARM
    Sys Temp: +30°C (high = -127°C, hyst = +58°C)
    CPU Temp: +27.5°C (high = +80.0°C, hyst = +75.0°C)
    AUX Temp: +35.5°C (high = +80.0°C, hyst = +75.0°C)

    Then running '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 PWM controls:
    9191-0290/pwm1
    /usr/sbin/pwmconfig: line 102: echo: write error: Invalid argument
    9191-0290/pwm2
    /usr/sbin/pwmconfig: line 102: echo: write error: Invalid argument
    9191-0290/pwm3
    /usr/sbin/pwmconfig: line 102: echo: write error: Invalid argument

    Found the following fan sensors:
    9191-0290/fan1_input current speed: 1985 RPM
    9191-0290/fan2_input current speed: 3068 RPM
    9191-0290/fan3_input current speed: 0 ... skipping!
    9191-0290/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 9191-0290/pwm1 ...
    9191-0290/fan1_input ... speed was 1985 now 2020
    /usr/sbin/pwmconfig: line 102: echo: write error: Invalid argument
    no correlation
    9191-0290/fan2_input ... speed was 3068 now 3054
    /usr/sbin/pwmconfig: line 102: echo: write error: Invalid argument
    no correlation

    No correlations were detected.
    There is either no fan connected to the output of 9191-0290/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)? n

    Testing pwm control 9191-0290/pwm2 ...
    9191-0290/fan1_input ... speed was 1985 now 1985
    /usr/sbin/pwmconfig: line 102: echo: write error: Invalid argument
    no correlation
    9191-0290/fan2_input ... speed was 3068 now 3096
    /usr/sbin/pwmconfig: line 102: echo: write error: Invalid argument
    no correlation

    No correlations were detected.
    There is either no fan connected to the output of 9191-0290/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)? n

    Testing pwm control 9191-0290/pwm3 ...
    9191-0290/fan1_input ... speed was 1985 now 2020
    /usr/sbin/pwmconfig: line 102: echo: write error: Invalid argument
    no correlation
    9191-0290/fan2_input ... speed was 3068 now 3068
    /usr/sbin/pwmconfig: line 102: echo: write error: Invalid argument
    no correlation

    No correlations were detected.
    There is either no fan connected to the output of 9191-0290/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)? 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)? n

  7. #47
    Join Date
    Apr 2006
    Beans
    8

    Re: HOWTO: Fancontrol

    I can't seem to get the startup script to work either, any idea?

  8. #48
    Join Date
    Apr 2006
    Beans
    15
    Distro
    Edubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: Fancontrol

    Hi all,

    I have a M2N-E MOBO with Athlon 3800 x2 processor. I got my fancontrol working with my MOBO.

    I have written down what i did in my blog for my references in future. Anyone interested can refer to it. Hope this helps.

    http://bsling.blogspot.com/2007/06/fancontrol.html
    http://bsling.blogspot.com/2007/10/c...l-further.html

  9. #49
    Join Date
    Jul 2007
    Location
    The Bavarian Alps
    Beans
    129
    Distro
    Kubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: Fancontrol

    Thank you for the great how to.

    I now have everything running and there is a direct correlation between CPU temperature and CPU fan speed as shown by KSensors (Kubuntu) so I assume that everything is running as it should. Automatic starting is also OK.

    I just have one problem -

    During the close down process for Kubuntu my CPU fan switches off completely. I assume that this is caused once it unloads fancontrol.

    Is there a command to unload fancontrol?
    Can I do this automatically as a part of closing down Kubuntu? I suppose what I asking is "is there a way to automatically close fancontrol before continuing with the shut down process.

    Thanks again for a great how to!

    Neill

  10. #50
    Join Date
    Jul 2007
    Location
    The Bavarian Alps
    Beans
    129
    Distro
    Kubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: Fancontrol

    The problem is solved

    It only happens if I start fancontrol from hand in the console.
    Doing it as in the how to and everything works. During shut down the fan speeds up!

    Thank you!

Page 5 of 12 FirstFirst ... 34567 ... 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
  •