Jump to content

DSDT Auto-Patcher


MaLd0n
 Share

5,753 posts in this topic

Recommended Posts

@MaLd0n

 

Is there anything more than can be done to the HDEF section to get the audio to work for the Giagbyte GA-G41-ES2L?

 

Realtek ALC888B codec

 

8086:27d8

 

 

Your binary patch script for AppleHDA.kext is only for ALC888

 

Here is the HDEF script, any changes needed here? Such as device ID and pin layout?

 

 

            Device (HDEF)
           {
               Name (_ADR, 0x001B0000)
               Method (_PRW, 0, NotSerialized)
               {
                   Return (Package (0x02)
                   {
                       0x05, 
                       0x05
                   })
               }

               Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x04)
                       {
                           "layout-id", 
                           Buffer (0x04)
                           {
                               0x0C, 0x00, 0x00, 0x00
                           }, 

                           "PinConfigurations", 
                           Buffer (Zero) {}
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }
           }

 

Thanks

Link to comment
Share on other sites

@MaLd0n

 

Is there anything more than can be done to the HDEF section to get the audio to work for the Giagbyte GA-G41-ES2L?

 

Realtek ALC888B codec

 

8086:27d8

 

 

Your binary patch script for AppleHDA.kext is only for ALC888

 

Here is the HDEF script, any changes needed here? Such as device ID and pin layout?

 

 

            Device (HDEF)
           {
               Name (_ADR, 0x001B0000)
               Method (_PRW, 0, NotSerialized)
               {
                   Return (Package (0x02)
                   {
                       0x05, 
                       0x05
                   })
               }

               Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x04)
                       {
                           "layout-id", 
                           Buffer (0x04)
                           {
                               0x0C, 0x00, 0x00, 0x00
                           }, 

                           "PinConfigurations", 
                           Buffer (Zero) {}
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }
           }

 

Thanks

 

0x0C, 0x00, 0x00, 0x00

look it

http://www.projectosx.com/forum/index.php?showtopic=465

Link to comment
Share on other sites

hi again MaL ...needing a bit of help....you made a dsdt for me awhile back...i'd like, if possible...to make a mod to it for my gfx card (ATI)to fake an id... from this post

http://www.insanelymac.com/forum/index.php...ic=265830...the code is this:

 

Method (_DSM, 4, NotSerialized)

{

Store (Package (0x02)

{

"device-id",

Buffer (0x04)

{

0x90, 0x94, 0x00, 0x00

}

}, Local0)

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

Return (Local0)

}

 

...i don't think my dsdt, as it sits, even has a graphics entry...could you do this up for me?

...i'll include the dsdt file you made ...thxDSDT.aml.zip

 

oh...the card is HIS HD4670 1GB ddr3 current id: 0x94951002....need it to be: 0x94901002...the above code reflects the changed ids

Link to comment
Share on other sites

hi again MaL ...needing a bit of help....you made a dsdt for me awhile back...i'd like, if possible...to make a mod to it for my gfx card (ATI)to fake an id... from this post

http://www.insanelymac.com/forum/index.php...ic=265830...the code is this:

 

Method (_DSM, 4, NotSerialized)

{

Store (Package (0x02)

{

"device-id",

Buffer (0x04)

{

0x90, 0x94, 0x00, 0x00

}

}, Local0)

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

Return (Local0)

}

 

...i don't think my dsdt, as it sits, even has a graphics entry...could you do this up for me?

...i'll include the dsdt file you made ...thxDSDT.aml.zip

 

oh...the card is HIS HD4670 1GB ddr3 current id: 0x94951002....need it to be: 0x94901002...the above code reflects the changed ids

send me complete files

see the first post

Link to comment
Share on other sites

MaLd0n,

Thank you so much for your work. Your DSDT Auto Patcher made my system near perfect running Lion. I am currently using EP45-DQ6 with ALC889A. After installing Lion with Chameleon r1338, everything is working out of box. Truly magical.

 

Sound works great, but only when connect to the digital out. And Internal speaker port and other ports (including the front) are not visible in my system profiler. Also, the audio divice ID says 12 instead of 885.

 

I don't want to mess up my system at this point, and want to see what would be the best way to get all my ports working with patching any kexts. I am attaching my DSDT that I generated using your auto patcher. From your posts, I understand there is a way to inject port layout into DSDT. But, my knowledge is very little when it comes to DSDT patching. Any help would be greatly appreciated.

 

Best,

 

Ted

DSDT_Sound_Info.zip

Link to comment
Share on other sites

MaLd0n,

Thank you so much for your work. Your DSDT Auto Patcher made my system near perfect running Lion. I am currently using EP45-DQ6 with ALC889A. After installing Lion with Chameleon r1338, everything is working out of box. Truly magical.

 

Sound works great, but only when connect to the digital out. And Internal speaker port and other ports (including the front) are not visible in my system profiler. Also, the audio divice ID says 12 instead of 885.

 

I don't want to mess up my system at this point, and want to see what would be the best way to get all my ports working with patching any kexts. I am attaching my DSDT that I generated using your auto patcher. From your posts, I understand there is a way to inject port layout into DSDT. But, my knowledge is very little when it comes to DSDT patching. Any help would be greatly appreciated.

 

Best,

 

Ted

verendus.zip

-replace DSDT

-put kexts in S/L/E

after

-double click in Kext Utility

Link to comment
Share on other sites

Thank you. I will give it a try. While you were working up your magic, I did run your HDEF patch to generate another DSDT. Now the system profiler shows the correct card, but no device in the audio section. I have a feeling your kext will do the trick. I will let you know.

 

You're the bomb!

 

verendus.zip

-replace DSDT

-put kexts in S/L/E

after

-double click in Kext Utility

 

 

UPDATE:

Beautiful! It works now.

 

I had to change the name of the next you sent me from ALC885_889a 2.kext to ALC885_889a.kext. I suppose it was just a typo.

 

Thank you for responding so quickly.

 

Best,

 

Ted

Link to comment
Share on other sites

I have no ide about PS22 in DSDT

The device already exists

 

 

Ok thx I will buy an USB keyboard. But can you make me a DSDT than?

Everything works so no need for special patches.

(maybe sound in DSDT will be nice it's AD1998b)

Link to comment
Share on other sites

Ok thx I will buy an USB keyboard. But can you make me a DSDT than?

Everything works so no need for special patches.

(maybe sound in DSDT will be nice it's AD1998b)

send me files

Link to comment
Share on other sites

Try to apply the following fix, which will change sub-system id to that of Apple. (via)

 

Device (ARPT)
               {
                   Name (_ADR, Zero)
                   Method (_DSM, 4, NotSerialized)
                   {
                       Store (Package (0x06)
                           {
                               "device-id", 
                               Unicode ("*"), // Mistake 0x2A, 0x00, 0x00, 0x00 it turns into unicode * when compiling with 2A wireless card in system
                               "subsystem-id", 
                               Buffer (0x04)
                               {
                                   0x8F, 0x00, 0x00, 0x00
                               }, 
                               "subsystem-vendor-id", 
                               Buffer (0x04)
                               {
                                   0x6B, 0x10, 0x00, 0x00
                               }
                           }, Local0)
                       DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                       Return (Local0)
                   }
               }

take your atheros 2a device id card out of system. now compile dsdt.AML and notice it doesnt change to Unicode *

if card device id is same.. that happens if card id is2A not 2b ar9285 .. or 2e ar9287 then it doesnt put unicode as its changing the id. not keeping same matching one 2a.

 

prety much if changing only subsystem and vendor.. not device id. then remove= if card id is 2a then only subvendor and subsys needs changing.. not device id 2a that works native since 10.6.3+.

                    Method (_DSM, 4, NotSerialized)
                   {
                       Store (Package ()
                           {
                               "subsystem-id", 
                               Buffer (0x04)
                               {
                                   0x8F, 0x00, 0x00, 0x00 // subsys of original apple AR9280
                               }, 
                               "subsystem-vendor-id", 
                               Buffer (0x04)
                               {
                                   0x6B, 0x10, 0x00, 0x00
                               }
                           }, Local0)
                       DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                       Return (Local0)
                   }

Link to comment
Share on other sites

take your atheros 2a device id card out of system. now compile dsdt.AML and notice it doesnt change to Unicode *

if card device id is same.. that happens if card id is2A not 2b ar9285 .. or 2e ar9287 then it doesnt put unicode as its changing the id. not keeping same matching one 2a.

 

prety much if changing only subsystem and vendor.. not device id. then remove= if card id is 2a then only subvendor and subsys needs changing.. not device id 2a that works native since 10.6.3+.

                    Method (_DSM, 4, NotSerialized)
                   {
                       Store (Package ()
                           {
                               "subsystem-id", 
                               Buffer (0x04)
                               {
                                   0x8F, 0x00, 0x00, 0x00 // subsys of original apple AR9280
                               }, 
                               "subsystem-vendor-id", 
                               Buffer (0x04)
                               {
                                   0x6B, 0x10, 0x00, 0x00
                               }
                           }, Local0)
                       DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                       Return (Local0)
                   }

You are right. Device id is not needed.

Link to comment
Share on other sites

Maldon- here's the specs for my Dell Latitude

 

Dell Latitude E6510

Intel Dual Core vPro i5-560M 2.67 ghz processor, 1066MHz, 3M L2 Cache

320GB 7200RPM HD

4GB DDR3-1333 SDRAM

NVIDIA 3100M 512MB Video Card

Intel WiFi Link 6200 (802.11 a/g/n 2X2) 1/2 MiniCard

 

 

here's my send_me file to have my custom DSDT made. If you could, could you provide instructions on how to install it? I'm quite the noob when it comes to this stuff.

 

thank you sir!

send_me.zip

Link to comment
Share on other sites

Hi sorry for asking a question that my already have been ask but there's 200+ pages.... lol

 

but if some one can help me out I would appreciate it..

 

I have a EVGA x58 and I here that OS x installs fine on it with a DSDT file but my question is

 

can I use DSDT Auto-Patcher on a Virtual PC which is running OSx on my EVGA to generate the file or will it not be good

 

Thanks

Link to comment
Share on other sites

Maldon- here's the specs for my Dell Latitude

 

Dell Latitude E6510

Intel Dual Core vPro i5-560M 2.67 ghz processor, 1066MHz, 3M L2 Cache

320GB 7200RPM HD

4GB DDR3-1333 SDRAM

NVIDIA 3100M 512MB Video Card

Intel WiFi Link 6200 (802.11 a/g/n 2X2) 1/2 MiniCard

 

 

here's my send_me file to have my custom DSDT made. If you could, could you provide instructions on how to install it? I'm quite the noob when it comes to this stuff.

 

thank you sir!

dsdt.dellE6510.zip

 

 

Hi sorry for asking a question that my already have been ask but there's 200+ pages.... lol

 

but if some one can help me out I would appreciate it..

 

I have a EVGA x58 and I here that OS x installs fine on it with a DSDT file but my question is

 

can I use DSDT Auto-Patcher on a Virtual PC which is running OSx on my EVGA to generate the file or will it not be good

 

Thanks

use in OSX, Linux or Windows

Virtual machine nope

Link to comment
Share on other sites

Hey MaL ...P4(Prescott) P4P8X MoBo i865 Springdale ICH5 32bit....send_me.zip

...regarding this request...

hi again MaL ...needing a bit of help....you made a dsdt for me awhile back...i'd like, if possible...to make a mod to it for my gfx card (ATI)to fake an id... from this post

http://www.insanelymac.com/forum/index.php...ic=265830...the code is this:

 

Method (_DSM, 4, NotSerialized)

{

Store (Package (0x02)

{

"device-id",

Buffer (0x04)

{

0x90, 0x94, 0x00, 0x00

}

}, Local0)

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

Return (Local0)

}

 

...i don't think my dsdt, as it sits, even has a graphics entry...could you do this up for me?

...thx :censored2:

Link to comment
Share on other sites

Hey MaL ...P4(Prescott) P4P8X MoBo i865 Springdale ICH5 32bit....send_me.zip

...regarding this request...

hi again MaL ...needing a bit of help....you made a dsdt for me awhile back...i'd like, if possible...to make a mod to it for my gfx card (ATI)to fake an id... from this post

http://www.insanelymac.com/forum/index.php...ic=265830...the code is this:

 

Method (_DSM, 4, NotSerialized)

{

Store (Package (0x02)

{

"device-id",

Buffer (0x04)

{

0x90, 0x94, 0x00, 0x00

}

}, Local0)

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

Return (Local0)

}

 

...i don't think my dsdt, as it sits, even has a graphics entry...could you do this up for me?

...thx :censored2:

into P0P1?

dsdt.robertx.zip

Link to comment
Share on other sites

I have Win 7 64bit Does it have to be 32bit cause when I use the app in windows It starts up command prompt and then just kicks me out

 

Thanks

use everest

extract DSDT and send me file

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...