Results 1 to 8 of 8
When I used Debian "sarge", it was easy to suspend my laptop. Now the same command does not work:
Code:
smeagol:/home/daan# apm -s
No APM support in kernel
smeagol:/home/daan# modprobe ...
- 03-05-2006 #1
How to suspend my Debian "etch" laptop? Where's APM?
When I used Debian "sarge", it was easy to suspend my laptop. Now the same command does not work:
I'm not sure my 90's laptop supports ACPI, although I do get a response when I doCode:smeagol:/home/daan# apm -s No APM support in kernel smeagol:/home/daan# modprobe apm FATAL: Error inserting apm (/lib/modules/2.6.15-1-486/kernel/arch/i386/kernel/apm.ko): No such device smeagol:/home/daan#
What command should I use to see if I can use this ACPI?Code:smeagol:/home/daan# acpi Battery 1: charging, 98%, 00:02:32 until charged smeagol:/home/daan#
And if it doesn't work, how do I get the kernel to support APM?
- 03-05-2006 #2http://packages.debian.org/stable/admin/apmdDebian kernels are built with APM support but it is disabled by default. You need to boot the kernel with the "apm=on" option if you want to enable the driver.Brilliant Mediocrity - Making Failure Look Good
- 03-05-2006 #3Just Joined!
- Join Date
- Jun 2005
- Posts
- 72
debian apm
Your old BIOS probably wont handle acpi. You should pass noacpi parameter because acpi will by default turn off apm. Good luck.
- 03-05-2006 #4
How do I do those things?
I've tried editing my /boot/grub/menu.lst file like this:
and also like this:Code:title Debian GNU/Linux, kernel 2.6.15-1-486 root (hd0,1) kernel /boot/vmlinuz-2.6.15-1-486 root=/dev/hda2 ro apm=on initrd /boot/initrd.img-2.6.15-1-486 savedefault boot
and like this:Code:title Debian GNU/Linux, kernel 2.6.15-1-486 root (hd0,1) kernel /boot/vmlinuz-2.6.15-1-486 root=/dev/hda2 ro noacpi initrd /boot/initrd.img-2.6.15-1-486 savedefault boot
but still I'm told there's no APM support in the kernel (after rebooting, apmd is installed). Also when I modpobe apm...Code:title Debian GNU/Linux, kernel 2.6.15-1-486 root (hd0,1) kernel /boot/vmlinuz-2.6.15-1-486 root=/dev/hda2 ro noacpi apm=on initrd /boot/initrd.img-2.6.15-1-486 savedefault boot
Btw, when I was using Debian "sarge", I did not need apm=on to use apm.
- 03-06-2006 #5
you might try rolling your own kernel, and making sure apm is on and apci is off
http://www.debian.org/doc/manuals/re...kernel-compileBrilliant Mediocrity - Making Failure Look Good
- 03-06-2006 #6
I feared that might be needed to get APM working. Quite some work, as it would the be the first time I would be doing that.
Still I'm very happy with my new Debian "etch". Nice new features, such as the alacarte menu editor and the latest version of gnumeric, all available through apt-get.
Thanks for your help, Vergil and Lestoil.
- 03-06-2006 #7actually it isn't that bad. If you do it the debian way, everything currently enabled in the current kernel will be enabled. All you should have to do is enable apm and disable acpi.
Originally Posted by Daan Brilliant Mediocrity - Making Failure Look Good
- 03-09-2006 #8
I've got APM now without a recompiled kernel. The correct way to disable ACPI when booting is by adding "acpi=off" in stead off "noacpi" to /boot/gub/menu.lst, like this:
After loading the APM module, I can suspend and resume and I have all other nice APM features!Code:title Debian GNU/Linux, kernel 2.6.15-1-486 root (hd0,1) kernel /boot/vmlinuz-2.6.15-1-486 root=/dev/hda2 ro acpi=off initrd /boot/initrd.img-2.6.15-1-486 savedefault boot


Reply With Quote
