Disable APM without rebuilding the kernel

Kernels & Hardware, configuring network, installing services

Disable APM without rebuilding the kernel

Postby Oracle » 2004-10-15 01:15

Hi everyone...

I use an old computer to run Debian, type i586. I'd like to disable the APM module, and tell the kernel not to load it at boot time...

I use a 2.6.8 kernel.

(If you have some tutorials on how to manage modules with Debian... I'm interested in reading it... 'cause I see a lot of modules loaded, but the /etc/modules is nearly empty... I'd like to make some changes in the load sequence, ie replace vesafb by rivafb, or nvidia... so if you have some docs...)
User avatar
Oracle
 
Posts: 39
Joined: 2004-09-15 20:44

Postby peschmae » 2004-10-15 05:36

Kernel boot parameter:
apm=off
and eventually also
acpi=on

to set usually in /boot/grub/menu.lst

Peschmä
-- Anyone who quotes me in their sig is an idiot. -- Rusty Russell
User avatar
peschmae
 
Posts: 77
Joined: 2004-09-16 18:02

Postby Oracle » 2004-10-15 09:51

Sorry, but it doesn't work... the apm module is still loaded at boot time...
User avatar
Oracle
 
Posts: 39
Joined: 2004-09-15 20:44

Postby FiFi » 2004-10-15 18:57

maybe it's not a nice solution (sry, i'm a noob)
but what if you add "apm" in your /etc/hotplug/blacklist ?
FiFi
 

Postby peschmae » 2004-10-16 09:28

Is the apm module in /etc/modules? If that's the case remove it from there.

Peschmä
-- Anyone who quotes me in their sig is an idiot. -- Rusty Russell
User avatar
peschmae
 
Posts: 77
Joined: 2004-09-16 18:02

Postby Oracle » 2004-10-16 14:36

None of these works...

But I tried a trick that a friend of mine gave me... using modconf. He said that the changes made by modconf are permanent. But when I reboot, all changes are lost...

Strange thing...
User avatar
Oracle
 
Posts: 39
Joined: 2004-09-15 20:44


Return to System configuration

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable