Help - Search - Members - Calendar
Full Version: EX58-UD5, 64-bit SL: Need instructions on how to get SPDIF (digital audio) working plz (e.g. dsdt exact instructions)
InsanelyMac Forum > OSx86 Project > Hardware and Drivers > Sound
drpewpew
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 sad.gif
tmongkol
QUOTE (drpewpew @ Nov 3 2009, 08:56 AM) *
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 sad.gif


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.
drpewpew
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 smile.gif


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.
tmongkol
QUOTE (drpewpew @ Nov 4 2009, 07:39 AM) *
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 smile.gif


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.
drpewpew
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?

tmongkol
QUOTE (drpewpew @ Nov 4 2009, 08:24 AM) *
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.
drpewpew
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
tmongkol
QUOTE (drpewpew @ Nov 4 2009, 09:19 AM) *
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.
drpewpew
Woot - it worked! Thanks so much for your help smile.gif

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 sad.gif
drpewpew
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?
tmongkol
QUOTE (drpewpew @ Nov 4 2009, 11:50 PM) *
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.