LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-27-2020, 06:17 PM   #1
MEA707
LQ Newbie
 
Registered: Jan 2020
Posts: 4

Rep: Reputation: Disabled
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
 
Old 01-28-2020, 11:44 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Is asking a follow-up question on that forum not an option? Seems like the subject has already been covered there.
 
Old 01-28-2020, 12:36 PM   #3
MEA707
LQ Newbie
 
Registered: Jan 2020
Posts: 4

Original Poster
Rep: Reputation: Disabled
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.
 
Old 09-20-2023, 11:39 PM   #4
binli
LQ Newbie
 
Registered: Sep 2023
Location: China
Distribution: Ubuntu,Debian,openSUSE
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by MEA707 View Post
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help me master ,i have error in my server "ACPI: resource (null) [io 0x0428-0x042f] conflicts with ACPI region" haswar Linux - Newbie 4 08-19-2016 07:41 AM
ACPI Related Problem when Removing Driver Module? briek Linux - Kernel 3 09-25-2006 03:05 PM
Compiling Kernel Driver: ACPI mebaro Linux - Newbie 3 07-15-2005 08:03 AM
Compiling in ACPI support on Compaq 2135CA (system crashes while compiling) Dag Linux - Laptop and Netbook 20 07-30-2004 07:56 PM
kernel 2.4.20 & acpi-20021212-2.4.20.diff => no /proc/acpi Tinkster Linux - Software 5 03-24-2003 01:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration