Jump to content

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


  • Please log in to reply
1469 replies to this topic

#501
LocusOfControl

LocusOfControl

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 396 posts
  • Gender:Male
  • Location:SG9tZSBvZiB0aGUgbWVhdCBhbmQgcG90YXRvIHBpZQ==
Just for info

I have just replaced my 10 year old Creative 4.1 speakers (actually 3.1 now) with new Harman Kardon SoundSticks II

Plugging them in I noticed with the following DSDT settings I get my sound through the black rear port on the
EX58-UD5

I don't think it is a problem, just wondering if it is normal?


[codebox]
Device (HDEF)
{
Name (_ADR, 0x001B0000)
Method (_PRW, 0, NotSerialized)
{
Return (Package (0x02)
{
0x0D,
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)
}
}[/codebox]

#502
d00d

d00d

    InsanelyMac Sage

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

d00d, your dsdt is brilliant and negates many of the kexts i have been using,thanks so much for your hard work.
It is more than a little bit annoying having eject buttons on internal hardrives, but meh its a small price to pay for e-sata and hotplugging.

However, i use my mac as a home cinema with an analog 5.1 sound system, which your dsdt doesnt allow for.
I've edited your i7 920 v2 dsdt to include ALC889a 5.1 support, which works when used with a patched AppleHDA.kext and an aggregate device in Audio Midi Setup (check out the infinitemac guide for this, its very easy to do).

I have attached a bash-scripted AppleHDA.kext patcher which will grab your current AppleHDA.kext,
and patch it for 5.1 sound. You can then install the kext using kextutility or kexthelper.
The patcher even gives it a red label, to distinguish it from an unpatched AppleHDA.kext
Any audio updates will most likely revert the AppleHDA.kext in S/L/E to an unpatched state,
but its easy to just re-run the patcher, patch the updated kext and install that.

I have also attached d00d's i7 920 v2 dsdt patched for 5.1 as well.
It was very easy to patch your dsdt as all it requires is replacing the HDEF section as per the infinitemac guide.

Hope you and other people people find them useful. ^_^

the guide i followed for the 5.1 dsdt edit and to make my patcher was this one:
http://www.infinitem...surround-t3746/

You're welcome.
The eject buttons don't have to be seen, but the fix changes the chipset name from ICH10 to ESB2, and may cause drive problems (see post 392).
The patcher looks interesting, I'll check it out when I get some time.
With the ALC889a.kext one can get 5.1 by using the digital out.


The audio kext dependency issues are still there, though.

This is the same problem as before.
You are missing kexts in SLE, and the log is telling you which ones.

#503
ANARCHiNTOSH

ANARCHiNTOSH

    Loldermort!!!!

  • Members
  • PipPipPipPip
  • 221 posts

You're welcome.
The eject buttons don't have to be seen, but the fix changes the chipset name from ICH10 to ESB2, and may cause drive problems (see post 392).
The patcher looks interesting, I'll check it out when I get some time.
With the ALC889a.kext one can get 5.1 by using the digital out.


thanks, i didnt know that about the drives...

this method should also enable digital out and i think it is superior to both ALC889a.kext and LegacyHDA+HDAEnabler,
but it will break every time apple updates these plugins for AppleHDA.kext:
AppleHDAHardwareConfigDriver.kext
AppleHDAPlatformDriver.kext
i made the patcher so its really easy to repatch them after an update.

i personally dont have a 5.1 Amp, they are all individual hifi amps cobbled together, and
it would cost over £100 to upgrade to one --- so for me its much cheaper to hack.

#504
star-affinity

star-affinity

    InsanelyMac Protégé

  • Members
  • PipPip
  • 67 posts

This is the same problem as before.
You are missing kexts in SLE, and the log is telling you which ones.


Thanks, but they are there.
I took them from 10.6.2 on my MacBook Pro to make sure they were unmodified (installed using Kext Utility) - the Hack don't like them?

#505
smc13

smc13

    InsanelyMac Protégé

  • Members
  • Pip
  • 37 posts

Aha, that did the trick! Thanks!
Don't know why the order changed in BIOS all of the sudden, though...


I had it happen a couple of time, I don't know why the bios resets either.


OK, It seems I've managed to get everything working, except that audio still shines with it's absence. :(

I was missing IOAudioFamily.kext from /S/L/E (don't know why) but I've now installed it again from my MacBook Pro.

Below is a bit from my log and it still complains a lot about ”no dependencies found” etc. for various aspects of the audio kexts - I can imagine that's got to do with my problem.

Also, ”Can't create kext cache under / - owner not root.” anything to worry about?

Thanks for helping! :)

2010-02-23 22.14.06 com.apple.kextd[10] SteerMouse.kext does not declare a kernel dependency; using com.apple.kernel.6.0.
2010-02-23 22.14.06 com.apple.kextd[10] IOAudioFamily.kext - no dependency found for com.apple.kext.OSvKernDSPLib.
2010-02-23 22.14.06 com.apple.kextd[10] Can't load AppleFWAudio.kext - failed to resolve dependencies.
2010-02-23 22.14.06 com.apple.kextd[10] Failed to load AppleFWAudio.kext - (libkern/kext) dependency resolution failure.
2010-02-23 22.14.06 com.apple.kextd[10] Load com.apple.driver.AppleFWAudio failed; removing personalities.
2010-02-23 22.14.06 com.apple.kextd[10] IOAudioFamily.kext - no dependency found for com.apple.kext.OSvKernDSPLib.
2010-02-23 22.14.06 com.apple.kextd[10] Can't load AudioIPCDriver.kext - failed to resolve dependencies.
2010-02-23 22.14.06 com.apple.kextd[10] Failed to load AudioIPCDriver.kext - (libkern/kext) dependency resolution failure.
2010-02-23 22.14.06 com.apple.kextd[10] Load com.apple.driver.AudioIPCDriver failed; removing personalities.
2010-02-23 22.14.06 com.apple.kextd[10] IOAudioFamily.kext - no dependency found for com.apple.kext.OSvKernDSPLib.
2010-02-23 22.14.06 com.apple.kextd[10] DspFuncLib.kext - no dependency found for com.apple.kext.OSvKernDSPLib.
2010-02-23 22.14.06 com.apple.kextd[10] Can't load AppleHDA.kext - failed to resolve dependencies.
2010-02-23 22.14.06 com.apple.kextd[10] Failed to load AppleHDA.kext - (libkern/kext) dependency resolution failure.
2010-02-23 22.14.06 com.apple.kextd[10] Load com.apple.driver.AppleHDA failed; removing personalities.
2010-02-23 22.14.06 com.apple.kextd[10] IOAudioFamily.kext - no dependency found for com.apple.kext.OSvKernDSPLib.
2010-02-23 22.14.06 com.apple.kextd[10] Can't load AudioIPCDriver.kext - failed to resolve dependencies.
2010-02-23 22.14.06 com.apple.kextd[10] Failed to load AudioIPCDriver.kext - (libkern/kext) dependency resolution failure.
2010-02-23 22.14.06 com.apple.kextd[10] Load com.apple.driver.AudioIPCDriver failed; removing personalities.
2010-02-23 22.14.07 kernel Warning - kext com.vmware.kext.vmx86 has immediate dependencies on both com.apple.kernel* and com.apple.kpi.* components; use only one style.
2010-02-23 22.14.07 kernel Previous Shutdown Cause: 0
2010-02-23 22.14.07 kernel Warning - jp.plentycom.driver.SteerMouse declares no kernel dependencies; using com.apple.kernel.6.0.
2010-02-23 22.14.07 kernel identified as RTL8168D/8111Didentified as RTL8168D/8111D
2010-02-23 22.14.07 kernel vmmon: Loaded @ 0x80fe6152: Info 0x80ff5740 Name com.vmware.kext.vmx86 Version 3.0.0 build-215242 at Dec 7 2009 17:45:18
2010-02-23 22.14.07 /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow[36] Login Window Application Started
2010-02-23 22.14.07 com.apple.kextd[10] Can't create kext cache under / - owner not root.
2010-02-23 22.14.07 com.apple.kextd[10] Can't create kext cache under / - owner not root.
2010-02-23 22.14.08 kernel DSMOS has arrived
2010-02-23 22.14.08 kernel vmmon: Service start
2010-02-23 22.14.08 kernel vmmon: Instrumenting bug 151304...com_chucko_RealtekR1000: Ethernet address 00:1f:d0:ac:da:15
2010-02-23 22.14.08 kernel com_chucko_RealtekR1000: Ethernet address 00:1f:d0:ac:da:17
2010-02-23 22.14.08 kernel ** Device in slot: SLOT-1 **
2010-02-23 22.14.08 kernel vmmon: Initial HV check: anyNotCapable=0 anyUnlocked=0 anyEnabled=1 anyDisabled=0vmmon: Fast clock thread started.
2010-02-23 22.14.08 kernel vmmon: HV check: anyNotCapable=0 anyUnlocked=0 anyEnabled=1 anyDisabled=0
2010-02-23 22.14.08 kernel vmmon: Cycles 74
2010-02-23 22.14.08 kernel vmmon: Module initialized.
2010-02-23 22.14.08 kernel vmmon: Registering for power state changes
2010-02-23 22.14.08 kernel FakeSMC: key not found BEMB, length - 1
2010-02-23 22.14.08 kernel AppleTyMCEDriver::start coreVIDPID = 0x2c418086 Number of packages = 1 Number of cpus = 8 memory monitor trough MCA
2010-02-23 22.14.08 vmnet-bridge[83] UUID: Unable to open /dev/mem: No such file or directory
2010-02-23 22.14.08 vmnet-bridge[83] Dynamic store changed
2010-02-23 22.14.08 vmnet-bridge[83] Failed to read SCproperties for key: State:/Network/Global/IPv4
2010-02-23 22.14.08 vmnet-bridge[83] Stopping bridge for:
2010-02-23 22.14.08 com.apple.launchd[1] (0x100100f90.anonymous.vmnet-netifup[87]) Failed to add kevent for PID 87. Will unload at MIG return
2010-02-23 22.14.08 kernel vmci: Loaded @ 0x774bf160: Info 0x774c8e40 Name com.vmware.kext.vmci Version 3.0.0 build-215242 at Dec 7 2009 17:45:19

If I understand this correctly, if you can't rebuild your kext cache you won't be able to make kext changes.

Try typing ls -ld / at a terminal prompt:

~$ ls -ld /
drwxr-xr-x 41 root wheel 1462 Feb 9 19:36 /
~$

You should have owner root and group wheel. If it isn't, type this at a prompt:

sudo chown root:wheel /

and then type your password when prompted.

Also found this for FakeSMC:

2010-02-23 22.14.08 kernel FakeSMC: key not found BEMB, length - 1
2010-02-23 22.14.08 kernel FakeSMC: key info not found MSDS, length - 6


And this for audio:

2010-02-23 22.36.58 kernel Not loading kext com.apple.driver.AppleHDAController - not found and kextd not available in early boot.

Anyone can shred some light?


Not sure about the FakeSMC message , but I have seen the AppleHDAController one. You probably have a few different HDA kexts and they are conflicting with each other. From your snippet above, you are loading AppleHDA.kext so that AppleHDAController.kext isn't needed at all. If I remember correctly, that is one of the names for the hdaenabler that is floating around. Move it to a backup directory.

Btw, which Gigabyte did you have again?

#506
star-affinity

star-affinity

    InsanelyMac Protégé

  • Members
  • PipPip
  • 67 posts

I had it happen a couple of time, I don't know why the bios resets either.



If I understand this correctly, if you can't rebuild your kext cache you won't be able to make kext changes.

Try typing ls -ld / at a terminal prompt:

~$ ls -ld /
drwxr-xr-x 41 root wheel 1462 Feb 9 19:36 /
~$

You should have owner root and group wheel. If it isn't, type this at a prompt:

sudo chown root:wheel /

and then type your password when prompted.



Not sure about the FakeSMC message , but I have seen the AppleHDAController one. You probably have a few different HDA kexts and they are conflicting with each other. From your snippet above, you are loading AppleHDA.kext so that AppleHDAController.kext isn't needed at all. If I remember correctly, that is one of the names for the hdaenabler that is floating around. Move it to a backup directory.

Btw, which Gigabyte did you have again?


Thank you very much for trying to helping me! I'm very thankful. :)

I'll check the permissions when I get home from work, but I think I did manage to do that change to the permissions of / some time ago, and haven't been the complaints in the log since then.

I have the GA-EX58-UD5 mobo (doesn't it show in the signature?)

Alright, so I'll try to remove AppleHDAController.kext.
Let's see what goes...

Thanks again!

Edit:
I checked the permissions on / and I had root:admin so I entered your command so now it's root:wheel.
I also decided to compare the /S/L/E folder of my Hack with the same folder on my girlfriends MacBook.

Below is the result including some arrows with questions.
There are a lot of printer kexts in the upper section (the MacBook) which you have to ignore.
I will try to add OSvKernDSPLib.kext to my Hack since it seems to miss that during boot.

What do you say about the other kexts that differ?
Thanks for your input!
Posted Image

#507
d00d

d00d

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 476 posts
  • Gender:Male
  • Location:41.648324, -70.635260
Post 1 updated;

14. Audio options A, B or C for the Realtek ALC889A used in the GA-EX58-UD4P, GA-EX58-UD5 and GA-EX58-EXTREME.
Not applicable to the Realtek ALC888 used in the GA-EX58-UD3R, GA-EX58-UD3R-SLI, GA-EX58-UD4 and GA-EX58-DS4, or the Realtek ALC889 used in the GA-X58A models.
A outputs analog 2.0.
B outputs analog 2.0 and digital 5.1.
C outputs analog and digital 5.1.
There are less sound assertion messages in kernel.log with B and C.

For the Realtek ALC889 GA-X58A models (post 677);
http://www.insanelym...p...0941&st=676
For the Realtek ALC888 GA-EX58 models (post 12);
http://www.insanelym...p...40941&st=11
VoodooHDA for all GA-X58A and GA-EX58 models;
http://forum.voodoop...board,10.0.html
...
or

C. Thanks to ANARCHiNTOSH for an AppleHDA 5.1 patcher (post 497);
http://www.insanelym...p...6771&st=496

#508
LocusOfControl

LocusOfControl

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 396 posts
  • Gender:Male
  • Location:SG9tZSBvZiB0aGUgbWVhdCBhbmQgcG90YXRvIHBpZQ==
Here is something I bet most people would never see

A real book on building a Hackintosh from a mainstream publisher

http://www.computerm....asp?ref=147649


I occasionally buy books from this site and they sent me an email offer on extra
discount, came across it while looking in the apple section


PS you can find it on amazon as well and have a search through it

#509
The Real Deal

The Real Deal

    InsanelyMac Legend

  • Donators
  • 835 posts
  • Gender:Not Telling
Someone have a fresh and clean dsdt based on F11 BIOS guys?

Thanks.

#510
d00d

d00d

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 476 posts
  • Gender:Male
  • Location:41.648324, -70.635260
Post 1 updated with ECC memory and over clock settings notes.

It's odd though, I am not overclocked. I'll do modification 5 and see what happens.

Thanks for the unmodified dsdt.dsl from GA-EX58-UD3R revision 1.6, there are no changes from revision 1.0.

#511
x.di

x.di

    InsanelyMac Protégé

  • Members
  • PipPip
  • 52 posts
I've made a better LegacyHDA.kext for 889a sound.
No assertions, every port work but no "Digital Out" - AppleHda just can't handle so much ports.
You will have working :

Front HDA Mic
Front HDA Headphone (swapped with Green Line Out)
---
Back Mic
Back Line In
Back Digital In
Back Line Out (4 ports)

In DSDT you must enter this lines :

Device (HDEF)
			{
				Name (_ADR, 0x001B0000)

				Method (_PRW, 0, NotSerialized)
				{
					Return (Package (0x02)
					{
						0x0D, 
						0x03
					})
				}

				Method (_DSM, 4, NotSerialized)
				{
					Store (Package (0x06)
						{
							"built-in", 
							Buffer (One)
							{
								0x01
							}, 

							"layout-id", 
							Buffer (0x04)
							{
								0x75, 0x03, 0x00, 0x00
							}, 

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

add LegacyHDA.kext in your /Extra/Extensions/ folder

The advantages of my LegacyHDA.kext that you will have "Ambient noise reduction" for MICs
and on ALL Line OUTs you will have CLEAR Sound with BASSES unlike other kexts that give you really bad sound without basses on lineouts...
The trick was to change in "pinconfig" all LineOuts to "Speaker"...
:P
Attached File  Picture_1.png   127.73KB   174 downloads
Attached File  Picture_2.png   81.68KB   160 downloads
Attached File  Picture_3.png   88.7KB   132 downloads
Attached File  LegacyHDA.kext.zip   9.35KB   213 downloads

#512
ANARCHiNTOSH

ANARCHiNTOSH

    Loldermort!!!!

  • Members
  • PipPipPipPip
  • 221 posts

I've made a better LegacyHDA.kext for 889a sound.
No assertions, every port work but no "Digital Out" - AppleHda just can't handle so much ports.


That sounds really good (no pun intended)! So you could get analog 7.1 surround using that kext....

Have you had a look at this method for 5.1 Analog & Digital:
http://www.infinitem...surround-t3746/
its what i wrote my patcher for.

id like to do a comparison when i get the time....

also, could you explain to me what LegacyHDA actually is? ive used it before, i just was wondering if its a tweaked AppleHDA thats been renamed....

@goblin gangstah
why do people buy AMD for hackintoshes? it really confuses me. you will find it really hard to get a stable system.
plus, 10 euros or a COD2 cd-key is the worst incentive ive ever heard.

#513
soemo

soemo

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts
  • Gender:Female
  • Location:UK
Ignore. See my contribution below.

#514
x.di

x.di

    InsanelyMac Protégé

  • Members
  • PipPip
  • 52 posts

also, could you explain to me what LegacyHDA actually is? ive used it before, i just was wondering if its a tweaked AppleHDA thats been renamed....


LegacyHDA is not modded AppleHDA. It is just DUMMY kext that injects info into your VANILLA AppleHDA.
So better to use LegacyHDA because you don't need to patch your AppleHDA every time Apple updates it.
The better explanation you can find here
http://www.insanelym...howtopic=140941
P.S.
You can use with my LegacyHDA and VANILLA AppleHDA ALL types of surround sounds in Mac Os :
5.1 Surround
6.1 Surround
7.1 Surround
7.1 Rear Surround
---
Quadraphonic
Hexagonal
Octagonal
:)
Attached File  Picture_1.png   117.18KB   93 downloads

#515
soemo

soemo

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts
  • Gender:Female
  • Location:UK
After a lot of hair pulling, a lot of reading and a lot of learning, I present to you my working solution for the GA-X58A-UD3R!

Sleep is working via power button. Audio is great and I've implemented d00d's edits.

Feel free to have a look, hopefully this will help someone out there. :D

Attached Files



#516
nateB

nateB

    InsanelyMac Protégé

  • Members
  • Pip
  • 21 posts
Many thanks for this post and the work.

I have an issue with the hard drives, all SATA. Does the patching to the DSDT change the power management setting with putting hard drives to sleep? It seems that even when unchecked in my Energy Saver settings, the drives try to go to sleep, causing lag when I need them and then clicking as the spin up again.

#517
apple_core

apple_core

    InsanelyMac Protégé

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

After a lot of hair pulling, a lot of reading and a lot of learning, I present to you my working solution for the GA-X58A-UD3R!

Sleep is working via power button. Audio is great and I've implemented d00d's edits.

Feel free to have a look, hopefully this will help someone out there. :)



Thanks! I'm looking at buying this board. Do the on board firewire ports with your dsdt and kexts?

#518
soemo

soemo

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts
  • Gender:Female
  • Location:UK

Thanks! I'm looking at buying this board. Do the on board firewire ports with your dsdt and kexts?



Firewire ports are listed in the System profiler. I'll try booting my Macbook Pro in target disk mode tonight and see if it works.

#519
d00d

d00d

    InsanelyMac Sage

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

LegacyHDA is not modded AppleHDA. It is just DUMMY kext that injects info into your VANILLA AppleHDA.
So better to use LegacyHDA because you don't need to patch your AppleHDA every time Apple updates it.
The better explanation you can find here
http://www.insanelym...howtopic=140941
P.S.
You can use with my LegacyHDA and VANILLA AppleHDA ALL types of surround sounds in Mac Os :
5.1 Surround
6.1 Surround
7.1 Surround
7.1 Rear Surround
---
Quadraphonic
Hexagonal
Octagonal
:)

Looks interesting, I'll check it out when I get some time.


Many thanks for this post and the work.

I have an issue with the hard drives, all SATA. Does the patching to the DSDT change the power management setting with putting hard drives to sleep? It seems that even when unchecked in my Energy Saver settings, the drives try to go to sleep, causing lag when I need them and then clicking as the spin up again.

You're welcome.
The DSDT changes don't affect the `Energy Saver:Put the hard disk(s) to sleep when possible' setting.


After a lot of hair pulling, a lot of reading and a lot of learning, I present to you my working solution for the GA-X58A-UD3R!

Sleep is working via power button. Audio is great and I've implemented d00d's edits.

Feel free to have a look, hopefully this will help someone out there. :D

Thanks.

#520
jhrfc

jhrfc

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 145 posts
  • Gender:Male
  • Location:london uk
Finally spent some time to get this going on my install and now have my EX58-UD5 working with sleep and nice low cpu temps etc.
I used d00ds premade dsdt and bios f92m with my i7 920 processor
A couple of questions:
I started with orangeiconfix, fakesmc,in extra and Realtek1000, and alc889a_v2 in extra system.
However I found I needed to add platformuuid to avoid uuid errors and KPs on wake from sleep.
I also needed to add openhaltrestart to get shutdown & restart.

I am using Chamelaon 2 rc 3 as a boot loader, do I need to use another bootloader to get rid of the two kexts above?

Also as I'm using the newer audio kext from aschar1 can I just install the mac pro audio update?

Cheers
Jon





3 user(s) are reading this topic

0 members, 3 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