LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 07-08-2011, 02:20 PM   #1
w1k0
Member
 
Registered: May 2008
Posts: 936

Rep: Reputation: 108Reputation: 108
No ACPI support in kernel


I use Slackware 13.37 32-bit version on ThinkPad X60s. I compiled two Window Maker dockable applications monitoring the processor temperature, fan speed, and battery status: wmpower (see: http://www.dockapps.org/file.php/id/164) and wmlenovo (see: http://www.dockapps.org/file.php/id/347).

Both these applications refuse to work.

wmpower displays the messages:

Code:
CPU frequency scaling available
No power management subsystem detected

No power management support...
wmlenovo displays the message:

Code:
No ACPI support in kernel
Did I missed something obvious during the configuration of the system and ACPI doesn’t work for me or there’s some more serious problem with my system?

Last edited by w1k0; 07-08-2011 at 07:08 PM. Reason: typo
 
Old 07-08-2011, 02:59 PM   #2
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,108
Blog Entries: 6

Rep: Reputation: 196Reputation: 196
How old is the bios of your Thinkpad? There's a cut off year (2000 or 2001) which will not enable acpi support. You can boot with acpi=force to enable acpi support for older bios's.

I have to do this for an old Dell Inspiron 3000, and Compaq m700.

They did also change the way sensors work in the kernel, if the above does not work, try booting with acpi_enforce_resources=lax after reading http://www.lm-sensors.org/wiki/FAQ/C...inkernel2.6.31
 
Old 07-08-2011, 03:34 PM   #3
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 12.2 (2.6.27.59), 13.1 (2.6.33.15)
Posts: 2,576

Rep: Reputation: 275Reputation: 275Reputation: 275
I think the acpi=force option is sufficient. If you want to roll a new kernel, then in the stock Slackware the kernel is configured with the following in Power management and ACPI options:

CONFIG_ACPI_BLACKLIST_YEAR=2001

That can be overridden with:

CONFIG_ACPI_BLACKLIST_YEAR=0

Occasionally I tinker with a PII using a 1998 BIOS. The PSU and BIOS support ACPI. I roll my own kernels and changed that option.

Quote:
They did also change the way sensors work in the kernel, if the above does not work, try booting with acpi_enforce_resources=lax after reading http://www.lm-sensors.org/wiki/FAQ/C...inkernel2.6.31
I use that boot option too. One day I'll reconfigure lmsensors correctly to avoid that parameter. . . .
 
Old 07-08-2011, 07:07 PM   #4
w1k0
Member
 
Registered: May 2008
Posts: 936

Original Poster
Rep: Reputation: 108Reputation: 108
My ThinkPad was produced in 2007 or 2008. When I installed on it Slackware 13.1 I updated BIOS to the version 2.18 released 2009-01-08. The mentioned above wmpower program worked well with Slackware 13.1 but refuses to work with Slackware 13.37. After the installation of Slackware 13.37 I read CHANGES_AND_HINTS.TXT. So I knew about acpi=force switch but I ignored that information because the machine and the BIOS are relatively new. Now I tried that switch but results are the same – wmpower and wmlenovo refuse to work. I didn’t mention in the first post that /proc/acpi directory in my Slackware 13.37 seems to look well.
 
Old 07-08-2011, 08:12 PM   #5
w1k0
Member
 
Registered: May 2008
Posts: 936

Original Poster
Rep: Reputation: 108Reputation: 108
I solved the problem. Both wmpower and wmlenovo seek for /proc/acpi/info file in oder to test if ACPI is enabled. Unfortunately modern kernels – newer than 2.6.35 – don’t use such file. In result the mentioned programs refuse to work. It was enough to edit in wmpower sources the file src/power_management/acpi/libacpi.c and in wmlenovo sources the file src/main.c replacing /proc/acpi/info file name with /proc/acpi/wakeup file name and compile and install the modified sources. Now both wmpower and wmlenovo work well on my machine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ACPI support in the kernel. stf92 Linux - Kernel 8 06-25-2010 08:04 AM
Kernel ACPI support monohouse Linux - Kernel 4 07-17-2009 08:40 AM
is slackware 10.0 kernel is support for ACPI Paxmaster Slackware 10 11-26-2004 09:12 PM
patching the kernel for acpi support spyderusa11 Linux - Laptop and Netbook 1 07-24-2003 03:21 AM


All times are GMT -5. The time now is 06:25 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration