InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   Snow Leopard 10.6 (http://infinitemac.com/forumdisplay.php?f=87)
-   -   [GUIDE] ALC889a (with analog 5.1 surround) (http://infinitemac.com/showthread.php?t=3746)

will1384 12-11-2009 04:46 PM

Here is how I got mine working, not sure if its going to work for
you, might give it a try, also I never had much luck with surround
sound on Realtek, not even using Windows


(1) Find and download "Taruga’s AppleHDA Patcher version 1.20"
(2) Find and download "VoodooHDA.kext"
(3) Make your own CODEC Dump in Linux buy typing this into the Terminal

"cat /proc/asound/card0/codec#0 > ~/Desktop/codec_dump.txt"

and use that file,

if you get nothing, try changing "codec#0" to "codec#1"
keep going up in numbers till you get the info.

Like

"cat /proc/asound/card0/codec#0 > ~/Desktop/codec_dump.txt"
"cat /proc/asound/card0/codec#1 > ~/Desktop/codec_dump.txt"
"cat /proc/asound/card0/codec#2 > ~/Desktop/codec_dump.txt"

(Hint) the Ubuntu Install CD works just fine for this

(4) Find and download "Kext Utility"
(5) Drag "VoodooHDA.kext" onto "Kext Utility" to install
(6) Make a backup copy of "AppleHDA.kext", its in "/System/Library/Extensions"
(7) Drag "codec_dump.txt" onto "AppleHDA Patcher" to install

Elventanis 12-11-2009 04:58 PM

Quote:

Originally Posted by will1384 (Post 40928)
Here is how I got mine working, not sure if its going to work for
you, might give it a try, also I never had much luck with surround
sound on Realtek, not even using Windows


(1) Find and download "Taruga’s AppleHDA Patcher version 1.20"
(2) Find and download "VoodooHDA.kext"
(3) Make your own CODEC Dump in Linux buy typing this into the Terminal

"cat /proc/asound/card0/codec#0 > ~/Desktop/codec_dump.txt"

and use that file,

if you get nothing, try changing "codec#0" to "codec#1"
keep going up in numbers till you get the info.

Like

"cat /proc/asound/card0/codec#0 > ~/Desktop/codec_dump.txt"
"cat /proc/asound/card0/codec#1 > ~/Desktop/codec_dump.txt"
"cat /proc/asound/card0/codec#2 > ~/Desktop/codec_dump.txt"

(Hint) the Ubuntu Install CD works just fine for this

(4) Find and download "Kext Utility"
(5) Drag "VoodooHDA.kext" onto "Kext Utility" to install
(6) Make a backup copy of "AppleHDA.kext", its in "/System/Library/Extensions"
(7) Drag "codec_dump.txt" onto "AppleHDA Patcher" to install

Thanks Will, I will try that later on tonight. I will need to install ubuntu first though, as I currently don't have an install of that anywhere. No big deal. I will report back on how that goes.

will1384 12-11-2009 05:12 PM

Quote:

Originally Posted by Elventanis (Post 40930)
Thanks Will, I will try that later on tonight. I will
need to install ubuntu first though, as I currently don't have an install of
that anywhere. No big deal. I will report back on how that goes.

One of the things I love about Ubuntu is you don't even have to install it,
it works as a Live CD, just boot the CD, and it takes you to the desktop,
from there you have a usable GUI and even have access to Firefox, and
it seams to auto-detect and setup most network hardware, it great for
fixing things

Elventanis 12-12-2009 08:38 AM

Will, when try the cat command in Ubuntu, I did not see the codec#0 etc. After navigating down the directories I see ac97#0-0

Not sure why I am seeing that cause I have the HD Audio connected. Should I change the commands above to this instead? thx

will1384 12-12-2009 09:52 AM

It should work just by typing, and you can always copy and paste

"cat /proc/asound/card0/codec#0 > ~/Desktop/codec_dump.txt"

and changing the "codec#0" part as needed like "codec#1"

"cat /proc/asound/card0/codec#1 > ~/Desktop/codec_dump.txt"

just keep going up in numbers, I just tried on a EP31 motherboard
I had to up go to "codec#2" like this

"cat /proc/asound/card0/codec#2 > ~/Desktop/codec_dump.txt"

You might have to delete the empty TXT files after an unsuccessful
attempt, maybe some how there not being overwritten buy the new
file each time

I am going to try a PC with non Realtek sound next, but it should work
the same way

Elventanis 12-12-2009 10:16 AM

I tried this using Ubuntu installed in a Virtual Machine via Sun Virtual Box. Maybe that is the reason I am having the issue. I will try to boot off the Ubuntu CD directly and see if that makes a difference I suppose.

When I type the commands, I actually get an error message that the directory/codec#1 etc does not exist. So the dump file is useless, cause the command errors out.

will1384 12-12-2009 10:40 AM

Quote:

Originally Posted by Elventanis (Post 40963)
I tried this using Ubuntu installed in a Virtual Machine via Sun Virtual Box. Maybe that is the reason I am having the issue. I will try to boot off the Ubuntu CD directly and see if that makes a difference I suppose.

When I type the commands, I actually get an error message that the directory/codec#1 etc does not exist. So the dump file is useless, cause the command errors out.

Virtual Machine wont work, the Virtual Machine sets up a fake environment,
Linux has to be running directly on your hardware.

Elventanis 12-12-2009 06:48 PM

Quote:

Originally Posted by will1384 (Post 40964)
Virtual Machine wont work, the Virtual Machine sets up a fake environment,
Linux has to be running directly on your hardware.

ok, thanks for the confirmation, I will try it again later on today after booting in from the Ubuntu live cd and report back.

I did try the steps on Post #1 of this thread last night since those files were already created etc, but I did not have any luck.

Also, I have not been able to find the 1.2 version of the Taruga software either. I need to keep looking for that.

I was testing my connectors last night, and sound is only coming thru the orange connector at this point, the green and black and sending no sound. If I switch out the green connector to the orange port, the sound switches to a different speaker. So it looks like the ports are not even enabled in my current config.

Thx

will1384 12-12-2009 10:39 PM

Quote:

Originally Posted by Elventanis (Post 40983)
I was testing my connectors last night, and sound is only coming
thru the orange connector at this point, the green and black and
sending no sound. If I switch out the green connector to the orange
port, the sound switches to a different speaker. So it looks like the
ports are not even enabled in my current config.

Thx

I believe the CODEC Dump should fix that, as it also has the input
and output jacks info, also Google is your friend on finding stuff,
look over here for Taruga’s AppleHDA Patcher version 1.20

AppleHDA Solution - Work in progress, Main Thread

Elventanis 12-12-2009 11:40 PM

Quote:

Originally Posted by will1384 (Post 41000)
I believe the CODEC Dump should fix that, as it also has the input
and output jacks info, also Google is your friend on finding stuff,
look over here for Taruga’s AppleHDA Patcher version 1.20

AppleHDA Solution - Work in progress, Main Thread

Will, I think I have everything you mentioned now. I have to run some quick errands and I will try the rest later on. Couple of questions for you in case you see this before I get back.

1. If I am patching the AppleHDA do I still need the VoodooHDA enabler?
2. My current DSDT file has pinconfiguration entries in it in the HDEF section. do I leave them there or should I remove them? I am thinking I need to remove them since the AppleHDA is being patched, but wanted to confirm.

From Ubuntu I had to use codec#2 to get the dump file.

Thanks again, for helping me thru this.