Jump to content

Hacking AppleHDA.kext ...for ALC88X


17 posts in this topic

Recommended Posts

Ok, I know there is that AppleAzaliaAudio.kext from 10.4.3 but it's just partially working i.e. no input is recognized etc.

 

After I took a look at 10.4.4-10.4.7 AppleHDA.kext I noticed that they had DeviceNumbers for ALC882 (10.4.5) and ALC885(10.4.7).

 

If you have a look at AppleHDA's Info.plist you'll notice many

<key>CodecID</key>

 

One of them in 10.4.4 is

<integer>283904130</integer>

 

in 10.4.7

<integer>283904133</integer>

 

The numbers are Device and Vendor ID's in decimal (use Windows Calculator to convert...example: 283904133 is decimal for 10EC0885 hex)

 

If you open

 

AppleHDA.kext\Contents\MacOS\AppleHDA in a hexeditor and search for hex "82 08 EC 10" (in 10.4.4/5) / "85 08 EC 10" (in 10.4.7) you'll find some matches.

 

Also, there is this ID in 10.4.7 AppleHDA.kext\Contents\PlugIns\AppleHDAController.kext\Contents\Info.plist

<key>CodecID</key>
<integer>283904133</integer>

 

 

I modiefied all of the ID's and checks to match my ALC883 on Intel 945 Chipset, but I get a kernel-panic after reboot, when OSX tries to load it.

 

Anyone who's willing to test and try is welcome. I haven'T found much for AppleHDA.kext in the forum so I started this thread to get things working.

 

By the way, testing on Mitac 8258D with InsydeH20 BIOS and EFI support.

 

Regards,

Max

Link to comment
Share on other sites

Noone knows anything or tried something yet? Can anybody tell if AppleHDA.kext works for him/her?!

 

I think it's like the ATINDRV thing. We should try to use original kexts (modified, of course).

 

So anybody with Realtek ALC88X should work on this and try. I will post my modified driver later this day, so you guys can check if it works for you without kernel-panics.

 

Max

Link to comment
Share on other sites

Ok,

 

@Taruga, yes, I had the same problems when editing 10.4.4-10.4.6 kext's codec-Id's to match mine...

 

With 10.4.7 Drivers I get a kernel-panic.

 

I attached two modified versions, one to match ALC883 on ICH7 and one to match ALC885 on ICH7

 

Let's find out what's going on with these drivers..

 

Max

AppleHDAALC883kext.zip

AppleHDAALC885kext.zip

Link to comment
Share on other sites

Ok, here is another one for ALC882 on ICH7

 

Following changes have been made:

 

 

AppleHDA.kext\Contents\Info.plist

 

Replaced 283904133 (decimal for 10EC885) four times with 283904130

 

 

AppleHDA.kext\Contents\MacOS\AppleHDA

 

Hex-Edited @ Address hex 1F605 (replaced hex 85 08 EC 10 with 82 08 EC 10) and

hex 20711 (replaced hex 85 08 EC 10 with 82 08 EC 10)

 

AppleHDA.kext\Contents\PlugIns\AppleHDAController.kext\Contents\Info.plist

 

Replaced 283904133 (decimal for 10EC885) with 283904130

 

I don't know if it panics because i missed a check... feel free to search for more checks...

 

Max

 

 

EDIT: If you also get this kernel-panic, safe-boot is your friend...

AppleHDAALC882kext.zip

Link to comment
Share on other sites

I just tried your AppleHDA.kext for the Realtek ALC883 and I still have no sound, in fact it doesn't seem to be loading. I did everything I could think of to get it to work, and still no sound. Could one reason why its not working be that my PC uses an ATI chipset instead of an Intel chipset? If its any help, I have an HP Pavilion a1328x with some strange ASUS motherboard that isn't listed on the ASUS website (codenamed Agena). :)

Link to comment
Share on other sites

  • 4 weeks later...

Hi, got an ALC882 too, but hzave tried several Versions before without Success,

 

Used the 10.4.8 DVD before, (The Corrupted One! 8-(()

 

If i finish my download of the new one, so i will help you find a solution, have changed the kexts and replace my alc882 (29...130) but no success,

i think i know, what about path-ID and Layout ID, but hope we can get a result together...

 

Rene

Link to comment
Share on other sites

Yep, also got kenel-panic, we just have to keep trying....

 

hello, just tried the appleALC882.kext without any success, pls. can you send me your edited kexts, because i did not got any error with layout id.

 

so i think you are in further progress of develpoment as my one...

 

Update: Have tried something, there is one HDA.kext (10.4.1) which is working for Sound Out, if i copy the IOHDAFamily.kext to the HDA882.kext (downloaded here) so i get Sound Out like the 10.4.1 ones.

 

Think we have a look at the IOHDAFamily.kext inside the AppleHDA.kext.

Unforunately, i dont understand to read the "crypted" Letters inside.

 

If anyone can help. please msg. me.

Thanks... Rene

Link to comment
Share on other sites

I have ALC880 and the only way to get sound was using the kext from 10.4.3 ( no line in ) and deleting the AppleAzaliaAudio.kext, however, when I check the properties in About this Mac I have no Audio in, and in extensions the AudioHDA.kext he says is loaded but incomplete, I think thats the reason for no "line in", if somebody with more knowledge with drivers take a look at that, I think, the solution for no line in could be done. My system is a 915gux Intel mobo with everything working except the line in.

Link to comment
Share on other sites

some things, that i do not understand...

 

in the different versions of intel macs, there are different audio chips.. like alc880, alc882, alc883 or in the latest 10.4.8 alc885...

 

if i update my mac... e.g. to 10.4.8, there is only a applehda.kext with alc885 inside...

but this update is working on all older intel mac types.

 

so, where is the information about the older audio processors... (alc880, alc882...)

if there are downgrade compatible? why not in our pc-boards...

 

may we have to look inside the bundled kexts...

 

what about the dependencies...? can someone explain me, what they are and how they work together..?

 

thanks.....

 

Rene

Link to comment
Share on other sites

ok people in the info.plist of applehda.kext there are a few other numbers.

For instance 2206496386, when you type this one in in your calculator the hex value is 83847682(device and vendor id from apple sound codec)

You have to change this one into yor own number, in my case (27d88086 (asus p5ld2)).

In the calculator you get a Hex of 668500102 for this one.

so replace the codec id from apple to asus (2206496386 becomes 668500102).

Hope this works

 

 

Ok, here is another one for ALC882 on ICH7

 

Following changes have been made:

AppleHDA.kext\Contents\Info.plist

 

Replaced 283904133 (decimal for 10EC885) four times with 283904130

AppleHDA.kext\Contents\MacOS\AppleHDA

 

Hex-Edited @ Address hex 1F605 (replaced hex 85 08 EC 10 with 82 08 EC 10) and

hex 20711 (replaced hex 85 08 EC 10 with 82 08 EC 10)

 

AppleHDA.kext\Contents\PlugIns\AppleHDAController.kext\Contents\Info.plist

 

Replaced 283904133 (decimal for 10EC885) with 283904130

 

I don't know if it panics because i missed a check... feel free to search for more checks...

 

Max

EDIT: If you also get this kernel-panic, safe-boot is your friend...

Link to comment
Share on other sites

  • 2 years later...

I have an acer 4720z laptop, this computer use the ALC268 sound card, i was install alc268 taruga pack2 and applehda enabler, but not work for me, just show me internal mic, headspeaker, and internal speaker.

what can i do?

Link to comment
Share on other sites

 Share

×
×
  • Create New...