InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   Leopard 10.5 (http://infinitemac.com/forumdisplay.php?f=85)
-   -   How Can I use All channels of ALC889a to have 5.1 surround? (http://infinitemac.com/showthread.php?t=1523)

Xenophage 11-05-2008 03:43 PM

More interesting reading from the ALSA project;

http://mailman.alsa-project.org/pipe...ly/009658.html

Not a hopeful sign. If the 889a is proprietary to Gigabyte with no published specs, I suppose there's not much hope of support for it from open-software types. To make matters worse, it appears as if there are two revisions of the 889a. Ugh.

If I'm reading it correctly, however, it seems as if ALSA treats all versions of the ALC889a as ALC883. Does anyone else get that from reading the link? Perhaps trying an ALC883 kext would help.

nexusmac 11-05-2008 10:12 PM

What happen to Taruga? what is worng with him?
now I dont feel foog , it is not good news.

I will try your kext , can you upload it ?

anc ALCinject.kext also , I need it.

do you get 5.1 surrond dolby sound ??

thanks for help.

Xenophage 11-05-2008 10:43 PM

1 Attachment(s)
Taruga has popped up in this thread on InsanelyMac;

http://forum.insanelymac.com/index.p...5&#entry953855


Attached, you'll find the kext I'm currently using. I tweaked it to provide a little more info, and to have ALCInject included inside it. That way, all you see is a single kext. Do the usual dance to install it. Remove any other ALCInject, or HDAEnabler you may have in your extensions.

I haven't been in a position to test the headphone output as yet. That would be the one that outputs from the header directly on the motherboard, and I lack the appropriate cable. If it works, that would make 6 channels of audio output available, and you could then create an aggregate device in Audio/MIDI Setup that would do 5.1.

nexusmac 11-06-2008 12:38 AM

I am really sorry about taruga, I hope he will be ok.
and ,I also wonder him issue.

and about you;

how did you hack to combine the ALCinject in AppleHDA.kext.

can you share your information to make better my mac knowledge. because I am a programmer but not for mac and, for 2 months , I am a mac lover because I left formatting windows and reinstalling:) Thanks god!get rid of for wasting of time.

anyway, my mainboard is GA-EP45-DS3R.

i am trying your solution , I hope it will work.

nexusmac 11-06-2008 12:51 AM

thanks for help.

your kext working alone and I like that. and I really want to know your hackin experience and knowledge about it.

another thing is your kext show which one is green and black port:)
that's cool:)

and I want to ask you I can get sound from them but How can I make 5.1 sound?

Xenophage 11-06-2008 03:26 PM

Glad it's working for you. The hacking was very simple, really. No coding required.

First, I found a proper codec dump for an ALC889 - not an 885 (someone on a linux board had posted it). Next, I simply used Taruga's HDA Patcher version 1.20 with it to get the channels working. Then, I noodled around inside the AppleHDA kext package for the strings that describe the various ports. Turns out it's all in the "localizable.strings" files in the various language subfolders. I sat here with headphones and audio cables figuring out which was which, and put the colors into the English localizable.strings file. Then, I noticed a Plugins folder inside the AppleHDA kext, which contained other kexts. I stuck ALCInject in there, and it all worked perfectly. It's still a separate kext, but it now lives inside the AppleHDA one. Happiness ensues.

See? Nothing earth-shattering or complicated. All just simple, pragmatic thinking.

Xenophage 11-06-2008 03:46 PM

Regarding 5.1 sound, you need to use Audio/Midi Setup in your Utilities folder. There's a tutorial for it here;

http://forum.insanelymac.com/index.php?showtopic=87336

...complete with screenshots. If you find that your headphone outputs are working, that will give you a total of 6 channels to work with, which will enable you to create an aggregate device which outputs 5.1. Then, plug the various speakers into the right plugs and you're good to go. In theory.

nexusmac 11-06-2008 06:15 PM

2 Attachment(s)
thanks for information:)

and there is strange thing. I tested another kext after they failed, I re-install your kext and know your kext does not work for me:)

I dont understand what is changed. I can say there is no problem. I checked any old installation kext and If I found , I removed them. I can say all kext installation is clear.

now I am trying another taruga kext and I want to send my linux dump for alc889a and If you want to try it I am uploading.

these are mine dump files. one of them is IntelHDA_5and1.txt and I dumped after installation of realtek driver and I tested on linux 5.1 waas working then I dumped.

the another one is same after latest driver installation , I dumped for any changes but they didnt solved my problem.

now, currently your hda also does not work.

I just want to get 5.1 ,Why I can get , I dont understand , is there any other way?

nexusmac 11-06-2008 06:16 PM

the tutorial that you told me , I knew that I do after each kext installation. :) but it didnt work also:) I cant get the volume as enabled situation. they seems but they are disabled.

Xenophage 11-06-2008 07:11 PM

You're positive you did everything you needed to to change your kexts? Something must be different. When I change kexts, I usually use the OSx86Tools application to make sure I've remembered everything. I usually check the following;

Set Extensions Permissions
Clear Extensions Cache
Touch Extensions Folder

...then I click "Run Selected Tasks," and reboot. Always works for me.

I currently know of no other way to get 5.1 sound working with an 889a, and in fact I have not done so myself. So far, I've only checked four channels in and out.

Also, notice your dumps both say 885. I'm not sure why they work under linux better than they would on OSx86. We'll just have to wait patiently for help from Taruga.