Strona 2 z 3

Re: Lenovo x220 - thinkfan

: 18 sierpnia 2016, 19:17
autor: rataj

Kod: Zaznacz cały

root@rataj:/home/rataj# cat /sys/module/thinkpad_acpi/parameters/fan_control
Y

Re: Lenovo x220 - thinkfan

: 18 sierpnia 2016, 19:19
autor: dedito
To zrób ponowną instalację:

Kod: Zaznacz cały

apt-get install --reinstall thinkfan

Re: Lenovo x220 - thinkfan

: 18 sierpnia 2016, 19:21
autor: rataj

Kod: Zaznacz cały

root@rataj:/home/rataj# apt-get install --reinstall thinkfan
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności       
Odczyt informacji o stanie... Gotowe
0 aktualizowanych, 0 nowo instalowanych, 1 ponownie instalowanych, 0 usuwanych i 0 nieaktualizowanych.
1 nie w pełni zainstalowanych lub usuniętych.
Po tej operacji zostanie dodatkowo użyte 0 B miejsca na dysku.
E: Internal Error, No file name for thinkfan:amd64

Re: Lenovo x220 - thinkfan

: 18 sierpnia 2016, 19:24
autor: dedito

Kod: Zaznacz cały

apt-get -f install

Re: Lenovo x220 - thinkfan

: 18 sierpnia 2016, 19:25
autor: rataj

Kod: Zaznacz cały

root@rataj:/home/rataj# apt-get -f install
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności       
Odczyt informacji o stanie... Gotowe
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych.
1 nie w pełni zainstalowanych lub usuniętych.
Po tej operacji zostanie dodatkowo użyte 0 B miejsca na dysku.
Konfigurowanie pakietu thinkfan (0.9.2-1) ...
Job for thinkfan.service failed. See 'systemctl status thinkfan.service' and 'journalctl -xn' for details.
invoke-rc.d: initscript thinkfan, action "start" failed.
dpkg: błąd przetwarzania pakietu thinkfan (--configure):
 podproces zainstalowany skrypt post-installation zwrócił kod błędu 1
Wystąpiły błędy podczas przetwarzania:
 thinkfan
E: Sub-process /usr/bin/dpkg returned an error code (1)

Re: Lenovo x220 - thinkfan

: 18 sierpnia 2016, 19:27
autor: dedito

Kod: Zaznacz cały

systemctl status thinkfan.service

Kod: Zaznacz cały

journalctl -xn

Re: Lenovo x220 - thinkfan

: 18 sierpnia 2016, 19:30
autor: rataj

Kod: Zaznacz cały

root@rataj:/home/rataj# systemctl status thinkfan.service
● thinkfan.service - simple and lightweight fan control program
   Loaded: loaded (/lib/systemd/system/thinkfan.service; enabled)
   Active: failed (Result: exit-code) since czw 2016-08-18 19:25:01 CEST; 3min 40s ago
  Process: 2731 ExecStart=/usr/sbin/thinkfan (code=exited, status=4)

sie 18 19:25:01 rataj thinkfan[2731]: thinkfan 0.9.1 starting...
sie 18 19:25:01 rataj systemd[1]: thinkfan.service: control process exited, code=exited status=4
sie 18 19:25:01 rataj systemd[1]: Failed to start simple and lightweight fan control program.
sie 18 19:25:01 rataj systemd[1]: Unit thinkfan.service entered failed state.

Kod: Zaznacz cały

-- Logs begin at czw 2016-08-18 18:47:34 CEST, end at czw 2016-08-18 19:29:03 CEST. --
sie 18 19:27:47 rataj ModemManager[523]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP location updated (MCC: '260', MNC: '1', Location area code: 'A416', Cell ID: '12CE2C4')
sie 18 19:27:55 rataj ModemManager[523]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP location updated (MCC: '260', MNC: '1', Location area code: 'A416', Cell ID: '12C4AEC')
sie 18 19:28:10 rataj ModemManager[523]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP location updated (MCC: '260', MNC: '1', Location area code: 'A416', Cell ID: '12CE2C4')
sie 18 19:28:19 rataj firefox.desktop[1391]: Promise rejected after context unloaded
sie 18 19:28:19 rataj firefox.desktop[1391]: Promise rejected after context unloaded
sie 18 19:28:22 rataj firefox.desktop[1391]: Promise rejected after context unloaded
sie 18 19:28:22 rataj firefox.desktop[1391]: Promise rejected after context unloaded
sie 18 19:28:26 rataj ModemManager[523]: <info>  Modem /org/freedesktop/ModemManager1/Modem/0: 3GPP location updated (MCC: '260', MNC: '1', Location area code: 'A416', Cell ID: '12C4AEC')
sie 18 19:29:03 rataj firefox.desktop[1391]: Promise rejected after context unloaded
sie 18 19:29:03 rataj firefox.desktop[1391]: Promise rejected after context unloaded

Re: Lenovo x220 - thinkfan

: 18 sierpnia 2016, 19:35
autor: dedito
Kombinujemy dalej:

Kod: Zaznacz cały

find /sys/devices -type f -name "temp*_input"

Kod: Zaznacz cały

thinkfan -n

Re: Lenovo x220 - thinkfan

: 18 sierpnia 2016, 19:40
autor: rataj
root@rataj:/home/rataj# find /sys/devices -type f -name "temp*_input"

Kod: Zaznacz cały

/sys/devices/virtual/hwmon/hwmon0/temp1_input
/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp3_input
/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp2_input
root@rataj:/home/rataj# thinkfan -n

Kod: Zaznacz cały

/sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input: No such file or directory
readconfig: Error getting temperature.
Refusing to run without usable config file!

Re: Lenovo x220 - thinkfan

: 18 sierpnia 2016, 19:47
autor: dedito
Czyli problemy z plikem konfiguracyjnym:

Kod: Zaznacz cały

cat /etc/thinkfan.conf
Pewnie już zauważasz konflikt hwmon1 i hwmon2.