Jump to content

DSDT Auto-Patcher


MaLd0n
 Share

5,756 posts in this topic

Recommended Posts

OpenHaltRestart <-- ???

 

Restart--> Chameleon RC5

Shutdown--> DSDT

 

VoodooMonitor <-- remove

 

 

I removed OpenHaltRestart and VoodooMonitor.

I tested two times:

restart, restart after wake from sleep

poweroff, poweroff after wake from sleep

That seems to be ok now.

 

Edit: Third test, it doesn't poweroff

 

Pushing the power button still freezes the system immediately.

no kernel panic screen appears

 

Is there a way to monitor native speed stepping without voodoomonitor?

 

Thanks so far

Link to comment
Share on other sites

but you ve did it for vaio user "navid n"

and in the file ioreg i give you in previous post with atmonitor you have more info that ihe give to you

 

the user sayd he had enable internal screen with the edid patched in dsdt by you + 10.6 nvidia kext +graphic enabler chameleon 700 i have installed chameleon 700 i 've gived you the edid in previous file in the ioreg i give to you there are much info about internal that i get before with ioreg explorer

 

edit i take a look to ioreg:(ioreg atmonitor external screen plugged +new dsdt)

 

 

and see

| +-o NVDA,Display-A@0 <class IORegistryEntry:IOService:IOPlatformDevice:IONDRVDevice, registered, matched, active, busy 0, retain 10>

| | | | | {

| | | | | "width" = <00000000>

| | | | | "height" = <00000000>

 

 

could it be the reason lcd don t load if is define like this?

Link to comment
Share on other sites

I removed OpenHaltRestart and VoodooMonitor.

I tested two times:

restart, restart after wake from sleep

poweroff, poweroff after wake from sleep

That seems to be ok now.

 

Edit: Third test, it doesn't poweroff

 

Pushing the power button still freezes the system immediately.

no kernel panic screen appears

 

Is there a way to monitor native speed stepping without voodoomonitor?

 

Thanks so far

 

until now you did not send me the original

Link to comment
Share on other sites

use kext

remove Shutdown(DSDT)

 

LPC

same procedure that you had done

 

For remove Shutdown(DSDT)

from:

Method (_PTS, 1, NotSerialized)
{
	If (LEqual (Arg0, 0x05)) {}
	Else
	{
		Store (Arg0, DBG8)
		PTS (Arg0)
		Store (Zero, Index (WAKP, Zero))
		Store (Zero, Index (WAKP, One))
		If (LAnd (LEqual (Arg0, 0x04), LEqual (OSFL (), 0x02)))
		{
			Sleep (0x0BB8)
		}

		Store (ASSB, WSSB)
		Store (AOTB, WOTB)
		Store (AAXB, WAXB)
		Store (Arg0, ASSB)
		Store (OSFL (), AOTB)
		Store (OSYS (), OSTP)
		Store (Zero, AAXB)
	}
}

 

to:

Method (_PTS, 1, NotSerialized)
{
	Store (Arg0, DBG8)
	PTS (Arg0)
	Store (Zero, Index (WAKP, Zero))
	Store (Zero, Index (WAKP, One))
	If (LAnd (LEqual (Arg0, 0x04), LEqual (OSFL (), 0x02)))
	{
		Sleep (0x0BB8)
	}

	Store (ASSB, WSSB)
	Store (AOTB, WOTB)
	Store (AAXB, WAXB)
	Store (Arg0, ASSB)
	Store (OSFL (), AOTB)
	Store (OSYS (), OSTP)
	Store (Zero, AAXB)
}

 

Is this OK? :D

Link to comment
Share on other sites

For remove Shutdown(DSDT)

from:

Method (_PTS, 1, NotSerialized)
{
	If (LEqual (Arg0, 0x05)) {}
	Else
	{
		Store (Arg0, DBG8)
		PTS (Arg0)
		Store (Zero, Index (WAKP, Zero))
		Store (Zero, Index (WAKP, One))
		If (LAnd (LEqual (Arg0, 0x04), LEqual (OSFL (), 0x02)))
		{
			Sleep (0x0BB8)
		}

		Store (ASSB, WSSB)
		Store (AOTB, WOTB)
		Store (AAXB, WAXB)
		Store (Arg0, ASSB)
		Store (OSFL (), AOTB)
		Store (OSYS (), OSTP)
		Store (Zero, AAXB)
	}
}

 

to:

Method (_PTS, 1, NotSerialized)
{
	Store (Arg0, DBG8)
	PTS (Arg0)
	Store (Zero, Index (WAKP, Zero))
	Store (Zero, Index (WAKP, One))
	If (LAnd (LEqual (Arg0, 0x04), LEqual (OSFL (), 0x02)))
	{
		Sleep (0x0BB8)
	}

	Store (ASSB, WSSB)
	Store (AOTB, WOTB)
	Store (AAXB, WAXB)
	Store (Arg0, ASSB)
	Store (OSFL (), AOTB)
	Store (OSYS (), OSTP)
	Store (Zero, AAXB)
}

 

Is this OK? :D

 

Yep

Link to comment
Share on other sites

MALDON

 

 

the DSDT that you my fact yesterday do function super good except that when I put it I loses the recognition of my nvidia 310m optimus , can add the recognition of thé card nvidia which is on port PCI 1? thank you

Link to comment
Share on other sites

MALDON

 

 

the DSDT that you my fact yesterday do function super good except that when I put it I loses the recognition of my nvidia 310m optimus , can add the recognition of thé card nvidia which is on port PCI 1? thank you

use the forum search

 

I do not know a solution via DSDT for your video

Link to comment
Share on other sites

I also attach my perfectly-working DSDT for you, regarding the changes/fixes for the broken sleep and not using the "Start up automatically after power failure" options in Energy Saver.

Dear MaLd0n, please have a look at my working DSDT posted earlier (taken from tonymacx86's blog and enhanced a little more) and please apply the Gigabyte GA-P55M-UD4 fixes, then see inside the code what could go wrong and my sleep is broken... if it's not too much to ask :(

 

I cannot find what's causing the loss of sleep... When I select sleep, the system sleeps and restarts :)

 

Many thanks!

 

 

P.S. Tell us when you will release a new version of the DSDT Auto-Patcher!

Link to comment
Share on other sites

@MacKonsti

 

in LPCB

				OperationRegion (LPC0, PCI_Config, 0xA4, 0x02)
			Field (LPC0, ByteAcc, NoLock, Preserve)
			{
				AG3E,   1
			}

 

Ex

			Device (PX40)
		{
			Name (_ADR, 0x001F0000)
			Method (_DSM, 4, NotSerialized)
			{
				Store (Package (0x02)
					{
						"device-id", 
						Buffer (0x04)
						{
							0x18, 0x3A, 0x00, 0x00
						}
					}, Local0)
				DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
				Return (Local0)
			}

			OperationRegion (LPC0, PCI_Config, 0xA4, 0x02)
			Field (LPC0, ByteAcc, NoLock, Preserve)
			{
				AG3E,   1
			}

 

_PTS

	Method (_PTS, 1, NotSerialized)
{
	Or (Arg0, 0xF0, Local0)
	Store (Local0, DBG1)
	OSTP()

	If (LEqual (Arg0, 0x05))
	{
		Store (0x99, SMIP)
		Store (One, \_SB.PCI0.PX40.AG3E)
		Store (Zero, SLPE)
		Sleep (0x10)
	}
	Else
	{
		Store (Zero, \_SB.PCI0.PX40.AG3E)
	}
}

 

 

my _PTS

Method (_PTS, 1, NotSerialized)
   {
       Or (Arg0, 0xF0, Local0)
       Store (Local0, DBG1)
       Store (Zero, \_SB.PCI0.[color="#FF0000"][b]LPCB[/b][/color].AG3E)
       If (LEqual (Arg0, 0x05))
       {
           Store (Zero, SLPE)
           Sleep (0x10)
       }
   }

Link to comment
Share on other sites

can you help me MaLd0n

 

i made my DSDT in windows everest like i saw in other forum (was your post)

 

now i have orange icons in all the HDD drives and i dont know if everything is working good like speedstep for example... i think my pc makes a little noise in osx

 

my specs are quad 6600 + asus P5Q

 

 

check my DSDT and tell me if is everything ok please...

 

muito obrigado :(

DSDT.aml.zip

Link to comment
Share on other sites

can you help me MaLd0n

 

i made my DSDT in windows everest like i saw in other forum (was your post)

 

now i have orange icons in all the HDD drives and i dont know if everything is working good like speedstep for example... i think my pc makes a little noise in osx

 

my specs are quad 6600 + asus P5Q

 

 

check my DSDT and tell me if is everything ok please...

 

muito obrigado :(

 

dsdt.xpertvision.zip

Restart and Native PM see the first post

 

 

xpertvision

read it

http://www.insanelymac.com/forum/index.php?showtopic=16427

;)

Thanks

Link to comment
Share on other sites

MaLd0n code for my NVIDIA for the dsdt I have to find have just but have error to compile it in .AML is I possible to fix these error thank you

 

look at the ioreg

ioreg -fl

 

you need to know where to apply it

Link to comment
Share on other sites

texte file big info

 

is the code thaï i have to add has your dsdt thaï in a aitre dsdt I have to find does not know if it is good .....

 

 

 

            Device (GFX0)
               {
                   Name (_ADR, Zero)
                   Name (_SUN, One)
                   Method (_DSM, 4, NotSerialized)
                   {
                       Store (Package (0x1A)
                           {
                               "@0,compatible", 
                               Buffer (0x0B)
                               {
                                   "NVDA,NVMac"
                               }, 

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

                               "@0,display_cfg", 
                               Buffer (0x08)
                               {
                                   0x03, 0x01, 0x00, 0x00
                               }, 

                               "@0,name", 
                               Buffer (0x0F)
                               {
                                   "NVDA,Display-A"
                               }, 

                               "@1,compatible", 
                               Buffer (0x0B)
                               {
                                   "NVDA,NVMac"
                               }, 

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

                               "@1,display_cfg", 
                               Buffer (0x08)
                               {
                                   0xFF, 0xFF, 0x00, 0x01
                               }, 

                               "@1,name", 
                               Buffer (0x0F)
                               {
                                   "NVDA,Display-B"
                               }, 

                               "NVCAP", 
                               Buffer (0x14)
                               {
                                   /* 0000 */    0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 
                                   /* 0008 */    0xFE, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0A, 
                                   /* 0010 */    0x00, 0x00, 0x00, 0x00
                               }, 

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

                               "device_type", 
                               Buffer (0x0D)
                               {
                                   "NVDA,GeForce"
                               }, 

                               "model", 
                               Buffer (0x35)
                               {
                                   "nVidia Optimus 310M-CUDA                            "
                               }, 

                               "rom-revision", 
                               Buffer (0x3B)
                               {
                                   "nVidia Optimus 310M OpenGL Engine-CUDA                    "
                               }
                           }, Local0)
                       DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                       Return (Local0)
                   }
               }
           }

Sans_titre.txt

Link to comment
Share on other sites

Hi,

 

Recently I launch VooDooMonitor on my 10.6.6 running on GA-P35-DS4 where I have also iStatMenus monitoring me CPU temp/Voltage.

 

Original reason I doing this was suspecting my native PM is down-clocking CPU (my Q6600 is over-clocked from 2.4G to 3.2G) as in iStstMenus CPU VID on full load was reported at 1.16V (while it shout be 1,225V).

 

I was surprised as VooDooMonitor reported me correct VID (and different that iStat). Also temps reported by iStatMenus seems to be 5-8 C lower than reported by VooDooMonitor (and Bresnick monitoring tool).

 

All this hints me that iStat monitoring (based on fakeSMC plugins) are not accurate and needs fine tuning.

 

I'm wonder - is it issue of my particular system or rather it is normal that user always should trim hw monitoring for given, particular hw.

 

Details of my system are already posted few posts ealier (my post about crashes in SMC_Kstat_I)

 

thx

Link to comment
Share on other sites

dsdt.xpertvision.zip

Restart and Native PM see the first post

 

 

xpertvision

read it

http://www.insanelymac.com/forum/index.php?showtopic=16427

:)

Thanks

 

 

thanks MaLd0n i will try it when i back home

 

you tell me to read the rules becouse of my animated avatar right? i edited the avatar is not animated anymore

 

thanks again ;) muito obrigado amigo

Link to comment
Share on other sites

i get this error when i try dsdt patcher on my x58a-ud3r

 

 

[Line 456 type Error message Object does not exist (OSTP)]

[Line 459 type Error message Object does not exist (\_SB.PCI0.PX40.AG3E)]

[Line 465 type Error message Object does not exist (\_SB.PCI0.PX40.AG3E)]

[Line 467 type Error message syntax error, unexpected PARSEOP_ELSE ]

[Line 469 type Error message Object does not exist (\_SB.PCI0.PX40.AG3E)]

[Line 472 type Error message syntax error, unexpected PARSEOP_METHOD, expecting $end ]

 

How can i solve it?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...