Jump to content

ACPI (DSDT) Patcher for BIOS and AML


koalala
 Share

845 posts in this topic

Recommended Posts

He deleted "Device (PEGP)", "{" and a "}" in the end (after "Return (Local0)") (and "Name (_ADR, 0x00010000)" normally).

I think PEGP method don't always work because of incompatible address ("Name (_ADR,...") in PEGP and the section where you want to put it.

Link to comment
Share on other sites

If you had nvidia 6800 GT as written in your code and its location was confirmed at pex0 by ioreg you had to delete red lines for working video

 

Device (PEX0)

{

Device (PEGP)

{

Name (_ADR, 0x00010000)

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, 0x03, 0x00,

/* 0008 */ 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07,

/* 0010 */ 0x00, 0x00, 0x00, 0x00

},

"VRAM,totalsize",

Buffer (0x04)

{

0x00, 0x00, 0x00, 0x20

},

"device_type",

Buffer (0x0D)

{

"NVDA,GeForce"

},

"model",

Buffer (0x17)

{

"nVidia GeForce 6800 GT"

},

"rom-revision",

Buffer (0x25)

{

"nVidia GeForce 6800 GT OpenGL Engine"

}

}, Local0)

DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))

Return (Local0)

}

}

}

 

Name (_ADR, 0x001C0000)

Method (_STA, 0, NotSerialized)

{

Return (0x0F)

}

 

Method (_PRW, 0, NotSerialized)

{

.......

}

}

Link to comment
Share on other sites

SSDT from Notebooks/Laptops (especially HP) with both cores working.

 

I'm currently trying to get both cores to work on my HP530 notebook. I've been trying for a while now.

I think I've found that on this particular notebook (and probably many more) the SSDT tables are messed up. I've modified the GetDSDT.sh script so that it can extract the SSDT tables. I've also modified the chameleon DSDT bootloader so that it can replace and load SSDT tables from the root folder. The only problem is that I've not got any working SSDT tables to compare mine with.

 

I would be gratefull if you could share your working SSDT tables with me so I can hopefully fix the dual core problem with the HP530 notebook (and hopefully many more!!).

 

I've attached a zip file with a folder containing the iasl tool and the script to extract the SSDT tables.

 

To run just uncompress the attachment, with Terminal cd into the folder and run:

 

./getSSDT5.sh

 

There should be multiple tables, I've attached the 5 tables from my notebook. This can also help people to understand P-States, T-States and C-States.

 

Please compress these files and either upload or PM them to me.

 

Thanks, if you can help!!

 

P.S. Great work everyone!!

 

ssdt_tools.zip

 

Hi, good job ab_73, i have issues shutting down my Vaio (it restarts on shutdown) and i would like to try editing and loading the ssdt.... can you post the patched bootloader for ssdt? Many thanks. :)

Link to comment
Share on other sites

this is the dsl I get from fassl patcher: dsdt.dsl.zip

 

in order to compile it with his patcher I make these changes:

 

^CPU0 to _PR.CPU1 in one of the first lines

GUID to ^GUID where there's an error in the output

 

I delete Store (Zero, OSCC) and Store (Zero, OSCS) where it gets the error

 

I dunno if there corrections are right... also, when I decompile the new aml I get ^CPU0 and GUID back, I've never succeeded in making dsdt work for now...

Link to comment
Share on other sites

If you had nvidia 6800 GT as written in your code and its location was confirmed at pex0 by ioreg you had to delete red lines for working video

 

Device (PEX0)

{

Device (PEGP)

{

Name (_ADR, 0x00010000)

...

}

THANKS.

Sure i must add my ATI values (complete different / some more entryies with their own Bytes number)..

Will report and share my changes for 3850 512 MB if it works like efi gfxstring.

Link to comment
Share on other sites

SSDT from Notebooks/Laptops (especially HP) with both cores working.

 

I'm currently trying to get both cores to work on my HP530 notebook. I've been trying for a while now.

I think I've found that on this particular notebook (and probably many more) the SSDT tables are messed up. I've modified the GetDSDT.sh script so that it can extract the SSDT tables. I've also modified the chameleon DSDT bootloader so that it can replace and load SSDT tables from the root folder. The only problem is that I've not got any working SSDT tables to compare mine with.

 

I would be gratefull if you could share your working SSDT tables with me so I can hopefully fix the dual core problem with the HP530 notebook (and hopefully many more!!).

 

I've attached a zip file with a folder containing the iasl tool and the script to extract the SSDT tables.

 

To run just uncompress the attachment, with Terminal cd into the folder and run:

 

./getSSDT5.sh

 

There should be multiple tables, I've attached the 5 tables from my notebook. This can also help people to understand P-States, T-States and C-States.

 

Please compress these files and either upload or PM them to me.

 

Thanks, if you can help!!

 

P.S. Great work everyone!!

 

ssdt_tools.zip

 

Same issu with HP NC6400, plagued with cpus=1...

Link to comment
Share on other sites

maybe people with ATI 3850/70 want to try out with this code and report back

 

                Device (GFX0)
               {
                   Name (_ADR, XXXX) // add the correct ADR using the ioreg
                   Method (_DSM, 4, NotSerialized)
                   {
                       Store (Package (0x5E)
                           {
                               "@0,AAPL,boot-display", 
                               Buffer (0x04)
                               {
                                   0x01, 0x00, 0x00, 0x00
                               }, 

                               "@0,ATY,EFIDisplay", 
                               Buffer (0x06)
                               {
                                   "TMDSA"
                               }, 

                               "@0,compatible", 
                               Buffer (0x0A)
                               {
                                   "ATY,Megalodon"
                               }, 

                               "@0,connector-type", 
                               Buffer (0x04)
                               {
                                   0x04, 0x00, 0x00, 0x00
                               }, 

                               "0,device_type", 
                               Buffer (0x08)
                               {
                                   "display"
                               }, 

                               "@0,display-connect-flags", 
                               Buffer (0x04)
                               {
                                   0x00, 0x00, 0x04, 0x00
                               }, 

                               "@0,display-type", 
                               Buffer (0x04)
                               {
                                   "LCD"
                               }, 

                               "@0,name", 
                               Buffer (0x0A)
                               {
                                   "ATY,Megalodon"
                               }, 

                               "@0,VRAM,memsize", 
                               Buffer (0x08)
                               {
                               	0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x10
                               }, 

                               "@1,compatible", 
                               Buffer (0x0A)
                               {
                                   "ATY,Megalodon"
                               }, 

                               "@1,connector-type", 
                               Buffer (0x04)
                               {
                                   0x00, 0x02, 0x00, 0x00
                               }, 

                               "@1,device_type", 
                               Buffer (0x08)
                               {
                                   "display"
                               }, 

                               "@1,display-type", 
                               Buffer (0x05)
                               {
                                   "NONE"
                               }, 

                               "@1,name", 
                               Buffer (0x0A)
                               {
                                   "ATY,Megalodon"
                               }, 

                               "@1,VRAM,memsize", 
                               Buffer (0x08)
                               {
                                   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10
                               }, 

                               "AAPL,aux-power-connected", 
                               Buffer (0x04)
                               {
                                   0x01, 0x00, 0x00, 0x00
                               }, 

                               "AAPL,backlight-control", 
                               Buffer (0x04)
                               {
                                   0x00, 0x00, 0x00, 0x00
                               }, 

                               "AAPL,EMC-Display-List", 
                               Buffer (0x40)
                               {
                                   /* 0000 */    0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0008 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0010 */    0x06, 0x10, 0x00, 0x00, 0x1B, 0x92, 0x00, 0x00, 
                                   /* 0018 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0020 */    0x06, 0x10, 0x00, 0x00, 0x1C, 0x92, 0x00, 0x00, 
                                   /* 0028 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0030 */    0x06, 0x10, 0x00, 0x00, 0x21, 0x92, 0x00, 0x00, 
                                   /* 0038 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                               }, 

                               "AAPL00,blackscreen-preferences", 
                               Buffer (0x04)
                               {
                                   0x00, 0x00, 0x00, 0x08
                               }, 

                               "AAPL01,blackscreen-preferences", 
                               Buffer (0x04)
                               {
                                   0x00, 0x00, 0x00, 0x08
                               }, 

                               "AAPL01,Coherency", 
                               Buffer (0x04)
                               {
                                   0x02, 0x00, 0x00, 0x00
                               }, 

                               "ATY,Card#", 
                               Buffer (0x0E)
                               {
                                   "109-B148xx-00"
                               }, 

                               "ATY,Copyright", 
                               Buffer (0x32)
                               {
                                   "Copyright AMD Inc. All Rights Reserved. 2005-2008"
                               }, 

                               "ATY,EFICompileDate", 
                               Buffer (0x0C)
                               {
                                   "Dec 18 2007"
                               }, 

                               "ATY,EFIDriverType", 
                               Buffer (One)
                               {
                                   0x02
                               }, 

                               "ATY,EFIEnabledMode", 
                               Buffer (One)
                               {
                                   0x02
                               }, 

                               "ATY,EFIHWInitStatus", 
                               Buffer (0x08)
                               {
                                   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                               }, 

                               "ATY,EFIOrientation", 
                               Buffer (One)
                               {
                                   0x01
                               }, 

                               "ATY,EFIVersion", 
                               Buffer (0x0A)
                               {
                                   "01.00.236"
                               }, 

                               "ATY,EFIVersionBios", 
                               Buffer (0x0F)
                               {
                                   "113-B14801-023"
                               }, 

                               "ATY,FrameBufferOffset", 
                               Buffer (0x08)
                               {
                                   0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00
                               }, 

                               "ATY,HWGPIO", 
                               Buffer (0x04)
                               {
                                   0x23, 0xA8, 0x48, 0x00
                               }, 

                               "ATY,IOSpaceOffset", 
                               Buffer (0x08)
                               {
                                   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x00
                               }, 

                               "ATY,MCLK", 
                               Buffer (0x04)
                               {
                                   0x00, 0x35, 0x0C, 0x00
                               }, 

                               "ATY,MemRevisionID", 
                               Buffer (0x02)
                               {
                                   0x01, 0x00
                               }, 

                               "ATY,MemVendorID", 
                               Buffer (0x02)
                               {
                                   0x06, 0x00
                               }, 

                               "ATY,PCIConfigSpace", 
                               Buffer (0x0100)
                               {
                                   /* 0000 */    0x02, 0x10, 0x88, 0x95, 0x07, 0x00, 0x10, 0x00, 
                                   /* 0008 */    0x00, 0x00, 0x00, 0x03, 0x40, 0x00, 0x00, 0x00, 
                                   /* 0010 */    0x0C, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0018 */    0x04, 0x00, 0xA2, 0x90, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0020 */    0x01, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0028 */    0x00, 0x00, 0x00, 0x00, 0x6B, 0x10, 0xA6, 0x00, 
                                   /* 0030 */    0x00, 0x00, 0xA0, 0x90, 0x50, 0x00, 0x00, 0x00, 
                                   /* 0038 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 
                                   /* 0040 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0048 */    0x00, 0x00, 0x00, 0x00, 0x6B, 0x10, 0xA6, 0x00, 
                                   /* 0050 */    0x01, 0x58, 0x03, 0x06, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0058 */    0x10, 0xA0, 0x11, 0x00, 0xA0, 0x8F, 0x00, 0x00, 
                                   /* 0060 */    0x10, 0x08, 0x00, 0x00, 0x02, 0x0D, 0x00, 0x08, 
                                   /* 0068 */    0x42, 0x00, 0x02, 0x11, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0070 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0078 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0080 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0088 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0090 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0098 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00A0 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00A8 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00B0 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00B8 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00C0 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00C8 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00D0 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00D8 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00E0 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00E8 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00F0 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00F8 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                               }, 

                               "ATY,PlatformInfo", 
                               Buffer (0x80)
                               {
                                   /* 0000 */    0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0008 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0010 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0018 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0020 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0028 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0030 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0038 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0040 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0048 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0050 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0058 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0060 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0068 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0070 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0078 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                               }, 

                               "ATY,RefCLK", 
                               Buffer (0x04)
                               {
                                   0x8C, 0x0A, 0x00, 0x00
                               }, 

                               "ATY,RegisterSpaceOffset", 
                               Buffer (0x08)
                               {
                                   0x00, 0x00, 0x00, 0x00, 0x90, 0xA2, 0x00, 0x00
                               }, 

                               "ATY,Rom#", 
                               Buffer (0x0F)
                               {
                                   "113-B1480A-236"
                               }, 

                               "ATY,SCLK", 
                               Buffer (0x04)
                               {
                                   0x60, 0xAE, 0x0A, 0x00
                               }, 

                               "ATY,VendorID", 
                               Buffer (0x02)
                               {
                                   0x02, 0x10
                               }, 

                               "device_type", 
                               Buffer (0x14)
                               {
                                   "ATY,MegalodonParent"
                               }, 

                               "model", 
                               Buffer (0x13)
                               {
                                   "ATI Radeon HD 3800"
                               }, 

                               "MVAD", 
                               Buffer (0x40)
                               {
                                   /* 0000 */    0x3E, 0x5C, 0x82, 0x00, 0xFF, 0x90, 0x00, 0xCA, 
                                   /* 0008 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0010 */    0x7C, 0x2E, 0x90, 0x06, 0x30, 0x07, 0x30, 0x00, 
                                   /* 0018 */    0x20, 0x00, 0x1A, 0x04, 0x38, 0x04, 0x03, 0x00, 
                                   /* 0020 */    0x06, 0x00, 0x1A, 0x04, 0x90, 0x06, 0x00, 0x01, 
                                   /* 0028 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0030 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0038 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                               }, 

                               "name", 
                               Buffer (0x10)
                               {
                                   "ATY,MegalodonParent"
                               }
                           }, Local0)
                       DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                       Return (Local0)
                   }
               }

Link to comment
Share on other sites

Here's a weird one - it's the previous (AMI) BIOS for ASUS P5Q-E.

 

I was using this BIOS in my board before and my very first DSDT.aml was successfully generated from it with fassl's patcher under OSX.

 

Your patcher brings up a dialog "No DSDT module found in ACPI table". When I click OK the whole thing crashes with an unhandled exception.

 

I've attached it.

P5Q_E_ASUS_1406.zip

Link to comment
Share on other sites

maybe people with ATI 3850/70 want to try out with this code and report back

 

                Device (GFX0)
               {
                   Name (_ADR, XXXX) // add the correct ADR using the ioreg
                   Method (_DSM, 4, NotSerialized)
                   {
                       Store (Package (0x5E)
                           {
                               "@0,AAPL,boot-display", 
 (...)

                               "name", 
                               Buffer (0x10)
                               {
                                   "ATY,MegalodonParent"
                               }
                           }, Local0)
                       DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                       Return (Local0)
                   }
               }

 

Hi, i tried with an HD3870.

 

I'm not sure where to put it, i put it there :

 

	 Device (PCI0)
	{
		Device (PEGP)
		{
								Device (GFX0)
						   {
							   Name (_ADR, 0x00010000) // add the correct ADR using the ioreg
							   Method (_DSM, 4, NotSerialized)
							   {
								   Store (Package (0x5E)
									   {
										   "@0,AAPL,boot-display", (...)

 

Is it the right position in the dsl file ?

 

2) the framebuffer for that card is not megalodon, but lamna :

 

Here's registry with natit loaded : look into attached 'Pic 1'

 

3) i'm not sure of the adress (PCI...)

 

Here's registry with natit loaded : look into attached 'Pic 2'

 

So i used

Name (_ADR, 0x00010000)

 

 

Thanks for your help =)

 

Hopping Radeon will be added to the fantastic dsdt patcher GUI :(

Link to comment
Share on other sites

Beerkex'd, this is a bug in the DSDT location detection, when the table lenght start by "u" it ignore it. It's fixed in Beta 2 put not released yet.

ovof, will be added in Beta 2 (Triakis, Megadolon and Lamna). With HD3xxx, use Megadolon or Triakis.

Link to comment
Share on other sites

Hi, good job ab_73, i have issues shutting down my Vaio (it restarts on shutdown) and i would like to try editing and loading the ssdt.... can you post the patched bootloader for ssdt? Many thanks. :)

 

@Pere,

 

Will post it tonight (GMT), after I read your request I have been modifing the source code, so that it's more generic.

I had initially wrote it specifically for a HP laptop.

 

-

AB

Link to comment
Share on other sites

ok, this works for ATi Wormy (tested with ati x 1600, AMD X2 4800 retail install (voodoo kernel) 10.5.6 ATI stock kext)

 

wormy%201.jpg

wormy%202.jpg

 

Device (GFX0)
               {
                   Name (_ADR, Zero) // use the proper ADR
                   Name (_SUN, Zero)
                   Method (_DSM, 4, NotSerialized)
                   {
                       Store (Package (0x58)
                           {
                               "@0,compatible", 
                               Buffer (0x0A)
                               {
                                   "ATY,Wormy"
                               }, 

                               "@0,device_type", 
                               Buffer (0x08)
                               {
                                   "display"
                               }, 

                               "@0,name", 
                               Buffer (0x0A)
                               {
                                   "ATY,Wormy"
                               }, 

                               "@1,compatible", 
                               Buffer (0x0A)
                               {
                                   "ATY,Wormy"
                               }, 

                               "@1,device_type", 
                               Buffer (0x08)
                               {
                                   "display"
                               }, 

                               "@1,name", 
                               Buffer (0x0A)
                               {
                                   "ATY,Wormy"
                               }, 

                               "AAPL00,DataJustify", 
                               Buffer (0x04)
                               {
                                   0x01, 0x00, 0x00, 0x00
                               }, 

                               "AAPL00,Dither", 
                               Buffer (0x04)
                               {
                                   0x00, 0x00, 0x00, 0x00
                               }, 

                               "AAPL00,DualLink", 
                               Buffer (0x04)
                               {
                                   0x01, 0x00, 0x00, 0x00
                               }, 

                               "AAPL00,Inverter", 
                               Buffer (0x04)
                               {
                                   0x00, 0x00, 0x00, 0x00
                               }, 

                               "AAPL00,InverterCurrent", 
                               Buffer (0x04)
                               {
                                   0x00, 0x00, 0x00, 0x00
                               }, 

                               "AAPL00,InverterFrequency", 
                               Buffer (0x04)
                               {
                                   0x08, 0x52, 0x00, 0x00
                               }, 

                               "AAPL00,LinkFormat", 
                               Buffer (0x04)
                               {
                                   0x00, 0x00, 0x00, 0x00
                               }, 

                               "AAPL00,LinkType", 
                               Buffer (0x04)
                               {
                                   0x00, 0x00, 0x00, 0x00
                               }, 

                               "AAPL00,PixelFormat", 
                               Buffer (0x04)
                               {
                                   0x00, 0x00, 0x00, 0x00
                               }, 

                               "AAPL00,T1", 
                               Buffer (0x04)
                               {
                                   0x00, 0x00, 0x00, 0x00
                               }, 

                               "AAPL00,T2", 
                               Buffer (0x04)
                               {
                                   0x01, 0x00, 0x00, 0x00
                               }, 

                               "AAPL00,T3", 
                               Buffer (0x04)
                               {
                                   0xC8, 0x00, 0x00, 0x00
                               }, 

                               "AAPL00,T4", 
                               Buffer (0x04)
                               {
                                   0xC8, 0x00, 0x00, 0x00
                               }, 

                               "AAPL00,T5", 
                               Buffer (0x04)
                               {
                                   0x01, 0x00, 0x00, 0x00
                               }, 

                               "AAPL00,T6", 
                               Buffer (0x04)
                               {
                                   0x00, 0x00, 0x00, 0x00
                               }, 

                               "AAPL00,T7", 
                               Buffer (0x04)
                               {
                                   0x90, 0x01, 0x00, 0x00
                               }, 

                               "ATY,Card#", 
                               Buffer (0x0E)
                               {
                                   "109-xxxxxx-00"
                               }, 

                               "ATY,Copyright", 
                               Buffer (0x32)
                               {
                                   "Copyright AMD Inc. All Rights Reserved. 2005-2008"
                               }, 

                               "ATY,DeviceID", 
                               Buffer (0x02)
                               {
                                   0xC0, 0x71
                               }, 

                               "ATY,EFICompileDate", 
                               Buffer (0x0C)
                               {
                                   "Mar 27 2006"
                               }, 

                               "ATY,EFIVersion", 
                               Buffer (0x0A)
                               {
                                   "01.00.086"
                               }, 

                               "ATY,FrameBufferOffset", 
                               Buffer (0x04)
                               {
                                   0x80, 0x00, 0x00, 0x00
                               }, 

                               "ATY,HWGPIO", 
                               Buffer (0x04)
                               {
                                   0x21, 0x10, 0x00, 0x00
                               }, 

                               "ATY,IOSpaceOffset", 
                               Buffer (0x08)
                               {
                                   /* 0000 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x00
                               }, 

                               "ATY,MCLK", 
                               Buffer (0x04)
                               {
                                   0x50, 0x27, 0x01, 0x00
                               }, 

                               "ATY,MemVendorID", 
                               Buffer (0x02)
                               {
                                   0x01, 0x00
                               }, 

                               "ATY,MemVendorIDFull", 
                               Buffer (0x04)
                               {
                                   0x01, 0xFF, 0xFF, 0xFF
                               }, 

                               "ATY,MRT", 
                               Buffer (0x0110)
                               {
                                   /* 0000 */    0x70, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7F, 0x00, 
                                   /* 0008 */    0x6A, 0x00, 0x00, 0x80, 0x10, 0x00, 0x00, 0x00, 
                                   /* 0010 */    0x6B, 0x00, 0x00, 0x80, 0x10, 0x00, 0x00, 0x00, 
                                   /* 0018 */    0xFF, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 
                                   /* 0020 */    0x6A, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0028 */    0x6B, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0030 */    0x08, 0x00, 0x00, 0x80, 0x12, 0x40, 0x00, 0x0A, 
                                   /* 0038 */    0x70, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7F, 0x00, 
                                   /* 0040 */    0x68, 0x00, 0x00, 0x80, 0x00, 0x01, 0x00, 0x00, 
                                   /* 0048 */    0x69, 0x00, 0x00, 0x80, 0x00, 0x01, 0x00, 0x00, 
                                   /* 0050 */    0xFF, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 
                                   /* 0058 */    0x60, 0x00, 0x00, 0x80, 0xFE, 0x2F, 0x0F, 0x02, 
                                   /* 0060 */    0xFF, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 
                                   /* 0068 */    0x60, 0x00, 0x00, 0x80, 0xFE, 0x2F, 0x0F, 0x12, 
                                   /* 0070 */    0xFF, 0xFF, 0xFF, 0xFF, 0x02, 0x00, 0x00, 0x00, 
                                   /* 0078 */    0x68, 0x00, 0x00, 0x80, 0x80, 0x01, 0x00, 0x00, 
                                   /* 0080 */    0x69, 0x00, 0x00, 0x80, 0x80, 0x01, 0x00, 0x00, 
                                   /* 0088 */    0x68, 0x00, 0x00, 0x80, 0x80, 0x00, 0x00, 0x00, 
                                   /* 0090 */    0x69, 0x00, 0x00, 0x80, 0x80, 0x00, 0x00, 0x00, 
                                   /* 0098 */    0x70, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7F, 0x00, 
                                   /* 00A0 */    0x08, 0x00, 0x00, 0x80, 0x12, 0x40, 0x00, 0x0A, 
                                   /* 00A8 */    0x76, 0x00, 0x00, 0x80, 0x00, 0x00, 0x02, 0x00, 
                                   /* 00B0 */    0x76, 0x00, 0x00, 0x80, 0x88, 0x40, 0x01, 0x00, 
                                   /* 00B8 */    0x76, 0x00, 0x00, 0x80, 0x73, 0x05, 0x11, 0x00, 
                                   /* 00C0 */    0xFF, 0xFF, 0xFF, 0xFF, 0x14, 0x00, 0x00, 0x00, 
                                   /* 00C8 */    0x76, 0x00, 0x00, 0x80, 0x73, 0x04, 0x01, 0x00, 
                                   /* 00D0 */    0x76, 0x00, 0x00, 0x80, 0x73, 0x04, 0x03, 0x00, 
                                   /* 00D8 */    0x76, 0x00, 0x00, 0x80, 0x73, 0x04, 0x03, 0x00, 
                                   /* 00E0 */    0x76, 0x00, 0x00, 0x80, 0x73, 0x04, 0x03, 0x00, 
                                   /* 00E8 */    0x76, 0x00, 0x00, 0x80, 0x73, 0x04, 0x13, 0x00, 
                                   /* 00F0 */    0x08, 0x00, 0x00, 0x80, 0x12, 0x40, 0x00, 0x8A, 
                                   /* 00F8 */    0x0A, 0x00, 0x00, 0x80, 0x3B, 0x3B, 0x1F, 0x00, 
                                   /* 0100 */    0x60, 0x00, 0x00, 0x80, 0xFE, 0x3F, 0x0F, 0x12, 
                                   /* 0108 */    0xE0, 0x00, 0x00, 0x80, 0x73, 0x04, 0x00, 0x00
                               }, 

                               "ATY,PCIConfigSpace", 
                               Buffer (0x0100)
                               {
                                   /* 0000 */    0x02, 0x10, 0xC5, 0x71, 0x07, 0x00, 0x10, 0x00, 
                                   /* 0008 */    0x00, 0x00, 0x00, 0x03, 0x40, 0x00, 0x00, 0x00, 
                                   /* 0010 */    0x08, 0x00, 0x00, 0x80, 0x01, 0x30, 0x00, 0x00, 
                                   /* 0018 */    0x00, 0x00, 0x30, 0x98, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0020 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0028 */    0x00, 0x00, 0x00, 0x00, 0x6B, 0x10, 0x80, 0x00, 
                                   /* 0030 */    0x00, 0x00, 0xFE, 0xFF, 0x50, 0x00, 0x00, 0x00, 
                                   /* 0038 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 
                                   /* 0040 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0048 */    0x00, 0x00, 0x00, 0x00, 0x6B, 0x10, 0x80, 0x00, 
                                   /* 0050 */    0x01, 0x58, 0x02, 0x06, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0058 */    0x10, 0x80, 0x11, 0x00, 0xA0, 0x0F, 0x2C, 0x01, 
                                   /* 0060 */    0x10, 0x08, 0x00, 0x00, 0x01, 0x0D, 0x00, 0x00, 
                                   /* 0068 */    0x42, 0x00, 0x01, 0x11, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0070 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0078 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0080 */    0x05, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0088 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0090 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0098 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00A0 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00A8 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00B0 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00B8 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00C0 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00C8 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00D0 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00D8 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00E0 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00E8 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00F0 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00F8 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                               }, 

                               "ATY,PlatformInfo", 
                               Buffer (0x80)
                               {
                                   /* 0000 */    0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0008 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0010 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0018 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0020 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0028 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0030 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0038 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0040 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0048 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0050 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0058 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0060 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0068 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0070 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0078 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                               }, 

                               "ATY,RefCLK", 
                               Buffer (0x04)
                               {
                                   0x8C, 0x0A, 0x00, 0x00
                               }, 

                               "ATY,RegisterSpaceOffset", 
                               Buffer (0x04)
                               {
                                   0x98, 0x30, 0x00, 0x00
                               }, 

                               "ATY,Rom#", 
                               Buffer (0x0F)
                               {
                                   "113-xxxxxx-086"
                               }, 

                               "ATY,SCLK", 
                               Buffer (0x04)
                               {
                                   0xD8, 0xBD, 0x00, 0x00
                               }, 

                               "ATY,VendorID", 
                               Buffer (0x02)
                               {
                                   0x02, 0x10
                               }, 

                               "ATY,VRAM,MemSize", 
                               Buffer (0x04)
                               {
                                   0x00, 0x01, 0x00, 0x00
                               }, 

                               "device_type", 
                               Buffer (0x10)
                               {
                                   "ATY,WormyParent"
                               }, 

                               "model", 
                               Buffer (0x18)
                               {
                                   "ATI Radeon X1600 256 MB"
                               }
                           }, Local0)
                       DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                       Return (Local0)
                   }
               }

 

 

EDIT:

 

ATI HD2600XT works with megalodon, this is the code (tested with GA-EP35-DS3P 10.5.6 stock kext)

 

megalodon2600_3.png

megalodon2600_4.png

 

Device (GFX0)
               {
                   Name (_ADR, Zero) // use the proper ADR
                   Name (_SUN, One)
                   Method (_DSM, 4, NotSerialized)
                   {
                       Store (Package (0x4C)
                           {
                               "@0,compatible", 
                               Buffer (0x0E)
                               {
                                   "ATY,Megalodon"
                               }, 

                               "@0,device_type", 
                               Buffer (0x08)
                               {
                                   "display"
                               }, 

                               "@0,name", 
                               Buffer (0x0E)
                               {
                                   "ATY,Megalodon"
                               }, 

                               "@1,compatible", 
                               Buffer (0x0E)
                               {
                                   "ATY,Megalodon"
                               }, 

                               "@1,device_type", 
                               Buffer (0x08)
                               {
                                   "display"
                               }, 

                               "@1,name", 
                               Buffer (0x0E)
                               {
                                   "ATY,Megalodon"
                               }, 

                               "AAPL,aux-power-connected", 
                               Buffer (0x04)
                               {
                                   0x01, 0x00, 0x00, 0x00
                               }, 

                               "AAPL,backlight-control", 
                               Buffer (0x04)
                               {
                                   0x00, 0x00, 0x00, 0x00
                               }, 

                               "AAPL,EMC-Display-List", 
                               Buffer (0x40)
                               {
                                   /* 0000 */    0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0008 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0010 */    0x06, 0x10, 0x00, 0x00, 0x1B, 0x92, 0x00, 0x00, 
                                   /* 0018 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0020 */    0x06, 0x10, 0x00, 0x00, 0x1C, 0x92, 0x00, 0x00, 
                                   /* 0028 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0030 */    0x06, 0x10, 0x00, 0x00, 0x21, 0x92, 0x00, 0x00, 
                                   /* 0038 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                               }, 

                               "AAPL00,blackscreen-preferences", 
                               Buffer (0x04)
                               {
                                   0x00, 0x00, 0x00, 0x08
                               }, 

                               "AAPL01,blackscreen-preferences", 
                               Buffer (0x04)
                               {
                                   0x00, 0x00, 0x00, 0x08
                               }, 

                               "AAPL01,Coherency", 
                               Buffer (0x04)
                               {
                                   0x02, 0x00, 0x00, 0x00
                               }, 

                               "ATY,Card#", 
                               Buffer (0x0E)
                               {
                                   "109-B148xx-00"
                               }, 

                               "ATY,Copyright", 
                               Buffer (0x32)
                               {
                                   "Copyright AMD Inc. All Rights Reserved. 2005-2008"
                               }, 

                               "ATY,DeviceID", 
                               Buffer (0x02)
                               {
                                   0x88, 0x95
                               }, 

                               "ATY,EFICompileDate", 
                               Buffer (0x0C)
                               {
                                   "Dec 18 2007"
                               }, 

                               "ATY,EFIDriverType", 
                               Buffer (One)
                               {
                                   0x02
                               }, 

                               "ATY,EFIEnabledMode", 
                               Buffer (One)
                               {
                                   0x02
                               }, 

                               "ATY,EFIHWInitStatus", 
                               Buffer (0x08)
                               {
                                   /* 0000 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                               }, 

                               "ATY,EFIOrientation", 
                               Buffer (One)
                               {
                                   0x01
                               }, 

                               "ATY,EFIVersion", 
                               Buffer (0x10)
                               {
                                   "01.00.236"
                               }, 

                               "ATY,EFIVersionBios", 
                               Buffer (0x0F)
                               {
                                   "113-B14801-023"
                               }, 

                               "ATY,FrameBufferOffset", 
                               Buffer (0x08)
                               {
                                   /* 0000 */    0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00
                               }, 

                               "ATY,HWGPIO", 
                               Buffer (0x04)
                               {
                                   0x23, 0xA8, 0x48, 0x00
                               }, 

                               "ATY,IOSpaceOffset", 
                               Buffer (0x08)
                               {
                                   /* 0000 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x00
                               }, 

                               "ATY,MCLK", 
                               Buffer (0x04)
                               {
                                   0x00, 0x35, 0x0C, 0x00
                               }, 

                               "ATY,MemRevisionID", 
                               Buffer (0x02)
                               {
                                   0x01, 0x00
                               }, 

                               "ATY,MemVendorID", 
                               Buffer (0x02)
                               {
                                   0x06, 0x00
                               }, 

                               "ATY,PCIConfigSpace", 
                               Buffer (0x0100)
                               {
                                   /* 0000 */    0x02, 0x10, 0x88, 0x95, 0x07, 0x00, 0x10, 0x00, 
                                   /* 0008 */    0x00, 0x00, 0x00, 0x03, 0x40, 0x00, 0x00, 0x00, 
                                   /* 0010 */    0x0C, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0018 */    0x04, 0x00, 0xA2, 0x90, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0020 */    0x01, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0028 */    0x00, 0x00, 0x00, 0x00, 0x6B, 0x10, 0xA6, 0x00, 
                                   /* 0030 */    0x00, 0x00, 0xA0, 0x90, 0x50, 0x00, 0x00, 0x00, 
                                   /* 0038 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 
                                   /* 0040 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0048 */    0x00, 0x00, 0x00, 0x00, 0x6B, 0x10, 0xA6, 0x00, 
                                   /* 0050 */    0x01, 0x58, 0x03, 0x06, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0058 */    0x10, 0xA0, 0x11, 0x00, 0xA0, 0x8F, 0x00, 0x00, 
                                   /* 0060 */    0x10, 0x08, 0x00, 0x00, 0x02, 0x0D, 0x00, 0x08, 
                                   /* 0068 */    0x42, 0x00, 0x02, 0x11, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0070 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0078 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0080 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0088 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0090 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0098 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00A0 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00A8 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00B0 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00B8 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00C0 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00C8 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00D0 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00D8 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00E0 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00E8 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00F0 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 00F8 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                               }, 

                               "ATY,PlatformInfo", 
                               Buffer (0x80)
                               {
                                   /* 0000 */    0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0008 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0010 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0018 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0020 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0028 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0030 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0038 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0040 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0048 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0050 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0058 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0060 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0068 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0070 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                   /* 0078 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                               }, 

                               "ATY,RefCLK", 
                               Buffer (0x04)
                               {
                                   0x8C, 0x0A, 0x00, 0x00
                               }, 

                               "ATY,RegisterSpaceOffset", 
                               Buffer (0x08)
                               {
                                   /* 0000 */    0x00, 0x00, 0x00, 0x00, 0x90, 0xA2, 0x00, 0x00
                               }, 

                               "ATY,Rom#", 
                               Buffer (0x0F)
                               {
                                   "113-B1480A-236"
                               }, 

                               "ATY,SCLK", 
                               Buffer (0x04)
                               {
                                   0x60, 0xAE, 0x0A, 0x00
                               }, 

                               "ATY,VendorID", 
                               Buffer (0x02)
                               {
                                   0x02, 0x10
                               }, 

                               "VRAM,totalsize", 
                               Buffer (0x04)
                               {
                                   0x00, 0x00, 0x00, 0x20
                               }, 

                               "device_type", 
                               Buffer (0x14)
                               {
                                   "ATY,MegalodonParent"
                               }, 

                               "model", 
                               Buffer (0x1A)
                               {
                                   "ATI Radeon HD 2600 Series"
                               }
                           }, Local0)
                       DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                       Return (Local0)
                   }
               }

Link to comment
Share on other sites

roisoft, since I don't have ATI card I can't test but aren't some lines useless like :

"ATY,Card#",

"ATY,Copyright",

"ATY,EFICompileDate",

"ATY,EFIVersion",

"ATY,MemVendorID",

...

and all buffer with only 0x00 included ?

Can you test without these value ?

Link to comment
Share on other sites

Gigabyte EP35-DS3 (Bios F3) has now !

thanks to ROISOFT + all DSDT Teams )

- ATI 3850 512 MB using Megadolon FB (for my knowledge OSX >= 10.5.4 needed!)

- HDEF (AppleHDA usage, unpatched code, only 2 small changed in .plist)

- LAN/TM Fix

 

All 3 above now by DSDT patching.

1. No more Natit or efi gfx string

2. No more Audio patch troubles (only change 2 .plists on Updates)

3. No more IONetwork patchings, Lan is now buildin, Timemachine needs that

I added readable dsdt.dsl (0 errors, 0 warnings !) for own usages (copy/change parts into yours) and recompiling by iasl -ta ...

 

Also included AppleHDA.kext (unpatched code, only changes in 2 .plist)

ATI Part : search for ATI in .dsl

LAN/TM : seach for LAN in .dsl

HDEFs : search for HDEF (2 are found, both where before AZAL)

DSDT_EP35DS3_ATI3850_HDEF_LANFIX.zip

Link to comment
Share on other sites

Gigabyte EP35-DS3 (Bios F3) has now !

thanks to ROISOFT + all DSDT Teams )

- ATI 3850 512 MB using Megadolon FB (for my knowledge OSX >= 10.5.4 needed!)

- HDEF (AppleHDA usage, unpatched code, only 2 small changed in .plist)

- LAN/TM Fix

 

