Jump to content
204 posts in this topic

Recommended Posts

Edit: The following guide is for getting ALC882 sound out working. The process may work with any ALC8xx chipset with a few changes. See the Appendix at the end of the guide for how to make those changes.

 

The Guide

 

I have yet to see the definitive guide here on getting ALC882 sound working. The best one I've seen comes from aRt on another forum and this is it (with some modifications):

 

How to get HD audio working - sound for ya!!!

 

1) Backup AppleHDA.kext:

In Terminal, type:
cd /System/Library/Extensions
sudo mkdir audio_backup
sudo mv AppleHDA.kext audio_backup/

2) Edit AppleAzaliaAudio.kext:

In Terminal, type:
cd /System/Library/Extensions
sudo pico AppleAzaliaAudio.kext/Contents/Info.plist

Search for
IOHDAudioCodecVendorID
(press
Ctrl + W
)

 

Find:
<key>IOHDAudioCodecVendorID</key>

<string>0x10ec0880</string>

Change <string>0x10ec088
0
</string> -- to -- <string>0x10ec088
2
</string>

 

Exit pico: press
Ctrl + O
to save and then
Ctrl + X
to exit
In Terminal, type:
sudo pico AppleAzaliaAudio.kext/Contents/PlugIns/AppleAzaliaController.kext/Contents/Info.plist

Search for
IOPCIPrimaryMatch
(press
Ctrl + W
)

 

Find:
<key>IOPCIPrimaryMatch</key>

<string>0xNNNN8086</string> (where NNNN are any 4 characters)

Change <string>0x
NNNN
8086</string> -- to -- <string>0x
27d8
8086</string>

(
note
: for ALC882, the string is probably correct without any edit)

 

Exit pico: press
Ctrl + O
to save and then
Ctrl + X
to exit

3) Clean up the system:

In Terminal, type:
sudo diskutil repairpermissions /
sudo chown -R root:wheel AppleAzaliaAudio.kext
sudo chmod -R 755 AppleAzaliaAudio.kext
cd /System/Library
sudo rm -rf Extensions.mkext Extensions.kextcache

4) Then, reboot and enjoy sound out of two channels.

 

 

Appendix

 

The following information might help you get your ALC8xx sound out working. The strings that are replaced in the guide above are for Realtek ALC882 only. For other versions of ALC8xx sound or if you are having trouble getting ALC882 sound working, we need to determine the vendor and device ids of the audio device and the audio hub. There are no guarantees that this will get your sound working, but I am pretty sure this also works for ALC880, ALC888, ALC861 and maybe others.

 

To do this, go into Windows, then go to Device Manager:

 

Step A. Under "Sound, video and game controllers", select "Realtek High Definition Audio". Get Properties and then click on the Detail tab. Record the vendor and device ids.

 

As an example, in this picture, the set of id's are vendor = "10EC" and device = "0882"

post-38728-1156607641_thumb.jpg

 

Step B. Under "System devices", find "Microsoft UAA Bus Driver For High Definition Audio" and also get the vendor and device ids.

 

In this picture, the set of id's are vendor = "8086" and device = "27D8"

post-38728-1156607700_thumb.jpg

 

Now, using The Guide above, substitute the following:

 

Instead of the string "0x10ec0882", use a new string constructed from the vendor id and device id from Step A. above.

It should be of the form 0x + (vendor id) + (device id). Like: 0x + 10ec + 0882 = 0x10ec0882

 

Instead of the string "0x27d88086", use a string constructed from the vendor id and device id from Step B. above.

However, it should be of the form 0x + (device id) + (vendor id).

Note that this is backwards from the previous string.

Link to comment
https://www.insanelymac.com/forum/topic/18642-how-to-alc882-sound/
Share on other sites

dunno what i could be doing wrong....

actually did two attempts....

 

i'm getting this....

 

The system extension “/System/Library/Extensions/AppleAzaliaAudio.kext/Contents/PlugIns/IOHDAudioFamily.kext“

