tlp thinkpad deepin
Tofloor
poster avatar
189******18
deepin
2018-06-25 18:01
Author
按照这个
https://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html
thinkpad需要
sudo apt-get install tp-smapi-dkms acpi-call-dkms
但是我得到
Error! Bad return status for module build on kernel: 4.15.0-21deepin-generic (x86_64)
Consult /var/lib/dkms/acpi-call/1.1.0/build/make.log for more information.


Error! Bad return status for module build on kernel: 4.15.0-21deepin-generic (x86_64)
Consult /var/lib/dkms/tp_smapi/0.42/build/make.log for more information.

这是什么意思?
Reply Favorite View the author
All Replies
avatar
Oaklight
deepin
2022-04-14 17:04
#1

这个版本的代码有些地方和5.6+的linux kernel不配合,你可以看一下编译log:

cat /var/lib/dkms/acpi-call/1.1.0/build/make.log

用新的版本吧:https://github.com/nix-community/acpi_call

git clone https://github.com/nix-community/acpi_call

cd acpi_call

make

sudo make install

sudo make dkms-add

sudo make dkms-build

sudo make dkms-install

sudo make modprobe-install

等到kernel升级到5.17之后这个就可以卸载了:

cd acpi_call

sudo make modprobe-remove

sudo make dkms-remove

祝好

Reply View the author