staging.inyokaproject.org

lm_sensors und fancontrol

Status: Gelöst | Ubuntu-Version: Kubuntu 13.10 (Saucy Salamander)
Antworten |

Moderich

Anmeldungsdatum:
20. September 2008

Beiträge: Zähle...

Hallo zusammen!
Ich muss leider wieder mal dieses schon oft bearbeitete Thema aufgreifen, da ich immer noch Probleme mit fancontrol habe und sämtliche Tipps und Tricks nichts genutzt haben, die ich bis jetzt gefunden habe. Ich arbeite derzeit mit Kubuntu 13.10, Kernelversion 3.11.0-19. Meine Hauptplatine ist ein ASUS M4A77TD PRO mit einem AMD Athlon(tm) II X2 235e Prozessor. Also, nach Lehrbuch erst einmal ein

1
sudo sensors-detect

ausgeführt. Das liefert mir

1
2
3
4
5
6
AMD Family 10h thermal sensors...                           Success!
     (driver `k10temp')
....
....
Found `ITE IT8712F Super IO Sensors'                        Success!
     (address 0x290, driver `it87')

Laut lsmod sind beide geladen:

1
2
lsmod | grep k10temp
k10temp                13126  0
1
2
3
lsmod | grep it87
it87                   43113  0
hwmon_vid              12783  1 it87

. dmesg für it87 sagt

1
2
dmesg | grep it87
[   18.815798] it87: Found IT8712F chip at 0x290, revision 8

für k10temp bleibt die Aussage leer. Die ausgelesenen Werte mit sensors geben

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
it8712-isa-0290
Adapter: ISA adapter
in0:          +0.99 V  (min =  +0.00 V, max =  +4.08 V)
in1:          +4.08 V  (min =  +0.00 V, max =  +4.08 V)  ALARM
in2:          +3.30 V  (min =  +0.00 V, max =  +4.08 V)
+5V:          +4.08 V  (min =  +0.00 V, max =  +4.08 V)  ALARM
in4:          +3.18 V  (min =  +0.00 V, max =  +4.08 V)
in5:          +1.58 V  (min =  +0.00 V, max =  +4.08 V)
in6:          +4.08 V  (min =  +0.00 V, max =  +4.08 V)  ALARM
5VSB:         +4.08 V  (min =  +0.00 V, max =  +4.08 V)  ALARM
Vbat:         +3.31 V  
fan1:        1654 RPM  (min =    0 RPM)
fan2:           0 RPM  (min =    0 RPM)
fan3:         754 RPM  (min =    0 RPM)
temp1:        +32.0°C  (low  =  -1.0°C, high = +127.0°C)  sensor = thermistor
temp2:        +30.0°C  (low  =  -1.0°C, high = +127.0°C)  sensor = thermistor
temp3:       -128.0°C  (low  =  -1.0°C, high = +127.0°C)  sensor = disabled
cpu0_vid:    +1.550 V
intrusion0:  OK

k10temp-pci-00c3
Adapter: PCI adapter
Core 0:        +0.0°C  (high = +70.0°C)
                       (crit = +99.5°C, hyst = +97.5°C)

it87 liefert anscheinend plausible Werte, für k10temp passts gar nicht (auch ein modprobe k10temp force=1 ändert nix an der Tatsache...). Dieses Problem ist nicht unbekannt, aber mit der Lösung bin ich keinen Schritt weitergekommen wie sensors3.conf Multiplikatoren oder Labels ändern. Das Modul habe ich bis jetzt noch nicht neu kompiliert, da ich denke die installierte Version sollte doch ziemlich aktuell sein.
Das Ganze bringt mich zum nächsten Block, nämlich die Einrichtung der Lüftersteuerung mit fancontrol. Also,

1
sudo pwmconfig

fängt an mit

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
Found the following devices:
   hwmon0/device is it8712
   hwmon1/device is k10temp
....
....
Found the following PWM controls:
   hwmon0/device/pwm1           current value: 254
hwmon0/device/pwm1 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) y
   hwmon0/device/pwm2           current value: 254
hwmon0/device/pwm2 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) y
   hwmon0/device/pwm3           current value: 254

Giving the fans some time to reach full speed...
Found the following fan sensors:
   hwmon0/device/fan1_input     current speed: 3125 RPM
   hwmon0/device/fan2_input     current speed: 0 ... skipping!
   hwmon0/device/fan3_input     current speed: 750 RPM

Warning!!! This program will stop your fans, one at a time,
for approximately 5 seconds each!!!

Testing pwm control hwmon0/device/pwm1 ...
  hwmon0/device/fan1_input ... speed was 3125 now 997
    It appears that fan hwmon0/device/fan1_input
    is controlled by pwm hwmon0/device/pwm1
Would you like to generate a detailed correlation (y)? y
Note: If you had gnuplot installed, I could generate a graphical plot.
    PWM 255 FAN 3125
    PWM 240 FAN 3054
    PWM 225 FAN 2909
    PWM 210 FAN 2766
    PWM 195 FAN 2616
    PWM 180 FAN 2490
    PWM 165 FAN 2327
    PWM 150 FAN 2213
    PWM 135 FAN 2064
    PWM 120 FAN 1950
    PWM 105 FAN 1819
    PWM 90 FAN 1700
    PWM 75 FAN 1566
    PWM 60 FAN 1454
    PWM 45 FAN 1331
    PWM 30 FAN 1227
    PWM 28 FAN 1207
    PWM 26 FAN 1196
    PWM 24 FAN 1180
    PWM 22 FAN 1163
    PWM 20 FAN 1149
    PWM 18 FAN 1138
    PWM 16 FAN 1121
    PWM 14 FAN 1106
    PWM 12 FAN 1099
    PWM 10 FAN 1086
    PWM 8 FAN 1073
    PWM 6 FAN 1059
    PWM 4 FAN 1046
    PWM 2 FAN 1033
    PWM 0 FAN 998

  hwmon0/device/fan3_input ... speed was 750 now 760
    no correlation

Testing pwm control hwmon0/device/pwm2 ...
  hwmon0/device/fan1_input ... speed was 3125 now 3125
    no correlation
  hwmon0/device/fan3_input ... speed was 750 now 751
    no correlation

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

Testing pwm control hwmon0/device/pwm3 ...
  hwmon0/device/fan1_input ... speed was 3125 now 3125
    no correlation
  hwmon0/device/fan3_input ... speed was 750 now 750
    no correlation

No correlations were detected.
There is either no fan connected to the output of hwmon0/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)? 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)? 
Loading configuration from /etc/fancontrol ...

Soweit so gut, aber hier komm ich nicht mehr weiter. Mein Prozessorlüfter (fan1) kann also irgendwie angesprochen werden, fährt aber während des Tests nicht auf 0 herunter was ich nicht verstehe; sollte doch möglich sein...Der Gehäuselüfter (fan3) zeigt sich während des Tests ziemlich uninterressiert wie man sieht (hat nur eine 3-adrige Zuleitung; evtl. nur bedingt PWM-fähig??); soweit ich das verstehe ist das doch ein Anschluss der eine PWM-Steuerung ermöglicht...?).
Gut, dann gehts weiter:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Select fan output to configure, or other action:
1) hwmon0/device/pwm2  3) Change INTERVAL     5) Save and quit
2) hwmon0/device/pwm1  4) Just quit           6) Show configuration
select (1-n): 2

Devices:
hwmon0/device is it8712
hwmon1/device is k10temp

Current temperature readings are as follows:
hwmon0/device/temp1_input       32
hwmon0/device/temp2_input       30
hwmon0/device/temp3_input       -128
hwmon1/device/temp1_input       0

Select a temperature sensor as source for hwmon0/device/pwm1:
1) hwmon0/device/temp1_input
2) hwmon0/device/temp2_input
3) hwmon0/device/temp3_input
4) hwmon1/device/temp1_input
5) None (Do not affect this PWM output)
select (1-n): 2

Enter the low temperature (degree C)
below which the fan should spin at minimum speed (20): 35

Enter the high temperature (degree C)
over which the fan should spin at maximum speed (60): 60

Enter the PWM value (0-255) to use when the temperature
is over the high temperature limit (255): 255

Sollten doch hier einige vernünfitge Werte sein denk ich mal...
Also, Einstellungen hier speichern und fancontrol starten. Das liefert mir

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Loading configuration from /etc/fancontrol ...
Common settings:
  INTERVAL=10

Settings for hwmon0/device/pwm2:
  Depends on hwmon0/device/temp1_input
  Controls hwmon0/device/fan1_input
  MINTEMP=35
  MAXTEMP=60
  MINSTART=100
  MINSTOP=0
  MINPWM=0
  MAXPWM=255

Settings for hwmon0/device/pwm1:
  Depends on hwmon0/device/temp2_input
  Controls hwmon0/device/fan1_input
  MINTEMP=35
  MAXTEMP=60
  MINSTART=150
  MINSTOP=0
  MINPWM=0
  MAXPWM=255

Error: file hwmon0/device/pwm2 doesn't exist
Error: file hwmon0/device/pwm1 doesn't exist

At least one referenced file is missing. Either some required kernel
modules haven't been loaded, or your configuration file is outdated.
In the latter case, you should run pwmconfig again.

Damit bin ich somit am Ende meines Lateins, und der Gehäuselüfter läuft jetzt auf vollen Touren.
Lange Rede, kurzer Sinn:

  1. Warum zeigt k10temp nix an?

  2. Warum kann der Gehäuselüfter nicht auf 0 Umdrehungen runterfahren?

  3. Wieso kann man den Prozessorlüfter nicht ansteuern?

  4. Warum funktioniert fancontrol gar nicht?

Ich weiß dass dieses Thema schon sehr oft durchdiskutiert wurde, aber leider bin ich auf keinen grünen Zweig gekommen ☹ . Ich bedanke mich schon mal für Eure Hilfe!!!

hakel

Anmeldungsdatum:
13. August 2009

Beiträge: 23336

Asus MBs haben eigentlich eine sehr ausgefeilte Lüftersteuerung im Bios.

Brauchst du bei einer 45 Watt CPU wirklich einen Gehäuse Lüfter?

Moderich

(Themenstarter)

Anmeldungsdatum:
20. September 2008

Beiträge: 20

Nun ja, das Gebrumme der Lüfter nervt doch irgendwie da sie trotz der BIOS-Steuerung doch hohe Drehzahlen aufweisen, und andererseits würds mich halt auch interessieren wieso dieses Verhalten auftritt...

hakel

Anmeldungsdatum:
13. August 2009

Beiträge: 23336

1600 Touren sind schon sehr hoch. Da hast du im Bios was falsch gemacht - klappt nicht.

Ich kann mich ganz dunkel erinnern, daß es da mal Probleme mit Q-Fan gab. Ist ja so eine Asus Konstruktion.

P.S. billigen "boxed" Lüfter verbaut?

Moderich

(Themenstarter)

Anmeldungsdatum:
20. September 2008

Beiträge: 20

Viele Möglichkeiten gibts da nicht im BIOS; das Einzige was ich finde ist das SMART Q_Fan auszuschalten; werd ich mal probieren und dann schaun obs besser wird...

hakel

Anmeldungsdatum:
13. August 2009

Beiträge: 23336

das Einzige was ich finde ist das SMART Q_Fan auszuschalten;

Komisch, eigentlich ist Q-Fan doch eine sehr aufwändige Geschichte. Hört sich für mich jetzt so an, als hättest du das noch gar nicht konfiguriert und alles läuft im Standard. Werksseitig ist das immer auf "laut" eingestellt.

Moderich

(Themenstarter)

Anmeldungsdatum:
20. September 2008

Beiträge: 20

So, peinlich, peinlich; wenn Dummheit weh tun würde... 😢 .
Also nacheinander:

  1. k10temp funktioniert immer noch nicht; kann man aber verschmerzen (auch wenn ich gern wüsste warum...)

  2. Der Prozessorlüfter kann nicht weniger als 1000 Umdrehungen; ist blöd und relativ laut; muss mal nach einer anderen Lösung schauen (evtl. passive Kühlung..?)

  3. Der Gehäuselüfter kann sehr wohl angesteuert werden. Hab ihn erst aus Verkabelungsgründen an den Power-Fan Anschluss gesteckt, der anscheinend nicht PWM-fähig ist. Mit einer abenteuerlichen Neuverlegung auf den richtigen Anschluss funktionierts ☺

  4. fancontrol MUSS man mit sudo starten (eigentlich klar wenn man so drüber nachdenkt ☺)

Sorry nochmal für den etwas nutzlosen Beitrag, aber die Lösung mancher Probleme bekommt man erst wenn man sich erst mal so richtig blamiert hat 😕

hakel

Anmeldungsdatum:
13. August 2009

Beiträge: 23336

Das ist völlig normal. Kann man aber eigentlich sehen, PWM sind 4 Kabel (Pole).

Du hast nur eine 45Watt CPU, da nutzt du doch hoffentlich keine fette Grafikkarte? Da brauchst du eigentlich keinen GH Lüfter, oder hast du ein passives Netzteil.

Fancontrol halte ich für überflüssig, Q-Fan ist besser. Wenn es denn funktioniert. 😀

Der Prozessorlüfter kann nicht weniger als 1000 Umdrehungen;

10,- Euro sollte man schon ausspucken "Arctic" z.B. Bei "boxed" ist der Kühlklotz sehr klein, man muß also aktiv pusten. Bei meinem billigen Asrock mit einer 65Watt CPU habe ich eine Zieltemperatur von 55 Watt eingestellt. Selbst bei Flash springt der nicht an.

Ich habe allerdings einen großen alten Tower und ein gutes bequiet Netzteil mit 12cm Lüfter, keine GraKa.

Moderich

(Themenstarter)

Anmeldungsdatum:
20. September 2008

Beiträge: 20

Nö, Grafikkarte ist ein älteres Modell; die Zeit der Spiele ist leider vorbei...man verbrennt doch ziemlich viel Zeit damit die man eigenlich nicht mehr hat 😉. PWM funktioniert auch irgendwie mit 3-adrigen Leitungen (→ Gehäuselüfter), aber eigentlich hast recht; den könnte man wirklich weglassen...
In einen Lüfter werd ich daoch mal investieren, da ein leiser PC doch ziemlich angenehm ist.

hakel

Anmeldungsdatum:
13. August 2009

Beiträge: 23336

PWM funktioniert auch irgendwie mit 3-adrigen Leitungen

"PWM" funktioniert nicht. Der Lüfter läuft, weil Strom anliegt - mehr nicht.

Bei meinem Asrock kann ich die Drehzahl über die Spannung regulieren "3Pole". Das ist aber nicht "PWM". Bessere MBs wie Asus setzen halt voraus, daß man Geld für einen ordentliche Lüfter hat. ☹

Es ist wie es ist, aber ein neuer Kühlklotz kostet nun wirklich nicht die Welt. Q-Fan sollte man aber mal zum Arbeiten bewegen, das muß einfach klappen.

Antworten |