mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Yotam Medini <yotam.medini@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: APM_CONFIG on x86 - Is it possible?
Date: Fri, 31 Dec 2010 19:38:58 +0200	[thread overview]
Message-ID: <20101231193858.2c742025@janini.home> (raw)

Hello,

To an ancient target (my UMAX 530T ActionBook - plz don't laugh...)
I am trying to build a lean kernel based on 2.6.32.24 (~ Ubuntu 10.04).
Battery monitoring used to be based on /proc/apm.
I believe ACPI is not supported on this old notebook.
Now, it seems that  CONFIG_APM_POWER  cannot be set, since:

1. The configuration place for  APM_POWER  is in:
   ./drivers/power/Kconfig:25:
	config APM_POWER
		tristate "APM emulation for class batteries"
		depends on APM_EMULATION

2. The configuration place for  APM_EMULATION  is in:
    ./kernel/power/Kconfig:201:
    config APM_EMULATION
	    tristate "Advanced Power Management Emulation"
	    depends on PM && SYS_SUPPORTS_APM_EMULATION

3. But the configuration places for the latter -  
      SYS_SUPPORTS_APM_EMULATION
  - exists only in:
    ./arch/powerpc/Kconfig:185:config SYS_SUPPORTS_APM_EMULATION
    ./arch/sh/Kconfig:120:config SYS_SUPPORTS_APM_EMULATION
    ./arch/mips/Kconfig:896:config SYS_SUPPORTS_APM_EMULATION
    ./arch/arm/Kconfig:32:config SYS_SUPPORTS_APM_EMULATION
  and none under arch/x86 ! :():

So my bottom line questions are:
+ Am I missing something?
+ What is the 'right way' to configure a 2.6.3m.nn kernel
  that should support battery monitoring on such ancient laptops.

When replying, please CC: yotam DOT medini AT Gmail DOT c0m
regards -- yotam

             reply	other threads:[~2010-12-31 17:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-31 17:38 Yotam Medini [this message]
2010-12-31 18:33 ` Randy Dunlap
2010-12-31 19:28   ` Yotam Medini
2010-12-31 19:39     ` Randy Dunlap
2010-12-31 21:40       ` Yotam Medini
2010-12-31 21:54         ` Avery Pennarun
2010-12-31 22:05           ` Yotam Medini
2010-12-31 22:10             ` Avery Pennarun
2011-01-01 16:25             ` Stephen Rothwell
2010-12-31 22:23         ` Randy Dunlap
2011-01-02 19:16           ` CONFIG_APM_POWER - still possible? Yotam Medini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101231193858.2c742025@janini.home \
    --to=yotam.medini@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®