All 3 above now by DSDT patching.

1. No more Natit or efi gfx string

2. No more Audio patch troubles (only change 2 .plists on Updates)

3. No more IONetwork patchings, Lan is now buildin, Timemachine needs that

I added readable dsdt.dsl (0 errors, 0 warnings !) for own usages (copy/change parts into yours) and recompiling by iasl -ta ...

 

Also included AppleHDA.kext (unpatched code, only changes in 2 .plist)

ATI Part : search for ATI in .dsl

LAN/TM : seach for LAN in .dsl

HDEFs : search for HDEF (2 are found, both where before AZAL)

 

very nice :)

 

 

i´ve cleaned out the code for Ati Wormy, it works ok, with less code i get some artifacts... still working on it

 

Device (GFX0)
			{
				Name (_ADR, Zero)
				Name (_SUN, Zero)
				Method (_DSM, 4, NotSerialized)
				{
					Store (Package (0x28)
						{
							"@0,compatible", 
							Buffer (0x0A)
							{
								"ATY,Wormy"
							}, 

							"@0,device_type", 
							Buffer (0x08)
							{
								"display"
							}, 

							"@0,name", 
							Buffer (0x0A)
							{
								"ATY,Wormy"
							}, 

							"@1,compatible", 
							Buffer (0x0A)
							{
								"ATY,Wormy"
							}, 

							"@1,device_type", 
							Buffer (0x08)
							{
								"display"
							}, 

							"@1,name", 
							Buffer (0x0A)
							{
								"ATY,Wormy"
							}, 

							"ATY,Card#", 
							Buffer (0x0E)
							{
								"109-xxxxxx-00"
							}, 

							"ATY,DeviceID", 
							Buffer (0x02)
							{
								0xC0, 0x71
							}, 


							"ATY,EFIVersion", 
							Buffer (0x0A)
							{
								"01.00.086"
							}, 

							"ATY,FrameBufferOffset", 
							Buffer (0x04)
							{
								0x80, 0x00, 0x00, 0x00
							}, 

							"ATY,HWGPIO", 
							Buffer (0x04)
							{
								0x21, 0x10, 0x00, 0x00
							}, 

							"ATY,IOSpaceOffset", 
							Buffer (0x08)
							{
								0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x00
							}, 

							"ATY,MCLK", 
							Buffer (0x04)
							{
								0x50, 0x27, 0x01, 0x00
							}, 


							"ATY,RefCLK", 
							Buffer (0x04)
							{
								0x8C, 0x0A, 0x00, 0x00
							}, 

							"ATY,RegisterSpaceOffset", 
							Buffer (0x04)
							{
								0x98, 0x30, 0x00, 0x00
							}, 

							"ATY,Rom#", 
							Buffer (0x0F)
							{
								"113-xxxxxx-086"
							}, 

							"ATY,SCLK", 
							Buffer (0x04)
							{
								0xD8, 0xBD, 0x00, 0x00
							}, 


							"ATY,VRAM,MemSize", 
							Buffer (0x04)
							{
								0x00, 0x01, 0x00, 0x00
							}, 

							"device_type", 
							Buffer (0x10)
							{
								"ATY,WormyParent"
							}, 

							"model", 
							Buffer (0x18)
							{
								"ATI Radeon X1600 256 MB"
							}
						}, Local0)
					DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
					Return (Local0)
				}
			}

 

