加了以下dsdt,因为显卡是双芯片的,所以,我加了两种dsdt,但是去除了efi驱动,都不能驱动,可以进入系统,显示器信号中断,郁闷的要死!再就是加入dsdt后,我的pci设备显示出来n个gtx295卡,更是让我费解啊!希望懂的人帮我看看,提点一二,让我早日完美!
如下:我加入的dsdt显卡信息(双芯片)
Device (NPE3)
{
Method (_PRW, 0, NotSerialized)
{
Return (GPRW (0x09, 0x04))
}
Name (_ADR, 0x00030000)
Device (GFX0)
{
Name (_ADR, Zero)
Name (_SUN, One)
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x16)
{
"@0,compatible",
Buffer (0x0B)
{
"NVDA,NVMac"
},
"@0,device_type",
Buffer (0x08)
{
"display"
},
"@0,name",
Buffer (0x0F)
{
"NVDA,Display-A"
},
"@1,compatible",
Buffer (0x0B)
{
"NVDA,NVMac"
},
"@1,device_type",
Buffer (0x08)
{
"display"
},
"@1,name",
Buffer (0x0F)
{
"NVDA,Display-B"
},
"NVCAP",
Buffer (0x18)
{
/* 0000 */ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0F, 0x00,
/* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07,
/* 0010 */ 0x00, 0x00, 0x00, 0x00
},
"VRAM,totalsize",
Buffer (0x04)
{
0x00, 0x00, 0x00, 0x38
},
"device_type",
Buffer (0x0C)
{
"NVDA,Parent"
},
"model",
Buffer (0x17)
{
"NVIDIA GeForce GTX 295"
},
"rom-revision",
Buffer (0x05)
{
"3434"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}
Device (GFX1)
{
Name (_ADR, Zero)
Name (_SUN, One)
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x16)
{
"@0,compatible",
Buffer (0x0B)
{
"NVDA,NVMac"
},
"@0,device_type",
Buffer (0x08)
{
"display"
},
"@0,name",
Buffer (0x0F)
{
"NVDA,Display-A"
},
"@1,compatible",
Buffer (0x0B)
{
"NVDA,NVMac"
},
"@1,device_type",
Buffer (0x08)
{
"display"
},
"@1,name",
Buffer (0x0F)
{
"NVDA,Display-B"
},
"NVCAP",
Buffer (0x18)
{
/* 0000 */ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00,
/* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07,
/* 0010 */ 0x00, 0x00, 0x00, 0x00
},
"VRAM,totalsize",
Buffer (0x04)
{
0x00, 0x00, 0x00, 0x38
},
"device_type",
Buffer (0x0C)
{
"NVDA,Parent"
},
"model",
Buffer (0x17)
{
"NVIDIA GeForce GTX 295"
},
"rom-revision",
Buffer (0x05)
{
"3434"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}
}
这是我加入的dsdt显卡信息(单芯片)
Device (NPE3)
{
Method (_PRW, 0, NotSerialized)
{
Return (GPRW (0x09, 0x04))
}
Name (_ADR, 0x00030000)
Device (GFX0)
{
Name (_ADR, Zero)
Name (_SUN, One)
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x16)
{
"@0,compatible",
Buffer (0x0B)
{
"NVDA,NVMac"
},
"@0,device_type",
Buffer (0x08)
{
"display"
},
"@0,name",
Buffer (0x0F)
{
"NVDA,Display-A"
},
"@1,compatible",
Buffer (0x0B)
{
"NVDA,NVMac"
},
"@1,device_type",
Buffer (0x08)
{
"display"
},
"@1,name",
Buffer (0x0F)
{
"NVDA,Display-B"
},
"NVCAP",
Buffer (0x18)
{
/* 0000 */ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0F, 0x00,
/* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07,
/* 0010 */ 0x00, 0x00, 0x00, 0x00
},
"VRAM,totalsize",
Buffer (0x04)
{
0x00, 0x00, 0x00, 0x38
},
"device_type",
Buffer (0x0C)
{
"NVDA,Parent"
},
"model",
Buffer (0x17)
{
"NVIDIA GeForce GTX 295"
},
"rom-revision",
Buffer (0x05)
{
"3434"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}
}
这里是我加入的efi驱动信息:
<key>device-properties</key>
<string>b80700000100000002000000d60300001500000002010c00d041030a000000000101060000030101060000000101060000020101060000007fff04003a000000400032002c0068007700730065006e0073006f0072002d0070006100720061006d0073002d00760065007200730069006f006e000000080000000000000222000000400032002c006400650076006900630065005f0074007900700065000000120000004e5644412c6770752d64696f64650e0000004e00560050004d00000020000000010000000000000000000000000000000000000000000000000000001e00000072006f006d002d007200650076006900730069006f006e0000001200000036322e30302e36432e30302e3034100000004e0056004300410050000000180000000400000000000f0000000000000000070000000022000000400032002c002300730069007a0065002d00630065006c006c0073000000080000000000000022000000400030002c006400650076006900630065005f00740079007000650000000b000000646973706c6179100000006d006f00640065006c0000001a0000004e5649444941204765466f726365204754582032393514000000400030002c006e0061006d0065000000120000004e5644412c446973706c61792d4120000000400032002c0063006f006d00700061007400690062006c0065000000160000004e5644412c73656e736f722d706172656e7414000000400031002c006e0061006d0065000000120000004e5644412c446973706c61792d4212000000400032002c00720065006700000008000000000000021c0000006400650076006900630065005f0074007900700065000000100000004e5644412c4765466f72636520000000400031002c0063006f006d00700061007400690062006c00650000000e0000004e5644412c4e564d616326000000400032002c0023006100640072006500730073002d00630065006c006c007300000008000000000000010e0000006e0061006d00650000000f0000004e5644412c506172656e7422000000400031002c006400650076006900630065005f00740079007000650000000b000000646973706c617920000000400030002c0063006f006d00700061007400690062006c00650000000e0000004e5644412c4e564d6163220000005600520041004d002c0074006f00740061006c00730069007a0065000000080000000000003836000000400032002c00680077006300740072006c002d0070006100720061006d0073002d00760065007200730069006f006e000000080000000000000214000000400032002c006e0061006d00650000001100000073656e736f722d706172656e74d60300001500000002010c00d041030a000000000101060000030101060000000101060000000101060000007fff04003a000000400032002c0068007700730065006e0073006f0072002d0070006100720061006d0073002d00760065007200730069006f006e000000080000000000000222000000400032002c006400650076006900630065005f0074007900700065000000120000004e5644412c6770752d64696f64650e0000004e00560050004d00000020000000010000000000000000000000000000000000000000000000000000001e00000072006f006d002d007200650076006900730069006f006e0000001200000036322e30302e36432e30302e3035100000004e005600430041005000000018000000040000000000010000000000000000070000000022000000400032002c002300730069007a0065002d00630065006c006c0073000000080000000000000022000000400030002c006400650076006900630065005f00740079007000650000000b000000646973706c6179100000006d006f00640065006c0000001a0000004e5649444941204765466f726365204754582032393514000000400030002c006e0061006d0065000000120000004e5644412c446973706c61792d4120000000400032002c0063006f006d00700061007400690062006c0065000000160000004e5644412c73656e736f722d706172656e7414000000400031002c006e0061006d0065000000120000004e5644412c446973706c61792d4212000000400032002c00720065006700000008000000000000021c0000006400650076006900630065005f0074007900700065000000100000004e5644412c4765466f72636520000000400031002c0063006f006d00700061007400690062006c00650000000e0000004e5644412c4e564d616326000000400032002c0023006100640072006500730073002d00630065006c006c007300000008000000000000010e0000006e0061006d00650000000f0000004e5644412c506172656e7422000000400031002c006400650076006900630065005f00740079007000650000000b000000646973706c617920000000400030002c0063006f006d00700061007400690062006c00650000000e0000004e5644412c4e564d6163220000005600520041004d002c0074006f00740061006c00730069007a0065000000080000000000003836000000400032002c00680077006300740072006c002d0070006100720061006d0073002d00760065007200730069006f006e000000080000000000000214000000400032002c006e0061006d00650000001100000073656e736f722d706172656e74</string>
这里是我加入了dsdt后,pci设备显示出来的结果: