Jump to content

EX58-UD5, 64-bit SL: Need instructions on how to get SPDIF (digital audio) working plz (e.g. dsdt exact instructions)


drpewpew
 Share

12 posts in this topic

Recommended Posts

Hi - I would like to get the SPDIF out working on my Gigabyte EX58-UD5 based hackintosh. I read that this could be achieved via DSDT. Could someone post an exact guide on what i need to do please? Been googling and searching like crazy with no success :P

Link to comment
Share on other sites

Hi - I would like to get the SPDIF out working on my Gigabyte EX58-UD5 based hackintosh. I read that this could be achieved via DSDT. Could someone post an exact guide on what i need to do please? Been googling and searching like crazy with no success :(

 

You have ALC889a.

Try my work http://www.insanelymac.com/forum/index.php?showtopic=140941

If it work for you, please tell me. I will make it in a list.

Link to comment
Share on other sites

OK so i took a deep breath and followed your instructions. So far I have patched my DSDT and about this mac shows:

 

Intel High Definition Audio:

 

Device ID: 0x1458A102

Audio ID: 885

Available Devices:

External Microphone:

Connection: 1/8-Inch Jack

External Microphone:

Connection: 1/8-Inch Jack

Line In:

Connection: 1/8-Inch Jack

Headphone:

Connection: 1/8-Inch Jack

Speaker:

Connection: 1/8-Inch Jack

Line Out:

Connection: 1/8-Inch Jack

Line Out:

Connection: 1/8-Inch Jack

Line Out:

Connection: 1/8-Inch Jack

S/P-DIF Out:

Connection: Combo

S/P-DIF In:

Connection: Combo

 

However, in system preferences / sound no output devices are found.

 

I am not sure which kexts to use. I am using digital dreamers patch installer and currently have vanilla AppleHDA.kext going to system and LegacyHDA.kext from your post 4 out 2 in going to extra. Is that how i should have it or should i be using a patched AppleHDA (if so which one)? Also should i be using HDAEnabler.kext too - if so which one and does that go in extra?

 

I sense i'm close to getting this going - please help ;)

 

 

I think my issue is in the Vanilla AppleHDA.kext I am using from your post. It does not support 64 bit it seems. Do you know where i can get a valid AppleHDA for 64 bit? Here is the error text from system.log:

 

Nov 4 00:35:52 Amir-Khans-Mac-Pro com.apple.kextcache[172]: /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/IOHDAFamily.kext doesn't support architecture x86_64; omitting from prelinked kernel.

Nov 4 00:35:52 Amir-Khans-Mac-Pro com.apple.kextcache[172]: /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAController.kext doesn't support architecture x86_64; omitting from prelinked kernel.

Nov 4 00:42:31 Amir-Khans-Mac-Pro com.apple.kextd[10]: Can't load AppleHDAController.kext - no code for running kernel's architecture.

Nov 4 00:42:31 Amir-Khans-Mac-Pro com.apple.kextd[10]: Failed to load AppleHDAController.kext - (libkern/kext) requested architecture/executable not found.

Nov 4 00:42:31 Amir-Khans-Mac-Pro com.apple.kextd[10]: Load com.apple.driver.AppleHDAController failed; removing personalities.

Nov 4 00:43:53 Amir-Khans-Mac-Pro com.apple.kextd[10]: Can't load /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAController.kext - no code for running kernel's architecture.

Nov 4 00:43:53 Amir-Khans-Mac-Pro com.apple.kextd[10]: Failed to load /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAController.kext - (libkern/kext) requested architecture/executable not found.

Nov 4 00:43:53 Amir-Khans-Mac-Pro com.apple.kextd[10]: Load com.apple.driver.AppleHDAController failed; removing personalities.

Link to comment
Share on other sites

OK so i took a deep breath and followed your instructions. So far I have patched my DSDT and about this mac shows:

 

Intel High Definition Audio:

 

Device ID: 0x1458A102

Audio ID: 885

Available Devices:

External Microphone:

Connection: 1/8-Inch Jack

External Microphone:

Connection: 1/8-Inch Jack

Line In:

Connection: 1/8-Inch Jack

Headphone:

Connection: 1/8-Inch Jack

Speaker:

Connection: 1/8-Inch Jack

Line Out:

Connection: 1/8-Inch Jack

Line Out:

Connection: 1/8-Inch Jack

Line Out:

Connection: 1/8-Inch Jack

S/P-DIF Out:

Connection: Combo

S/P-DIF In:

Connection: Combo

 

However, in system preferences / sound no output devices are found.

 

I am not sure which kexts to use. I am using digital dreamers patch installer and currently have vanilla AppleHDA.kext going to system and LegacyHDA.kext from your post 4 out 2 in going to extra. Is that how i should have it or should i be using a patched AppleHDA (if so which one)? Also should i be using HDAEnabler.kext too - if so which one and does that go in extra?

 

I sense i'm close to getting this going - please help ;)

 

Did you use LegacyHDA.kext that has layout-id = 885? Install it into /Extra/Extensions. The info you got, it injected from DSDT. It must be from info.plist.

Link to comment
Share on other sites

yup im using the legacyhda you mentioned. i get this error very early on when booting:

 

04/11/2009 01:18:42 kernel Not loading kext com.apple.driver.AppleHDAController - not found and kextd not available in early boot.

 

then if i look in my system.log after boot i see the following:

 

Nov 4 01:16:18 Amir-Khans-Mac-Pro com.apple.kextd[10]: Can't load AppleHDAController.kext - no code for running kernel's architecture.

Nov 4 01:16:18 Amir-Khans-Mac-Pro com.apple.kextd[10]: Failed to load AppleHDAController.kext - (libkern/kext) requested architecture/executable not found.

Nov 4 01:16:18 Amir-Khans-Mac-Pro com.apple.kextd[10]: Load com.apple.driver.AppleHDAController failed; removing personalities.

Nov 4 01:17:45 Amir-Khans-Mac-Pro com.apple.kextd[10]: Can't read info dictionary for AppleHDAPlatformDriver.kext: IOCFUnserialize: syntax error near line 7750.

Nov 4 01:17:47 Amir-Khans-Mac-Pro com.apple.kextd[10]: Can't load AppleHDAController.kext - no code for running kernel's architecture.

Nov 4 01:17:47 Amir-Khans-Mac-Pro com.apple.kextd[10]: Failed to load AppleHDAController.kext - (libkern/kext) requested architecture/executable not found.

Nov 4 01:17:47 Amir-Khans-Mac-Pro com.apple.kextd[10]: Load com.apple.driver.AppleHDAController failed; removing personalities.

Nov 4 01:18:56 localhost com.apple.kextd[10]: Can't load /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAController.kext - no code for running kernel's architecture.

Nov 4 01:18:56 localhost com.apple.kextd[10]: Failed to load /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAController.kext - (libkern/kext) requested architecture/executable not found.

Nov 4 01:18:56 localhost com.apple.kextd[10]: Load com.apple.driver.AppleHDAController failed; removing personalities.

 

 

Any ideas? im on 64bit and in the dd kext install script it does show the applehda as being i386.. could this be the problem?

Link to comment
Share on other sites

yup im using the legacyhda you mentioned. i get this error very early on when booting:

 

04/11/2009 01:18:42 kernel Not loading kext com.apple.driver.AppleHDAController - not found and kextd not available in early boot.

 

then if i look in my system.log after boot i see the following:

 

Nov 4 01:16:18 Amir-Khans-Mac-Pro com.apple.kextd[10]: Can't load AppleHDAController.kext - no code for running kernel's architecture.

Nov 4 01:16:18 Amir-Khans-Mac-Pro com.apple.kextd[10]: Failed to load AppleHDAController.kext - (libkern/kext) requested architecture/executable not found.

Nov 4 01:16:18 Amir-Khans-Mac-Pro com.apple.kextd[10]: Load com.apple.driver.AppleHDAController failed; removing personalities.

Nov 4 01:17:45 Amir-Khans-Mac-Pro com.apple.kextd[10]: Can't read info dictionary for AppleHDAPlatformDriver.kext: IOCFUnserialize: syntax error near line 7750.

Nov 4 01:17:47 Amir-Khans-Mac-Pro com.apple.kextd[10]: Can't load AppleHDAController.kext - no code for running kernel's architecture.

Nov 4 01:17:47 Amir-Khans-Mac-Pro com.apple.kextd[10]: Failed to load AppleHDAController.kext - (libkern/kext) requested architecture/executable not found.

Nov 4 01:17:47 Amir-Khans-Mac-Pro com.apple.kextd[10]: Load com.apple.driver.AppleHDAController failed; removing personalities.

Nov 4 01:18:56 localhost com.apple.kextd[10]: Can't load /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAController.kext - no code for running kernel's architecture.

Nov 4 01:18:56 localhost com.apple.kextd[10]: Failed to load /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAController.kext - (libkern/kext) requested architecture/executable not found.

Nov 4 01:18:56 localhost com.apple.kextd[10]: Load com.apple.driver.AppleHDAController failed; removing personalities.

 

 

Any ideas? im on 64bit and in the dd kext install script it does show the applehda as being i386.. could this be the problem?

 

04/11/2009 01:18:42 kernel Not loading kext com.apple.driver.AppleHDAController - not found and kextd not available in early boot.

This one is normal since LegacyHDA.kext's loaded before.

 

I have no idea about other errors. Can you tell me the version of AppleHDA.kext? Do you have HDAEnabler.kext in /S/L/E or /E/E. Please tell me what are in /E/E.

Link to comment
Share on other sites

really appreciate your help.

 

AppleHDA.kext i am using is the one from your thread.. the vanilla one for SL. It is v1.6.2a37

I have tried a number of LegacyHDA kexts but they are all from your thread and are from the 885 directory in this file: http://www.insanelymac.com/forum/index.php...st&id=53274

 

I do not have HDAEnabler.kext since i did the DSDT patch.

 

In my /Extra directory there is no second E directory.. there is a Stored_Kexts and in that are the following:

AppleIntelPIIXATA.kext

PlatformUUID.kext

IOAHCIBlockStorageInjector.kext

SleepEnabler.kext

LegacyHDA.kext

_For_System

NullCPUPowerManagement.kext

fakesmc.kext

OpenHaltRestart.kext

 

Is that the info you were looking for?

 

Cheers,

Drpewpew

Link to comment
Share on other sites

really appreciate your help.

 

AppleHDA.kext i am using is the one from your thread.. the vanilla one for SL. It is v1.6.2a37

I have tried a number of LegacyHDA kexts but they are all from your thread and are from the 885 directory in this file: http://www.insanelymac.com/forum/index.php...st&id=53274

 

I do not have HDAEnabler.kext since i did the DSDT patch.

 

In my /Extra directory there is no second E directory.. there is a Stored_Kexts and in that are the following:

AppleIntelPIIXATA.kext

PlatformUUID.kext

IOAHCIBlockStorageInjector.kext

SleepEnabler.kext

LegacyHDA.kext

_For_System

NullCPUPowerManagement.kext

fakesmc.kext

OpenHaltRestart.kext

 

Is that the info you were looking for?

 

Cheers,

Drpewpew

 

AppleHDA.kext v1.6.2a37 is working only on 32bit and it is from Leo. You need to get a vanilla AppleHDA.kext from SL DVD.

Link to comment
Share on other sites

Woot - it worked! Thanks so much for your help :P

 

FYI initially i used 3 out 2 in and i got no sound. I then tried 4 out 2 in and it's come to life!

 

I'm using applehda.kext 1.7.4a1.

 

I'll write back here tomorrow when i've tested the sound more - it's 3.10am and i have to get up for work in just 3 hrs :D

Link to comment
Share on other sites

All seems to be working well. I can manually switch from optical out to headphones out (the connector on the front of my PC) - is this meant to be automatic? Also, the volume control in the bar at the top of the screen is greyed out when i am on optical out. It is also greyed out in system preferences / sound with the message that 'the selected device has no output controls'... is this normal?

Link to comment
Share on other sites

All seems to be working well. I can manually switch from optical out to headphones out (the connector on the front of my PC) - is this meant to be automatic?

 

A: You have to switch between optical and headphone or output manually.

 

Also, the volume control in the bar at the top of the screen is greyed out when i am on optical out. It is also greyed out in system preferences / sound with the message that 'the selected device has no output controls'... is this normal?

 

A: I think it is normal for optical output.

Link to comment
Share on other sites

  • 1 month later...

I haven't read through this thread fully but I have the same problem with digital audio output from my video card via my DVI to HDMI cable. I have done some tests to verify where the problem lies and thought it helpful to post my results as some of the people posting seemed to me to be making some erroneous assumptions about how the audio works in this situation.

 

I hacked together an SPDIF header for the 2 pin internal header to test if it outputs sound at the same time as the external ones and can confirm that it does indeed output sound together with the external ones.

 

I had a suspicion that the video card drivers weren't passing through the sound as in Windows in the NVIDIA Control Panel there is an option for video output with or without audio. There appears to be a way to switch the audio pass through on/off via software that the OS X drivers don't allow. I would assume this is because there are no official Mac Pro NVIDIA cards with HDMI onboard and hence a requirement for this in Mac OS X.

 

Using my hacked SPDIF header I was able to test sound output from both the external and internal SPDIF outputs at the same time and can confirm that the problem lies with the NVIDIA card and its drivers. I was able to get sound from internal connector when it wasnt connected to the video card, so I can only assume the video card and its drivers are stopping the sound from being passed through via HDMI.

 

I dont know about anyone else but modifying drivers to get this to work is definitely not my bag. Is anyone else here capable of this sort of thing? Does it help that NVIDIA has some open source drivers?

Link to comment
Share on other sites

 Share

×
×
  • Create New...