* MAcBook Pro DMI info
@ 2008-01-31 8:18 der flooh
2008-02-05 18:22 ` Len Brown
0 siblings, 1 reply; 3+ messages in thread
From: der flooh @ 2008-01-31 8:18 UTC (permalink / raw)
To: linux-acpi
Jan 31 08:40:41 elm ACPI: DMI System Vendor: Apple Inc.
Jan 31 08:40:41 elm ACPI: DMI Product Name: MacBookPro3,1
Jan 31 08:40:41 elm ACPI: DMI Product Version: 1.0
Jan 31 08:40:41 elm ACPI: DMI Board Name: Mac-F4238BC8
Jan 31 08:40:41 elm ACPI: DMI BIOS Vendor: Apple Inc.
Jan 31 08:40:41 elm ACPI: DMI BIOS Date: 09/26/07
--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
-
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: MAcBook Pro DMI info
2008-01-31 8:18 MAcBook Pro DMI info der flooh
@ 2008-02-05 18:22 ` Len Brown
[not found] ` <20080205185811.62790@gmx.net>
0 siblings, 1 reply; 3+ messages in thread
From: Len Brown @ 2008-02-05 18:22 UTC (permalink / raw)
To: der flooh; +Cc: linux-acpi
On Thursday 31 January 2008 03:18, der flooh wrote:
> Jan 31 08:40:41 elm ACPI: DMI System Vendor: Apple Inc.
Thanks for the dmidecode.
Looks like we should just match on the string "Apple",
since they seem to have cut over from "Apple Computer, Inc."
to "Apple Inc."
btw. if you can send me the output from acpidump, I'd
like to look it over, since I've not see the MacBookPro3,1
version yet.
thanks,
-Len
> Jan 31 08:40:41 elm ACPI: DMI Product Name: MacBookPro3,1
> Jan 31 08:40:41 elm ACPI: DMI Product Version: 1.0
> Jan 31 08:40:41 elm ACPI: DMI Board Name: Mac-F4238BC8
> Jan 31 08:40:41 elm ACPI: DMI BIOS Vendor: Apple Inc.
> Jan 31 08:40:41 elm ACPI: DMI BIOS Date: 09/26/07
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: MAcBook Pro DMI info - MacBookPro3,1
[not found] ` <20080205185811.62790@gmx.net>
@ 2008-02-05 19:40 ` Len Brown
0 siblings, 0 replies; 3+ messages in thread
From: Len Brown @ 2008-02-05 19:40 UTC (permalink / raw)
To: der flooh, linux-acpi
> > On Thursday 31 January 2008 03:18, der flooh wrote:
> > > Jan 31 08:40:41 elm ACPI: DMI System Vendor: Apple Inc.
...
> >
> > > Jan 31 08:40:41 elm ACPI: DMI Product Name: MacBookPro3,1
> > > Jan 31 08:40:41 elm ACPI: DMI Product Version: 1.0
> > > Jan 31 08:40:41 elm ACPI: DMI Board Name: Mac-F4238BC8
> > > Jan 31 08:40:41 elm ACPI: DMI BIOS Vendor: Apple Inc.
> > > Jan 31 08:40:41 elm ACPI: DMI BIOS Date: 09/26/07
Thanks for the acpidump.
Apple has added new code BIOS to test OSYS.
But it looks like a NOP for Linux.
I also looks like the Apple BIOS programmers don't
realize that Windows 2006 returns true for OSI(Windows 2001).
But since they test OSYS only against 0x7D1 and the Darwin
value, that bug isn't noticed yet.
cheers,
-Len
Method (PINI, 0, NotSerialized)
{
If (CondRefOf (_OSI, Local0))
{
If (_OSI ("Darwin"))
{
Store (0x2710, OSYS)
}
Else
{
If (_OSI ("Linux"))
{
Store (0x03E8, OSYS)
}
Else
{
If (_OSI ("Windows 2001"))
{
Store (0x07D1, OSYS)
}
Else
{
If (_OSI ("Windows 2001 SP1"))
{
Store (0x07D1, OSYS)
}
Else
{
If (_OSI ("Windows 2001 SP2"))
{
Store (0x07D2, OSYS)
}
Else
{
If (_OSI ("Windows 2006"))
{
Store (0x07D6, OSYS)
}
}
}
}
}
}
}
Else
{
Store (0x07D0, OSYS)
}
}
Re: OSYS use
Device (HPET)
{
Name (_HID, EisaId ("PNP0103"))
Name (_CID, 0x010CD041)
Name (BUF0, ResourceTemplate ()
{
IRQNoFlags ()
{0}
IRQNoFlags ()
{8}
Memory32Fixed (ReadOnly,
0xFED00000, // Address Base
0x00000400, // Address Length
_Y1B)
})
Method (_STA, 0, NotSerialized)
{
If (LGreaterEqual (OSYS, 0x07D1))
{
If (HPAE)
{
Return (0x0F)
}
}
Else
{
If (HPAE)
{
# Linux will come here,
# but it doesn't matter, because we don't look at the GUI bits in _STA anyway...
Return (0x0B)
}
}
Return (0x00)
}
...
# the test for Darwin:
Method (OSDW, 0, NotSerialized)
{
If (LEqual (OSYS, 0x2710))
{
Return (0x01)
}
Else
{
Return (0x00)
}
}
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-02-05 19:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-31 8:18 MAcBook Pro DMI info der flooh
2008-02-05 18:22 ` Len Brown
[not found] ` <20080205185811.62790@gmx.net>
2008-02-05 19:40 ` MAcBook Pro DMI info - MacBookPro3,1 Len Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox