public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Marco Walther <Marco.Walther-xsfywfwIY+M@public.gmane.org>
To: aileenja-dTzOdQ2U+/YAvxtiuMwx3w@public.gmane.org
Cc: acpi-devel-pyega4qmqnRoyOMFzWx49A@public.gmane.org
Subject: RE: Where does Dell i8200 hide it's fans?
Date: Mon, 27 Jan 2003 09:51:57 -0800	[thread overview]
Message-ID: <15925.29117.505821.857797@jena.eng.sun.com> (raw)
In-Reply-To: <006601c2c44a$ded48990$134425db-F8JvWDuGsZU@public.gmane.org>

>>>>> "KA" == Kenichi Adachi <Adachi> writes:

KA> Hi Marco,
>> I've a Dell Inspiron 8200 and I know it has two fans. The 
>> Dell-laptop driver is able to switch them but I don't see 
>> anything in the acpi DSDT:-( 

KA> Likely it's because "Dell-laptop driver" directly communicates with
KA> Thermal monitor and programs PWM FAN controller. It's not a big surprise
KA> to see that PC vendor doesn't expose FAN control to ACPI.

Why not? Isn't ACPI supposed to be `the' interface to all those
things?  Yes, I can use my own little way for each of them, something
of the fans/thermal control, something else for the batteries etc.

 
>> Another question: The Dell DSDT has some parts which work 
>> differently for different Windows OS's. Since this laptop is 
>> only supported with WinXP, whould it make sense to to fake 
>> that even under Linux?

KA> If you're talking about _OSI which is defined by Microsoft and not
KA> described in ACPI spec, your attempt shouldn't make a difference in
KA> Linux. Microsoft wants to determine which version of Windows was in BIOS

No, not only the _OSI method but I'm seeing also a OSID method in my
DSDT which returns a bitfield based on the _OS/_OSI and the result of
this is used in different parts of the DSDT again.

    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)
    }


KA> writer's mind when he/she wrote ACPI BIOS for the machine. By knowing
KA> the targeted Windows version, they can adjust their OS's behavior and
KA> keep the compatibility for the end user's sake. For more details, please
KA> take a glance at the following white paper:
KA> http://www.microsoft.com/hwdev/tech/onnow/_OSI-method.asp

This works both ways.  The BIOS can also adapt to the OS mostly the
same way:
....
            Method (_CRS, 0, NotSerialized)
            {
                CRS3 ()
                CR_0 (0x01, 0x00, 0x0009FC00)
                CR_0 (0x01, 0x0009FC00, 0x0400)
                If (LOr (LEqual (OSID (), 0x10), LEqual (OSID (), 0x40)))
                {
                    Store (GORL (), Local0)
                    CR_0 (0x00, 0x000C0000, Local0)
                }

.....

Thanks,
-- Marco


KA> Thanks,
KA> - Adachi, Kenichi

-- 


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

  parent reply	other threads:[~2003-01-27 17:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-24 20:43 Where does Dell i8200 hide it's fans? Marco Walther
     [not found] ` <15921.42374.651850.622121-mWDWuy/8qzhGbVqAl5zy8A@public.gmane.org>
2003-01-25  8:22   ` Adachi, Kenichi
     [not found]     ` <006601c2c44a$ded48990$134425db-F8JvWDuGsZU@public.gmane.org>
2003-01-27 17:51       ` Marco Walther [this message]
2003-01-25 17:50   ` Jan Slezak
     [not found]     ` <200301251850.26764.jan.slezak-aRb0bU7PRFPrBKCeMvbIDA@public.gmane.org>
2003-01-25 20:06       ` James D Strandboge
  -- strict thread matches above, loose matches on Subject: below --
2003-02-04  1:09 Grover, Andrew

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=15925.29117.505821.857797@jena.eng.sun.com \
    --to=marco.walther-xsfywfwiy+m@public.gmane.org \
    --cc=acpi-devel-pyega4qmqnRoyOMFzWx49A@public.gmane.org \
    --cc=aileenja-dTzOdQ2U+/YAvxtiuMwx3w@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