Gönderen Konu: Arch Linux fan control sorunu  (Okunma sayısı 6776 defa)

Çevrimdışı darksource

  • Yeni Penguen
  • *
  • İleti: 35
  • Dağıtım: Arch Linıx
  • Masaüstü Ortamı: Awesome wm
  • Grafik Kartı: nvdia 2gb 950m paylaşımsız
  • İşlemci: intel 6th i7 6700HQ
Arch Linux fan control sorunu
« : 18 Ağustos 2017, 14:46:50 »
Arch Linux a fancontrol yükleyeyim dedim 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 bu şekilde yapabildim ama dosyayı ayarlayamadım galiba yardımcı olabilecek biri varsa rica ederim.
Kod: [Seç]
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)

Kod: [Seç]
# 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

Kod: [Seç]
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'.


Çevrimdışı Butterfly

  • Proje Sorumlusu
  • Guru
  • *****
  • İleti: 18863
  • Linux Mint Türkiye
  • Dağıtım: Linux Mint 20 & LMDE 4
  • Masaüstü Ortamı: Cinnamon 4.6 & Xfce 4.14
  • Grafik Kartı: Nvidia GF 9500
  • İşlemci: AMD X3
Ynt: Arch Linux fan control sorunu
« Yanıtla #1 : 18 Ağustos 2017, 15:47:55 »
Şu komutun çıktısına bakalım öncelikle.

Kod: [Seç]
cat /proc/cmdline
Elimizden geldiğince dilimizin döndüğünce...

[info] Konu Açarken Dikkat Edilmesi Gerekenler  |  Forum Kuralları  |  Kod Etiketi Kullanımı[/info]

Çevrimdışı darksource

  • Yeni Penguen
  • *
  • İleti: 35
  • Dağıtım: Arch Linıx
  • Masaüstü Ortamı: Awesome wm
  • Grafik Kartı: nvdia 2gb 950m paylaşımsız
  • İşlemci: intel 6th i7 6700HQ
Ynt: Arch Linux fan control sorunu
« Yanıtla #2 : 18 Ağustos 2017, 15:51:54 »
Kod: [Seç]
cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-linux root=UUID=a6fe4551-7381-43de-8574-3e4271573e35 rw quiet nouveau.modeset=0 acpi_enforce_resources=lax

Çevrimdışı Butterfly

  • Proje Sorumlusu
  • Guru
  • *****
  • İleti: 18863
  • Linux Mint Türkiye
  • Dağıtım: Linux Mint 20 & LMDE 4
  • Masaüstü Ortamı: Cinnamon 4.6 & Xfce 4.14
  • Grafik Kartı: Nvidia GF 9500
  • İşlemci: AMD X3
Ynt: Arch Linux fan control sorunu
« Yanıtla #3 : 18 Ağustos 2017, 15:57:08 »
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?

Kod: [Seç]
sudo pwmconfig
Elimizden geldiğince dilimizin döndüğünce...

[info] Konu Açarken Dikkat Edilmesi Gerekenler  |  Forum Kuralları  |  Kod Etiketi Kullanımı[/info]

Çevrimdışı darksource

  • Yeni Penguen
  • *
  • İleti: 35
  • Dağıtım: Arch Linıx
  • Masaüstü Ortamı: Awesome wm
  • Grafik Kartı: nvdia 2gb 950m paylaşımsız
  • İşlemci: intel 6th i7 6700HQ
Ynt: Arch Linux fan control sorunu
« Yanıtla #4 : 18 Ağustos 2017, 15:59:29 »
Evet dün forumda bir paylaşımınızda gördüm öyle ekledim.

Kod: [Seç]
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

Çevrimdışı Butterfly

  • Proje Sorumlusu
  • Guru
  • *****
  • İleti: 18863
  • Linux Mint Türkiye
  • Dağıtım: Linux Mint 20 & LMDE 4
  • Masaüstü Ortamı: Cinnamon 4.6 & Xfce 4.14
  • Grafik Kartı: Nvidia GF 9500
  • İşlemci: AMD X3
Ynt: Arch Linux fan control sorunu
« Yanıtla #5 : 18 Ağustos 2017, 16:03:06 »
systemd ile açılış için etkinleştirebiliyor musunuz?
Elimizden geldiğince dilimizin döndüğünce...

[info] Konu Açarken Dikkat Edilmesi Gerekenler  |  Forum Kuralları  |  Kod Etiketi Kullanımı[/info]

Çevrimdışı darksource

  • Yeni Penguen
  • *
  • İleti: 35
  • Dağıtım: Arch Linıx
  • Masaüstü Ortamı: Awesome wm
  • Grafik Kartı: nvdia 2gb 950m paylaşımsız
  • İşlemci: intel 6th i7 6700HQ
Ynt: Arch Linux fan control sorunu
« Yanıtla #6 : 18 Ağustos 2017, 16:07:33 »
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.

Çevrimdışı Butterfly

  • Proje Sorumlusu
  • Guru
  • *****
  • İleti: 18863
  • Linux Mint Türkiye
  • Dağıtım: Linux Mint 20 & LMDE 4
  • Masaüstü Ortamı: Cinnamon 4.6 & Xfce 4.14
  • Grafik Kartı: Nvidia GF 9500
  • İşlemci: AMD X3
Ynt: Arch Linux fan control sorunu
« Yanıtla #7 : 19 Ağustos 2017, 10:37:20 »
Sistemi yeniden başlattıktan sonra aşağıdaki komutun çıktısını  paylaşınız.

Kod: [Seç]
systemctl status fancontrol.service
Elimizden geldiğince dilimizin döndüğünce...

[info] Konu Açarken Dikkat Edilmesi Gerekenler  |  Forum Kuralları  |  Kod Etiketi Kullanımı[/info]

Çevrimdışı darksource

  • Yeni Penguen
  • *
  • İleti: 35
  • Dağıtım: Arch Linıx
  • Masaüstü Ortamı: Awesome wm
  • Grafik Kartı: nvdia 2gb 950m paylaşımsız
  • İşlemci: intel 6th i7 6700HQ
Ynt: Arch Linux fan control sorunu
« Yanıtla #8 : 19 Ağustos 2017, 15:22:34 »
Kod: [Seç]
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
Kod: [Seç]
echo "değer 0-255 " > /sys/class/hwmon/hwmon2/pwm1  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 asus-nb-wmi den bahsediyo

Kod: [Seç]
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 önerileri uygulayınca oldu servis çalışıyor.Fakat ayarlamayı nasıl yapmalıyım onu anlamadım tam olarak.

Kod: [Seç]
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...
« Son Düzenleme: 19 Ağustos 2017, 16:04:43 Gönderen: darksource »

Çevrimdışı Butterfly

  • Proje Sorumlusu
  • Guru
  • *****
  • İleti: 18863
  • Linux Mint Türkiye
  • Dağıtım: Linux Mint 20 & LMDE 4
  • Masaüstü Ortamı: Cinnamon 4.6 & Xfce 4.14
  • Grafik Kartı: Nvidia GF 9500
  • İşlemci: AMD X3
Ynt: Arch Linux fan control sorunu
« Yanıtla #9 : 19 Ağustos 2017, 17:56:28 »
AUR'da GUI'si varmış fancontrol'ün. https://aur.archlinux.org/packages/fancontrol-gui/
Elimizden geldiğince dilimizin döndüğünce...

[info] Konu Açarken Dikkat Edilmesi Gerekenler  |  Forum Kuralları  |  Kod Etiketi Kullanımı[/info]

Çevrimdışı darksource

  • Yeni Penguen
  • *
  • İleti: 35
  • Dağıtım: Arch Linıx
  • Masaüstü Ortamı: Awesome wm
  • Grafik Kartı: nvdia 2gb 950m paylaşımsız
  • İşlemci: intel 6th i7 6700HQ
Ynt: Arch Linux fan control sorunu
« Yanıtla #10 : 19 Ağustos 2017, 19:52:48 »
Hocam GUI'yı yükledikten sonra fancontrol durdu.
Kod: [Seç]
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.
Kod: [Seç]
cat /etc/fancontrol
# This file was created by Fancontrol-GUI
INTERVAL=10
DEVPATH=hwmon2=devices/platform/asus-nb-wmi
DEVNAME=hwmon2=asus

Çevrimdışı Butterfly

  • Proje Sorumlusu
  • Guru
  • *****
  • İleti: 18863
  • Linux Mint Türkiye
  • Dağıtım: Linux Mint 20 & LMDE 4
  • Masaüstü Ortamı: Cinnamon 4.6 & Xfce 4.14
  • Grafik Kartı: Nvidia GF 9500
  • İşlemci: AMD X3
Ynt: Arch Linux fan control sorunu
« Yanıtla #11 : 20 Ağustos 2017, 13:15:04 »
GUI üzerinden ayarlama yapamıyor musunuz?
Elimizden geldiğince dilimizin döndüğünce...

[info] Konu Açarken Dikkat Edilmesi Gerekenler  |  Forum Kuralları  |  Kod Etiketi Kullanımı[/info]

Çevrimdışı darksource

  • Yeni Penguen
  • *
  • İleti: 35
  • Dağıtım: Arch Linıx
  • Masaüstü Ortamı: Awesome wm
  • Grafik Kartı: nvdia 2gb 950m paylaşımsız
  • İşlemci: intel 6th i7 6700HQ
Ynt: Arch Linux fan control sorunu
« Yanıtla #12 : 21 Ağustos 2017, 00:01:33 »
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?