LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   acpi patch for 2.6.9?? (http://www.linuxquestions.org/questions/debian-26/acpi-patch-for-2-6-9-a-267228/)

1madstork 12-16-2004 08:41 PM

acpi patch for 2.6.9??
 
I'm running Debian unstable on one of my laptops with the 2.6.9-1-386 image that I got from apt. It's got acpi partially enabled but not fully. It says this when I check my battery bar in the KDE menu:
Quote:

Your computer seems to have a partial ACPI installation. ACPI was probably enabled, but some of the sub-options were not - you need to enable at least 'AC Adaptor' and 'Control Method Battery' and then rebuild your kernel.
Is there a way that I can patch my kernel or enable this with apt so I don't have to compile from source? Maybe an image I can get with apt that's got more sub-options enabled by default?
If compiling from source is my only option, what's the quickest way to do it? (Like a 'make oldconfig' command or something of the like?)

m_yates 12-17-2004 05:33 PM

I don't think you need to patch the kernel, you just need to load the modules you need. The modules are named: ac, battery, fan, thermal, asus_acpi, button, processor, and toshiba_acpi. I don't know in detail what each module does, but you can try a guess by the name. The modules for your kernel are listed in /lib/modules/2.6.7-w4ldeb/kernel/drivers/acpi Where "2.6.7-winldeb" is the name of the kernel.

You can load a module with:
Code:

modprobe fan
where fan is the name of the module. You can make sure the module is loaded at boot time by adding its name to the file /etc/modules

Hope that helps!

1madstork 12-17-2004 10:04 PM

Quote:

Hope that helps!
I helps a lot. Thanks m_yates!:cool:


All times are GMT -5. The time now is 12:27 PM.