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 [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html