later i´ll try with HD2600 ..

Link to comment
Share on other sites

Gigabyte EP35-DS3 (Bios F3) has now !

thanks to ROISOFT + all DSDT Teams )

- ATI 3850 512 MB using Megadolon FB (for my knowledge OSX >= 10.5.4 needed!)

- HDEF (AppleHDA usage, unpatched code, only 2 small changed in .plist)

- LAN/TM Fix

 

All 3 above now by DSDT patching.

1. No more Natit or efi gfx string

2. No more Audio patch troubles (only change 2 .plists on Updates)

3. No more IONetwork patchings, Lan is now buildin, Timemachine needs that

I added readable dsdt.dsl (0 errors, 0 warnings !) for own usages (copy/change parts into yours) and recompiling by iasl -ta ...

 

Also included AppleHDA.kext (unpatched code, only changes in 2 .plist)

ATI Part : search for ATI in .dsl

LAN/TM : seach for LAN in .dsl

HDEFs : search for HDEF (2 are found, both where before AZAL)

 

Hmm , nice to know ... I have the same mobo but didn't try the DSDT yet.

Can you point me to the direction what you did for the sound (plist)?

*EDIT* You attached everything ... thanks *EDIT*

Thanks

 

Axethrower

Link to comment
Share on other sites

Thanks.

