LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help with compiling module patch for ACPI driver (https://www.linuxquestions.org/questions/linux-newbie-8/help-with-compiling-module-patch-for-acpi-driver-4175668549/)

MEA707 01-27-2020 06:17 PM

Help with compiling module patch for ACPI driver
 
Newbie to Linux having installed Linux Mint 19.3 Cinnamon 64-bit on a 12-year old Lenovo ThinkPad T61 a little over a week ago.

I am getting the ACPI error listed in this German-speaking forum and on post 11, there appears to be a patch to thinkpad_acpi to stop these error messages from appearing during boot:

https://thinkpad-forum.de/threads/21...-thinkpad_acpi

Direct link to specific post in the thread with the fix I'm trying to implement:
https://thinkpad-forum.de/threads/21...=1#post2186926

Being new to Linux, how would I compile the code he has and get it loaded?

He has this command listed but I know there's more to this:

$ make -C /usr/src/linux-headers-$(uname -r) M=$(dirname $(realpath "$0"))

Any help would be greatly appreciated

rtmistler 01-28-2020 11:44 AM

Is asking a follow-up question on that forum not an option? Seems like the subject has already been covered there.

MEA707 01-28-2020 12:36 PM

It's a German forum and I do not speak German.

I was hoping there is perhaps a standard method for compiling such patches that it wouldn't necessarily require specific instructions.

I think I'm just going to ignore the ACPI messages, it's not affecting functionality as far as I can tell.

binli 09-20-2023 11:39 PM

Quote:

Originally Posted by MEA707 (Post 6083604)
Newbie to Linux having installed Linux Mint 19.3 Cinnamon 64-bit on a 12-year old Lenovo ThinkPad T61 a little over a week ago.

Being new to Linux, how would I compile the code he has and get it loaded?

He has this command listed but I know there's more to this:

$ make -C /usr/src/linux-headers-$(uname -r) M=$(dirname $(realpath "$0"))

Any help would be greatly appreciated

On Ubuntu 22.04, it works fine with below command.

make -C /lib/modules/$(uname -r)/build M=$(shell pwd) modules


All times are GMT -5. The time now is 03:28 AM.