Linux Mint Türkiye
Diğer Linux Dağıtımları => Diğer Linux Dağıtımları => Konuyu başlatan: darksource - 18 Ağustos 2017, 14:46:50
-
Arch Linux a fancontrol yükleyeyim dedim https://wiki.archlinux.org/index.php/Fan_speed_control (https://wiki.archlinux.org/index.php/Fan_speed_control) bu adrestekileri uygulamaya çalıştım ama konfigure kısmını https://wiki.archlinux.org/index.php/fan_speed_control#Troubleshooting (https://wiki.archlinux.org/index.php/fan_speed_control#Troubleshooting) bu şekilde yapabildim ama dosyayı ayarlayamadım galiba yardımcı olabilecek biri varsa rica ederim.
sensors
asus-isa-0000
Adapter: ISA adapter
cpu_fan: -1 RPM
temp1: +39.0°C
pch_skylake-virtual-0
Adapter: Virtual device
temp1: +49.0°C
coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +39.0°C (high = +100.0°C, crit = +100.0°C)
Core 0: +39.0°C (high = +100.0°C, crit = +100.0°C)
Core 1: +38.0°C (high = +100.0°C, crit = +100.0°C)
Core 2: +37.0°C (high = +100.0°C, crit = +100.0°C)
Core 3: +37.0°C (high = +100.0°C, crit = +100.0°C)
acpitz-virtual-0
Adapter: Virtual device
temp1: +39.0°C (crit = +103.0°C)
# Configuration file generated by pwmconfig, changes will be lost
INTERVAL=10
DEVPATH=hwmon3=devices/platform/coretemp.0 hwmon2=devices/platform/asus-nb-wmi
DEVNAME=hwmon3=coretemp hwmon2=asus
FCTEMPS=hwmon2/pwm1=hwmon2/temp1_input
FCFANS=hwmon2/pwm1=hwmon2/fan1_input
MINTEMP=hmon2/pwm1=20
MAXTEMP=hwmon2/pwm1=45
MINSTART=hwmon2/pwm1=150
MINSTOP=hwmon2/pwm1=105
sudo systemctl status fancontrol.service
● fancontrol.service - Start fan control, if configured
Loaded: loaded (/usr/lib/systemd/system/fancontrol.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2017-08-18 11:26:35 UTC; 18min ago
Main PID: 1505 (code=exited, status=1/FAILURE)
Ağu 18 11:26:35 Abdux fancontrol[1505]: MINPWM=0
Ağu 18 11:26:35 Abdux fancontrol[1505]: MAXPWM=255
Ağu 18 11:26:35 Abdux fancontrol[1505]: Enabling PWM on fans...
Ağu 18 11:26:35 Abdux fancontrol[1505]: Starting automatic fan control...
Ağu 18 11:26:35 Abdux fancontrol[1505]: /usr/sbin/fancontrol: satır 466: let: mint=*1000: sözdizimi hatası: terim umuluyordu (hata belirtisi "*1000")
Ağu 18 11:26:35 Abdux fancontrol[1505]: /usr/sbin/fancontrol: satır 537: ((: 36000 <= : sözdizimi hatası: terim umuluyordu (hata belirtisi "<= ")
Ağu 18 11:26:35 Abdux fancontrol[1505]: /usr/sbin/fancontrol: satır 543: (36000-)*(255-105)/(45000-)+105: sözdizimi hatası: terim umuluyordu (hata belirtisi ")*(255-105)/(45000-)
Ağu 18 11:26:35 Abdux systemd[1]: fancontrol.service: Main process exited, code=exited, status=1/FAILURE
Ağu 18 11:26:35 Abdux systemd[1]: fancontrol.service: Unit entered failed state.
Ağu 18 11:26:35 Abdux systemd[1]: fancontrol.service: Failed with result 'exit-code'.
-
Şu komutun çıktısına bakalım öncelikle.
cat /proc/cmdline
-
cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-linux root=UUID=a6fe4551-7381-43de-8574-3e4271573e35 rw quiet nouveau.modeset=0 acpi_enforce_resources=lax
-
Gerekli açılış değişkeni eklenmiş mi diye kontrol etmek istedim, eklenmiş görünüyor.
Aşağıdaki komutla ayar dosyasını otomatik oluşturunca durum ne oluyor?
sudo pwmconfig
-
Evet dün forumda bir paylaşımınızda gördüm öyle ekledim.
sudo pwmconfig
[sudo] password for abdux:
# pwmconfig revision $Revision$ ($Date$)
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 pch_skylake
hwmon2 is asus
hwmon3 is coretemp
Found the following PWM controls:
hwmon2/pwm1 current value: 85
hwmon2/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
Giving the fans some time to reach full speed...
Found the following fan sensors:
hwmon2/fan1_input current speed: 0 ... skipping!
There are no working fan sensors, all readings are 0.
Make sure you have a 3-wire fan connected.
You may also need to increase the fan divisors.
See doc/fan-divisors for more information.
Mesajlar Birleştirildi.
Ve fan hızı -1 gözüküyo bu komuttan sonra
-
systemd ile açılış için etkinleştirebiliyor musunuz?
-
Hayır etkinleşmiyor fancontrol. Ama bilgisayarı kapatıp açtığımda fan çok hızlı dönüyor bende systemctl disable fancontrol.service komutu verdim normal hızda çalışıyor.
-
Sistemi yeniden başlattıktan sonra aşağıdaki komutun çıktısını paylaşınız.
systemctl status fancontrol.service
-
systemctl status fancontrol.service
● fancontrol.service - Start fan control, if configured
Loaded: loaded (/usr/lib/systemd/system/fancontrol.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2017-08-19 12:17:13 UTC; 1min 27s ago
Process: 571 ExecStart=/usr/sbin/fancontrol (code=exited, status=1/FAILURE)
Main PID: 571 (code=exited, status=1/FAILURE)
Ağu 19 12:17:13 Abdux fancontrol[571]: MINPWM=0
Ağu 19 12:17:13 Abdux fancontrol[571]: MAXPWM=255
Ağu 19 12:17:13 Abdux fancontrol[571]: Enabling PWM on fans...
Ağu 19 12:17:13 Abdux fancontrol[571]: Starting automatic fan control...
Ağu 19 12:17:13 Abdux fancontrol[571]: /usr/sbin/fancontrol: satır 466: let: mint=*1000: sözdizimi hatası: terim umuluyordu (hat
Ağu 19 12:17:13 Abdux fancontrol[571]: /usr/sbin/fancontrol: satır 537: ((: 39000 <= : sözdizimi hatası: terim umuluyordu (hata
Ağu 19 12:17:13 Abdux fancontrol[571]: /usr/sbin/fancontrol: satır 543: (39000-)*(255-105)/(55000-)+105: sözdizimi hatası: terim
Ağu 19 12:17:13 Abdux systemd[1]: fancontrol.service: Main process exited, code=exited, status=1/FAILURE
Ağu 19 12:17:13 Abdux systemd[1]: fancontrol.service: Unit entered failed state.
Ağu 19 12:17:13 Abdux systemd[1]: fancontrol.service: Failed with result 'exit-code'.
Mesajlar Birleştirildi.
Bu komutla fan hızını ayarlayabiliyorum echo "değer 0-255 " > /sys/class/hwmon/hwmon2/pwm1 https://wiki.archlinux.org/index.php/Talk:Fan_speed_control (https://wiki.archlinux.org/index.php/Talk:Fan_speed_control) burada belirtildiği gibi galiba benim bilgisayarda da bu sorun(sorun mu onu da bilmiyorum) var.Burada ise https://wiki.archlinux.org/index.php/ASUS_N550JV#Single_fan_method (https://wiki.archlinux.org/index.php/ASUS_N550JV#Single_fan_method) asus-nb-wmi den bahsediyo
readlink -f /sys/class/hwmon/hwmon2/device | sed -e 's/^\/sys\///'
devices/platform/asus-nb-wmi
Pek bilgim yok bu konuda ama yinede paylaşayım dedim.
Mesajlar Birleştirildi.
Buradaki https://wiki.archlinux.org/index.php/ASUS_N550JV#Single_fan_method (https://wiki.archlinux.org/index.php/ASUS_N550JV#Single_fan_method) önerileri uygulayınca oldu servis çalışıyor.Fakat ayarlamayı nasıl yapmalıyım onu anlamadım tam olarak.
fancontrol.service - Start fan control, if configured
Loaded: loaded (/usr/lib/systemd/system/fancontrol.service; enabled; vendor preset: disabled)
Active: active (running) since Sat 2017-08-19 12:56:26 UTC; 2min 27s ago
Main PID: 579 (fancontrol)
Tasks: 2 (limit: 4915)
CGroup: /system.slice/fancontrol.service
├─ 579 /bin/bash /usr/sbin/fancontrol
└─1519 sleep 10
Ağu 19 12:56:27 Abdux fancontrol[579]: Depends on /sys/devices/platform/coretemp.0/hwmon/hwmon[[:print:]]*/temp1_input
Ağu 19 12:56:27 Abdux fancontrol[579]: Controls /sys/devices/platform/asus-nb-wmi/hwmon/hwmon[[:print:]]*/fan1_input
Ağu 19 12:56:27 Abdux fancontrol[579]: MINTEMP=50
Ağu 19 12:56:27 Abdux fancontrol[579]: MAXTEMP=80
Ağu 19 12:56:27 Abdux fancontrol[579]: MINSTART=40
Ağu 19 12:56:27 Abdux fancontrol[579]: MINSTOP=10
Ağu 19 12:56:27 Abdux fancontrol[579]: MINPWM=0
Ağu 19 12:56:27 Abdux fancontrol[579]: MAXPWM=255
Ağu 19 12:56:27 Abdux fancontrol[579]: Enabling PWM on fans...
Ağu 19 12:56:27 Abdux fancontrol[579]: Starting automatic fan control...
-
AUR'da GUI'si varmış fancontrol'ün. https://aur.archlinux.org/packages/fancontrol-gui/
-
Hocam GUI'yı yükledikten sonra fancontrol durdu.
sudo systemctl status fancontrol.service
● fancontrol.service - Start fan control, if configured
Loaded: loaded (/usr/lib/systemd/system/fancontrol.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2017-08-19 16:46:01 UTC; 5min ago
Process: 1445 ExecStart=/usr/sbin/fancontrol (code=exited, status=1/FAILURE)
Main PID: 1445 (code=exited, status=1/FAILURE)
Ağu 19 16:46:00 Abdux systemd[1]: Started Start fan control, if configured.
Ağu 19 16:46:00 Abdux fancontrol[1445]: Loading configuration from /etc/fancontrol ...
Ağu 19 16:46:01 Abdux fancontrol[1445]: Some mandatory settings missing, please check your config file!
Ağu 19 16:46:01 Abdux systemd[1]: fancontrol.service: Main process exited, code=exited, status=1/FAILURE
Ağu 19 16:46:01 Abdux systemd[1]: fancontrol.service: Unit entered failed state.
Ağu 19 16:46:01 Abdux systemd[1]: fancontrol.service: Failed with result 'exit-code'.
Ve elle hazırlamış olduğum konfigurasyon dosyası değişti.
cat /etc/fancontrol
# This file was created by Fancontrol-GUI
INTERVAL=10
DEVPATH=hwmon2=devices/platform/asus-nb-wmi
DEVNAME=hwmon2=asus
-
GUI üzerinden ayarlama yapamıyor musunuz?
-
Maalesef yapamadım.Belkide benim sorunum ama GUI den sonra fan control çalışır vaziyette olmadı.Elle oluşturduğum dosya çalışır oluyor.Fakat fanın hızı sürekli değişiyor bunu daha stabil bir hale getirmem için önerilen değerleriniz varsa rica ederim.Bir de bunu elle yapmanın bir zararı olur mu?