You are not logged in.
Hi guys and girls, It's the first time I'm trying to use linux instead of windows on a Thinkpad T430.
So, I installed archlinux, configurate everything, but I need support on solving this thing.
Installed Thinkfan, its configured and runs like a charm when I enable and start it trough systemctl, unfortunaly doesn't run when I boot my laptop, and it gives me an error message:
UNIT LOAD ACTIVE SUB DESCRIPTION
thinkfan.service loaded failed failed simple and lightweight fan control program
I'm stuck, can't find any solution, trust me that I searched but nothing .. so maybe this is the last island where I can find asnwers. Thank you.
Last edited by Argotier (2021-04-25 20:51:38)
Offline
Please edit your thread title and use it to describe your issue: https://wiki.archlinux.org/index.php/Co … ow_to_post
Reading that link, you'll see omnibus threads are discouraged.
1. You can fund more information by filtering the journal output by _PID - the wiki has details.
2. No idea what you are talking about. This is your first post, how ware we supposed to know your battery isn't charging?
3. How are we supposed to know how you have set up networking? This is Arch: there are multiple different ways of doing it.
Offline
trying to use linux instead of windows
Assuming that windows is still installed, the battery is likely not charging because of the 3rd link in my signature.
Especially if this is unrelated to TLP or the threshold configuration.
failed to load kernel error
That's not a thing, https://bbs.archlinux.org/viewtopic.php?id=57855
Even if your model isn't supported, the kernel module would still load, it just wouldn't do anything.
Offline
The previous two posts seem to be related to a different problem?
I assume you edited the post title to better reflect the issue and I'll answer with this assumption.
Does the service start properly if you try manually when booted? ex:
# systemctl start thinkfan.serviceIf not, post the output of the 2 recommended commands you'll get in case of error.
Offline
previous two posts seem to be related to a different problem?
I assume you edited the post title to better reflect the issue and I'll answer with this assumption.Does the service start properly if you try manually when booted? ex:
# systemctl start thinkfan.service
If not, post the output of the 2 recommended commands you'll get in case of error..
yes I had other issues but I solved them, whatever turning back to our argument, I tried to do systemctl enable/start thinkfan and runs but when I start my pc it doesn't
Last edited by Argotier (2021-04-25 14:29:42)
Offline
Enabling and starting are not the same thing, enale it, reboot and then check (and post) its status.
Offline
Also, if I'm not mistaken, the thinkfan PKGBUILD lists lm_sensors as an optdepend, but the service file relies on it to know when to try to start the service:
[Unit]
Description=simple and lightweight fan control program
Wants=lm_sensors.service
After=lm_sensors.service
[Service]
Type=forking
ExecStart=/usr/bin/thinkfan $THINKFAN_ARGS
PIDFile=/run/thinkfan.pid
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
Also=thinkfan-sleep.service
Also=thinkfan-wakeup.service...just confirm you have lm_sensors installed as well?
Offline
Enabling and starting are not the same thing, enale it, reboot and then check (and post) its status.
UNIT LOAD ACTIVE SUB DESCRIPTION
● thinkfan.service loaded failed failed simple and lightweight fan control program
LOAD = Reflects whether the unit definition was properly loaded.
Offline
Also, if I'm not mistaken, the thinkfan PKGBUILD lists lm_sensors as an optdepend, but the service file relies on it to know when to try to start the service:
[Unit] Description=simple and lightweight fan control program Wants=lm_sensors.service After=lm_sensors.service [Service] Type=forking ExecStart=/usr/bin/thinkfan $THINKFAN_ARGS PIDFile=/run/thinkfan.pid ExecReload=/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target Also=thinkfan-sleep.service Also=thinkfan-wakeup.service...just confirm you have lm_sensors installed as well?
yes I have lm_sensors installed
Offline
Rather the output of
systemctl status thinkfan.serviceand please use code tags, https://bbs.archlinux.org/help.php#bbcode
Last edited by seth (2021-04-25 14:59:39)
Offline
Also, if I'm not mistaken, the thinkfan PKGBUILD lists lm_sensors as an optdepend, but the service file relies on it to know when to try to start the service:
[Unit] Description=simple and lightweight fan control program Wants=lm_sensors.service After=lm_sensors.service [Service] Type=forking ExecStart=/usr/bin/thinkfan $THINKFAN_ARGS PIDFile=/run/thinkfan.pid ExecReload=/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target Also=thinkfan-sleep.service Also=thinkfan-wakeup.service...just confirm you have lm_sensors installed as well?
[kelor@Argotier ~]$ cat /lib/systemd/system/thinkfan.service
[Unit]
Description=simple and lightweight fan control program
Wants=lm_sensors.service
After=lm_sensors.service
[Service]
Type=forking
ExecStart=/usr/bin/thinkfan $THINKFAN_ARGS
PIDFile=/run/thinkfan.pid
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
Also=thinkfan-sleep.service
I noticed that I don't have the last string that you have
Last edited by Argotier (2021-04-25 15:04:38)
Offline
Rather the output of
systemctl status thinkfan.serviceand please use code tags, https://bbs.archlinux.org/help.php#bbcode
ok sorry,
hope I did it correctly:
thinkfan.service - simple and lightweight fan control program
Loaded: loaded (/usr/lib/systemd/system/thinkfan.service; enabled; vendor preset: d>
Drop-In: /etc/systemd/system/thinkfan.service.d
└─override.conf
Active: failed (Result: exit-code) since Sun 2021-04-25 16:44:14 CEST; 27min ago
CPU: 8ms
apr 25 16:44:14 Argotier systemd[1]: Starting simple and lightweight fan control program>
apr 25 16:44:14 Argotier thinkfan[419]: ERROR: /sys/devices/platform/coretemp.0/hwmon/hw>
apr 25 16:44:14 Argotier systemd[1]: thinkfan.service: Control process exited, code=exit>
apr 25 16:44:14 Argotier systemd[1]: thinkfan.service: Failed with result 'exit-code'.
apr 25 16:44:14 Argotier systemd[1]: Failed to start simple and lightweight fan control >
lines 1-12/12 (END)Offline
Almost, try "systemctl --no-pager status thinkfan.service" - your terminal isn't long enough for the entire output and it's capped at the end.
Offline
Almost, try "systemctl --no-pager status thinkfan.service" - your terminal isn't long enough for the entire output and it's capped at the end.
× thinkfan.service - simple and lightweight fan control program
Loaded: loaded (/usr/lib/systemd/system/thinkfan.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/thinkfan.service.d
└─override.conf
Active: failed (Result: exit-code) since Sun 2021-04-25 16:44:14 CEST; 37min ago
CPU: 8ms
apr 25 16:44:14 Argotier systemd[1]: Starting simple and lightweight fan control program...
apr 25 16:44:14 Argotier thinkfan[419]: ERROR: /sys/devices/platform/coretemp.0/hwmon/hwmon4/temp3_input: No such file or directory
apr 25 16:44:14 Argotier systemd[1]: thinkfan.service: Control process exited, code=exited, status=1/FAILURE
apr 25 16:44:14 Argotier systemd[1]: thinkfan.service: Failed with result 'exit-code'.
apr 25 16:44:14 Argotier systemd[1]: Failed to start simple and lightweight fan control program.when it says ERROR: /sys/devices/platform/coretemp.0/hwmon/hwmon4/temp3_input: It's not true infact when I start thinkfan in terminal it works
like in this case
hinkfan.service - simple and lightweight fan control program
Loaded: loaded (/usr/lib/systemd/system/thinkfan.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/thinkfan.service.d
└─override.conf
Active: active (running) since Sun 2021-04-25 17:24:18 CEST; 52s ago
Process: 3116 ExecStart=/usr/bin/thinkfan $THINKFAN_ARGS (code=exited, status=0/SUCCESS)
Main PID: 3117 (thinkfan)
Tasks: 1 (limit: 18958)
Memory: 564.0K
CPU: 18ms
CGroup: /system.slice/thinkfan.service
└─3117 /usr/bin/thinkfan -b0
apr 25 17:24:18 Argotier systemd[1]: Starting simple and lightweight fan control program...
apr 25 17:24:18 Argotier thinkfan[3116]: Daemon PID: 3117
apr 25 17:24:18 Argotier systemd[1]: Started simple and lightweight fan control program.
apr 25 17:24:18 Argotier thinkfan[3117]: Temperatures(bias): 41(0), 49(0), 49(0), 38(0) -> level 0Last edited by Argotier (2021-04-25 15:27:19)
Offline
You have that, but too late.
Try to add
Requires=sys-devices-platform-coretemp.0-hwmon-hwmon4-temp3_input.device
After=sys-devices-platform-coretemp.0-hwmon-hwmon4-temp3_input.deviceto the service, https://wiki.archlinux.org/index.php/Sy … p-in_files
Offline
You have that, but too late.
Try to addRequires=sys-devices-platform-coretemp.0-hwmon-hwmon4-temp3_input.device After=sys-devices-platform-coretemp.0-hwmon-hwmon4-temp3_input.deviceto the service, https://wiki.archlinux.org/index.php/Sy … p-in_files
Seth, where do I need to put this two strings in etc/thinkfan.conf or /usr/lib/systemd/system/thinkfan.service?
Offline
This is explained in the posted link - you want to augment the existing service w/ a drop-in.
Offline
This is explained in the posted link - you want to augment the existing service w/ a drop-in.
like this?
[Unit]
Description=simple and lightweight fan control program
Wants=lm_sensors.service
After=lm_sensors.service
[Service]
Type=forking
ExecStart=/usr/bin/thinkfan $THINKFAN_ARGS
PIDFile=/run/thinkfan.pid
ExecReload=/bin/kill -HUP $MAINPID
Requires=sys-devices-platform-coretemp.0-hwmon-hwmon4-temp3_input.device
After=sys-devices-platform-coretemp.0-hwmon-hwmon4-temp3_input.device
[Install]
WantedBy=multi-user.target
Also=thinkfan-sleep.service
Also=thinkfan-wakeup.serviceOffline
No, the keys belong into the \[Unit\] and you only augment the existing service w/o rewriting/replacing it.
Offline
No, the keys belong into the \[Unit\] and you only augment the existing service w/o rewriting/replacing it.
scuse me if I disturb you with this things but I dont't want to make mistakes,
[Unit]
Description=simple and lightweight fan control program
Wants=sys-devices-platform-coretemp.0-hwmon-hwmon4-temp3_input.device
After=sys-devices-platform-coretemp.0-hwmon-hwmon4-temp3_input.device
[Service]
Type=forking
ExecStart=/usr/bin/thinkfan $THINKFAN_ARGS
PIDFile=/run/thinkfan.pid
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
Also=thinkfan-sleep.service
Also=thinkfan-wakeup.serviceOffline
If this now is a drop-in you do not need (nor should) provide anything but
[Unit]
Wants=sys-devices-platform-coretemp.0-hwmon-hwmon4-temp3_input.device
After=sys-devices-platform-coretemp.0-hwmon-hwmon4-temp3_input.deviceOffline
If this now is a drop-in you do not need (nor should) provide anything but
[Unit] Wants=sys-devices-platform-coretemp.0-hwmon-hwmon4-temp3_input.device After=sys-devices-platform-coretemp.0-hwmon-hwmon4-temp3_input.device
ok, I think that I understood, here is what I did:
systemctl edit thinkfanthere where the rest of thinks, I only did this:
[Unit]
#Description=simple and lightweight fan control program
Wants=sys-devices-platform-coretemp.0-hwmon-hwmon4-temp3_input.device
After=sys-devices-platform-coretemp.0-hwmon-hwmon4-temp3_input.device
saved and exit
Offline
seems that it doesn't work, in the original file this settings didn't change
Offline
ok ok, I think that is something that doesn't work here, so let's recap:
my actual settings are:
GNU nano 5.6.1 /etc/thinkfan.conf
tp_fan /proc/acpi/ibm/fan
hwmon /sys/devices/virtual/thermal/thermal_zone0/hwmon1/temp1_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon4/temp3_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon4/temp1_input
hwmon /sys/devices/platform/coretemp.0/hwmon/hwmon4/temp2_input
(0, 0, 60)
(1, 57, 65)
(2, 63, 75)
(3, 72, 80)
(4, 78, 90)
(5, 87, 95)
(7, 92, 32767)runing this find /sys/devices -type f -name "temp*_input" my sensors are:
[kelor@Argotier ~]$ sudo su
[sudo] password di kelor:
[root@Argotier kelor]# cat/proc/acpi/ibm/fan
bash: cat/proc/acpi/ibm/fan: File o directory non esistente
[root@Argotier kelor]# cat /proc/acpi/ibm/fan
status: enabled
speed: 0
level: auto
commands: level <level> (<level> is 0-7, auto, disengaged, full-speed)
commands: enable, disable
commands: watchdog <timeout> (<timeout> is 0 (off), 1-120 (seconds))
[root@Argotier kelor]# find /sys/devices -type f -name "temp*_input"
/sys/devices/platform/thinkpad_hwmon/hwmon/hwmon3/temp6_input
/sys/devices/platform/thinkpad_hwmon/hwmon/hwmon3/temp3_input
/sys/devices/platform/thinkpad_hwmon/hwmon/hwmon3/temp7_input
/sys/devices/platform/thinkpad_hwmon/hwmon/hwmon3/temp4_input
/sys/devices/platform/thinkpad_hwmon/hwmon/hwmon3/temp8_input
/sys/devices/platform/thinkpad_hwmon/hwmon/hwmon3/temp1_input
/sys/devices/platform/thinkpad_hwmon/hwmon/hwmon3/temp5_input
/sys/devices/platform/thinkpad_hwmon/hwmon/hwmon3/temp2_input
/sys/devices/platform/coretemp.0/hwmon/hwmon4/temp3_input
/sys/devices/platform/coretemp.0/hwmon/hwmon4/temp1_input
/sys/devices/platform/coretemp.0/hwmon/hwmon4/temp2_input
/sys/devices/virtual/thermal/thermal_zone0/hwmon1/temp1_input
[root@Argotier kelor]# nano /etc/thinkfan.confso how do I configure this thinkfan?
Offline
cat /etc/systemd/system/thinkfan.service.d/override.confThe service seems to depend on a couple of more files - you could brute-force this by not depending on a file but augmenting
[Service]
ExecStartPre=/bin/sleep 30Which will just delay the start by 30 seconds.
Offline