![]() |
Quote:
|
Thanks!
Thank you so much! I now have 5.1 surround sound working again over S/PDIF digital out!
|
Someone ported Sigmatel STAC9274D ?
Hi all,
thanks for that guide !! Very helpful and easy to follow. Anyway, yesterday I tried to port the AppleHDA for a STAC9247D but failed. I modified the ST9220 in the SL AppleHDA STAC9220 0x83847680 to STAC9274D 0x83847621 My DSDT points to that codec-id , and the pin-config is shown in SL system profiler. Audio-LayoutID is 4 (not 12) but if DSDT shows layout-id "4" too, it should be ok to copy-paste the layout 4 parts into the SL kext. Of course I also tried to modify that stuff with layout-id 12 and modified the DSDT to 12 (0x0c) too, but as expected, nothing better. Anyone here with success on that chip and can post the kext ? VoodooHDA is working here but suffers from sleep issues. Cheers |
Same issue as Jedric
2 Attachment(s)
Jedric (or anyone who can help),
I have a similar issue that you have in that I get the device ID as "0x1458A002". Have you made any progress? I any case could you send me a copy of the DSDT your using prehaps it will help be debug the compile erros I'm getting. (my DSDT is attached if someone can help, it is compiled without the HDEF code changes and is fully functional for HPET, RTC, DTGP, USB fix and Snow Leopard is fully functional with the exception of sound and SATA requiring ACHIinject.kext [I'll fix the ACHI later]) However when I change the the 'generic' HDEF code on this thread I get Quote:
"Intel High Definition Audio: Device ID: 0x1458A002 Audio ID: 12 Available Devices: " And the added_hdef_compile_erros_dsdt in which I have changed the HDEF code to that on this thread but get errors as listed above. Any help would be great. Thanks in advance and apologies for my lack of understanding I have only started trying to patch my own DSDT a week ago so I'm still on a steep learning curve. |
mormegil....
It shouldnt matter but as long as all the locations that state layout ID are 889 vs your 12 it should still work right ? my dsdt is coded with layout-id as 79 03 00 00 and a codec-id of 89 08 EC 10 so I followed all your steps, hexedit found all 4 locations with 8508ec10 and replaced with 8908ec10 edited the two plists as show in the post. still no go. the 1.5.7a24 AppleHDA and my dsdt file I get audio in SL. but the edited AppleHDA from a SL install does not work. Any ideas? thanks |
mormegil-
I have been going down the same paths as airwalk over and over. Here are two messages that I get over and over on boot: Quote:
|
Yes. Layout id doesn't matter as long as you keep it consistent i.e: If your layout id in DSDT is 79 03 00 00 (byte-flipped) => 00 00 03 79 (hex) => 889 (decimal), you will need to use layout-id 889 in plist.
@airwalk: You sure that is your codec id? Have you dumped it yourself? ALC889 shares the same codec id as ALC885 afaik. Try not to hexedit the binary and see. |
1 Attachment(s)
mormegil-
airwalk and I have the same setup. check my linux dump below. we are 889, not 889a. |
2 Attachment(s)
mormegil...
I am 100 % sure this is the correct codecID since the codec dump I have ( taken by using a linux live dvd) Vendor Id: 0x10ec0889 ie...283904137 which is what is coded in the working applehda. take a look a these dumps I have from when I patched the applehda for 10.5.6 (these dumps are from my board not downloaded from someone else) Codec: Realtek ALC889 Address: 2 Vendor Id: 0x10ec0889 Subsystem Id: 0x10de0175 Revision Id: 0x100004 Then based on the dump I generated the verbs. Question could this be caused by config data not matching pathmaps data? BTW I tested without changing the hex values and no luck. thank you |
Hmm.. You're right.
Did you inject configdata into dsdt? Might be that or your pathmaps are wrong. Just to confirm, did you use the same PathMapID under "Layouts" and "Pathmaps" in AppleHDAPlatformDriver.kext? |
yeap its the same pathmapid in both places.
I'll double check the dsdt. |
Airwalk did the AppleHDA leopard kext you're using ever list all of the audio configs in system profile?
|
the reason I was asking that airwalk is because I never had leopard on this board so I have been using your leopard kext that you posted on another forum and after comparing my modified SL kext with some of the others I have seen here I realize that I have significantly less child nodes in my modified sections than other people do...
|
1 Attachment(s)
when using the old applehda I think its version 1.5.7.... I allways get system profiler to show the ports correctly.
see screenshot of this applehda 1.5.7 running in SL and it looked the same in Leopard also. |
mormegil-
I tried another approach, using lagacyapplehda files I port the same config to the lagacy files and put it in /extra/extensions and put the stock applehda in /S/L/E. in doing so I was able to set the system profiler to show all the ports but in system prefs. there are no inputs and outputs to select from. any thoughts ? |
Alright Mormegil, been a while m8, all good with you?
Since the 10.6.2 update messed up my audio I was wondering if you could take a look at my already slightly (but apparently non working) modded AppleHDA kext. http://www.mediafire.com/file/mikkmb25bzz/AppleHDA.zip Thx in advance bud ps. using AppleHDA v10.6.1 for now |
1 Attachment(s)
ok everyone with the evga x58 mobo here is the solution to get HDA working in 64 bit mode.
voodoohda.kext haha just kidding..... 1st thank you to everyone that helped in getting this done. 2nd remove and voodoohda you have what is accomplished. 32 and 64 bit audio using stock applehda.kext in /S/L/E you must have your dsdt.aml patched with the following info codec-id", Buffer (0x04) { 0x89, 0x08, 0xEC, 0x10 }, "layout-id", /**** Is ResourceTemplate, but EndTag not at buffer end ****/ Buffer (0x04) { 0x79, 0x03, 0x00, 0x00 Install the stock applehda.kext in /S/L/E ( I used the one from 10.6.2 update) using kext utilities 2.3.2 and install the attached LegacyHDA.kext in /Extra/Extensions using kext utilities 2.3.2 update mkext. it will give you 4 outs and 2 ins. testing in 32 and 64 bit mode. the advantage of doing it this way (at least for me) is that I dont have any modified kexts in /S/L/E. give it a shot and report back. Good Luck |
i will test it out and report back in a few, you're the man airwalk
|
Confirmed working. Hopefully netkas has an epiphany that he should make evga x58 boards sleep sometime soon. In the meantime lets plug away, did you ever have sleep working in 10.5?
|
Quote:
I have to do it for my own codec anyway so took some time to do it for yours too. 10.6.1/10.6.2 AppleHDA patched for ALC889A http://www.mediafire.com/file/gm25ym...leHDA_889a.zip |
Muchos Gracias Hombre
Installing right away. Update: working perfectly after rebuilding Aggregate device bro, thx again |
thx for the info
|
OMG! it works!
Hi guys,
i got ALC262 (VAIO FW139E/H), confirming that this work! BTW i have installed the following kext as well: ALCInject.kext and HDAEnabler.kext. Thank you very much mormegil! atleast my sound works, though i have no mic and HDMI output but hey its better than none. ^_^ |
p6860fx laptop no sound still :(
Could someone please help me? I own a gateway p6860fx laptop. I followed this excellent guide in attempts to get my sound working. I hex edited the applehda using B0 76 1D 11 which matches the Subsystem Id from the codec#1 in this below linux audio dump. It also matches the Vendor ID from the codec#2 linux dump below.
I have pasted my linux dump and DSDT audio patch. Could someone please advise me to maybe why my audio still doesn't work. Sound was fine in Leopard and I modified a Vanilla Snow AppleHDA kext per the guide here. Thanks in advance!! Linux Dump: Code:
Codec: LSI ID 1040 Code:
Device (HDEF) |
2 Attachment(s)
Thanks, mormegil, your AppleHDA kext works well in my system (EP35-DS3r with ALC889a).
I attach a AppleHDA.kext > Contents > Resources > Spanish.lproj folder to include into the kext for anybody who likes to see device names in spanish instead of english. Thanks again. |
Hi,
I can't get this to work, I've spent hours and hours trying :/ I have a Foxconn Blackops with ALC885. Patched DSDT as such: Code:
Device (HDEF) Layout ID is correct (12) for ALC885 in both DSDT and plists. On boot I always get: Code:
Nov 19 11:04:04 localhost kernel[0]: Sound assertion "0 != setupHostInterrupt ()" failed in "/SourceCache/AppleHDA/AppleHDA-179.1.4/AppleHDAController/AppleHDAController.cpp" at line 312 goto Exit Working Leopard kext plist: http://82.113.155.91/leopard-info.plist Hacked SL plists: AppleHDAHardwareConfigDriver-info.plist AppleHDAPlatformDriver-info.plist edit: fixed links! If anyone can give me a clue as to where I might be going wrong I'd be very grateful, this is driving me nuts :/ I can get sound with VoodooHDA but only through the headphone socket, no lineout :/ Thanks! |
Tried adding HDAEnabler.kext to /Extra/Extensions as a potshot but it still fails.
Code:
Nov 19 11:57:34 localhost kernel[0]: HDAEnabler: Copyright (c) 2008 by Kabyl |
Device (HDEF) code should be just this: http://www.infinitemac.com/f57/guide...post35175.html
Your plist looks fine. Only thing is the configdata in the first plist doesn't match the one in your dsdt. Try them both but only in plist. DO NOT have it in your dsdt. |
Thanks I will try this when i get home in a few hours and report back :)
|
Still not working :( Pretty sure DSDT is correct now:
Code:
Device (HDEF) Any ideas? kext plists are unchanged from my first post |
Interestingly enough, if I leave DSDT with AZAL in it rather than HDEF like this:
Code:
Device (AZAL) I'm lost.. i've spent over 3 days messing around with this, i'm almost ready to give up and buy an Xmod :( |
Care to post the other Leopard plist? The one containing Configdata
|
leo-HDAController-info.plist
I did actually try putting this block into HDAController/Info.plist in the snow leopard AppleHDA.kext last night: Code:
<key>HDAConfigDefault</key> |
Your DSDT is fine since you say all ports show up in System Profiler.
I've checked your Leo and SL plists. They all add up too. I'm afraid there's nothing much I can help here. Sorry. You sure you installed the kext correctly? Rebuild cache, etc.? |
mymayin,
Try this, download the LegacyHDA file Airwalk posted here http://www.infinitemac.com/f57/guide...981/page7.html modify it using your working Leo data, you know HDAController, Layouts and Pathmaps. Put the LegacyHDA in your Extra folder and trash your extensions.mkext and rebuild it with mkextTool, replace your modify AppleHDA with a vanilla file from SL. It should work and it's a better solution because it maintains AppleHDA untouched no need to modify it every time you update your OS. Don't forget to remove any other audio file i.e. VoodooHDA and any other enabler. Build your DSDT the way he did it don't put the pin configuration, keep it simple for now "codec-id" and "layout-id". Good Luck |
Still not working :(
I think my DSDT might be wrong somehow, I don't see any devices in Profiler->Audio, just the device id and layout id (both are correct). it says Devices: but the listing is blank. Vanilla AppleHDA.kext is failing to load. Code:
Device (HDEF) |
So you put the legacyHDA.kext in Extra and rebuild the extensions.mkext reboot and still nothing, that's odd.
Did you add this to your DSDT? DTGP code, read The King's guide, you probably did because the compiler would complain if you didn't. http://www.projectosx.com/forum/inde...topic=465&st=0 Are you using Chameleon? what version is it? |
Yeah I did all that, I'm using Chameleon 2.0RC1. I'll see if there's a later version..
|
update to netkas's pc-efi 10.5 bootloader
|
still no luck with pc-efi 10.5, same errors on boot :(
Code:
Nov 20 21:16:46 localhost kernel[0]: Sound assertion "0 != setupHostInterrupt ()" failed in "/SourceCache/AppleHDA/AppleHDA-179.1.4/AppleHDAController/AppleHDAController.cpp" at line 312 goto Exit |
I noticed I don't have anything pointing to AZAL or HDEF in the _GPE section of the DSDT. Could this be the problem?
eg: http://www.insanelymac.com/forum/ind...owtopic=184692 there the guy has: Code:
Method (_L05, 0, NotSerialized) Code:
Scope (_GPE) |
There should be 2 instances of AZAL replaced to HDEF. I thing you are close
|
I figured out the missing part, I added HDEF to the _L0D method:
Code:
Method (_L0D, 0, NotSerialized) But still no sound with AppleHDA :( |
Here it's mine:
Code:
|
This is too much of a headache, i give up, im buying an Xmod
|
Hey!, thanks for this sweet guide, it really helped me port the applehda kext to work for my alc888! :D
|
Ok I'm following TheKing's guide, but I'm stuck on how to convert the output from VerbIt to the encoded format used in the ConfigData parameter in Info.plist:
Code:
Verbs from Linux Codec Dump File: codec_dump.txt AUccEAFHHUABRx4RAUcfAQFXHBIBVx0gAVce AQFXHwEBZxwRAWcdYAFnHgEBZx8BAXccFAF3 HRABdx4BAXcfAQGHHDABhx2ZAYceoQGHHwEB lxw/AZcdkAGXHqEBlx8CAaccMQGnHTEBpx6B AacfAQG3HB8Btx1AAbceIQG3HwIBxxwyAccd AQHHHjMBxx+ZAdccAAHXHQEB1x4AAdcfQAHn HGAB5x0BAeceRQHnH4EB9xwAAfcdAQH3HgAB 9x9A Thanks.. |
NM figured it out, wish me luck :)
|
Alc 262 for snow leopard..please!!!
Hi everyone...tks for a lot help!!!
I need ask a very great favor: send me by mail or download link, the compiled kexts that i need replace in Snow [email protected] ALC262 SONY VAIO VGN-NS150AE Im a inexperient user to compiled my on, so sorry my bad english... Best regards...i hope some mail about that!!! TKS!!!! |
Please My firends...post kext....ALC 262
Please...i need that kext modified...AppleHDA.kext for my ALC262...
I suplies for help...just post or send by mail...im very tired to look around (google) Thanks... |