Nowe posty

xx Problem ze sterownikami. (5)
2024-04-13, 21:25:16
xx Instalacja xfce4 (2)
2024-04-13, 16:20:17
xx Serie kompilacji bez instalacji dla “emerge” w Gentoo (2)
2024-04-08, 18:40:04
xx Plasma 6 w Neonie ssie trochę mniej ... (17)
2024-04-05, 10:03:46
xx Problem z Linux Lite po instalacji (3)
2024-04-03, 14:23:40
xx Jak właczyć num locka przy starcie systemu debian 12? (12)
2024-04-02, 17:43:54
xx Brak dźwieku w systemie. (5)
2024-04-02, 16:13:41
xx Dystrybucja pod HP Omen (7)
2024-03-29, 11:33:05
xx [Poradnik] Wyszukiwanie Sterowników (2)
2024-03-27, 21:08:23
xx Ile pingwinów? (1)
2024-03-27, 08:59:24

Autor Wątek: Wiatrak w Linuxie MINT - temat załatwiony :-)  (Przeczytany 5976 razy)

wariat100

  • Gość
Wiatrak w Linuxie MINT - temat załatwiony :-)
« dnia: 2016-03-22, 17:39:32 »
Głowa mnie już boli. MINT 17.3 x64 na HP 6455b ProBook. Wiatrak działa praktycznie non stop na II biegu. Nawet gdy pół dnia siedzę w notatniku. Trochę wujo G. pomógł i chciał bym wyedytować plik sensors.conf tyle że:
1). u mnie /etc/  jest on pod nazwą sensors3.conf a innego nigdzie indziej nie ma
2). za chiny nie wiem co przestawić by działało to normalnie

Wklejam kod tego pliku


chip "lm78-*" "lm79-*" "lm80-*" "lm96080-*"

    label temp1 "M/B Temp"


chip "w83792d-*"

    label in0 "VcoreA"
    label in1 "VcoreB"
    label in6 "+5V"
    label in7 "5VSB"
    label in8 "Vbat"

    set in6_min  5.0 * 0.90
    set in6_max  5.0 * 1.10
    set in7_min  5.0 * 0.90
    set in7_max  5.0 * 1.10
    set in8_min  3.0 * 0.90
    set in8_max  3.0 * 1.10


chip "w83793-*"

    label in0 "VcoreA"
    label in1 "VcoreB"
    label in7 "+5V"
    label in8 "5VSB"
    label in9 "Vbat"

    set in7_min  5.0 * 0.90
    set in7_max  5.0 * 1.10
    set in8_min  5.0 * 0.90
    set in8_max  5.0 * 1.10
    set in9_min  3.0 * 0.90
    set in9_max  3.0 * 1.10


chip "w83795g-*" "w83795adg-*"

    label in12 "+3.3V"
    label in13 "3VSB"
    label in14 "Vbat"

    set in12_min  3.3 * 0.90
    set in12_max  3.3 * 1.10
    set in13_min  3.3 * 0.90
    set in13_max  3.3 * 1.10
    set in14_min  3.0 * 0.90
    set in14_max  3.3 * 1.10


chip "via686a-*"

    label in0 "Vcore"
    label in2 "+3.3V"
    label in3 "+5V"
    label in4 "+12V"

    set in2_min  3.3 * 0.90
    set in2_max  3.3 * 1.10
    set in3_min  5.0 * 0.90
    set in3_max  5.0 * 1.10
    set in4_min 12.0 * 0.90
    set in4_max 12.0 * 1.10


chip "adm1025-*" "ne1619-*"

    label in1 "Vcore"
    label in2 "+3.3V"
    label in3 "+5V"
    label in4 "+12V"
    label in5 "VCC"

    set in2_min  3.3 * 0.90
    set in2_max  3.3 * 1.10
    set in3_min  5.0 * 0.90
    set in3_max  5.0 * 1.10
    set in5_min  3.3 * 0.90
    set in5_max  3.3 * 1.10
