lkml.org 
[lkml]   [2010]   [Dec]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: APM_CONFIG on x86 - Is it possible?
On Fri, Dec 31, 2010 at 2:05 PM, Yotam Medini <yotam.medini@gmail.com> wrote:
> On Fri, 31 Dec 2010 13:54:59 -0800
> Avery Pennarun <apenwarr@alumnit.ca> wrote:
>> > 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.
>
> Indeed:
>    $ dmesg  | grep -i apm
>    [   52.897795] apm: BIOS not found.
> I will try to investigate this.
>
> But I clearly remember that a few years ago, I could issue:
>    $ cat /proc/apm
> and see the battery status.
> Then, I believe, the kernel tree used to have arch/i386.

arch/i386 is named arch/x86 nowadays.

It might be interesting to try an older kernel and see if you get
different results. Since APM is so rare nowadays, I wouldn't be
surprised to find out that the kernel has accumulated some bugs there
in the intervening years.

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

\
 
 \ /
  Last update: 2010-12-31 23:13    [W:0.041 / U:0.996 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site