Jump to content

DSDT Patcher


fassl
 Share

752 posts in this topic

Recommended Posts

Hi, when compiling I've got this warning.

Sombody knows how to fix it ??

dsdt_fixed   222:     Method (\_WAK, 1, NotSerialized)
Warning  1080 -                                    ^ Reserved method must return a value (_WAK)

This is is the code

Method (\_WAK, 1, NotSerialized)
   {
       Store (0xFF, DBG1)
       If (LEqual (Arg0, 0x03))
       {
           Store (0x8F, SCP)
       }

       If (LEqual (Arg0, 0x04))
       {
           If (LEqual (OSFL, 0x00))
           {
               If (LEqual (OSFX, 0x03))
               {
                   Store (0x59, SMIP)
               }
               Else
               {
                   Store (0x58, SMIP)
               }
           }

           If (LEqual (OSFL, 0x01))
           {
               Store (0x56, SMIP)
           }

           If (LEqual (OSFL, 0x02))
           {
               Store (0x57, SMIP)
           }

           If (LEqual (OSFX, 0x03))
           {
               Store (0x59, SMIP)
           }
       }

       If (LEqual (Arg0, 0x01)) {}
       If (OSFL)
       {
           Notify (\_SB.PWRB, 0x02)
       }
       Else
       {
           If (LEqual (RTCW, 0x00))
           {
               Notify (\_SB.PWRB, 0x02)
           }
       }

       Notify (\_SB.PCI0.USB0, 0x00)
       Notify (\_SB.PCI0.USB1, 0x00)
       Notify (\_SB.PCI0.USB2, 0x00)
       Notify (\_SB.PCI0.USB3, 0x00)
       Notify (\_SB.PCI0.USB4, 0x00)
       Notify (\_SB.PCI0.USB5, 0x00)
   }

   Scope (\_SI)
   {

Thanks

Link to comment
Share on other sites

Hi, when compiling I've got this warning.

Sombody knows how to fix it ??

dsdt_fixed   222:     Method (\_WAK, 1, NotSerialized)
Warning  1080 -                                    ^ Reserved method must return a value (_WAK)

This is is the code

Method (\_WAK, 1, NotSerialized)
   {
       Store (0xFF, DBG1)
       If (LEqual (Arg0, 0x03))
       {
           Store (0x8F, SCP)
       }

       If (LEqual (Arg0, 0x04))
       {
           If (LEqual (OSFL, 0x00))
           {
               If (LEqual (OSFX, 0x03))
               {
                   Store (0x59, SMIP)
               }
               Else
               {
                   Store (0x58, SMIP)
               }
           }

           If (LEqual (OSFL, 0x01))
           {
               Store (0x56, SMIP)
           }

           If (LEqual (OSFL, 0x02))
           {
               Store (0x57, SMIP)
           }

           If (LEqual (OSFX, 0x03))
           {
               Store (0x59, SMIP)
           }
       }

       If (LEqual (Arg0, 0x01)) {}
       If (OSFL)
       {
           Notify (\_SB.PWRB, 0x02)
       }
       Else
       {
           If (LEqual (RTCW, 0x00))
           {
               Notify (\_SB.PWRB, 0x02)
           }
       }

       Notify (\_SB.PCI0.USB0, 0x00)
       Notify (\_SB.PCI0.USB1, 0x00)
       Notify (\_SB.PCI0.USB2, 0x00)
       Notify (\_SB.PCI0.USB3, 0x00)
       Notify (\_SB.PCI0.USB4, 0x00)
       Notify (\_SB.PCI0.USB5, 0x00)
       Return (Package (0x02)
           {
               Zero, 
               Zero
           })
   }

   Scope (\_SI)
   {

Thanks

Add that ^^^ return on it, see if works.

Link to comment
Share on other sites

use this code

 

		Notify (\_SB.PCI0.USB0, Zero)
	Notify (\_SB.PCI0.USB1, Zero)
	Notify (\_SB.PCI0.USB2, Zero)
	Notify (\_SB.PCI0.USB3, Zero)
	Notify (\_SB.PCI0.USB4, Zero)
	Notify (\_SB.PCI0.USB5, Zero)
	Return (Package (0x02)
	{
		Zero, 
		Zero
	})
}

 

Return .....

 

no errors with it.

Link to comment
Share on other sites

Im getting this errors when trying to make the dst.aml file...

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 203: OSTP ()

Error 4063 - Object does not exist ^ (OSTP)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 236: Store (0x59, SMIP)

Error 4063 - Object does not exist ^ (SMIP)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 240: Store (0x58, SMIP)

Error 4063 - Object does not exist ^ (SMIP)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 246: Store (0x56, SMIP)

Error 4063 - Object does not exist ^ (SMIP)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 251: Store (0x57, SMIP)

Error 4063 - Object does not exist ^ (SMIP)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 256: Store (0x59, SMIP)

Error 4063 - Object does not exist ^ (SMIP)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 263: Notify (\_SB.PWRB, 0x02)

Error 4063 - Object does not exist ^ (\_SB.PWRB)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 269: Notify (\_SB.PWRB, 0x02)

Error 4063 - Object does not exist ^ (\_SB.PWRB)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 273: Notify (\_SB.PCI0.USB0, Zero)

Error 4063 - Object does not exist ^ (\_SB.PCI0.USB0)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 274: Notify (\_SB.PCI0.USB1, Zero)

Error 4063 - Object does not exist ^ (\_SB.PCI0.USB1)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 275: Notify (\_SB.PCI0.USB2, Zero)

Error 4063 - Object does not exist ^ (\_SB.PCI0.USB2)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 276: Notify (\_SB.PCI0.USB3, Zero)

Error 4063 - Object does not exist ^ (\_SB.PCI0.USB3)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 277: Notify (\_SB.PCI0.USB4, Zero)

Error 4063 - Object does not exist ^ (\_SB.PCI0.USB4)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 278: Notify (\_SB.PCI0.USB5, Zero)

Error 4063 - Object does not exist ^ (\_SB.PCI0.USB5)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 303: Notify (\_SB.PCI0.PX40.UAR1, 0x02)

Error 4063 - Object does not exist ^ (\_SB.PCI0.PX40.UAR1)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 308: Notify (\_SB.PCI0.USB0, 0x02)

Error 4063 - Object does not exist ^ (\_SB.PCI0.USB0)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 309: Notify (\_SB.PWRB, 0x02)

Error 4063 - Object does not exist ^ (\_SB.PWRB)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 314: Notify (\_SB.PCI0.USB1, 0x02)

Error 4063 - Object does not exist ^ (\_SB.PCI0.USB1)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 315: Notify (\_SB.PWRB, 0x02)

Error 4063 - Object does not exist ^ (\_SB.PWRB)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 320: Notify (\_SB.PCI0.USB2, 0x02)

Error 4063 - Object does not exist ^ (\_SB.PCI0.USB2)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 321: Notify (\_SB.PWRB, 0x02)

Error 4063 - Object does not exist ^ (\_SB.PWRB)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 326: Notify (\_SB.PCI0.USB3, 0x02)

Error 4063 - Object does not exist ^ (\_SB.PCI0.USB3)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 327: Notify (\_SB.PWRB, 0x02)

Error 4063 - Object does not exist ^ (\_SB.PWRB)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 328: Notify (\_SB.PCI0.US31, 0x02)

Error 4063 - Object does not exist ^ (\_SB.PCI0.US31)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 329: Notify (\_SB.PWRB, 0x02)

Error 4063 - Object does not exist ^ (\_SB.PWRB)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 334: Notify (\_SB.PCI0.USB4, 0x02)

Error 4063 - Object does not exist ^ (\_SB.PCI0.USB4)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 335: Notify (\_SB.PWRB, 0x02)

Error 4063 - Object does not exist ^ (\_SB.PWRB)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 340: Notify (\_SB.PCI0.USB5, 0x02)

Error 4063 - Object does not exist ^ (\_SB.PCI0.USB5)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 341: Notify (\_SB.PWRB, 0x02)

Error 4063 - Object does not exist ^ (\_SB.PWRB)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 346: Notify (\_SB.PCI0.USBE, 0x02)

Error 4063 - Object does not exist ^ (\_SB.PCI0.USBE)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 347: Notify (\_SB.PCI0.USE2, 0x02)

Error 4063 - Object does not exist ^ (\_SB.PCI0.USE2)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 348: Notify (\_SB.PWRB, 0x02)

Error 4063 - Object does not exist ^ (\_SB.PWRB)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 349: Notify (\_SB.PCI0.HDEF, 0x02)

Error 4063 - Object does not exist ^ (\_SB.PCI0.HDEF)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 380: Notify (\_SB.PCI0.HUB0, 0x02)

Error 4063 - Object does not exist ^ (\_SB.PCI0.HUB0)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 385: Notify (\_SB.PCI0.PEX0, 0x02)

Error 4063 - Object does not exist ^ (\_SB.PCI0.PEX0)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 386: Notify (\_SB.PCI0.PEX1, 0x02)

Error 4063 - Object does not exist ^ (\_SB.PCI0.PEX1)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 387: Notify (\_SB.PCI0.PEX2, 0x02)

Error 4063 - Object does not exist ^ (\_SB.PCI0.PEX2)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 388: Notify (\_SB.PCI0.PEX3, 0x02)

Error 4063 - Object does not exist ^ (\_SB.PCI0.PEX3)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 389: Notify (\_SB.PCI0.PEX4, 0x02)

Error 4063 - Object does not exist ^ (\_SB.PCI0.PEX4)

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed2.txt 390: Notify (\_SB.PCI0.PEX5, 0x02)

Error 4063 - Object does not exist ^ (\_SB.PCI0.PEX5)

Link to comment
Share on other sites

Install appleintelcpupowermangement.kext

If the system loads, then is working.

Thanks, I installed the kext straight from the Mac Pro and it loads successfully.

 

just change all ^CPU0._PPC into \_PR_.CPU0._PPC and it will compile fine without clearing unknown code. i copied that from another file found on the web.

That worked perfectly, I think there were 7 ^CPU0._PPC that I replaced to what you suggested with a remake of my DSDT because I found a BIOS update that improved Vista sleep/wake results.

Thanks!

 

Now I wonder if I could further modify this to effectively "hide" one of the SLI graphics cards on my laptop so that I can get QE/CI Resolution support from one of the cards. I have also heard that this might help in getting sound to work if that is true I would really like that.... now to find out how to do that... stupid ALC268...

Link to comment
Share on other sites

Hi ,

just installed the new boot file for having the deep sleep.No dsdt inserted

Results the deepsleep is working well , unfortunately my keyboard and wireless mouse doesn't wake up.

Any idea ? Do you think I must insert dsdt for having it solved ?

 

p.s I'm testing on my DS4 MB as signature shows.

Link to comment
Share on other sites

ok

thanks to roisoft I got replaced my AppleHDA.kext :wacko:

 

Picture_3.jpg

Everything is working even it's been noticed that CoreaudioDaemon is not responding , I killed it, but after few secs it's the same.

 

Picture_2.jpg

:)

 

Any idea?

Note I'm using my dsdt not the one supplied from roisoft (choosed xp option..).The prob about no usb after deepsleep remain...

Link to comment
Share on other sites

Ok so i found the error in my code, im getting now just 1 error:

 

/Users/Nano/Desktop/DSDT_Patcher1.0.1e/Debug/dsdt_fixed copia.txt   520:					 DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Error	4095 -										syntax error, unexpected PARSEOP_NAMESEG ^

 

Any clues?

 

Thanks

Link to comment
Share on other sites

@Cpram

Here's my pinconfig, which should be the same as yours...

 

Also under sys profiler, it only shows one line out (back green?), 2 microphones (Front and back pink?), 1 headphone (front green? that doesn't work, and i know you don't have it enabled in your HDA.kext).

 

But under sound in preferences, it shows 3 Line Outs, but only one gives me actual output, which is the rear green...

ALC888.tiff

Pinconfig_ALC888.rtf

Link to comment
Share on other sites

@Cpram

Here's my pinconfig, which should be the same as yours...

 

Also under sys profiler, it only shows one line out (back green?), 2 microphones (Front and back pink?), 1 headphone (front green? that doesn't work, and i know you don't have it enabled in your HDA.kext).

 

But under sound in preferences, it shows 3 Line Outs, but only one gives me actual output, which is the rear green...

 

your codec verb is not moded, it's just your original codec verb :hysterical:

 

here is my original codec verb (the same that you use ):

 

21471c10 21471d44 21471e01 21471f01 21571c12 21571d14 21571e01 21571f01 21671c11 21671d64 21671e01 21671f01 21771c14 21771d24 21771e01 21771f01 21871c40 21871d9c 21871ea1 21871f01 21971c50 21971d9c 21971ea1 21971f02 21a71c4f 21a71d34 21a71e81 21a71f01 21b71c20 21b71d4c 21b71e21 21b71f02 21c71cf0 21c71d01 21c71e33 21c71f59 21d71cf0 21d71d11 21d71e11 21d71f41 21e71c30 21e71d61 21e71e4b 21e71f01 21f71c60 21f71d71 21f71ecb 21f71f01

 

with this one i have got only 2.0, mic and lin-in

 

 

and here is my modified codec verb:

 

21471C10 21471D40 21471E01 21471F01 21571C20 21571D10 21571E11 21571F01 21671C30 21671D60 21671E21 21671F01 21A71C40 21A71D30 21A71E81 21A71F01 21871C50 21871D90 21871EA1 21871F01 21E71C60 21E71D61 21E71E4B 21E71F01 21F71CF0 21F71D01 21F71ECB 21F71F00

 