# Depending on how your chip is hardwired, you may or may not have
# +12V readings.
#    set in4_min 12.0 * 0.90
#    set in4_max 12.0 * 1.10

    label temp1 "CPU Temp"
    label temp2 "M/B Temp"


chip "lm87-*" "adm1024-*"

    label in1 "Vcore"
    label in2 "+3.3V"
    label in3 "+5V"
    label in4 "+12V"

    set in2_min  3.3 * 0.90
    set in2_max  3.3 * 1.10
    set in3_min  5.0 * 0.90
    set in3_max  5.0 * 1.10
    set in4_min 12.0 * 0.90
    set in4_max 12.0 * 1.10

    label temp1 "M/B Temp"
    label temp2 "CPU Temp"


chip "it87-*" "it8712-*" "it8716-*" "it8718-*" "it8720-*"

    label in8 "Vbat"


chip "fscpos-*" "fscher-*"
#FSC "Hermes"

    label in0 "+12V"
    label in1 "+5V"
    label in2 "Vbat"

    label temp1 "CPU Temp"
    label temp2 "M/B Temp"
    label temp3 "Aux Temp"


chip "fscscy-*"
#FSC "Scylla"

    label in0 "+12V"
    label in1 "+5V"
    label in2 "+3.3V"

    label temp1 "CPU0 Temp"
    label temp2 "CPU1 Temp"
    label temp3 "M/B Temp"
    label temp4 "Aux Temp"


chip "fschds-*"
# Fujitsu Technology Solutions, "Hades"-Chip

# Temperatures
    label temp1 "CPU Temp"
    label temp2 "Super I/O Temp"
    label temp3 "System Temp"

# Fans
    label fan1 "PSU Fan"
    label fan2 "CPU Fan"
    label fan3 "System FAN2"
    label fan4 "System FAN3"
    label fan5 "System FAN4"

# Voltages
    label in0 "+12V"
    label in1 "+5V"
    label in2 "Vbat"

chip "fscsyl-*"
# Fujitsu Technology Solutions, "Syleus"-Chip

# Temperatures
    label temp1 "CPU Temp"
    label temp4 "Super I/O Temp"
    label temp5 "Northbridge Temp"

# Fans
    label fan1 "CPU Fan"
    label fan2 "System FAN2"
    label fan3 "System FAN3"
    label fan4 "System FAN4"
    label fan7 "PSU Fan"

# Voltages
    label in0 "+12V"
    label in1 "+5V"
    label in2 "Vbat"
    label in3 "+3.3V"
    label in5 "+3.3V-Aux"

chip "vt1211-*"

    label in5 "+3.3V"

    label temp2 "SIO Temp"


chip "vt8231-*"

    label in5 "+3.3V"


chip "smsc47m192-*"

    label in1 "Vcore"
    label in2 "+3.3V"
    label in3 "+5V"
    label in4 "+12V"
    label in5 "VCC"

    set in2_min  3.3 * 0.90
    set in2_max  3.3 * 1.10
    set in3_min  5.0 * 0.90
    set in3_max  5.0 * 1.10
    set in4_min 12.0 * 0.90
    set in4_max 12.0 * 1.10
    set in5_min  3.3 * 0.90
    set in5_max  3.3 * 1.10

    label temp1 "SIO Temp"


chip "lm85-*" "lm85b-*" "lm85c-*" "adm1027-*" "adt7463-*" "adt7468-*" \
     "emc6d100-*" "emc6d102-*" "emc6d103-*" "emc6d103s-*"

    label in1 "Vcore"
    label in2 "+3.3V"
    label in3 "+5V"
    label in4 "+12V"

    set in2_min  3.3 * 0.90
    set in2_max  3.3 * 1.10
    set in3_min  5.0 * 0.90
    set in3_max  5.0 * 1.10
# Depending on how your chip is hardwired, you may or may not have
# +12V readings.
#    set in4_min 12.0 * 0.90
#    set in4_max 12.0 * 1.10

    label temp2 "M/B Temp"


