Note : DSDT, a few parts to define device EC on Calistga(Intel)/X60(My NB) platform

/*
 * Intel ACPI Component Architecture
 * AML Disassembler version 20060707
 *
 * Disassembly of (null), Sun Oct 08 03:09:12 2006
 *
 *
 * Original Table Header:
 *     Signature        "DSDT"
 *     Length           0x0000738B (29579)
 *     Revision         0x01
 *     OEM ID           "INTEL "
 *     OEM Table ID     "CALISTGA"
 *     OEM Revision     0x06040000 (100925440)
 *     Creator ID       "INTL"
 *     Creator Revision 0x20050624 (537200164)
 */
DefinitionBlock ("DSDT.aml", "DSDT", 1, "INTEL ", "CALISTGA", 0x06040000)
{
 Scope (_SB)   // System Bus, at Line 1083
 {
	.... // others
	Device (PCI0)	// PCI Bus 0, at Line 1839
        {
            Name (_HID, EisaId ("PNP0A08"))
	    .... // others

            Device (LPCB) // LPC Bridge, at Line 4460
            {
                Name (_ADR, 0x001F0000)
                OperationRegion (LPC0, PCI_Config, 0x40, 0xC0)

		.... // others
                Device (H_EC) // Embedded Controller, at Line 4872
                {
                    Name (_HID, EisaId ("PNP0C09"))

the following DSDT from Thinkpad x60

/*
 * Intel ACPI Component Architecture
 * AML Disassembler version 20061109
 *
 * Disassembly of (null), Fri Jun 20 15:01:29 2008
 *
 *
 * Original Table Header:
 *     Signature        "DSDT"
 *     Length           0x0000CFB9 (53177)
 *     Revision         0x01
 *     OEM ID           "LENOVO"
 *     OEM Table ID     "TP-7B   "
 *     OEM Revision     0x00002160 (8544)
 *     Creator ID       "MSFT"
 *     Creator Revision 0x0100000E (16777230)
 */
DefinitionBlock ("DSDT.aml", "DSDT", 1, "LENOVO", "TP-7B   ", 0x00002160)
{
    .... // others

    Scope (_SB)	// System bus, at Line 39
    {
	.... // others

        Device (PCI0)	// PCI bus 0, at Line 1040
        {
            Device (LPC) // LPC Bus
            {
                Name (_ADR, 0x001F0000)
                Name (_S3D, 0x03)
		.... // others

                Scope (_SB.PCI0.LPC) // at Line 1781
                {

                Device (EC) // Embedded Controller, at Line 3456
                {
                    Name (_HID, EisaId ("PNP0C09"))
                    Name (_UID, 0x00)

  • _SB => System bus tree, All Device/Bus Objects are defined under this namespace. at section 5.3.1
  • _HID => Device identification object that evaluates to a device’s Plug and Play Hardware ID. at section 6.1.4
  • _ADR => Address on parent bus. at section 6.1.1
  • _UID => Device identification object that specifies a device’s unique persistent ID, or a control method that generates it. at section 6.1.9

Device Class-Specific Objects, ACPI Device IDs

  • PNP0C09 => Embedded Controller Device. at table 5-53
  • PNP0A08 => PCI/PCI Express Host Bridge. at section 6.2.9.1
OperationRegion ( RegionName, // NameString
	RegionSpace, // RegionSpaceKeyword
	Offset, // TermArg=>Integer
	Length // TermArg=>Integer )
廣告

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

您的留言將使用 WordPress.com 帳號。 登出 / 變更 )

Twitter picture

您的留言將使用 Twitter 帳號。 登出 / 變更 )

Facebook照片

您的留言將使用 Facebook 帳號。 登出 / 變更 )

Google+ photo

您的留言將使用 Google+ 帳號。 登出 / 變更 )

連結到 %s

%d 位部落客按了讚: