linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Len Brown <lenb@kernel.org>
To: "Jan-Simon Möller" <dl9pf@gmx.de>
Cc: linux-acpi@vger.kernel.org
Subject: Re: Fwd: FSC Esprimo Mobile V5505 - dmidecode
Date: Tue, 12 Feb 2008 23:16:19 -0500	[thread overview]
Message-ID: <200802122316.19918.lenb@kernel.org> (raw)
In-Reply-To: <200802122132.48419.dl9pf@gmx.de>

On Tuesday 12 February 2008 15:32, Jan-Simon Möller wrote:
> Am Dienstag 12 Februar 2008 21:00:25 schrieb Len Brown:
> [...]
> >
> > thanks for the acpidump in http://bugzilla.kernel.org/show_bug.cgi?id=9939
> >
> > This BIOS makes heavy use of TRAP's into SMM, Windows version-specific
> > hooks, and WMI -- all bad news for Linux.

> Its a Phoenix BIOS btw. 


> For the WMI: Could acer_wmi be extended for this as Alex suggested ?
> Another FSC model is listed in their hw-db.

yes, but rather than extending acer_wmi, it would probably be more appropriate
to fork it into fsc_wmi...

> Atm this is fine for me - being able to adjust the brightness in "some" way.
> But this is not good for user/newbie xyz. How should he know the 
> kernel-cmdline.

I saw your comments in bugzilla 9939.
One possibility is that we could add a DMI entry
that automatically does acpi_osi="!Windows 2006" for you.

> Sidenote:
> I don't like this BIOS - there are just no features in it. I'm also struggling 
> with vmx being disabled by the bios - and no menu to enable it.
> 
> > But OSI(Linux) itself is a NOP on this box, since LINX is set and never
> > referenced, per below.
> >
> > -Len
> >
> >        Method (_INI, 0, NotSerialized)
> >         {
> >             If (DTSE)
> >             {
> >                 TRAP (0x47)
> >             }
> >
> >             Store (0x07D0, OSYS)
> >             If (CondRefOf (_OSI, Local0))
> >             {
> >                 If (_OSI ("Linux"))
> >                 {
> >                     Store (0x01, LINX)
> >                 }
> >
> >                 If (_OSI ("Windows 2001"))
> >                 {
> >                     Store (0x07D1, OSYS)
> >                 }
> >
> >                 If (_OSI ("Windows 2001 SP1"))
> >                 {
> >                     Store (0x07D1, OSYS)
> >                 }
> >
> >                 If (_OSI ("Windows 2001 SP2"))
> >                 {
> >                     Store (0x07D2, OSYS)
> >                 }
> >
> >                 If (_OSI ("Windows 2006"))
> >                 {
> >                     Store (0x07D6, OSYS)
> >                 }
> >             }
> >
> >             If (LAnd (MPEN, LEqual (OSYS, 0x07D1)))
> >             {
> >                 TRAP (0x3D)
> >             }
> TRAP 0x3D is the Windows WMI code then ?

only "Windows 2001 SP1" -- so it must be a pretty targeted SMM entry point...

> >
> >             TRAP (0x2B)
> >             TRAP (0x32)
> I wonder what these two are ;)

There is no way to tell.  The code (that I didn't show) is littered with TRAPs...

cheers,
-Len

-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2008-02-13  4:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-12 21:57 Fwd: FSC Esprimo Mobile V5505 - info, partly working Jan-Simon Möller
2007-10-13  8:13 ` Fwd: FSC Esprimo Mobile V5505 - dmidecode Jan-Simon Möller
2008-01-19  4:29   ` Len Brown
2008-02-12 10:57     ` Jan-Simon Möller
2008-02-12 20:00       ` Len Brown
2008-02-12 20:11         ` Alexey Starikovskiy
2008-02-12 20:32           ` Len Brown
2008-02-12 20:32         ` Jan-Simon Möller
2008-02-13  4:16           ` Len Brown [this message]
2008-02-13  8:51             ` Jan-Simon Möller

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=200802122316.19918.lenb@kernel.org \
    --to=lenb@kernel.org \
    --cc=dl9pf@gmx.de \
    --cc=linux-acpi@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;
as well as URLs for NNTP newsgroup(s).