[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: why sarge can't power off PC



Florian Kulzer wrote:
On Tue, Aug 08, 2006 at 23:27:06 +0100, Wulfy wrote:
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.
Ah.  I should have realised.  I feel silly...  :)

I was surprised it appeared in the logs, though. It does not appear in lsmod.
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.
acpi-related modules in lsmod;

thermal                12816  0
fan                     4044  0
button                  6360  0
processor              17392  1 thermal
ac                      4876  0
battery                 9484  0

Two of them are there.  I modprobed power...

Yewdales-lodge:~# modprobe power
FATAL: Module power not found.



--
Blessings

Wulfmann

Wulf Credo:
Respect the elders. Teach the young. Co-operate with the pack. Play when you can. Hunt when you must. Rest in between.
Share your affections. Voice your opinion. Leave your Mark.



Reply to: