Jump to content

GA-EX58 and GA-X58A DSDT native power management modifications


  • Please log in to reply
1474 replies to this topic

#461
d00d

d00d

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 476 posts
  • Gender:Male
  • Location:41.648324, -70.635260

Edit again:
Now I've managed to get back into the desktop. Put back the NullCPUPowerManagement.kext and boot is fine. I was under the impression that I could remove that kext after doing the changes to the DSDT?

Anyway, I still don't have any audio even if I've added the ALC889a.kext.
Even the external FireWire audio card I have isn't recognized. Do I need LegacyHDA.kext?

A few more things I was thinking about: which DSDT.aml file is it that gets used if I have one both in /Extra and one in /Library/DSDT/DSDTFiles?
Also I see there's one com.apple.boot.plist in /Extra but also one in /Library/Preferences/SystemConfiguration.
Which file am I supposed to edit?

Looks like the DSDT.aml isn't loading, that's why you still need NCPM.
It just has to have read permissions;
[mac05:~/Documents/Extra] root# ls -al /Volumes/Boot\ OSX/Extra/DSDT.aml
-rw-r--r-- 1 root wheel 18297 Feb 14 21:00 /Volumes/Boot OSX/Extra/DSDT.aml
[mac05:~/Documents/Extra] root#

I'm not sure what boot loader you're using (it would help to add a signature), but Extra should take preference over the other two you listed if you're using Chameleon.

The Mac Pro Audio Update will break sound for all chipsets other than alc889a. The upcoming 10.6.3 will break it too. Apple hardcoded device ids in AppleHDA. There are 2 solutions yet. Either use 10.6.2 AppleHDA or binpatch the new one. If you have ALC889a you are safe with dsdt patch and my legacy kext. For all others back up AppleHDA.kext and after applying the update replace AppleHDA with the 10.6.2 AppleHDA.

I attach my kexts i have in Extra/Extensions. The ionetworkingfamily.kext has the Realtekr1000SL as plugin and is modified that it overwrites ionetworkingfamily.kext in /S/L/E even if Apple pumps up the version, my alc889a_v2 has the builtin part removed and the fakesmc is already modded.

If you have modded the macpro4.1.plist in ioplatformpluginfamily.kext (ACPI_SMC_PlatfromPlugin.kext) save it before updating Mac Pro Audio Update. This update also updates ioplatformfamilyplugin.kext.

Thanks, that's good to know.

d00d -- can you insert a before and after shot of this (removing BuiltInHDA key section) as with the rest of your code changes?

Also, I downloaded and opened your posted DSDT file to compare with mine (UD4P) and I do not see the CPU changes listed in step #5. Has step #5 been modified or since been made obsolete by a later BIOS from GigaByte? Just point me to the thread # if I missed this.

Thanks for a great guide. I'm running i7 920 on a Gigabyte EX58-UD4P and am down to a few small tweaks in 10.6.2 to get everything perfect.

Thanks.

aschar1 posted his updated ALC889a.kext two posts back, and you probably downloaded the unmodified dsdt.dsl instead.

#462
d00d

d00d

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 476 posts
  • Gender:Male
  • Location:41.648324, -70.635260

I understand S1 sleep shuts down the CPU and that S3 sleep shuts down the CPU but also commits context information to RAM. Therefore S3 sleep uses less parasitic draw then S1 sleep.

What significance is there between S1 and S3 sleep on a hackintosh? Is one better then another? Does one work more reliably then the other? Does waking from sleep with bluetooth devices work differently between the two states?

I am in the market for a motherboard and am leaning towards the GA-X58A-UD3R but with enough good reason I could change my mind to the GA-X58A-UD7.

Thanks.

Either S1 or S3 sleep work fine.
I don't use bluetooth, but others have commented in this topic.
All GA-X58A and GA-EX58 MBs can be set in the BIOS to do either S1 or S3, and the sleep state will be reflected in the dsdt derived from it.

#463
apple_core

apple_core

    InsanelyMac Protégé

  • Members
  • PipPip
  • 85 posts
  • Gender:Male
  • Location:Colorado USA

Either S1 or S3 sleep work fine.
I don't use bluetooth, but others have commented in this topic.
All GA-X58A and GA-EX58 MBs can be set in the BIOS to do either S1 or S3, and the sleep state will be reflected in the dsdt derived from it.


Thank you for the response. With your comment I am sticking with my plan to buy the GA-X58A-UD3R.

#464
aschar1

aschar1

    InsanelyMac Protégé

  • Members
  • PipPip
  • 93 posts
Guys we need your help!
Prasys and i am trying to use fakesmc to inject more keys. this could help to get thermal management, fans, thermal sensors working. If you have access to a real Macpro4.1 single cpu (Macpro model early 2009) it would be very kind if you download the following kext:

http://dl.dropbox.co...kext.take6b.zip

place it in your desktop (on the Macpro)

fire up Terminal
type
cd Desktop
sudo chmod -R 755 *.kext
sudo chown -R root:wheel *.kext
sudo kextload AppleSMCKeys.kext

open up Console
You'll see a list of applesmc keys
copy all the keys , and paste it to pastie.org and publish the link here.

You can contact me at irc chat.osx86.hu #snowleopard channel

My nickname is aschar there

#465
d00d

d00d

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 476 posts
  • Gender:Male
  • Location:41.648324, -70.635260

Guys we need your help!
Prasys and i am trying to use fakesmc to inject more keys. this could help to get thermal management, fans, thermal sensors working. If you have access to a real Macpro4.1 single cpu (Macpro model early 2009) it would be very kind if you download the following kext:

http://dl.dropbox.co...kext.take6b.zip

place it in your desktop (on the Macpro)

fire up Terminal
type
cd Desktop
sudo chmod -R 755 *.kext
sudo chown -R root:wheel *.kext
sudo kextload AppleSMCKeys.kext

open up Console
You'll see a list of applesmc keys
copy all the keys , and paste it to pastie.org and publish the link here.

You can contact me at irc chat.osx86.hu #snowleopard channel

My nickname is aschar there

This is a worthwhile project, I have DIMMs with thermal sensors that I'd like to be able to read.
Someone with an Apple hardware MacPro4,1 at forums.macrumors.com may want to help if you ask.

#466
The Real Deal

The Real Deal

    InsanelyMac Legend

  • Donators
  • 895 posts
  • Gender:Male
  • Location:France
thanks aschar, it sounds great.

#467
callumj09

callumj09

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 115 posts
I have an unmodified DSDT for rev 1.0 of the GA-EX58-UD3R with the latest BIOS; F9.

http://dl.dropbox.co...1.0_BIOS-F9.dsl

#468
d00d

d00d

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 476 posts
  • Gender:Male
  • Location:41.648324, -70.635260

I have an unmodified DSDT for rev 1.0 of the GA-EX58-UD3R with the latest BIOS; F9.

http://dl.dropbox.co...1.0_BIOS-F9.dsl

Thanks, there are significant differences in the dsdt.dsl file from each GA-EX58 model I've seen so far.

#469
The Real Deal

The Real Deal

    InsanelyMac Legend

  • Donators
  • 895 posts
  • Gender:Male
  • Location:France

i am currently modding the IOPlatformPlugin to downclock my CPU when idle. Do i have to include the long string between data too?


<key>PLimitDict</key>          <dict>            <key>MacPro3,1</key>            <integer>0</integer>          </dict>          <key>StepDataDict</key>          <dict>            <key>MacPro3,1</key>            <string>SP1</string>            <key>SP1</key>            <data>                            6gQAAAEAAAIJAAD/DwAA                            Cw0AAP8PAAALDQAA/w8A                            AAsNAAD/DwAACw0AAP8P                            AAALDQAA/w8AAAsNAAD/                            DwAACw0AAP8PAAALDQAA                            /w8AAAsNAAD/DwAACw0A                            AP8PAAALDQAA/w8AAAsN                            AAD/DwAACw0AAP8PAAAL                            DQAA/w8AAAsNAAD/DwAA                            Cw0AAP8PAAALDQAA/w8A                            AAsNAAD/DwAACw0AAP8P                            AAALDQAA/w8AAAsNAAD/                            DwAACw0AAP8PAAALDQAA                            /w8AAAsNAAD/DwAACw0A                            AP8PAAALDQAA/w8AAAsN                            AAD/DwAACw0AAP8PAAAL                            DQAA/w8AAAsNAAD/DwAA                            Cw0AAP8PAAALDQAA/w8A                            AAsNAAD/DwAACw0AAP8P                            AAALDQAA/w8AAAsNAAD/                            DwAACw0AAP8PAAALDQAA                            /w8AAAsNAAD/DwAACw0A                            AP8PAAALDQAA/w8AAAsN                            AAD/DwAACw0AAP8PAAAL                            DQAA/w8AAAsNAAD/DwAA                            Cw0AAP8PAAALDQAA/w8A                            AAsNAAD/DwAACw0AAP8P                            AAALDQAA/w8AAAsNAAD/                            DwAACw0AAP8PAAALDQAA                            /w8AAAsNAAD/DwAACw0A                            AP8PAAALDQAA/w8AAAsN                            AAD/DwAACw0AAP8PAAAL                            DQAA/w8AAAsNAAD/DwAA                            Cw0AAP8PAAALDQAA/w8A                            AAsNAAD/DwAACwgAABUA                            AAAUAAAAAQoAAAEAAAAB                            AAAA9QABDQAAAQAABf8A                            AQAAAAEAAAABBgAAAgAA                            AAQCAACsANMAfQDWAMMA                            KwcAAAIAAAABAAAAAQAA                            AAIAAAACAgAAAgYAAAEA                            AAABAAAA9QABDQAAAwAA                            Bf8AAwIAAAMGAAACAAAA                            BAAAAOAAyAAQDAAABQAA                            AAQAAAAFAAAABAAAAAMA                            AAABAAAABAYAAAIAAAAE                            AQAACQA9DAAAAwQAAAUA                            AAAEAgAABQYAAAEAAAAB                            AAAA6AADDQAABgAABf8A                            BQIAAAYGAAACAAAABAAA                            AEAAQgAPDAAACAAAAAcA                            AAAIAAAABwAAAAUAAAAB                            AAAABwYAAAIAAAAEAQAA                            CQA9DAAABgQAAAgAAAAG                            AgAACAYAAAEAAAABAAAA                            6AADDQAACQAABf8ABwIA                            AAkGAAACAAAABAAAAMAA                            zwBqDAAACwAAAAoAAAAL                            AAAACgAAAAcAAAABAAAA                            CgYAAAIAAAAEAQAACQA9                            DAAACQQAAAsAAAAIAgAA                            CwYAAAEAAAABAAAA6AAD                            DQAADAAABf8ACQIAAAwG                            AAACAAAABAAAAGAAGAAj                            DAAADgAAAA0AAAAOAAAA                            DQAAAAkAAAABAAAADQYA                            AAIAAAAEAQAACQA9DAAA                            DAQAAA4AAAAKAgAADgYA                            AAEAAAABAAAA6AADDQAA                            DwAABf8ACwIAAA8GAAAC                            AAAABAAAAEAArAAnDAAA                            EQAAABAAAAARAAAAEAAA                            AAsAAAABAAAAEAYAAAIA                            AAAEAQAACQA9DAAADwQA                            ABEAAAAMAgAAEQYAAAEA                            AAABAAAA9AABDQAAEgAA                            Bf8ADQIAABIGAAACAAAA                            BAIAAKwA0wB9ANYAwwAr                            BwAAEgAAABMAAAASAAAA                            EwAAAA0AAAABAAAAEwYA                            AAIAAAAEAQAACQA9DAAA                            EgQAABQAAAAOAgAAFAYA                            AAIAAAAEAAAAoACGAAEM                            AAACAAAAAgAAAAIAAAAC                            AAA=</data></dict>



Someone you have the answer would have the kindness to answer please? Thank you.


-------------

"Idle temperature comparison;
Idle CPU temperatures at 4.3 GHz (turbo disabled) and 19 C ambient; 42-46 C
Idle CPU temperatures at 4.3 GHz (turbo disabled) with a modified MacPro4_1.plist, and 19 C ambient; 42-46 C"



If i understand well, with speedstep enabled, the temperatures are the same? :blink:

#470
d00d

d00d

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 476 posts
  • Gender:Male
  • Location:41.648324, -70.635260

Someone you have the answer would have the kindness to answer please? Thank you.


-------------

"Idle temperature comparison;
Idle CPU temperatures at 4.3 GHz (turbo disabled) and 19 C ambient; 42-46 C
Idle CPU temperatures at 4.3 GHz (turbo disabled) with a modified MacPro4_1.plist, and 19 C ambient; 42-46 C"



If i understand well, with speedstep enabled, the temperatures are the same? :P

Yes, the instructions say to add the PLimitDict and StepDataDict sections.
You didn't reference the third line where it shows that also enabling DVID reduces temperatures.

#471
star-affinity

star-affinity

    InsanelyMac Protégé

  • Members
  • PipPip
  • 67 posts

Looks like the DSDT.aml isn't loading, that's why you still need NCPM.
It just has to have read permissions;
[mac05:~/Documents/Extra] root# ls -al /Volumes/Boot\ OSX/Extra/DSDT.aml
-rw-r--r-- 1 root wheel 18297 Feb 14 21:00 /Volumes/Boot OSX/Extra/DSDT.aml
[mac05:~/Documents/Extra] root#

I'm not sure what boot loader you're using (it would help to add a signature), but Extra should take preference over the other two you listed if you're using Chameleon.



Dear d00d,

Thank you so much for your reply! ;)
I guess that also explains why I can't get audio to work either (if the DSDT.aml isn't loading).
I'll check the permissions.

I like your avatar by the way. ;)

Edit:
Is there a way to see if the DSDT.aml is loading?
I'm running Chameleon 2.0 RC4 so I guess it's the DSDT.aml in /Extra that counts. Can I remove the ones I have in /Library/DSDTfiles?

(Will add a signature later)

#472
The Real Deal

The Real Deal

    InsanelyMac Legend

  • Donators
  • 895 posts
  • Gender:Male
  • Location:France

Yes, the instructions say to add the PLimitDict and StepDataDict sections.
You didn't reference the third line where it shows that also enabling DVID reduces temperatures.



Thank you. Yes i did not mentioned it because it's a native feature of the gigabyte motherboard which interact with the voltages. :(

#473
star-affinity

star-affinity

    InsanelyMac Protégé

  • Members
  • PipPip
  • 67 posts
When booting things stop at �€�systemShutdown false�€� is at the bottom of the screen.

What is wrong?

Think I saw someone with the same problem in this thread, but I can't find the post.


OK, forget the above - I'm having some stability issues with my machine (probably bad RAM or something) so it locked up because of that.

Anyway, still no luck with audio. And I also haven't dared to remove ”NullCPUPowerManagement.kext” bacuse I'm afraid the DSDT.aml isn't loading and I currently don't have a second drive to boot Mac OS X when things go wrong witch means I have to open up the case every time connect the drive to my MacBook Pro. :(

How can I be sure that the DSDT.aml is used correctly when booting?

#474
d00d

d00d

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 476 posts
  • Gender:Male
  • Location:41.648324, -70.635260

When booting things stop at �€�systemShutdown false�€� is at the bottom of the screen.

What is wrong?

Think I saw someone with the same problem in this thread, but I can't find the post.


OK, forget the above - I'm having some stability issues with my machine (probably bad RAM or something) so it locked up because of that.

Anyway, still no luck with audio. And I also haven't dared to remove ”NullCPUPowerManagement.kext” bacuse I'm afraid the DSDT.aml isn't loading and I currently don't have a second drive to boot Mac OS X when things go wrong witch means I have to open up the case every time connect the drive to my MacBook Pro. ;)

How can I be sure that the DSDT.aml is used correctly when booting?

The CMOS doesn't reset at reboot, AppleLPC.kext, AppleHPET.kext, AppleIntelCPUPowerManagement and AppleIntelCPUPowerManagementClient kexts load (System Profiler:Extensions), your power button can sleep the computer, CStates are seen above 2.96 GHz (IORegistryExplorer:IOService:/AppleACPIPlatformExpert/CPU0@0/AppleACPICPU/ACPI_SMC_PlatformPlugin/CSTInfo/0x1240105), etcetera.

#475
smc13

smc13

    InsanelyMac Protégé

  • Members
  • Pip
  • 37 posts
D00d,

Thanks for the information. I am running an ex58-ud3r Rev 1.6 bios version FF and after using your information I just removed NullCPUPowerManagement and it is working fine.

Feb 19 22:51:08 localhost kernel[0]: AppleIntelCPUPowerManagement: Turbo Ratios 1112
Feb 19 22:51:08 localhost kernel[0]: AppleIntelCPUPowerManagement: initialization complete


I do have a couple error messages that I am curious about. What do these messages mean?

Feb 19 22:51:21 Mac-Pro kernel[0]: ACPI_SMC_PlatformPlugin::pushCPU_CSTData - _CST evaluation failed
Feb 19 22:51:21: --- last message repeated 1 time ---
Feb 19 22:51:21 Mac-Pro kernel[0]: ACPI_SMC_PlatformPlugin::registerLPCDriver - WARNING - LPC device initialization failed: C-state power management not initialized

One other thing, I have an unmodified dsdt.dsl for bios ff but when I tried to attach it, it told me you are not permitted to upload this type of file. Where can I upload it to?

#476
KariNeko

KariNeko

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 232 posts
  • Gender:Female
  • Location:Buenos Aires, Argentina
Hi dood, I don't have a Gigabyte X58 based board, but instead an Asus one and I have a question if you don't mind. :)
Why are we using PLimitDict and StepDataDict sections form MacPro3_1.plist as it uses Woodcrest (not Nehalem ) processors and don't we use instead the information contained in the iMac11_1.plist that also has a Core i7 based CPU?
Also can we use the GPU related sections in any way? do we benefit from it? (from this or any other plist there)

Thanks

#477
The Real Deal

The Real Deal

    InsanelyMac Legend

  • Donators
  • 895 posts
  • Gender:Male
  • Location:France
The mod plist makes my computer a little bit laggy than without.

#478
d00d

d00d

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 476 posts
  • Gender:Male
  • Location:41.648324, -70.635260

D00d,

Thanks for the information. I am running an ex58-ud3r Rev 1.6 bios version FF and after using your information I just removed NullCPUPowerManagement and it is working fine.

Feb 19 22:51:08 localhost kernel[0]: AppleIntelCPUPowerManagement: Turbo Ratios 1112
Feb 19 22:51:08 localhost kernel[0]: AppleIntelCPUPowerManagement: initialization complete


I do have a couple error messages that I am curious about. What do these messages mean?

Feb 19 22:51:21 Mac-Pro kernel[0]: ACPI_SMC_PlatformPlugin::pushCPU_CSTData - _CST evaluation failed
Feb 19 22:51:21: --- last message repeated 1 time ---
Feb 19 22:51:21 Mac-Pro kernel[0]: ACPI_SMC_PlatformPlugin::registerLPCDriver - WARNING - LPC device initialization failed: C-state power management not initialized

One other thing, I have an unmodified dsdt.dsl for bios ff but when I tried to attach it, it told me you are not permitted to upload this type of file. Where can I upload it to?

You would get those errors if you're clocked over 2.96 GHz and didn't do modification 5.
Compress the file into a zip to be able to attach.


Hi dood, I don't have a Gigabyte X58 based board, but instead an Asus one and I have a question if you don't mind. :|
Why are we using PLimitDict and StepDataDict sections form MacPro3_1.plist as it uses Woodcrest (not Nehalem ) processors and don't we use instead the information contained in the iMac11_1.plist that also has a Core i7 based CPU?
Also can we use the GPU related sections in any way? do we benefit from it? (from this or any other plist there)

Thanks

Because one works and the other doesn't.
Try the sections from iMac11_1.plist and you'll get;
Jan 17 18:59:33 mac05 kernel[0]: ACPI_SMC_CtrlLoop::loadStepperProgram - pmCPUControl (PMIOCSETPSTATESTEPPER) failed, result = 0x4
I haven't experimented with the GPU sections.

#479
KariNeko

KariNeko

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 232 posts
  • Gender:Female
  • Location:Buenos Aires, Argentina

Because one works and the other doesn't.
Try the sections from iMac11_1.plist and you'll get;
Jan 17 18:59:33 mac05 kernel[0]: ACPI_SMC_CtrlLoop::loadStepperProgram - pmCPUControl (PMIOCSETPSTATESTEPPER) failed, result = 0x4
I haven't experimented with the GPU sections.


Haha yes I tried it a few minutes ago, with iMac11,1 it doesn't work.
I can tell you that with my Asus X58 based board it's the same as yours, SpeedStep only works when copying those missing sections from the MacPro3,1 plist to the 4,1 one, but the bad thing is that even as Asus had an Auto VCORE in BIOS since day one it doesn't work in the same way yours Gigabyte board does, it even rises the temperatures more, ;) so the best thing is setting the VCORE manually but it doesn't affect temperatures as you explained in your first post of this thread.

#480
star-affinity

star-affinity

    InsanelyMac Protégé

  • Members
  • PipPip
  • 67 posts

The CMOS doesn't reset at reboot, AppleLPC.kext, AppleHPET.kext, AppleIntelCPUPowerManagement and AppleIntelCPUPowerManagementClient kexts load (System Profiler:Extensions), your power button can sleep the computer, CStates are seen above 2.96 GHz (IORegistryExplorer:IOService:/AppleACPIPlatformExpert/CPU0@0/AppleACPICPU/ACPI_SMC_PlatformPlugin/CSTInfo/0x1240105), etcetera.


The extensions seem to load and it works fine to sleep the computer using the power button!
So what the heck is missing when it comes to the audio? Is the problem that I've installed all the kexts in /S/L/E instead of /E? Should that matter?

I'll try and see if I can remove NullCPUPowerManagement.kext and still start up - should work since the DSDT.aml seems to be read in correctly, right?

Edit:
Removing the NullCPUPowerManagement.kext didn't work. So it seems I have a semi-functional DSDT.aml... ;)


Altight! I can boot without NullCPUPowerManagement.kext now - it seems I'd forgot to do step 6 in the com.apple.boot.plist.

Anyway - still no audio! ;)
I don't understand what the problem is.
What can be wrong? I mean, I should have the correct DSDT.aml since it's the one I downloaded from d00d's first post. Shouldn't the ALC889a.kext be all I need then?

I noticed I got this in the logs at boot:

2010-02-22 00.56.24 com.apple.kextd[10] AppleHDA.kext - no dependency found for com.apple.iokit.IOAudioFamily.
2010-02-22 00.56.24 com.apple.kextd[10] Can't load AppleHDA.kext - failed to resolve dependencies.
2010-02-22 00.56.24 com.apple.kextd[10] Failed to load AppleHDA.kext - (libkern/kext) dependency resolution failure.
2010-02-22 00.56.24 com.apple.kextd[10] Load com.apple.driver.AppleHDA failed; removing personalities.
2010-02-22 01.01.06 com.apple.kextcache[204] AppleHDA.kext - no dependency found for com.apple.iokit.IOAudioFamily.
2010-02-22 01.01.07 com.apple.kextcache[204] AppleHDA.kext - no dependency found for com.apple.iokit.IOAudioFamily.
2010-02-22 01.01.07 com.apple.kextcache[204] Prelink failed for com.apple.driver.AppleHDA; omitting from prelinked kernel.


Anything to worry about?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy