PDA

Επιστροφή στο Forum : Thinkfan σε Ubuntu 12.10



humanious
24-03-13, 23:27
Ανοίγω αυτό το θέμα για να με βοηθήσετε στο configuration του Thinkfan που έχει να κάνει με την ρύθμιση του ανεμιστήρα σε laptop Thinkpad L520.
Γενικά οτι αναφερθεί μπορεί να εφαρμοστεί και σε άλλες διανομές με ελάχιστες έως μηδενικές διαφορές.

Ο λόγος που ξεκίνησα την διαδικασία της παραμετροποίησης είναι επειδή στα Ubuntu το ανεμιστηράκι είναι μόνιμα ανοιχτό σε χαμηλές στροφές, σε σύγκριση με
τα Win 7 που πολλές φορές είναι απενεργοποιημένο και άρα πιο αθόρυβο.

Ακολούθησα αυτόν εδώ τον οδηγό http://putokaz.wordpress.com/2011/11/02/fixing-cpu-fan-on-lenovo-thinkpad-t520/#comment-222
Λειτούργησε το σύστημα δίνοντας χειροκίνητα εκκίνηση στον δαίμονα του thinkfan. Για να εκκινεί σε κάθε boot αυτόματα πρέπει λογικά
να γίνει κάποια έξτρα ρύθμιση, όπως αναφέρει στο πρώτο σχόλειο του link που δίνω παραπάνω αλλά το rc.local πιθανόν έχει αλλάξει σε
σχέση με τα ubuntu 10.xx οπότε δεν το πείραξα.

Βασικά ακόμα δεν το έχω θέσει σε μόνιμη λειτουργία γιατί φοβάμαι λίγο κάποια παρεμετροποίηση που πρέπει να γίνει σχετικά με τις θερμοκρασίες
της cpu. Στο /etc/thinkfan.conf έχω


######################################################################
# thinkfan 0.7 example config file
# ================================
#
# ATTENTION: There is only very basic sanity checking on the configuration.
# That means you can set your temperature limits as insane as you like. You
# can do anything stupid, e.g. turn off your fan when your CPU reaches 70°C.
#
# That's why this program is called THINKfan: You gotta think for yourself.
#
######################################################################
#
# IBM/Lenovo Thinkpads (thinkpad_acpi, /proc/acpi/ibm)
# ====================================================
#
# IMPORTANT:
#
# To keep your HD from overheating, you have to specify a correction value for
# the sensor that has the HD's temperature. You need to do this because
# thinkfan uses only the highest temperature it can find in the system, and
# that'll most likely never be your HD, as most HDs are already out of spec
# when they reach 55 °C.
# Correction values are applied from left to right in the same order as the
# temperatures are read from the file.
#
# For example:
# sensor /proc/acpi/ibm/thermal (0, 0, 10)
# will add a fixed value of 10 °C the 3rd value read from that file. Check out
# http://www.thinkwiki.org/wiki/Thermal_Sensors to find out how much you may
# want to add to certain temperatures.

# Syntax:
# (LEVEL, LOW, HIGH)
# LEVEL is the fan level to use (0-7 with thinkpad_acpi)
# LOW is the temperature at which to step down to the previous level
# HIGH is the temperature at which to step up to the next level
# All numbers are integers.
#

# I use this on my T61p:
#sensor /proc/acpi/ibm/thermal (0, 10, 15, 2, 10, 5, 0, 3, 0, 3)
sensor /sys/devices/platform/coretemp.0/temp1_input
sensor /sys/devices/platform/coretemp.0/temp2_input
sensor /sys/devices/platform/coretemp.0/temp3_input
sensor /sys/devices/virtual/hwmon/hwmon0/temp1_input

(0, 0, 55)
(1, 48, 60)
(2, 50, 61)
(3, 52, 63)
(4, 56, 65)
(5, 59, 66)
(7, 63, 32767)




Όπως αναφέρει μέσα στο αρχείο αυτό θα πρέπει να γίνουν κάποιες διορθώσεις σε σχέση με το κάθε laptop συγκεκριμένα.
Αν καταλαβαίνω καλά με βάση αυτό


To keep your HD from overheating, you have to specify a correction value for
# the sensor that has the HD's temperature. You need to do this because
# thinkfan uses only the highest temperature it can find in the system, and
# that'll most likely never be your HD, as most HDs are already out of spec
# when they reach 55 °C.
# Correction values are applied from left to right in the same order as the
# temperatures are read from the file.
#
# For example:
# sensor /proc/acpi/ibm/thermal (0, 0, 10)
# will add a fixed value of 10 °C the 3rd value read from that file.

επειδή απ' το thinkfan λαμβάνεται υπόψη η μεγαλύτερη θερμοκρασία που βρίσκει απ' τους σένσορες θα πρέπει να
υπάρχξει κάποια κανονικοποίηση για να μην φτάσει ο σκληρός να ψήνεται σε θερμοκρασίες κοντά στους 55.

Δεν έχω καταλάβει λοιπόν πως ακριβώς γίνεται αυτή η διορθωση. Θα προσθέσω εγώ μέσα σε αυτό το αρχείο τις
τιμές που θα μου βγάλει το /proc/acpi/ibm/thermal ? Θα πρέπει εγώ να σκεφτώ με κάποια συγκεκριμένη λογική
τι διόρθωση πρέπει να γίνει ?

Αυτή τη στιγμή οι τιμές που έχω είναι



xxxx@xxxx:~$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +47.0°C (crit = +84.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +47.0°C (high = +80.0°C, crit = +85.0°C)
Core 0: +44.0°C (high = +80.0°C, crit = +85.0°C)
Core 1: +44.0°C (high = +80.0°C, crit = +85.0°C)

thinkpad-isa-0000
Adapter: ISA adapter
fan1: 742 RPM
temp1: +47.0°C
temp2: +0.0°C
temp3: +47.0°C
temp4: +0.0°C
temp5: +38.0°C
temp6: +61.0°C
temp7: +27.0°C
temp8: +61.0°C


Επίσης σχετικά με το πότε ανοίγει ο ανεμιστηρας καθορίζεται από το σημείο



(0, 0, 55)
(1, 48, 60)
(2, 50, 61)
(3, 52, 63)
(4, 56, 65)
(5, 59, 66)
(7, 63, 32767)

Προσωπικά θα ήθελα να ανοίγει κοντά στους 48 βαθμούς στο επίπεδο 1 και να δουλεύει γύρω στις 500 στροφές.
Το θέλω σχετικά συνέχεια αναμμένο σε χαμηλές στροφές για να είναι και αθόρυβο αλλά και γιατί αυτή τη στιγμή ο σκληρός
είναι στους 40 βαθμούς, ενώ στα windows παίζει στους 35-36. Οπότε αν και κάποιος άλλος το έχει σετάρει κάπως έτσι,
αν μπορεί ας προτείνει τις αλλαγές.

Ευχαριστώ για την βοήθεια. Αν χρειάζονται περεταίρω πληροφορίες πείτε μου.

@ ADSLgr.com All rights reserved.