Re: APM_CONFIG on x86 - Is it possible?

From: Avery Pennarun
Date: Fri Dec 31 2010 - 16:55:25 EST


On Fri, Dec 31, 2010 at 1:40 PM, Yotam Medini <yotam.medini@xxxxxxxxx> wrote:
> For a target ancient UMAX-ActionBook 530T, I am trying to compile
...
> The .config I ended up with does have:
>   CONFIG_APM=m
> But no CONFIG_APM_POWER setting,

I don't think CONFIG_APM_POWER does what you think it does. I don't
know exactly what it does, either, but if you just want to use native
apm on your machine, you don't need it.

> When booting the kernel, I do not have /proc/apm.

Well, you compiled it as a module, so it's not surprising that it
wouldn't show up at boot time.

> I do get:
>
>  $ sudo modprobe apm
>  FATAL: Error inserting apm
>    (/lib/modules/2.6.32.yumax/kernel/arch/x86/kernel/apm.ko): No such device

The output of 'dmesg' might be revealing here. However, it's likely
that your PC doesn't actually support APM unless it's *very* old. You
might want to try ACPI instead.

Hope this helps.

Avery
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/