with this one i have got full anolg/digital 5.1, mic, and line-in

 

please install my kext without any modification, cause we have exactly the same sound card and our codec dump are exactly the same, so my kext should work for you ;)

Link to comment
Share on other sites

So I think I figured out somethings today...

 

I can get rear audio, Headphones, and one of the Line Out of the back all to work fine, or I can get all 3 rear outputs working (green, black, orange) but not gray.

 

Seems like the limiting factor here is the number of outputs = 3. And autodetection of the HP jack simply does not work. When I try to enable it, then I only get sound out of the HP, no rear green.

 

And I did find some errors in my pin config, I'll compare to yours.

Thanks!

 

 

And BTW---any reason you've got black ID'd as a HP?

Link to comment
Share on other sites

And BTW---any reason you've got black ID'd as a HP?

 

no, this can be easily changed

 

 

Hey Cpram,

Do you have deep sleep working on your DS3L? The one that Netkas just enabled via V9?

 

I get sleepimage garbage, and was wondering if you had the same issue.

 

no, when i choose another sleep mode, the system go to sleep (fan are stoped, etc ...) and the sleep image is created, but at the boot time the bootloader send me "sleepimage has grabage - hibernate failed", so i think deep sleep don't work

 

anyway i really don't care about deepsleep, because it's only needed on laptop

 

ps: i heard that deleting AppleEFIRuntime.kext may solve this problem, but i really don't care and i don't want to delete it ;)

Link to comment
Share on other sites

Hi, ac3bcn, i dont know if i looked in your dsdt.txt also, but someone announces a

HDEF dsdt part for GA-EP35-DS3P which has 885 Device in ?! and some other things different to the roisoft uploaded one!!! (I made an complete GA-EP35, BIOS F3, 889A package with chameleon dsdt in my last post).

Device (HDEF)

{

..... same

.....

Method (_DSM, 4, NotSerialized)

{

Store (Package (0x08)

{

"codec-id",

Buffer (0x04)

{

0x85, 0x08, 0xec, 0x10

},

 

"layout-id",

Buffer (0x04)

{

 

0x0C, 0x00, 0x00, 0x00

},

 

"device-type",

Buffer (0x011)

{

"ALC885"

},

 

"PinConfigurations",

Buffer (0x28)

{

/* 0000 */ 0x10, 0x40, 0x01, 0x01, 0x64, 0x10, 0x01, 0x01,

/* 0008 */ 0x71, 0x60, 0x01, 0x01, 0x82, 0x20, 0x01, 0x01,

/* 0010 */ 0x30, 0x90, 0xA1, 0x01, 0x20, 0x90, 0xA1, 0x02,

/* 0018 */ 0x40, 0x30, 0x81, 0x01, 0x50, 0x40, 0x21, 0x02,

/* 0020 */ 0xF0, 0x71, 0x44, 0x01, 0x90, 0x71, 0x45, 0x11

Hi Mitch_de, that seems to be the PinConfigurations that I modified in DSDT to get all Outputs and Inputs showns at System Profiler.

Just Shown is Sytem Profiler, at the moment I Only have working this

Line In : 26 35 8

Mic In : 24 34 9

Mic In : 25 36 7

Line Out : 20 12 2

HP Out :37 38 37

SPDIF Out : 30 6 (Not Tested)

 

NOT Working:

Line Out (surround) : 21 13 3

Line Out (central/LFE) : 22 14 4

Line Out (Sides 7.1) : 23 15 5

 

I used "Codec ID 10ec0885" , but I've ALC889A in my EP35DS3P, because in that way I don't need to patch AppleHDA Binary.885 (10ec0885) is already supported in Stock(Vanilla) AppleHDA. You can tell the system via DSDT you have an 885,so don't need to pacth AppleHDA binary or you can patch your AppleHDA Binary and change 8508ec10 to 8908ec10 and put your 889 at DSDT table.

I think it's all the same, but maybe I wrong.

Link to comment
Share on other sites

I used "Codec ID 10ec0885" , but I've (added: like mitch_de) ALC889A in my EP35DS3P, because in that way I don't need to patch AppleHDA Binary.885 (10ec0885) is already supported in Stock(Vanilla) AppleHDA. You can tell the system via DSDT you have an 885,so don't need to pacth AppleHDA binary or you can patch your AppleHDA Binary and change 8508ec10 to 8908ec10 and put your 889 at DSDT table.

I think it's all the same, but maybe I wrong.

 

Thanks for that information, was new for me!

Also an solution to inject by dsdt other ALC88x codec device, whichs already in orig. Apple HDA, to not have edit the 2 plists in the AppleHDA.kext for including ALC889A plist things.

But are you sure that its only an thing of pinconfig difference between 885(your inject) and 889A (real HW) , not also that that 885 inject usese some different way of code in the drivers ?

But if it works - doesnt matter :gathering:

Good to know each way to get same result !

Link to comment
Share on other sites

Thanks A loot's Guys u are really the duds... This worked out right out of the programing hehe.. on my asus mob p45 ;)

 

Thank God there is no need to mode the bios file noo more now every time a new bios update comes out... :D

 

 

Appreciating all hard work u made together.. :)

 

Love u all.. mates.. :angel:

Link to comment
Share on other sites

Hi fassl - think I found a couple of bugs for the dsdt patcher on my dsdt.

The system won't load osx with the patches in.

 

The CPU Fix is needed, but doesn't look like it turns out like it should:

CPU Before

Scope (_PR)
		 {
			 Processor (P001, 0x01, 0x00004010, 0x06) {}
			 Alias (P001, CPU1)
			 Processor (P002, 0x02, 0x00000000, 0x00) {}
			 Alias (P002, CPU2)
			 Processor (P003, 0x03, 0x00000000, 0x00) {}
			 Alias (P003, CPU3)
			 Processor (P004, 0x04, 0x00000000, 0x00) {}
			 Alias (P004, CPU4)
		 }

CPU After

	Scope (_PR)
		 {
			 Processor (P001, 0x01, 0x00004010, 0x06) {}
			 Processor (P002, 0x02, 0x00000000, 0x00) {}
			 Alias (P002, CPU2)
			 Processor (P003, 0x03, 0x00000000, 0x00) {}
			 Processor (P004, 0x04, 0x00000000, 0x00) {}
			 Alias (P004, CPU4)
		 }

I changed this to

   Scope (_PR)
		 {
			 Processor (_PR.CPU1, 0x01, 0x00004010, 0x06) {}
			 Processor (_PR.CPU2, 0x02, 0x00000000, 0x00) {}
			 Processor (_PR.CPU3, 0x03, 0x00000000, 0x00) {}
			 Processor (_PR.CPU4, 0x04, 0x00000000, 0x00) {}
		 }

For HPET it looks like the IRQNoFlags is already there under CRS1, but if it is needed under CRS0 then the Memory32Fixed section should be as well?

 

HPET Before

				Device (HPET)
			{
				Name (_HID, EisaId ("PNP0103"))
				Name (_UID, Zero)
				Name (CRS0, ResourceTemplate ()
				{
				})
				Name (CRS1, ResourceTemplate ()
				{
					Memory32Fixed (ReadWrite,
						0x00000000,		 // Address Base
						0x00000000,		 // Address Length
						_Y0B)
					IRQNoFlags (_Y0C)
						{0}
					IRQNoFlags ()
						{8}
				})
				Method (_STA, 0, NotSerialized)
				{
					If (LEqual (OSFL (), Zero))
					{
						If (LEqual (NVID, 0x10DE))
						{
							Return (0x0F)
						}
						Else
						{
							Return (Zero)
						}
					}
					Else
					{
						Return (Zero)
					}
				}

				Method (_CRS, 0, NotSerialized)
				{
					CreateDWordField (CRS1, \_SB.PCI0.SBRG.HPET._Y0B._BAS, HPX1)
					CreateDWordField (CRS1, \_SB.PCI0.SBRG.HPET._Y0B._LEN, HPX2)
					CreateWordField (CRS1, \_SB.PCI0.SBRG.HPET._Y0C._INT, TIRQ)
					If (LEqual (NVID, 0x10DE))
					{
						Store (Zero, Local0)
						If (P2IR)
						{
							Store (0x02, Local0)
						}

						ShiftLeft (One, Local0, TIRQ)
						Store (SHPB, HPX1)
						Store (SHPL, HPX2)
						Return (CRS1)
					}
					Else
					{
						Return (CRS0)
					}
				}

				OperationRegion (CF29, PCI_Config, 0x74, One)
				Field (CF29, ByteAcc, NoLock, Preserve)
				{
						,   1, 
						,   1, 
					P2IR,   1
				}

				OperationRegion (HPTE, SystemMemory, SHPB, 0x04)
				Field (HPTE, ByteAcc, NoLock, Preserve)
				{
							Offset (0x02), 
					NVID,   16
				}
			}

HPET After

				Device (HPET)
			{
				Name (_HID, EisaId ("PNP0103"))
				Name (_UID, Zero)
				Name (CRS0, ResourceTemplate ()
				{
					IRQNoFlags ()
						{0}
					IRQNoFlags ()
						{8}
				})
				Name (CRS1, ResourceTemplate ()
				{
					Memory32Fixed (ReadWrite,
						0x00000000,		 // Address Base
						0x00000000,		 // Address Length
						_Y0B)
					IRQNoFlags (_Y0C)
						{0}
					IRQNoFlags ()
						{8}
				})
				Method (_STA, 0, NotSerialized)
				{
					If (LEqual (OSFL (), Zero))
					{
						If (LEqual (NVID, 0x10DE))
						{
							Return (0x0F)
						}
						Else
						{
							Return (Zero)
						}
					}
					Else
					{
						Return (Zero)
					}
				}

				Method (_CRS, 0, NotSerialized)
				{
					CreateDWordField (CRS1, \_SB.PCI0.SBRG.HPET._Y0B._BAS, HPX1)
					CreateDWordField (CRS1, \_SB.PCI0.SBRG.HPET._Y0B._LEN, HPX2)
					CreateWordField (CRS1, \_SB.PCI0.SBRG.HPET._Y0C._INT, TIRQ)
					If (LEqual (NVID, 0x10DE))
					{
						Store (Zero, Local0)
						If (P2IR)
						{
							Store (0x02, Local0)
						}

						ShiftLeft (One, Local0, TIRQ)
						Store (SHPB, HPX1)
						Store (SHPL, HPX2)
						Return (CRS1)
					}
					Else
					{
						Return (CRS0)
					}
				}

				OperationRegion (CF29, PCI_Config, 0x74, One)
				Field (CF29, ByteAcc, NoLock, Preserve)
				{
						,   1, 
						,   1, 
					P2IR,   1
				}

				OperationRegion (HPTE, SystemMemory, SHPB, 0x04)
				Field (HPTE, ByteAcc, NoLock, Preserve)
				{
							Offset (0x02), 
					NVID,   16
				}
			}

RTC is probably ok, just inexperienced to know for sure.

 

I'm including the original dat, dsl, and resulting dsdt_fixed.txt

 

You can catch me on irc in natit.

DiaboliK and I are looking for advice and help on this one. Thanks.

p5n7avm_dsdtpatcher_problem.zip

Link to comment
Share on other sites

your codec verb is not moded, it's just your original codec verb -_-

here is my original codec verb (the same that you use ):

21471c10 21471d44 21471e01 21471f01 21571c12 21571d14 21571e01 21571f01 21671c11 21671d64 21671e01 21671f01 21771c14 21771d24 21771e01 21771f01 21871c40 21871d9c 21871ea1 21871f01 21971c50 21971d9c 21971ea1 21971f02 21a71c4f 21a71d34 21a71e81 21a71f01 21b71c20 21b71d4c 21b71e21 21b71f02 21c71cf0 21c71d01 21c71e33 21c71f59 21d71cf0 21d71d11 21d71e11 21d71f41 21e71c30 21e71d61 21e71e4b 21e71f01 21f71c60 21f71d71 21f71ecb 21f71f01

with this one i have got only 2.0, mic and lin-in

and here is my modified codec verb:

21471C10 21471D40 21471E01 21471F01 21571C20 21571D10 21571E11 21571F01 21671C30 21671D60 21671E21 21671F01 21A71C40 21A71D30 21A71E81 21A71F01 21871C50 21871D90 21871EA1 21871F01 21E71C60 21E71D61 21E71E4B 21E71F01 21F71CF0 21F71D01 21F71ECB 21F71F00

with this one i have got full anolg/digital 5.1, mic, and line-in

please install my kext without any modification, cause we have exactly the same sound card and our codec dump are exactly the same, so my kext should work for you :)

 

 

Hi, which HDA Codec do you have ?

I have an 889A (EP35-DS3) , do you have same or other (888,88?) ?

Thanks

 

Also i found an very interesting info/way how to get own PinConfigs (for using in orig. AppleHDA .plists).

http://forum.insanelymac.com/index.php?sho...mp;#entry982616

Anyone also with an 889A PinConfig (ready byteswitched) ?

Link to comment
Share on other sites

 Share

×
×
  • Create New...