was installed improperly and cannot be used.

Please try reinstalling it, or contact the product’s vendor for an update.

 

could you post yr kext as an attachment?

thanx!

sir demon brown

i get this error when executing the kextload in the terminal....

 

kextload: extension /System/Library/Extensions/AppleAzaliaAudio.kext/Contents/PlugIns/IOHDAudioFamily.kext is not authentic (check ownership and permissions)

kextload: extension /System/Library/Extensions/AppleAzaliaAudio.kext is not authentic (check ownership and permissions)

  • 3 weeks later...

I get an error on step 3, "clean up"

 

 sudo kextload /System/Library/Extensions/AppleAzaliaAudio.kext
2006-07-06 17:38:48.656 kextload[224] CFLog (0): 
	CFPropertyListCreateFromXMLData(): plist parse failed; the data is not proper UTF-8. The file name for this data could be:
	(UNKNOWN)
	The parser will retry as in 10.2, but the problem should be corrected in the plist.
can't add kernel extension /System/Library/Extensions/AppleAzaliaAudio.kext (not a bundle) (run kextload on this kext with -t for diagnostic output)

  • 3 weeks later...

Hi people, I must say I'm a little bit dissappointed with my osx installation, but this has been a motivation to continue searching further info. the problem is with my sound card, a Realtek ALC 883 soundcard on an msi 975X platinum. I've searched all over the forums, tested this method (which i found similar to many other threads), but with no success. ASSTATIC, have you managed to make it work? I've edited info.plist in appleazaliaaudio.kext, and also in the controller , cleared kextcache, but nothing happens. please if somebody has seen a solution for this topic, let me know about it.

Greetings!

I understand how you get the first value

 

0x10ec0882 > 0882 (The sound device), 10ec (Realtek)

 

but what about the second one ? I have an ALC883 so the first value is 0x10ec0883 but I'm almost sure it's not the same value for the second one...but I don't know which device to search...

When I get to the search for "<key>IOHDAudioCodecVendorID</key>" it says that can't be found. I looked, and I don't seem to have the file "AppleAzaliaAudio.kext" and since you and I both have the same mobo, would you be so kind as to send me yours? I really would appreciate it. My email is digitalarry@yahoo.com Thanks!!

Well I finally fixed, upon closer inspection and further reading of different posts all scattered around the forum it turns out that would your enter under IOPCIPrimaryMatch, is entirely different depending on what type of motherboard you have. I had to enter the Device and Vendor ID of my HD Audio Bus Driver.

 

In my case I have the DFI CFX3200 Lan Party motherboard, which uses Ati CFX3200 chipset,

 

Under device manager> system devices should it be located.

In my case it was called "Microsoft UAA Bus Driver For High Definition Audio"

which resulted in 0x546110B9, I just added this one to the already existing one in the string (you never know)

And also before you reboot it's wise to repair your permission after the kexcache -k command.

 

from the terminal it's "diskutil repairpermissions /" without the brackets off course

 

also instead of deleting extensions.kext in the first part I deleted extensions.kextcache. Read somewhere else your were suppose to do that everytime you edit kexts and also i couldn't see a file called extensions.kext. But that's basicly what i did to get my ALC 882 running. I hope it's helpfull to some of you.

I understand how you get the first value

 

0x10ec0882 > 0882 (The sound device), 10ec (Realtek)

 

but what about the second one ? I have an ALC883 so the first value is 0x10ec0883 but I'm almost sure it's not the same value for the second one...but I don't know which device to search...

 

Did you try this method to get ALC883 working?

Ok Boys, and girls!

 

my 882 has line in because i use the applehda.kext from 10.4.3 in my installed 10.4.5!

When i delete the applehda.kext i've got sound out but no sound in!

 

And with the kext's from 10.4.3 you have both, line-out and line -in? Or only line in?

×
×
  • Create New...