zocker-160 / thinkfan-ui

A small gui app for Linux to control the fan speed and monitor temps on a ThinkPad
GNU General Public License v3.0
82 stars 7 forks source link

deb file errors when trying to install #13

Open mholl1983 opened 2 months ago

mholl1983 commented 2 months ago

Hi there,

I'm trying to install this app and I get the following error. Any idea why it might be happening? Thanks in advance!

(Reading database ... 5%%
(Reading database ... 10%%
(Reading database ... 15%%
(Reading database ... 20%%
(Reading database ... 25%%
(Reading database ... 30%%
(Reading database ... 35%%
(Reading database ... 40%%
(Reading database ... 45%%
(Reading database ... 50%%
(Reading database ... 55%%
(Reading database ... 60%%
(Reading database ... 65%%
(Reading database ... 70%%
(Reading database ... 75%%
(Reading database ... 80%%
(Reading database ... 85%%
(Reading database ... 90%%
(Reading database ... 95%%
(Reading database ... 100%%
(Reading database ... 536454 files and directories currently installed.)
Preparing to unpack .../thinkfan-ui_0.10.2-1_all.deb ...
modprobe: ERROR: could not insert 'thinkpad_acpi': Invalid argument
dpkg: error processing archive /home/marcjill/Downloads/thinkfan-ui_0.10.2-1_all.deb (--install):
 new thinkfan-ui package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 /home/marcjill/Downloads/thinkfan-ui_0.10.2-1_all.deb
zocker-160 commented 2 months ago

Looks like you are missing the thinkpad_acpi kernel module which is required as noted in the readme.

Could you share the output of this command?

$ cat /proc/modules | grep thinkpad_acpi

It should show at least one entry. Most Ubuntu based distros should have that module installed by default though.

mholl1983 commented 2 months ago

Thanks for getting back to me!

Ran the command but it yielded no output. I'm on LMDE 6.

mholl1983 commented 2 months ago

I likely have some manual fan config hiding somewhere but can't remember.

zocker-160 commented 2 months ago

Ran the command but it yielded no output.

That explains it, you are missing that kernel module. May I ask you what laptop you are using?

mholl1983 commented 2 months ago

Ok, glad to pinpoint that, thanks. I'm using a Lenovo L512 Thinkpad. Let me know if I can provide any further details.

zocker-160 commented 2 months ago

Ah the L512 is part of the SL series which is not supported by the thinkpad_acpi kernel module.

I am not sure if there is much I can do here, if there is a different way to change fan speed on SL-series of models, then I can add support for those ofc.

mholl1983 commented 2 months ago

Ah, got it. Thanks for letting me know! Yes, hope a method can be found, but either way, appreciate the help!