Jump to content
12 posts in this topic

Recommended Posts

After much reading/editing/trying I have finally build a DSDT that work's perfectly, or at least that's what I thought.

I have gotten 2KPs since I've been using it, startup seems to take longer (but that just may be me...) and speed-step, which used to go from 60% to 105% in MSR Tools now goes from 100% to 109.2%. I have updated my BIOS -and re created my DSDT-, but since speedsteping works fine in Windows I doubt it's hardware/BIOS related.

I'll attach the ACPI tables I have used, and a draft for a guide I was writing.

Thank's for any help ;).

Edit: here are the files. They are attached on the third post.

After much reading/editing/trying I have finally build a DSDT that work's perfectly, or at least that's what I thought.

I have gotten 2KPs since I've been using it, startup seems to take longer (but that just may be me...) and speed-step, which used to go from 60% to 105% in MSR Tools now goes from 100% to 109.2%. I have updated my BIOS -and re created my DSDT-, but since speedsteping works fine in Windows I doubt it's hardware/BIOS related.

I'll attach the ACPI tables I have used, and a draft for a guide I was writing.

Thank's for any help :D.

 

 

Hi adrian

We have similar x58 board...

Can I take a look at your DSDT?

(I have already a full working DSDT for my board... but maybe we can resolve common problem;) )

 

Fabio

Hi adrian

We have similar x58 board...

Can I take a look at your DSDT?

(I have already a full working DSDT for my board... but maybe we can resolve common problem;) )

 

Fabio

Sure! I thought I had attached it, but I forgot, lol. That's why posts should be written with time and double checked. The files are attached, at the end.

The only code I can see that must be related to sleep is:

OperationRegion (BIOS, SystemMemory, 0xCBE90064, 0xFF)
Field (BIOS, ByteAcc, NoLock, Preserve)
{
	S1,	 1, 
	S2,	 1, 
	S3,	 1, 
	S4,	 1, ...

 

Method (GPRW, 2, NotSerialized)
{
	Store (Arg0, Index (PRWP, Zero))
	Store (ShiftLeft (S1, One), Local0)
	Or (Local0, ShiftLeft (S2, 0x02), Local0)
	Or (Local0, ShiftLeft (S3, 0x03), Local0)
	Or (Local0, ShiftLeft (S4, 0x04), Local0)...

Name (_S0, Package (0x04)
{
	Zero, 
	Zero, 
	Zero, 
	Zero
})
If (S1)
{
	Name (_S1, Package (0x04)
	{
		One, 
		Zero, 
		Zero, 
		Zero
	})
}

If (S3)
{
	Name (_S3, Package (0x04)
	{
		0x05, 
		Zero, 
		Zero, 
		Zero
	})
}

If (S4)
{
	Name (_S4, Package (0x04)
	{
		0x06, 
		Zero, 
		Zero, 
		Zero
	})
}

Name (_S5, Package (0x04)
{
	0x07, 
	Zero, 
	Zero, 
	Zero
})

 

Method (_WAK, 1, NotSerialized)
{
	ShiftLeft (Arg0, 0x04, DBG8)
	WAK (Arg0)
	If (ASSB)
	{
		Store (WSSB, ASSB)
		Store (WOTB, AOTB)
		Store (WAXB, AAXB)
	}

	If (DerefOf (Index (WAKP, Zero)))
	{
		Store (Zero, Index (WAKP, One))
	}
	Else
	{
		Store (Arg0, Index (WAKP, One))
	}

	Return (WAKP)
}

 

And:

Method (PTS, 1, NotSerialized)
{
	If (LEqual (Arg0, 0x05))
	{
		Store (Zero, SLPE)
		Sleep (0x10)
	}

	If (Arg0)
	{
		\_SB.PCI0.LPCB.SIOS (Arg0)
		\_SB.PCI0.NPTS (Arg0)
		\_SB.PCI0.LPCB.SPTS (Arg0)
		SBPS (Arg0)
		Store (Zero, \_SB.PCI0.LPCB.AG3E)
	}
}

 

I have tried playing around with these (ex: changing S2, S3, etc to SS2, etc; as I saw this on a other DSDT) but haven't gotten anywhere with sleep.

I didn't find anything on GPRW in ACPI specs, but I did find _PRW (Power Resources for Wake). In my DSDT, all calls to PRW return GPRW+two hex values (addresses?). Ex: Return (GPRW (0x09, 0x04)).

Files.zip

Off topic:

By the way, are you italian?, if so what part of Italy are you from? I'm of italian decent (and have been made a citizen), but I live in Argentina.

Sorry for polluting the forum...

 

Yes I'm Italian from the north near the France... :(

 

-------

 

Try this DSDT I do some minus change for Sleep and Shutdown, retouch SATA and the injectors method :rolleyes:

 

 

 

Fabio

Yes I'm Italian from the north near the France... :D

 

-------

 

Try this DSDT I do some minus change for Sleep and Shutdown, retouch SATA and the injectors method :)

 

 

 

Fabio

My relatives are also from the north, from Lecco more specifically.

 

It fixed shutdown, SATA seems the same (unless you applied a fix for orange icons, since I didn't try it without AHCIBlock... Sleep still shows 03 (on the "debug LED") for like 10's then it powers off. If I press the power button or mouse it does a cold boot. Windows also shows 03 but just for <1's and pressing the button or mouse brings me to the login screen. Speedstep is the same. I checked it in Windows again (just to be sure) and sure enough it worked, but I noticed that it was using .5 multiplier changes, which would explain how in OS X it can get to some values (133x20.9=2.77GHz), but for example 2.9GHz=21.80x133! My i7 should only go up to x21, so that means that OS X is changing the FSB, right? And also, shouldn't it stick to the P-States? I mean, not got with x20.9, for example? It still won't go under 100% (or 98% to be more exact, I have seen it drop that low). CPU usage in activity monitor is usually around 87% idle. I'm going to do a clean install, to rule out any OS stuff.

I saw you changed DTPG to MCDP, which is something I had been wanting to do, thanks.

By the way, now I can't launch System Profiler or Network Utility, but that might be something else (which is why I want to do a clean install).

Sorry for all the edits

...

 

 

try delete the "AAPL,slot-name" make show problem and some times sleep issue...

 

for the PSS try change from this...

[size=1]        Processor (P001, 0x01, 0x00000810, 0x06)
       {
           Name (_PSS, Package (0x0A)
           {
               Package (0x06) { 0x0A65, 0x0001FBD0, 0x0A, 0x0A, 0x15, 0x15 },
               Package (0x06) { 0x0A64, 0x0001FBD0, 0x0A, 0x0A, 0x14, 0x14 },
               Package (0x06) { 0x09DF, 0x0001A9C8, 0x0A, 0x0A, 0x13, 0x13 },
               Package (0x06) { 0x095A, 0x000186A0, 0x0A, 0x0A, 0x12, 0x12 },
               Package (0x06) { 0x08D5, 0x00014438, 0x0A, 0x0A, 0x11, 0x11 },
               Package (0x06) { 0x0850, 0x000128E0, 0x0A, 0x0A, 0x10, 0x10 },
               Package (0x06) { 0x07CB, 0xF618, 0x0A, 0x0A, 0x0F, 0x0F },
               Package (0x06) { 0x0746, 0xDEA8, 0x0A, 0x0A, 0x0E, 0x0E },
               Package (0x06) { 0x06C1, 0xB798, 0x0A, 0x0A, 0x0D, 0x0D },
               Package (0x06) { 0x063C, 0xA7F8, 0x0A, 0x0A, 0x0C, 0x0C }
           })[/size]

 

to this...

 

[size=1]        Processor (P001, 0x01, 0x00000810, 0x06)
       {
           Name (_PSS, Package (0x0A)
           {
               Package (0x06) { 0x00000AF0, 0x00023E38, 0x000000A0, 0x0000000A, 0x00000015, 0x00000015 },
               Package (0x06) { 0x00000A6B, 0x0001FBD0, 0x000000A0, 0x0000000A, 0x00000014, 0x00000014 },
               Package (0x06) { 0x000009E5, 0x0001BD50, 0x000000A0, 0x0000000A, 0x00000013, 0x00000013 },
               Package (0x06) { 0x00000960, 0x000186A0, 0x000000A0, 0x0000000A, 0x00000012, 0x00000012 },
               Package (0x06) { 0x000008DB, 0x000153D8, 0x000000A0, 0x0000000A, 0x00000011, 0x00000011 },
               Package (0x06) { 0x00000855, 0x000128E0, 0x000000A0, 0x0000000A, 0x00000010, 0x00000010 },
               Package (0x06) { 0x000007D0, 0x000101D0, 0x000000A0, 0x0000000A, 0x0000000F, 0x0000000F },
               Package (0x06) { 0x0000074B, 0x0000DEA8, 0x000000A0, 0x0000000A, 0x0000000E, 0x0000000E },
               Package (0x06) { 0x000006C5, 0x0000C350, 0x000000A0, 0x0000000A, 0x0000000D, 0x0000000D },
               Package (0x06) { 0x00000640, 0x0000A7F8, 0x000000A0, 0x0000000A, 0x0000000C, 0x0000000C }
           })[/size]

 

for the _CST look like ok...

try and tell how work's...

Fabio

try delete the "AAPL,slot-name" make show problem and some times sleep issue...

 

for the PSS try change from this...

[size=1]        Processor (P001, 0x01, 0x00000810, 0x06)
       {
           Name (_PSS, Package (0x0A)
           {
               Package (0x06) { 0x0A65, 0x0001FBD0, 0x0A, 0x0A, 0x15, 0x15 },
               Package (0x06) { 0x0A64, 0x0001FBD0, 0x0A, 0x0A, 0x14, 0x14 },
               Package (0x06) { 0x09DF, 0x0001A9C8, 0x0A, 0x0A, 0x13, 0x13 },
               Package (0x06) { 0x095A, 0x000186A0, 0x0A, 0x0A, 0x12, 0x12 },
               Package (0x06) { 0x08D5, 0x00014438, 0x0A, 0x0A, 0x11, 0x11 },
               Package (0x06) { 0x0850, 0x000128E0, 0x0A, 0x0A, 0x10, 0x10 },
               Package (0x06) { 0x07CB, 0xF618, 0x0A, 0x0A, 0x0F, 0x0F },
               Package (0x06) { 0x0746, 0xDEA8, 0x0A, 0x0A, 0x0E, 0x0E },
               Package (0x06) { 0x06C1, 0xB798, 0x0A, 0x0A, 0x0D, 0x0D },
               Package (0x06) { 0x063C, 0xA7F8, 0x0A, 0x0A, 0x0C, 0x0C }
           })[/size]

 

to this...

 

[size=1]        Processor (P001, 0x01, 0x00000810, 0x06)
       {
           Name (_PSS, Package (0x0A)
           {
               Package (0x06) { 0x00000AF0, 0x00023E38, 0x000000A0, 0x0000000A, 0x00000015, 0x00000015 },
               Package (0x06) { 0x00000A6B, 0x0001FBD0, 0x000000A0, 0x0000000A, 0x00000014, 0x00000014 },
               Package (0x06) { 0x000009E5, 0x0001BD50, 0x000000A0, 0x0000000A, 0x00000013, 0x00000013 },
               Package (0x06) { 0x00000960, 0x000186A0, 0x000000A0, 0x0000000A, 0x00000012, 0x00000012 },
               Package (0x06) { 0x000008DB, 0x000153D8, 0x000000A0, 0x0000000A, 0x00000011, 0x00000011 },
               Package (0x06) { 0x00000855, 0x000128E0, 0x000000A0, 0x0000000A, 0x00000010, 0x00000010 },
               Package (0x06) { 0x000007D0, 0x000101D0, 0x000000A0, 0x0000000A, 0x0000000F, 0x0000000F },
               Package (0x06) { 0x0000074B, 0x0000DEA8, 0x000000A0, 0x0000000A, 0x0000000E, 0x0000000E },
               Package (0x06) { 0x000006C5, 0x0000C350, 0x000000A0, 0x0000000A, 0x0000000D, 0x0000000D },
               Package (0x06) { 0x00000640, 0x0000A7F8, 0x000000A0, 0x0000000A, 0x0000000C, 0x0000000C }
           })[/size]

 

for the _CST look like ok...

try and tell how work's...

Fabio

Removing "AAPL,slot-name" allowed me to open Sys Profiler and Network Utility, but Speedsteping remains the same...

I played around with some gunk, like changing the CPU from i7 (SMCPUtype=1754 or something like that) back to Quad-Core... to no avail.

I put your P-State edit in, and I was able to compile fine and all, but after compiling to an .aml, then decompiling to a .dsl it got optimized (I guess) back to:

Name (_PSS, Package (0x0A)
		{
			Package (0x06)
			{
				0x0AF0, 
				0x00023E38, 
				0xA0, 
				0x0A, 
				0x15, 
				0x15
			}, 

			Package (0x06)
			{
				0x0A6B, 
				0x0001FBD0, 
				0xA0, 
				0x0A, 
				0x14, 
				0x14
			}, 

			Package (0x06)
			{
				0x09E5, 
				0x0001BD50, 
				0xA0, 
				0x0A, 
				0x13, 
				0x13
			}, 

			Package (0x06)
			{
				0x0960, 
				0x000186A0, 
				0xA0, 
				0x0A, 
				0x12, 
				0x12
			}, 

			Package (0x06)
			{
				0x08DB, 
				0x000153D8, 
				0xA0, 
				0x0A, 
				0x11, 
				0x11
			}, 

			Package (0x06)
			{
				0x0855, 
				0x000128E0, 
				0xA0, 
				0x0A, 
				0x10, 
				0x10
			}, 

			Package (0x06)
			{
				0x07D0, 
				0x000101D0, 
				0xA0, 
				0x0A, 
				0x0F, 
				0x0F
			}, 

			Package (0x06)
			{
				0x074B, 
				0xDEA8, 
				0xA0, 
				0x0A, 
				0x0E, 
				0x0E
			}, 

			Package (0x06)
			{
				0x06C5, 
				0xC350, 
				0xA0, 
				0x0A, 
				0x0D, 
				0x0D
			}, 

			Package (0x06)
			{
				0x0640, 
				0xA7F8, 
				0xA0, 
				0x0A, 
				0x0C, 
				0x0C
			}
		})

Removing "AAPL,slot-name" allowed me to open Sys Profiler and Network Utility, but Speedsteping remains the same...

I played around with some gunk, like changing the CPU from i7 (SMCPUtype=1754 or something like that) back to Quad-Core... to no avail.

I put your P-State edit in, and I was able to compile fine and all, but after compiling to an .aml, then decompiling to a .dsl it got optimized (I guess) back to:

...

 

Is normal the code come back to "large" what I post is just for comfort reasing no difference...

But the CODE I post is different from your original...

 

for show i7 you need update to 10.6.3 and this data

in smbios.plist:

<key>SMcputype</key>
<string>1793</string>
<key>SMbusspeed</key>
<string>4800</string>

 

if your macmodel is MacPro4,1 update also at the latest MacProAudioupdate1,1 from Apple you can get vanilla SS from this ;)

 

Fabio

Is normal the code come back to "large" what I post is just for comfort reasing no difference...

But the CODE I post is different from your original...

 

for show i7 you need update to 10.6.3 and this data

in smbios.plist:

<key>SMcputype</key>
<string>1793</string>
<key>SMbusspeed</key>
<string>4800</string>

 

if your macmodel is MacPro4,1 update also at the latest MacProAudioupdate1,1 from Apple you can get vanilla SS from this :)

 

Fabio

I did update the code in the DSDT. I'll change the smbios.plist info, install the update and report back.

I did update the code in the DSDT. I'll change the smbios.plist info, install the update and report back.

Now I got something like I used to get: it goes all the way down to 60% but it still goes up to 109%. Also, it doesn't stay low too long, but that could be anything...

Sleep is the same.

I'm curious about what the following code is:

 Scope (_SB.PCI0)
{
	Name (SLIC, Buffer (0x9E)
	{
		"987134512781Genuine NVIDIA Certified SLI Ready Motherboard for ASROCK X58SUPER COMP0101-Copyright 2008 NVIDIA Corporation All Rights Reserved-765289891023(R)"
	})
	OperationRegion (DEB0, SystemIO, DP80, One)
	Field (DEB0, ByteAcc, NoLock, Preserve)
	{
		DBG8,   8
	}

	Device (WMI1)
	{
		Name (_HID, "pnp0c14")
		Name (_UID, "MXM2")
		Name (_WDG, Buffer (0x14)
		{
			/* 0000 */	0x3C, 0x5C, 0xCB, 0xF6, 0xAE, 0x9C, 0xBD, 0x4E, 
			/* 0008 */	0xB5, 0x77, 0x93, 0x1E, 0xA3, 0x2A, 0x2C, 0xC0, 
			/* 0010 */	0x4D, 0x58, 0x01, 0x02
		})
		Method (WMMX, 3, NotSerialized)
		{
			CreateDWordField (Arg2, Zero, FUNC)
			Store (0x88, DBG8)
			If (LEqual (FUNC, 0x41494C53))
			{
				Store (0x99, DBG8)
				Return (SLIC)
			}

			Return (Zero)
		}
	}
}

In any case, I gave an ASRock x58 Extreme, not Supercomputer, how can I change that (is it just the name)?

×
×
  • Create New...