public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: "James H. Cloos Jr." <cloos-GRsvFm/Gh/pBDgjK7y7TUQ@public.gmane.org>
To: Ducrot Bruno <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
Cc: Derek Broughton
	<dbroughton-F3m4/jXepmf3fQ9qLvQP4Q@public.gmane.org>,
	ACPI Development - Sourceforge
	<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: ACPI Battery Problems
Date: 07 Jul 2003 15:40:34 -0400	[thread overview]
Message-ID: <m3adbq3z2l.fsf@lugabout.jhcloos.org> (raw)
In-Reply-To: <20030707123833.GB7796-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 353 bytes --]

>>>>> "Ducrot" == Ducrot Bruno <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org> writes:

Ducrot> Most of ASL I saw will more likely use the _OSI() method for
Ducrot> Windows XP.  I'm also wondering if that will be OK to
Ducrot> implement it (but with a configure option or perhaps better a
Ducrot> boot option).

Yes, I did miss that.  Dell does this:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-asl, Size: 719 bytes --]

Method (OSID, 0, NotSerialized)
    {
        If (LEqual (MIS3, 0x00))
        {
            Store (0x04, MIS3)
            If (CondRefOf (\_OSI, Local0))
            {
                If (\_OSI (WXP))
                {
                    Store (0x40, MIS3)
                }
            }
            Else
            {
                If (STRE (\_OS, W98S))
                {
                    Store (0x08, MIS3)
                }

                If (STRE (\_OS, NT5S))
                {
                    Store (0x10, MIS3)
                }

                If (STRE (\_OS, WINM))
                {
                    Store (0x20, MIS3)
                }
            }
        }

        Return (MIS3)
    }

[-- Attachment #3: Type: text/plain, Size: 281 bytes --]


So I was even wrong about the default.  0x4 is used for anything not
98, nt5, me or xp.

In any case, booting w/ acpi_os_name='Windows 2001' still allows the
battery etc stuff to work, so it is obviously indeed the recent
patches that fixed handling less-than-ideal dsdts.

-JimC

      parent reply	other threads:[~2003-07-07 19:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-04 19:52 [ACPI-sppt] ACPI Battery Problems Ian Chilton
2003-07-04 20:10 ` Derek Broughton
     [not found]   ` <03f101c34268$501e4960$3746028e-dP0OE4Ef7fWw5LPnMra/2Q@public.gmane.org>
2003-07-06 21:39     ` James H. Cloos Jr.
     [not found]       ` <m3znjrmj1e.fsf-eUECQUGGJJCHAtaq1fIXeWD2FQJk+8+b@public.gmane.org>
2003-07-07  1:01         ` Derek Broughton
2003-07-07 12:38         ` Ducrot Bruno
     [not found]           ` <20030707123833.GB7796-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-07-07 19:40             ` James H. Cloos Jr. [this message]

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=m3adbq3z2l.fsf@lugabout.jhcloos.org \
    --to=cloos-grsvfm/gh/pbdgjk7y7tuq@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=dbroughton-F3m4/jXepmf3fQ9qLvQP4Q@public.gmane.org \
    --cc=ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.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