Can u tal me how i can write info about my video card (MSi 8800GT 512Mb) I dont understand what i need to write.

model good

vram size good

dvi + tv good,

BUT where my card (pci or pex) I dont know what i need to write.

Where i can look this info. I have win xp and osx 10.5.6.

thanks. sorry for my english.

Link to comment
Share on other sites

Thanks.

Can u tal me how i can write info about my video card (MSi 8800GT 512Mb) I dont understand what i need to write.

model good

vram size good

dvi + tv good,

BUT where my card (pci or pex) I dont know what i need to write.

Where i can look this info. I have win xp and osx 10.5.6.

thanks. sorry for my english.

Use ioreg command on MacOSX, you will see nvidia somwhere, and the path to nvidia will be the hardware location. (Try PCI0)

Link to comment
Share on other sites

@Pere,

 

Will post it tonight (GMT), after I read your request I have been modifing the source code, so that it's more generic.

I had initially wrote it specifically for a HP laptop.

 

-

AB

 

Many thanks! :angel:

How must be named de ssdt file on root? SSDT.aml?

We have 5 files, i suppose we should load the one we edit, so it loads instead the one one bios, right?

Link to comment
Share on other sites

koalala

Here is foto of my ioreg

cE4hLua1sf.png

 

Is this my video card?

 

Yes it is. And as I can see it is fully working. When using patch select pop2 as the destination. If video is not working delete Device(PEGP). And as on scrennshot it is working do not forget to delete EFI strings before using patch :)

 

koalala. I have a question. As I see Beta 2 will be released soon. And it will cover the last thing I have to make work manually now - audio. I have ALC888 integrated in my motherboard. And, strangely, no Device(HDEF) in DSDT.

 

So a question: will your audio patch be worth a try, or I can simply leave AppleAzaliaAudio I am using now? My audiosystem is 2.1, so it does not matter to me in view of audio quality, but I want to have a completely untouched system. So, what do you think?

Link to comment
Share on other sites

 Share

×
×
  • Create New...