Help - Search - Members - Calendar
Full Version: [How To] ALC882 Sound
InsanelyMac Forum > OSx86 Project > Tutorials (The Genius Bar)
Pages: 1, 2, 3, 4
Rammjet
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:
CODE
cd /System/Library/Extensions
sudo mkdir audio_backup
sudo mv AppleHDA.kext audio_backup/

2) Edit AppleAzaliaAudio.kext:
In Terminal, type:
CODE
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>0x10ec0880</string> -- to -- <string>0x10ec0882</string>

Exit pico: press Ctrl + O to save and then Ctrl + X to exit
In Terminal, type:
CODE
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>0xNNNN8086</string> -- to -- <string>0x27d88086</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:
CODE
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"
Click to view attachment

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"
Click to view attachment

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.
labria
Any hope for line-in? :))))))
My ACL882 is working by default, but no input. Me want skype! :)))
Rammjet
QUOTE(labria @ May 30 2006, 12:45 PM) *
Any hope for line-in? smile.gif)))))
My ACL882 is working by default, but no input. Me want skype! smile.gif))



Maybe a USB microphone would work.
Don Luca
Can you also post some kind of "definiteve guide" on how to get ALC880 working on 10.4.6?

Thanks!!! wink.gif
dewdoobrown
I offered a 9800 ati pro 256 mb --->converted to 9800 xt, to anyone who can make the line in work w/ACL882. Maybe offering it here will intice a way to make this work. Oh..yeah the vid card is a sapphire 256mb ati AGP card.
sirdemonbrown
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
sirdemonbrown
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)
winnimac
QUOTE(labria @ May 30 2006, 06:42 PM) *
Any hope for line-in? smile.gif)))))
My ACL882 is working by default, but no input. Me want skype! smile.gif))





hi
you solved the problem ?

greetz winnimac
skippyretard
sirdemonbrown: Use disk utility to repair permissions
asstastic
i tried this method on my notebook using 10.4.6 with an ALC883 chipset with no luck. anyone know what kexts this is suposed to work with?
jccool
Hi,

I have tried several times and I keep getting the "not installed prperly" thing, iv tried repairing disk perms, removing it and reinstalling with sudo mv and iv tried removing kext cache,

what should I do?

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

CODE
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)
wantmac
which jack of the card will let the sound out????????
diX
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!
stiffy
ALC888 codec works too, but still no input sad.gif
shintsuki
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...
digitalarry
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!!
Roninregain
Well I for one haven't been able to get it running.

I'm using 10.4.5 myzar

did everything like it says, no errors, did one without repairing permissions, did one with repairing permission, no dice
Roninregain
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.
Vladimir
QUOTE(shintsuki @ Aug 1 2006, 01:08 AM) *
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?
MacMartin
Any chance of getting SPDIF-out to work? I don't use PC-speakers, but just a coaxial cable to my Home Cinema Receiver.
jacksont123
Thanks for the guide! I shall try it out in the future. sorcerer.gif
glassJAw
Thanks for this guide, it worked perfect!
kobus
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!
MacSimizeDenver
QUOTE(kobus @ Aug 20 2006, 05:20 PM) *
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?
Thade
For this error:

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.

In my case it was caused by installing Sound Blaster USB drivers during OS installation (required for logitech usb headphones). I couldn't figure out a way to fix it after the fact so I did a clean install (without sb usb) and used the fix posted on this thread and all is well with onboard sound. Installing the SB USB drivers after this fix was applied also works well and now both devices are detected.
totokan
edit: oops. wrong thread.
Rene204
QUOTE(kobus @ Aug 20 2006, 06:20 PM) *
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!


Hi, can you post this, so we can try this too...?

that would be nice...

thx.. Rene
Rene204
Update: Got a Kext from 10.4.3,
have the same: digital in and Line In, but no sound input is working.

exactly the same as with other floating applehda.kext around here.

rene
lunchandamovie
It would be nice to get sound input. My mic just sits here doing nothing...plus, my front headphone jack/mic/line in doesn't work. Only the back line out works. Are there any updates?
Rene204
QUOTE(lunchandamovie @ Aug 25 2006, 01:24 AM) *
It would be nice to get sound input. My mic just sits here doing nothing...plus, my front headphone jack/mic/line in doesn't work. Only the back line out works. Are there any updates?

I think no, sorry.

Have made a Search around the Forum yesterday, but found nothing works....
dhess83
Rammjet, the instructions you gave me were perfect. You explained it down to the very last detail. I really appreciate you taking the time to type all that out for me just now. As for the other guy posting in this thread... just do what Rammjet says!

Thanks again, I wish more forums had people that were willing to explain things this clearly.
miramar
Thanks for the guide!