chip "emc6w201-*"

    label in2 "+3.3V"
    label in3 "+5V"

    label temp6 "M/B Temp"


chip "pc87365-*" "pc87366-*"

# Voltage inputs

    label in7 "3VSB"
    label in8 "VDD"
    label in9 "Vbat"
    label in10 "AVDD"

    compute in7   @*2, @/2
    compute in8   @*2, @/2
    compute in10  @*2, @/2

# These are the operating conditions as recommended by National
# Semiconductor
    set in7_min   3.0
    set in7_max   3.6
    set in8_min   3.0
    set in8_max   3.6
    set in10_min  3.0
    set in10_max  3.6
# Depending on the hardware setup, the battery voltage may or may not
# be monitored.
#    set in9_min   2.4
#    set in9_max   3.6

    label temp3 "SIO Temp"

    set temp3_min    0
    set temp3_max   70
    set temp3_crit  85


chip "adm1030-*" "adm1031-*"

    label temp1 "M/B Temp"


chip "w83627thf-*"

    label in3 "+5V"
    label in7 "5VSB"
    label in8 "Vbat"

    # Internal resistors
    compute in3  @ * (1 + 34/51), @ / (1 + 34/51)
    compute in7  @ * (1 + 34/51), @ / (1 + 34/51)

    set in3_min  5.0 * 0.90
    set in3_max  5.0 * 1.10
    set in7_min  5.0 * 0.90
    set in7_max  5.0 * 1.10
# The battery voltage may or may not be monitored.
#    set in8_min  3.0 * 0.90
#    set in8_max  3.0 * 1.10


chip "w83627ehf-*" "w83627dhg-*" "w83667hg-*" "nct6775-*" "nct6776-*"

    label in0 "Vcore"
    label in2 "AVCC"
    label in3 "+3.3V"
    label in7 "3VSB"
    label in8 "Vbat"

    set in2_min  3.3 * 0.90
    set in2_max  3.3 * 1.10
    set in3_min  3.3 * 0.90
    set in3_max  3.3 * 1.10
    set in7_min  3.3 * 0.90
    set in7_max  3.3 * 1.10
    set in8_min  3.0 * 0.90
    set in8_max  3.3 * 1.10


chip "w83627uhg-*"

    label in2 "AVCC"
    label in3 "+5V"
    label in7 "5VSB"
    label in8 "Vbat"

    set in2_min  5.0 * 0.90
    set in2_max  5.0 * 1.10
    set in3_min  5.0 * 0.90
    set in3_max  5.0 * 1.10
    set in7_min  5.0 * 0.90
    set in7_max  5.0 * 1.10
    set in8_min  3.0 * 0.90
    set in8_max  3.3 * 1.10


chip "f71805f-*"

    label in0 "+3.3V"

    set in0_min  3.3 * 0.90
    set in0_max  3.3 * 1.10


chip "f71872f-*"

    label in0 "+3.3V"
    label in9 "Vbat"
    label in10 "3VSB"

    set in0_min   3.3 * 0.90
    set in0_max   3.3 * 1.10
    set in9_min   3.0 * 0.90
    set in9_max   3.0 * 1.10
    set in10_min  3.3 * 0.90
    set in10_max  3.3 * 1.10


chip "k8temp-*"

    label temp1 "Core0 Temp"
    label temp2 "Core0 Temp"
    label temp3 "Core1 Temp"
    label temp4 "Core1 Temp"


chip "dme1737-*"

    label in0 "5VSB"
    label in1 "Vcore"
    label in2 "+3.3V"
    label in3 "+5V"
    label in4 "+12V"
    label in5 "3VSB"
    label in6 "Vbat"

    label temp2 "SIO Temp"

    set in0_min  5.0 * 0.90
    set in0_max  5.0 * 1.10
    set in2_min  3.3 * 0.90
    set in2_max  3.3 * 1.10
    set in3_min  5.0 * 0.90
    set in3_max  5.0 * 1.10
    set in4_min 12.0 * 0.90
    set in4_max 12.0 * 1.10
    set in5_min  3.3 * 0.90
    set in5_max  3.3 * 1.10
    set in6_min  3.0 * 0.90
    set in6_max  3.0 * 1.10


chip "sch311x-*"

    label in1 "Vcore"
    label in2 "+3.3V"
    label in3 "+5V"
    label in4 "+12V"
    label in5 "3VSB"
    label in6 "Vbat"

    label temp2 "SIO Temp"

    set in2_min  3.3 * 0.90
    set in2_max  3.3 * 1.10
    set in3_min  5.0 * 0.90
    set in3_max  5.0 * 1.10
    set in4_min 12.0 * 0.90
    set in4_max 12.0 * 1.10
    set in5_min  3.3 * 0.90
    set in5_max  3.3 * 1.10
    set in6_min  3.0 * 0.90
    set in6_max  3.0 * 1.10


chip "sch5027-*"

    label in0 "5VSB"
    label in1 "Vcore"
    label in2 "+3.3V"
    label in5 "3VSB"
    label in6 "Vbat"

    label temp2 "SIO Temp"

    set in0_min  5.0 * 0.90
    set in0_max  5.0 * 1.10
    set in2_min  3.3 * 0.90
    set in2_max  3.3 * 1.10
    set in5_min  3.3 * 0.90
    set in5_max  3.3 * 1.10
    set in6_min  3.0 * 0.90
    set in6_max  3.0 * 1.10


chip "sch5127-*"

    label in2 "+3.3V"
    label in5 "3VSB"
    label in6 "Vbat"

    set in2_min  3.3 * 0.90
    set in2_max  3.3 * 1.10
    set in5_min  3.3 * 0.90
    set in5_max  3.3 * 1.10
    set in6_min  3.0 * 0.90
    set in6_max  3.0 * 1.10


chip "f71808e-*" "f71808a-*" "f71862fg-*" "f71869-*" "f71869a-*" "f71882fg-*" \
     "f71889fg-*" "f71889ed-*" "f71889a-*"

    label in0 "+3.3V"
    label in7 "3VSB"
    label in8 "Vbat"

    compute in0  @*2, @/2
    compute in7  @*2, @/2
    compute in8  @*2, @/2


chip "f71858fg-*" "f8000-*"

    label in0 "+3.3V"
    label in1 "3VSB"
    label in2 "Vbat"

    compute in0  @*2, @/2
    compute in1  @*2, @/2
    compute in2  @*2, @/2


chip "f81865f-*"

    label in0 "+3.3V"
    label in5 "3VSB"
    label in6 "Vbat"

    compute in0  @*2, @/2
    compute in5  @*2, @/2
    compute in6  @*2, @/2


chip "adt7473-*" "adt7475-*"

    label in2 "+3.3V"

    set in2_min  3.3 * 0.90
    set in2_max  3.3 * 1.10

    label temp2 "Board Temp"


chip "adt7476-*" "adt7490-*"

    label in1 "Vcore"
    label in2 "+3.3V"
    label in3 "+5V"
    label in4 "+12V"

    set in2_min  3.3 * 0.90
    set in2_max  3.3 * 1.10
    set in3_min  5.0 * 0.90
    set in3_max  5.0 * 1.10
# Depending on how your ADT7476 is hardwired, you may or may not have
# +12V readings.
#    set in4_min 12.0 * 0.90
#    set in4_max 12.0 * 1.10

    label temp2 "M/B Temp"

sensors_lm czy coś takiego mam zainstalowane.
W terminalu czujniki wyglądają tak:

HP kot # sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:        +47.6°C  (crit = +105.0°C)
temp2:        +20.0°C  (crit = +105.0°C)

k10temp-pci-00c3
Adapter: PCI adapter
temp1:        +47.6°C  (high = +70.0°C)
                       (crit = +100.0°C, hyst = +95.0°C)

HP kot #
47,6C stawiam że to CPU. 20C to chyba dysk bo mam SSD. Innych czujników temperatury w winshit nigdy mi nie pokazywało.
Procka mam AMD Phenom QuadCore 2.20GHz. Zawsze winshit załączał mi II bieg wiatraka od 55C w górę. Teraz załącza się od 40C. Masakra...
« Ostatnia zmiana: 2016-03-24, 20:29:37 wysłana przez wariat prawdziwy »

Offline Andrzej J

  • Users
  • Guru
  • *****
  • Wiadomości: 713
    • Zobacz profil
Odp: Wiatrak w Linuxie - temat pozamiatany?
« Odpowiedź #1 dnia: 2016-03-22, 22:33:49 »
Podaj z konsoli
Cytuj
uname -a
Potem zainteresuj się zmianą kernela na inny(mint ma pewnie kilka kerneli).
Zainteresuj się skalowaniem procesora( masz prawidłowe temperatury procka 47 st C) , a dokładnie cpufrequtils.
Jak już będziesz miał zainstalowany cpufrequtils to podaj z terminala
Cytuj
cpufreq-info

wariat100

  • Gość
Odp: Wiatrak w Linuxie - temat pozamiatany?
« Odpowiedź #2 dnia: 2016-03-23, 07:33:09 »
uname -a
Linux HP 4.4.0-13-generic #29~14.04.1-Ubuntu SMP Fri Mar 11 20:25:40 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 4.0 us.
  hardware limits: 800 MHz - 2.80 GHz
  available frequency steps: 2.80 GHz, 2.50 GHz, 1.80 GHz, 1.40 GHz, 800 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 800 MHz and 2.80 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz (asserted by call to hardware).
  cpufreq stats: 2.80 GHz:5,39%, 2.50 GHz:2,57%, 1.80 GHz:6,60%, 1.40 GHz:23,95%, 800 MHz:61,49%  (14932)
analyzing CPU 1:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 1
  CPUs which need to have their frequency coordinated by software: 1
  maximum transition latency: 4.0 us.
  hardware limits: 800 MHz - 2.80 GHz
  available frequency steps: 2.80 GHz, 2.50 GHz, 1.80 GHz, 1.40 GHz, 800 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 800 MHz and 2.80 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 1.40 GHz (asserted by call to hardware).
  cpufreq stats: 2.80 GHz:4,84%, 2.50 GHz:2,47%, 1.80 GHz:7,07%, 1.40 GHz:25,44%, 800 MHz:60,17%  (14652)

Dwa razy zmieniałem kernela. Najpierw miałem wersję 3.19.0-32 (standardowe jądro po instalacji Minta 17.3 x64).
Zmieniłem na najwyższy z trójką na przedzie czyli 3.19.0-56.  Teraz mam 4.4.0-13 bo dwa dni temu był najnowszy. Widzę że pojawiły się jeszcze dwa nowe przed chwilą: 4.4.0-30 i 34.
Instalować -34??  Będzie jakaś poprawa?
Nie chcę by mi się system rozjechał.
« Ostatnia zmiana: 2016-03-23, 07:36:54 wysłana przez wariat prawdziwy »

wariat100

  • Gość
Odp: Wiatrak w Linuxie - temat pozamiatany?
« Odpowiedź #3 dnia: 2016-03-23, 07:41:20 »
Obecnie jedynym jądrem jest najnowsza wersja 4.4.0-13, reszta usunięta a 4.4.0-30 i 34 zniknęły ze spisu.
Zastanawia mnie dlaczego najnowszy MINT zgłasza się wszędzie jako UBUTU 14.4?
Wiem że jest zbudowany na jego bazie ale przecież są wersje Ubuntu 15.4 i najnowsza 16.4...
Może tu pies pogrzebany?
« Ostatnia zmiana: 2016-03-23, 07:56:37 wysłana przez wariat prawdziwy »

Offline Andrzej J

  • Users
  • Guru
  • *****
  • Wiadomości: 713
    • Zobacz profil
Odp: Wiatrak w Linuxie - temat pozamiatany?
« Odpowiedź #4 dnia: 2016-03-23, 21:49:29 »
Ty tak nie rozpędzaj się z usuwaniem kerneli. Ogólnie najlepiej mieć 2 kernele (najnowszy z dobrze pracującymi sterownikami-firmware, oraz starszy z konfiguracją która działała).
Zajmij się skonfigurowaniem : driver: acpi-cpufreq bo taki steruje u Ciebie pracą procka.
Np. tu masz info z wiki debiana, ale mint to w końcu klon, klona w efekcie debian.
https://wiki.debian.org/HowTo/CpuFrequencyScaling
Tu masz przykład konfiguracji skalowania procesora.
http://patchpl.blogspot.com/2010/03/cpufrequtils-ondemand.html
Możesz spróbować tego najnowszego kernela. Do obrotów procka jest jeszcze program fancontrol.
Ale zanim powyższy program zainstalujesz to podaj wynik komendy
Cytuj
sensors
U mnie w devuanie w kernelu kompilowanym własnoręcznie ze źródeł z kernel.org
Cytuj
Linux asus-1505 4.4.4 #1 SMP Wed Mar 9 11:34:58 CET 2016 x86_64 GNU/Linux
mam info o prędkości wentylatora.

wariat100

  • Gość
Odp: Wiatrak w Linuxie - temat pozamiatany?
« Odpowiedź #5 dnia: 2016-03-24, 07:25:49 »
Podaję wynik z sensors:

acpitz-virtual-0
Adapter: Virtual device
temp1:        +45.5°C  (crit = +105.0°C)
temp2:        +20.0°C  (crit = +105.0°C)

k10temp-pci-00c3
Adapter: PCI adapter
temp1:        +45.5°C  (high = +70.0°C)
                       (crit = +100.0°C, hyst = +95.0°C)

Próbowałem z TPL dzisiaj ale mi nie wyszło, zero zmian (TPL zainstalowane, aktywne)
add-apt-repository ppa:linrunner/tlp
apt-get update
apt-get install tlp tlp-rdw
tlp start

Zaraz przerobię To co zapodałeś...
...
i wychodzi mi że CPU startuje na 800MHz a nie na 2.80GHz więc tutaj nie ma co raczej mieszać...
cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 4.0 us.
  hardware limits: 800 MHz - 2.80 GHz
  available frequency steps: 2.80 GHz, 2.50 GHz, 1.80 GHz, 1.40 GHz, 800 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 800 MHz and 2.80 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz (asserted by call to hardware).
  cpufreq stats: 2.80 GHz:4,59%, 2.50 GHz:2,69%, 1.80 GHz:6,66%, 1.40 GHz:26,48%, 800 MHz:59,57%  (65947)
analyzing CPU 1:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 1
  CPUs which need to have their frequency coordinated by software: 1
  maximum transition latency: 4.0 us.
  hardware limits: 800 MHz - 2.80 GHz
  available frequency steps: 2.80 GHz, 2.50 GHz, 1.80 GHz, 1.40 GHz, 800 MHz
  available cpufreq governors: conservative, ondemand, userspace, powersave, performance
  current policy: frequency should be within 800 MHz and 2.80 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 2.50 GHz (asserted by call to hardware).
  cpufreq stats: 2.80 GHz:4,34%, 2.50 GHz:2,43%, 1.80 GHz:6,30%, 1.40 GHz:27,48%, 800 MHz:59,44%  (64584)


On w tym opisie chyba się pomylił.
http://patchpl.blogspot.com/2010/03/cpufrequtils-ondemand.html

Zależało mu by laptop nadmiernie się grzał?
Nie kapuję...
Z kolei ustawienie na stałe trybu 'preformace' powoduje nadmierne 'grzanie' się laptopa przez co zależało mi aby usunąć po prostu z trybu 'ondemand' najniższą częstotliwość taktowania, a raczej zmienić jej domyślną wartość.

Usunął z Ondemand najniższą wartość taktowania i co? Wstawił wyższą (by poprawić wydajność) by się grzał?

Plik który on edytował u mnie wygląda tak:
 #!/bin/sh
### BEGIN INIT INFO
# Provides:       cpufrequtils
# Required-Start: $remote_fs loadcpufreq
# Required-Stop:
# Default-Start:  2 3 4 5
# Default-Stop:
# Short-Description: set CPUFreq kernel parameters
# Description: utilities to deal with CPUFreq Linux
# kernel support
### END INIT INFO
#

DESC="CPUFreq Utilities"

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
CPUFREQ_SET=/usr/bin/cpufreq-set
CPUFREQ_INFO=/usr/bin/cpufreq-info
CPUFREQ_OPTIONS=""

# use lsb-base
. /lib/lsb/init-functions

# Which governor to use. Must be one of the governors listed in:
#   cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
#
# and which limits to set. Both MIN_SPEED and MAX_SPEED must be values
# listed in:
#   cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
# a value of 0 for any of the two variables will disabling the use of
# that limit variable.
#
# WARNING: the correct kernel module must already be loaded or compiled in.
#
# Set ENABLE to "true" to let the script run at boot time.
#
# eg: ENABLE="true"
# GOVERNOR="ondemand"
# MAX_SPEED=1000
# MIN_SPEED=500

ENABLE="true"
GOVERNOR="ondemand"
MAX_SPEED="0"
MIN_SPEED="0"

check_governor_avail() {
info="/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors"
if [ -f $info ] && grep -q "\<$GOVERNOR\>" $info ; then
return 0;
fi
return 1;
}

[ -x $CPUFREQ_SET ] || exit 0

if [ -f /etc/default/cpufrequtils ] ; then
. /etc/default/cpufrequtils
fi

# if not enabled then exit gracefully
[ "$ENABLE" = "true" ] || exit 0

if [ -n "$MAX_SPEED" ] && [ $MAX_SPEED != "0" ] ; then
CPUFREQ_OPTIONS="$CPUFREQ_OPTIONS --max $MAX_SPEED"
fi

if [ -n "$MIN_SPEED" ] && [ $MIN_SPEED != "0" ] ; then
CPUFREQ_OPTIONS="$CPUFREQ_OPTIONS --min $MIN_SPEED"
fi

if [ -n "$GOVERNOR" ] ; then
CPUFREQ_OPTIONS="$CPUFREQ_OPTIONS --governor $GOVERNOR"
fi

CPUS=$(cat /proc/stat|sed -ne 's/^cpu\([[:digit:]]\+\).*/\1/p')
RETVAL=0
case "$1" in
start|force-reload|restart|reload)
log_action_begin_msg "$DESC: Setting $GOVERNOR CPUFreq governor"
if check_governor_avail ; then
for cpu in $CPUS ; do
log_action_cont_msg "CPU${cpu}"
$CPUFREQ_SET --cpu $cpu $CPUFREQ_OPTIONS 2>&1 > /dev/null || \
RETVAL=$?
done
log_action_end_msg $RETVAL ""
else
log_action_cont_msg "disabled, governor not available"
log_action_end_msg $RETVAL
fi
;;
stop)
;;
*)
echo "Usage: $0 {start|stop|restart|reload|force-reload}"
exit 1
esac

exit 0


I w kolejnym pliku jak widać wyżej kompletnie zero ustawień dla FAN. Zastanawiam się nad tym, czym MINT sugeruje się włączając poszczególne tryby wiatraka. Najprawdopodobniej zczytuje temperaturę z czujnika bo innej możliwości nie ma zatem jeśli ową temperaturę już zczyta to gdzieś w jakimś pliu musi mieć zapisany schemat działania np:


czytam temp1 z cpu 1
jeśli <= 40C włącz 3,30V dla wiatraka
jeśli >=41C oraz <=50C włącz 5,5V dla wiatraka
jeśli >=51C włącz 12V dla wiatraka


Gdzieś w systemie musi być taki schemat bo inaczej skąd Linux by wiedział jaki tryb włączyć przy jakiej temperaturze?
Często w różnych skryptach było zapisane w formie RPM no ale obrotami steruje nic innego jak napięcie V więc... gdzies to musi być... ale gdzie????
Wtedy po prostu wyedytował bym go tak by załączał mi tryb II (5,5V) przy 55C a nie 40C... i tyle...
« Ostatnia zmiana: 2016-03-24, 07:56:48 wysłana przez wariat prawdziwy »

wariat100

  • Gość
Odp: Wiatrak w Linuxie MINT - temat załatwiony :-)
« Odpowiedź #6 dnia: 2016-03-24, 20:36:09 »
Załatwione!  Nareszcie święta cisza.

Zapodaję link:

http://www.ubuntu-pomoc.org/radeon-dpm-koniec-z-przegrzewaniem-karty-graficznej-na-otwartych-sterownikach-dla-atiamd/
https://takasobiestrona.wordpress.com/linux/acpi-w-buntu/

zapodaję też co wpisałem w terminal (wszystko na raz wpisałem ale według kolejności wklepywania podane):

sudo apt-get dist-upgrade
sudo apt-get update
------------
aktualizacja sterowników ATI:

sudo add-apt-repository ppa:oibaf/graphics-drivers
sudo apt-get update
sudo apt-get dist-upgrade

glxinfo - znak kodowy grafiki (niby pierwsze linie) ( tu są bin do kodów https://people.freedesktop.org/~agd5f/radeon_ucode/)

sudo gedit /etc/default/grub
następnie odszukaj linijkę o następującej treści:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

i dodaj w cudzysłowie parametr radeon.dpm=1 poprzedzając go spacją, np.:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.dpm=1"

Na koniec zaktualizuj GRUBa:
sudo update-grub
i restart kompa

Efekt?

II bieg wiatraka załącza mi się przy 65-67C a nie jak wcześniej przy 40C. Wyłącza się przy 52-55C.
Trzeci bieg załączył mi się w stresie dopiero przy 72-74C.
Mija długi czas zanim komputer ustawiony na CPU 2core =800MHz osiągnie aż 65-67 stopni więc nastała cisza.

Mówiłem że go ujarzmię ??   ;D ;D  Jakiś tam windowsshit mógł mi podskakiwać a linuxik ma tańczyć jak ja mu zagram  8)
« Ostatnia zmiana: 2016-03-24, 20:39:56 wysłana przez wariat prawdziwy »

Offline ultr

  • Users
  • Guru
  • *****
  • Wiadomości: 1177
    • Zobacz profil
Odp: Wiatrak w Linuxie MINT - temat załatwiony :-)
« Odpowiedź #7 dnia: 2016-03-25, 23:27:54 »
Gdzieś w systemie musi być taki schemat bo inaczej skąd Linux by wiedział jaki tryb włączyć przy jakiej temperaturze?
Tym zajmuje się sam sprzęt (płyta główna przy wiatraczkach do niej podpiętych, GPU dla swoich wiatraków). System może tylko informować ten sprzęt, że chce tu coś zmienić w tym zachowaniu. Najczęściej można tylko z grubsza ustawić jakiś profil (np. % maksymalnych obrotów wiatraczka). Albo posiłkować się skryptem (http://pastebin.ca/3057324, http://crunchbang.org/forums/viewtopic.php?id=18919, ...).

Mówiłem że go ujarzmię ??   ;D ;D  Jakiś tam windowsshit mógł mi podskakiwać a linuxik ma tańczyć jak ja mu zagram  8)
Gratulacje!