LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
Search this Thread
Old 11-13-2004, 06:26 PM   #1
Gerardoj
Member
 
Registered: May 2003
Location: Somewhere over the Rainbow
Distribution: Slackware 9.x, Knoppix, Damn Small Linux, RedHat.
Posts: 465

Rep: Reputation: 30
ACPI and Kernel


Hi All. I recently added acpi support to my slack 10, then I recompiled the kernel, but still dont get the acpi support. Here are the steps that I did:

Code:
cd /usr/src/linux
make xconfig
added the acpi support
make dep
make clean
make modules
mv /lib/modules/2.4.26 /lib/modules/2.4.26.old.
make modules_install
make
make install
reboot
I would like some help about what could be the problem

Thanks in advance.

Last edited by Gerardoj; 11-13-2004 at 06:42 PM.
 
Old 11-13-2004, 06:51 PM   #2
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Re: ACPI and Kernel

Quote:
Originally posted by Gerardoj
still dont get the acpi support.
are you running the acpi daemon (acpid)??
 
Old 11-13-2004, 06:52 PM   #3
Gerardoj
Member
 
Registered: May 2003
Location: Somewhere over the Rainbow
Distribution: Slackware 9.x, Knoppix, Damn Small Linux, RedHat.
Posts: 465

Original Poster
Rep: Reputation: 30
Thanks for your reply. When I run the acpi daemon I get:

acpid: can't open /proc/acpi/event: No such file or directory

Also if I run xconfig again, I can see the ACPI modules on on "Y"

What I did wrong?

Last edited by Gerardoj; 11-13-2004 at 06:54 PM.
 
Old 11-13-2004, 07:09 PM   #4
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
what happens if you use slackware's pre-compiled acpi kernel??

ftp://ftp.slackware.com/pub/slackwar...ls/bareacpi.i/


Last edited by win32sux; 11-13-2004 at 07:10 PM.
 
Old 11-13-2004, 07:10 PM   #5
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
at least just to see if it works...


Last edited by win32sux; 11-13-2004 at 07:11 PM.
 
Old 11-13-2004, 11:20 PM   #6
Gerardoj
Member
 
Registered: May 2003
Location: Somewhere over the Rainbow
Distribution: Slackware 9.x, Knoppix, Damn Small Linux, RedHat.
Posts: 465

Original Poster
Rep: Reputation: 30
Thanks win32sux, Let me try with slackware's pre-compiled acpi kernel.
 
Old 11-15-2004, 06:51 AM   #7
jfromcanada
LQ Newbie
 
Registered: Nov 2004
Posts: 22

Rep: Reputation: 15
try using your recompiled kernel and just put an "acpi=on" kernel parameter in your lilo/grub configuration
 
Old 11-15-2004, 01:48 PM   #8
alexrait1
Member
 
Registered: Jul 2003
Location: Israel
Distribution: slackware current kernel 2.6.9
Posts: 70

Rep: Reputation: 15
What is this acpi anyway? Is it for laptops?
 
Old 11-15-2004, 03:44 PM   #9
Gerardoj
Member
 
Registered: May 2003
Location: Somewhere over the Rainbow
Distribution: Slackware 9.x, Knoppix, Damn Small Linux, RedHat.
Posts: 465

Original Poster
Rep: Reputation: 30
ACPI is a quite old technology but it is pretty badly supported by the officiel Kernel. ACPI is developped by a consortium of few corporation like Intel, compaq, IBM ... The aim of the technology is to provide a remplacement for APM.
It is very usefull on laptops (power management, temperature ...).
 
Old 11-15-2004, 04:20 PM   #10
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
Did you enabled ACPI feature only, without APM support ?

cd /where/your/kernel/tree/is
grep -i apm .config
 
Old 11-16-2004, 10:47 AM   #11
Gerardoj
Member
 
Registered: May 2003
Location: Somewhere over the Rainbow
Distribution: Slackware 9.x, Knoppix, Damn Small Linux, RedHat.
Posts: 465

Original Poster
Rep: Reputation: 30
Quote:
Did you enabled ACPI feature only, without APM support ?
Yeah I think so.

Here is my grep -i apm .config


Code:
CONFIG_APM=m
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_APM_DO_ENABLE is not set
# CONFIG_APM_CPU_IDLE is not set
# CONFIG_APM_DISPLAY_BLANK is not set
# CONFIG_APM_RTC_IS_GMT is not set
# CONFIG_APM_ALLOW_INTS is not set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set
 
Old 11-16-2004, 12:09 PM   #12
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
I would not enamble APM at all (even as module) maybe some init scripts load the APM module
at boot. For my part, I configured ACPI kernel without APM support and did just a chmod +x to
/etc/rc.d/rc.acpid to enable ACPI in my system, all work fine. I enabled hotplug too (I don't know
if that matters)
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel 2.6.13.3 and acpi Boow Slackware 2 07-26-2005 02:59 PM
2.4.20-8 kernel, ACPI, Touchscreen? midiguy732 Red Hat 2 10-31-2004 06:26 PM
ACPI With 2.6 kernel Cikotic Linux - Laptop and Netbook 1 07-07-2004 07:18 PM
ACPI with kernel 2.6.3 Creak Linux - General 0 03-03-2004 07:11 AM
kernel 2.4.20 & acpi-20021212-2.4.20.diff => no /proc/acpi Tinkster Linux - Software 5 03-24-2003 02:56 PM


All times are GMT -5. The time now is 10:48 AM.

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