LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   ACPI and Kernel (https://www.linuxquestions.org/questions/slackware-14/acpi-and-kernel-254466/)

Gerardoj 11-13-2004 05:26 PM

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. ;)

win32sux 11-13-2004 05:51 PM

Re: ACPI and Kernel
 
Quote:

Originally posted by Gerardoj
still dont get the acpi support.
are you running the acpi daemon (acpid)??

Gerardoj 11-13-2004 05:52 PM

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?

win32sux 11-13-2004 06:09 PM

what happens if you use slackware's pre-compiled acpi kernel??

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


win32sux 11-13-2004 06:10 PM

at least just to see if it works...


Gerardoj 11-13-2004 10:20 PM

Thanks win32sux, Let me try with slackware's pre-compiled acpi kernel. :)

jfromcanada 11-15-2004 05:51 AM

try using your recompiled kernel and just put an "acpi=on" kernel parameter in your lilo/grub configuration

alexrait1 11-15-2004 12:48 PM

What is this acpi anyway? Is it for laptops?

Gerardoj 11-15-2004 02:44 PM

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 ...).

Cedrik 11-15-2004 03:20 PM

Did you enabled ACPI feature only, without APM support ?

cd /where/your/kernel/tree/is
grep -i apm .config

Gerardoj 11-16-2004 09:47 AM

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


Cedrik 11-16-2004 11:09 AM

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)


All times are GMT -5. The time now is 03:05 PM.