Hirdetés

Új hozzászólás Aktív témák

  • yodee_

    őstag

    válasz tlac #19173 üzenetére

    Sziasztok!

    Korábban Én is szemeztem a fancontrol -lal, mivel ubuntu alatt nagy megelégedettséggel használom. A leírás alapján minden megcsinálok, telepítek minden függőséget. Lefut a pwmconfig és létrejön a fancontrol konfiguráció.

    root@OpenWRT_x86-64:/etc/fan$ ./pwmconfig
    # pwmconfig version 3.6.0
    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 is acpitz
       hwmon1 is coretemp
       hwmon2 is w83627dhg
    Found the following PWM controls:
       hwmon2/pwm1           current value: 255
       hwmon2/pwm2           current value: 255
       hwmon2/pwm3           current value: 255
       hwmon2/pwm4           current value: 255
    Giving the fans some time to reach full speed...
    Found the following fan sensors:
       hwmon2/fan1_input     current speed: 1917 RPM
       hwmon2/fan2_input     current speed: 6026 RPM
       hwmon2/fan3_input     current speed: 0 ... skipping!
       hwmon2/fan4_input     current speed: 0 ... skipping!
       hwmon2/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/pwm1 ...
      hwmon2/fan1_input ... speed was 1917 now 1917
        no correlation
      hwmon2/fan2_input ... speed was 6026 now 6026
        no correlation
    No correlations were detected.
    There is either no fan connected to the output of hwmon2/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 hwmon2/pwm2 ...
      hwmon2/fan1_input ... speed was 1917 now 1896
        no correlation
      hwmon2/fan2_input ... speed was 6026 now 6026
        no correlation
    No correlations were detected.
    There is either no fan connected to the output of hwmon2/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 hwmon2/pwm3 ...
      hwmon2/fan1_input ... speed was 1917 now 1906
        no correlation
      hwmon2/fan2_input ... speed was 6026 now 0
        It appears that fan hwmon2/fan2_input
        is controlled by pwm hwmon2/pwm3
    Would you like to generate a detailed correlation (y)? n
    Testing pwm control hwmon2/pwm4 ...
      hwmon2/fan1_input ... speed was 1917 now 1917
        no correlation
      hwmon2/fan2_input ... speed was 6026 now 6026
        no correlation
    No correlations were detected.
    There is either no fan connected to the output of hwmon2/pwm4,
    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)? y
    What should be the path to your fancontrol config file (/etc/fancontrol)? /etc/fan/fancontrol
    Loading configuration from /etc/fan/fancontrol ...
    Select fan output to configure, or other action:
    1) hwmon2/pwm3         4) Save and quit
    2) Change INTERVAL     5) Show configuration
    3) Just quit
    select (1-n): 1
    Devices:
    hwmon0 is acpitz
    hwmon1 is coretemp
    hwmon2 is w83627dhg
    Current temperature readings are as follows:
    hwmon0/temp1_input      27
    hwmon0/temp2_input      29
    hwmon1/temp1_input      29
    hwmon1/temp2_input      27
    hwmon1/temp3_input      28
    hwmon1/temp4_input      24
    hwmon1/temp5_input      28
    hwmon2/temp1_input      26
    hwmon2/temp2_input      0
    hwmon2/temp3_input      23
    Select a temperature sensor as source for hwmon2/pwm3:
     1) hwmon0/temp1_input
     2) hwmon0/temp2_input
     3) hwmon1/temp1_input
     4) hwmon1/temp2_input
     5) hwmon1/temp3_input
     6) hwmon1/temp4_input
     7) hwmon1/temp5_input
     8) hwmon2/temp1_input
     9) hwmon2/temp2_input
    10) hwmon2/temp3_input
    11) None (Do not affect this PWM output)
    select (1-n): 8
    Enter the low temperature (degree C)
    below which the fan should spin at minimum speed (20): 30
    Enter the high temperature (degree C)
    over which the fan should spin at maximum speed (60): 55
    Enter the minimum PWM value (0-255)
    at which the fan STOPS spinning (press t to test) (100): 100
    Enter the minimum PWM value (100-255)
    at which the fan STARTS spinning (press t to test) (150): 110
    Enter the PWM value (0-100) to use when the temperature
    is below the low temperature limit (0): 0
    Enter the PWM value (100-255) to use when the temperature
    is over the high temperature limit (255): 255
    Select fan output to configure, or other action:
    1) hwmon2/pwm3         4) Save and quit
    2) Change INTERVAL     5) Show configuration
    3) Just quit
    select (1-n): 5
    Common Settings:
    INTERVAL=10
    Settings of hwmon2/pwm3:
      Depends on hwmon2/temp1_input
      Controls hwmon2/fan2_input
      MINTEMP=30
      MAXTEMP=55
      MINSTART=110
      MINSTOP=100
      MINPWM=0
      MAXPWM=255
    Select fan output to configure, or other action:
    1) hwmon2/pwm3         4) Save and quit
    2) Change INTERVAL     5) Show configuration
    3) Just quit
    select (1-n): 4
    Saving configuration to /etc/fan/fancontrol...
    Configuration saved

    Érdekesség, hogy a pwmconfig lefuttatása előtt a fancontrol egy futtatható állomány, utána nekem kell azzá tennem. Amint ezt megteszem, és próbálom futtatni ezt kapom:

    root@OpenWRT_x86-64:/etc/fan# ./fancontrol &
    root@OpenWRT_x86-64:/etc/fan# ./fancontrol: line 5: hwmon2/pwm3=hwmon2/temp1_input: not found
    ./fancontrol: line 6: hwmon2/pwm3=hwmon2/fan2_input: not found
    ./fancontrol: line 7: hwmon2/pwm3=30: not found
    ./fancontrol: line 8: hwmon2/pwm3=55: not found
    ./fancontrol: line 9: hwmon2/pwm3=110: not found
    ./fancontrol: line 10: hwmon2/pwm3=100: not found
    ./fancontrol: line 11: hwmon2/pwm3=0: not found
    ./fancontrol: line 12: hwmon2/pwm3=255: not found
    [1]+  Done(127)                  ./fancontrol

    Nem tudom merre induljak el. Mi lehet a gond?

Új hozzászólás Aktív témák

OSZAR »