This also works for ALC888 sound on an Asrock ConroeXfire-eSata2 m/b. Just change 880 to 888 instead of 882. Stereo sound out via the green jacks. No inputs.

mir...
issachar
Have ALC880 chipset. Tried this guide, but getting following error. Any ideas?

kextload: extension /System/Library/Extensions/AppleAzaliaAudio.kext appears to be valid
15IOHDAudioStream is not compatible with its superclass, 8OSObject superclass changed?
kextload: a link/load error occured for kernel extension /System/Library/Extensions/AppleAzaliaAudio.kext
Rammjet
QUOTE(issachar @ Aug 27 2006, 04:05 AM) *
Have ALC880 chipset. Tried this guide, but getting following error. Any ideas?

kextload: extension /System/Library/Extensions/AppleAzaliaAudio.kext appears to be valid
15IOHDAudioStream is not compatible with its superclass, 8OSObject superclass changed?
kextload: a link/load error occured for kernel extension /System/Library/Extensions/AppleAzaliaAudio.kext


In my experience, this either means you entered one of the strings in the wrong format or you altered the plist in some other way - added spaces, or a return character or changed the indenting.

For ALC880, the first string is probably "0x10ec0880" and the 2nd string is most likely of the form "0xZZZZ8086" where ZZZZ are 4 characters similar to (but may be different than) "27d8". If you used strings that are not like these, then review how you arrived at those strings. Remember, the 2nd string is backwards from first string. The first string is "0x" followed by (vendor id) followed by (device id). The second string is "0x" followed by (device id) followed by (vendor id).

Go back into the files and verify that things look right. Indenting is consistent, nothing seems to be out of place, no extra spaces, no extra characters.

Good luck!
MaC MaIsTrO
After 2 days of tinkering and crashing my osx installation it worked but still can some one try to post how to get the line in working thnx in advance biggrin.gif
Rene204
There is NO LineIN Support in the moment...

8-(
lunchandamovie
i'm not sure if there will ever be
f007
QUOTE(lunchandamovie @ Aug 29 2006, 02:10 PM) *
i'm not sure if there will ever be


Need Help to get this working! Have a Asus P5WD2-E Premium with ALC882M. Did Rammjet guide, after restart, no errors but still no sound from any Sound jack!!

<key>IOHDAudioCodecVendorID</key>?<string>0x10ec0882</string>

<key>IOPCIPrimaryMatch</key>?<string>0x27d88086</string>

PLS Help!!!
Rammjet
QUOTE(f007 @ Aug 30 2006, 03:25 AM) *
<key>IOHDAudioCodecVendorID</key>?<string>0x10ec0882</string>

<key>IOPCIPrimaryMatch</key>?<string>0x27d88086</string>


If these are the actual strings from your info.plists, then 2 things bother me. What is that question mark (?) doing in there? And why isn't the <string> below the <key>? You must maintain the formatting and indenting of the info.plist.

It should look like this:

CODE
            <string>AppleAzaliaAudioCodecALC880</string>
            <key>IOHDAudioCodecVendorID</key>
            <string>0x10ec0882</string>

and
CODE
            <string>AppleAzaliaController</string>
            <key>IOPCIPrimaryMatch</key>
            <string>0x27d88086</string>
f007
QUOTE(Rammjet @ Aug 30 2006, 07:21 PM) *
If these are the actual strings from your info.plists, then 2 things bother me. What is that question mark (?) doing in there? And why isn't the <string> below the <key>? You must maintain the formatting and indenting of the info.plist.

It should look like this:

CODE
            <string>AppleAzaliaAudioCodecALC880</string>
            <key>IOHDAudioCodecVendorID</key>
            <string>0x10ec0882</string>

and
CODE
            <string>AppleAzaliaController</string>
            <key>IOPCIPrimaryMatch</key>
            <string>0x27d88086</string>



THANKS FOR QUICK REPLY! Yep, sorry I was in a rush and did a quick Copy of wrong code! Here is the right stuff! Looks the same as above and your guide. As I said, other methods caused error messages but your don't, so must work right. But Still no sound from any of the jacks? I did Permi repair and also disabled, then re-enabled sound in Bios, just to see if a miracle might appear. Must AppleHD.kext be deleted as per your guide, this I did or can one use it? You got the same board right? What Bios V. U on? Me 0604 Only on asus.com.tw site! Could this change anything?

<string>AppleAzaliaAudioCodecALC880</string>
<key>IOHDAudioCodecVendorID</key>
<string>0x10ec0882</string>
then

<string>AppleAzaliaController</string>
<key>IOPCIPrimaryMatch</key>
<string>0x27d88086</string>

Regards
Rammjet
1) Not my guide. It is aRt's guide as I explain in the beginning of the guide. I just formatted it and added the appendix to explain where to get the device id's.

2) My sound works fine following the guide. Yes, you must delete AppleHDA.kext in addition to the Extensions.mkext and Extensions.kextcache files.

3) My mobo BIOS is v0601, but I doubt that this matters. Sound comes out of the sound-out jack (green).
Rene204
did you removed the both extensions.cache files before reboot?

try again with deleting these files...

after this guide, my sound works fine too. (ALC882 on AOpen Modt945.)
mohoyt
Hi

Tried but to no avail on my ALC880 audio.

Are there any ways of getting the Device and Vendor IDs without Windows?

Cheers
kada
Same here, though I did found something under Linux. And I have an AMD board with ATI chipset, so I have no clue what this other device is. I do have Windows, but I'm using (under Linux and Windows) my soundcard. But bad sound is better than no sound, so it would be nice to have the onboard stuff working.

Edit: Oh well... me = stupid. I should activate the onboard sound... works perfect now.
f007
QUOTE(Rammjet @ Aug 30 2006, 11:14 PM) *
1) Not my guide. It is aRt's guide as I explain in the beginning of the guide. I just formatted it and added the appendix to explain where to get the device id's.

2) My sound works fine following the guide. Yes, you must delete AppleHDA.kext in addition to the Extensions.mkext and Extensions.kextcache files.

3) My mobo BIOS is v0601, but I doubt that this matters. Sound comes out of the sound-out jack (green).


Hi

My V & Dev id's are the same as yours.

<key>Realtek ALC880/ALC860 Codec Driver</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.apple.driver.AppleAzaliaAudio</string>
<key>IOClass</key>
<string>AppleAzaliaAudioCodecALC880</string>
<key>IOHDAudioCodecVendorID</key>
<string>0x10ec0882</string>
<key>IOProbeScore</key>
<integer>10000</integer>
<key>IOProviderClass</key>
<string>IOHDAudioCodecDevice</string>
</dict>
&
<string>AppleAzaliaController</string>
<key>IOPCIPrimaryMatch</key>
<string>0x27d88086</string>

I followed every step and tried it over and over again. OS X shows the following error Message.

*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.

*The system extension “/System/Library/Extensions/AppleAzaliaAudio.kext/Contents/PlugIns/AppleAzaliaController.kext“ was installed improperly and cannot be used. Please try reinstalling it, or contact the product’s vendor for an update.

I did Disk Per Repair, Help???
Rammjet
QUOTE(f007 @ Aug 31 2006, 08:52 AM) *
I followed every step and tried it over and over again. OS X shows the following error Message.

*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.

*The system extension “/System/Library/Extensions/AppleAzaliaAudio.kext/Contents/PlugIns/AppleAzaliaController.kext“ was installed improperly and cannot be used. Please try reinstalling it, or contact the product’s vendor for an update.


The error messages mean you have somehow corrupted the kexts. Continuing to edit them without fixing the corruption is futile. You should replace the kexts and edit them again.

One way to replace the kexts: http://forum.insanelymac.com/index.php?s=&...st&p=174836
f007
QUOTE(Rammjet @ Aug 31 2006, 09:15 PM) *
The error messages mean you have somehow corrupted the kexts. Continuing to edit them without fixing the corruption is futile. You should replace the kexts and edit them again.

One way to replace the kexts: http://forum.insanelymac.com/index.php?s=&...st&p=174836



Thanks.

Always best to just do a clean install. Doing this now and will try again! Will update you later.

U Rock, Thanks man...
dexthageek
I am running 10.4.3 and upon install my ALC880 output worked perfectly for 2 days. Then while I was watching a video when the volume control disappeared from the taskbar and has not come back since.

Sound Specs:
Mobo: Abit AA8XE
DeviceID: 0880
VenderID: 10ec

I have tried the Guide Rammjet posted and still no audio. Here are the ids i tried

The follow Settings did not work

AudioAzaliaAudio.kext
- IOHDAudioCodecVendorID
- 0x10ec0880
- IOPCIPrimaryMatch
- 0x088010ec

AudioAzaliaAudio.kext
- IOHDAudioCodecVendorID
- 0x10ec0880
- IOPCIPrimaryMatch
- 0x27d88086

I also tried the AppleHDA.kext changes however I always got a kernel panic using that method.

If anyone has anything else I can try it would be greatly appreciated.

Thanks in advance,
Mike
Rammjet
QUOTE(dexthageek @ Sep 3 2006, 01:18 AM) *
- IOPCIPrimaryMatch
- 0x27d88086


Did you obtain this device/vendor id by following Step B. of the Appendix to the guide?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.