Re: why sarge can't power off PC



On Tue, Aug 08, 2006 at 23:27:06 +0100, Wulfy wrote:
Liam O'Toole wrote:
I suspect that the kernel has acpi enabled. You can check by seeing
if the directory /proc/acpi exists and is populated. To use apm,
you will need to disable acpi. You do this by passing the argument
'acpi=off' to the kernel, either on the grub command line or in the
grub configuration file, /boot/grub/menu.lst. (I'm assuming that you
use grub; with lilo the procedure is similar.)
First. Thanks for your help so far.

Further to the last e-mail:

I removed apm using aptitude, it removed libapm0 and powermgmt-base as
well. Then I checked in my BIOS setup and there's no mention anywhere
of apm though acpi defaults to S1 (I think that's "shutdown" as opposed
to "sleep" or "suspend").

Yet I find in my log:

Aug 8 19:22:35 localhost kernel: apm: BIOS version 1.2 Flags 0x03 (Driver
version 1.16ac)
Aug 8 19:22:35 localhost kernel: apm: overridden by ACPI.
Aug 8 19:23:50 localhost kernel: apm: BIOS version 1.2 Flags 0x03 (Driver
version 1.16ac)
Aug 8 19:23:50 localhost kernel: apm: overridden by ACPI.

and apm.ko is at /lib/modules/2.6.8-3-k7/kernel/arch/i386/kernel/apm.ko .

Should it not have been removed with the other apm-related bits?

apm.ko is the kernel module which contains the APM routines. As such it
is part of the kernel-image-2.6.8-3-k7 package. Removing the apm daemon
and apm-related library/tools packages does not (and should not) result
in the removal of kernel modules.

The only thing in Control Centre under Power Control is Laptop
Battery. It reports:

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.

Should there be more under Power Control? If so, how do I get it there?

Try to modprobe "ac", "power" and "battery" and check if that makes any
difference.

--
Regards,
Florian


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: why sarge cant power off PC
    ... grub configuration file, /boot/grub/menu.lst. ... I removed apm using aptitude, it removed libapm0 and powermgmt-base as well. ... Then I checked in my BIOS setup and there's no mention anywhere of apm though acpi defaults to S1 (I think that's "shutdown" as opposed ... The only thing in Control Centre under Power Control is Laptop ...
    (Debian-User)
  • Re: why sarge cant power off PC
    ... there's no mention anywhere of apm though acpi defaults to S1 (I ... apm.ko is the kernel module which contains the APM routines. ... Should there be more under Power Control? ...
    (Debian-User)
  • Re: why sarge cant power off PC
    ... FATAL: Error inserting apm ... I suspect that the kernel has acpi enabled. ... grub configuration file, /boot/grub/menu.lst. ...
    (Debian-User)
  • Re: APM & ACPI Support
    ... I'm having some troubles with apm and acpi on kernel 2.6.20 with my motherboard Intel Q965. ... Is it possible tu use ACPI as a kernel module? ...
    (comp.os.linux.hardware)
  • APM & ACPI on chipset 965 ICH8
    ... When I choose acpi, I can't boot on my kernel. ... And When I select APM on the kernel config when I rebbot on the kernel ... Is it possible tu use ACPI as a kernel module? ...
    (alt.os.linux)