Jump to content

[HOW TO] Patch AppleHDA - Knowledge Base


  • Please log in to reply
392 replies to this topic

#361
marionez

marionez

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 425 posts
Thanks macgirl, but this is minor I believe, I tried to import Info.plist configuration from 10.5.6 applehda to the 10.5.7, but it's not working the same. Audio input is broken.
I continue on the ALC1200 specific thread, here: http://www.insanelym...p...61430&st=60 any help is appreciated. :)

#362
cwall64

cwall64

    InsanelyMac Protégé

  • Donators
  • 81 posts

HDAenabler needs edit to work on 10.5.7

actual HDAenabler info.plist says:

<key>com.apple.kernel.iokit</key>
		<string>6.9.9</string>

need to say:
<key>com.apple.kernel.iokit</key>
		<string>7.9.9</string>


Macgirl,
I tried that with no luck?

#363
IntVar

IntVar

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 4 posts
add
<key>CommonPeripheralDSP</key>
to
<key>HDA Platform Resource</key>
in
AppleHDAPlatformDriver

#364
Black Knight

Black Knight

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 287 posts
  • Gender:Male
  • Location:Charlotte, NC, USA
Okay guys and gals, I've been trying for months to get a working patched AppleHDA working on my own and I'm having no luck, so I finally decided to ask for help. I have a Gigabyte GA-MA790FX-UD5P which uses the ALC889a chipset. The only patched AppleHDA that I have gotten to work is from the iPC installer and it doesn't work quite right. I get front speakers (Speakers), rear speakers (Line Out), and SPDIF Out (Digital Out), but for some reason, I don't get the Center/Sub output from what I guess is supposed to be Headphones. Anyways, I've been trying to make a proper AppleHDA.kext based on my codec dump.

Here are the files that I've got: Files

I also have HDEF modded in my DSDT.aml to just add the LayoutID of 0x0c, 0x00, 0x00, 0x00, the codec id of 0x85, 0x08, 0x00, 0x00, and the Device Type. I don't have the pinconfigurations yet, so I didn't add those. When I try to use the Legacy files that I've posted, I get a few sound assertion errors at startup. These are the ones I get with my current DSDT.aml, the Legacy files and a vanilla 10.5.7 AppleHDA.kext.

Sound assertion "0 == requireMaxBusStallArray" failed in "/SourceCache/AppleHDA/AppleHDA-168.1.3/AppleHDAController/AppleHDAController.cpp" at line 1206 goto Exit
May 15 01:21:42 Underground kernel[0]: Sound assertion "0 != setupHostInterface()" failed in "/SourceCache/AppleHDA/AppleHDA-168.1.3/AppleHDAController/AppleHDAController.cpp" at line 255 goto Exit1
May 15 01:21:42: --- last message repeated 1 time ---
May 15 01:21:42 Underground kernel[0]: display: match category IOFramebuffer exists
May 15 01:21:42 Underground kernel[0]: Sound assertion "0 == requireMaxBusStallArray" failed in "/SourceCache/AppleHDA/AppleHDA-168.1.3/AppleHDAController/AppleHDAController.cpp" at line 1206 goto Exit
May 15 01:21:42 Underground kernel[0]: Sound assertion "0 != setupHostInterface()" failed in "/SourceCache/AppleHDA/AppleHDA-168.1.3/AppleHDAController/AppleHDAController.cpp" at line 255 goto Exit1
May 15 01:21:42: --- last message repeated 1 time ---

This is on a desktop system with 6 1/8" ports on the back and full 7.1 outputs. I'd really like to get 7.1 out if I can. I don't really care about inputs at all, nor do I have any front ports hooked up. Please help.

Thanks.

#365
marionez

marionez

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 425 posts

add
<key>CommonPeripheralDSP</key>
to
<key>HDA Platform Resource</key>
in
AppleHDAPlatformDriver

Do you mean on the 10.5.6 applehda driver?

#366
cwall64

cwall64

    InsanelyMac Protégé

  • Donators
  • 81 posts

add
<key>CommonPeripheralDSP</key>
to
<key>HDA Platform Resource</key>
in
AppleHDAPlatformDriver



My assumption is this is to AppleHDAPlatformDriver? is there a string to go with the key? or just add a key...

#367
Black Knight

Black Knight

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 287 posts
  • Gender:Male
  • Location:Charlotte, NC, USA

Okay guys and gals, I've been trying for months to get a working patched AppleHDA working on my own and I'm having no luck, so I finally decided to ask for help. I have a Gigabyte GA-MA790FX-UD5P which uses the ALC889a chipset. The only patched AppleHDA that I have gotten to work is from the iPC installer and it doesn't work quite right. I get front speakers (Speakers), rear speakers (Line Out), and SPDIF Out (Digital Out), but for some reason, I don't get the Center/Sub output from what I guess is supposed to be Headphones. Anyways, I've been trying to make a proper AppleHDA.kext based on my codec dump.

Here are the files that I've got: Files

I also have HDEF modded in my DSDT.aml to just add the LayoutID of 0x0c, 0x00, 0x00, 0x00, the codec id of 0x85, 0x08, 0x00, 0x00, and the Device Type. I don't have the pinconfigurations yet, so I didn't add those. When I try to use the Legacy files that I've posted, I get a few sound assertion errors at startup. These are the ones I get with my current DSDT.aml, the Legacy files and a vanilla 10.5.7 AppleHDA.kext.

Sound assertion "0 == requireMaxBusStallArray" failed in "/SourceCache/AppleHDA/AppleHDA-168.1.3/AppleHDAController/AppleHDAController.cpp" at line 1206 goto Exit
May 15 01:21:42 Underground kernel[0]: Sound assertion "0 != setupHostInterface()" failed in "/SourceCache/AppleHDA/AppleHDA-168.1.3/AppleHDAController/AppleHDAController.cpp" at line 255 goto Exit1
May 15 01:21:42: --- last message repeated 1 time ---
May 15 01:21:42 Underground kernel[0]: display: match category IOFramebuffer exists
May 15 01:21:42 Underground kernel[0]: Sound assertion "0 == requireMaxBusStallArray" failed in "/SourceCache/AppleHDA/AppleHDA-168.1.3/AppleHDAController/AppleHDAController.cpp" at line 1206 goto Exit
May 15 01:21:42 Underground kernel[0]: Sound assertion "0 != setupHostInterface()" failed in "/SourceCache/AppleHDA/AppleHDA-168.1.3/AppleHDAController/AppleHDAController.cpp" at line 255 goto Exit1
May 15 01:21:42: --- last message repeated 1 time ---

This is on a desktop system with 6 1/8" ports on the back and full 7.1 outputs. I'd really like to get 7.1 out if I can. I don't really care about inputs at all, nor do I have any front ports hooked up. Please help.

Thanks.


Is there no one willing to help me with this?

#368
kizwan

kizwan

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,422 posts

Is there no one willing to help me with this?

Sequence need to be 0, all of it. Set Location to 0 for internal & 1 for external. Also set Misc to 0 if it have jack detect override & 1 if it stated NO_PRESENCE in the codec dump.

I will change any Misc value that > 3 to 0 or 1 according to what stated in the codec dump.

Hope it helps. At the time I wrote this, I only examine your verbs. I will try to look to your kexts later.

kizwan

#369
Farx

Farx

    InsanelyMac Protégé

  • Members
  • Pip
  • 35 posts
Hi,guys!
After 10.5.7 update, has new AppleHDA killed your External microphone?

#370
kizwan

kizwan

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,422 posts

Hi,guys!
After 10.5.7 update, has new AppleHDA killed your External microphone?

I lost internal & external mic. I don't have time yet to troubleshoot it. It probably because the legacy kext is not compatible with 10.5.7.

#371
spanakorizo

spanakorizo

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 747 posts
kernel Sound assertion "0 == requireMaxBusStallArray" failed in "/SourceCache/AppleHDA/AppleHDA-168.1.3/AppleHDAController/AppleHDAController.cpp" at line 1206 goto Exit

after 10.5.7 i think
tommorow i will test the inputs if they still work

#372
coconup

coconup

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 190 posts
you just have to look into the 10.5.7 applehda controller and you'll find a new entry called like your sound assertion, copy it into your patched kext and you'll solve it

#373
Black Knight

Black Knight

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 287 posts
  • Gender:Male
  • Location:Charlotte, NC, USA

Sequence need to be 0, all of it. Set Location to 0 for internal & 1 for external. Also set Misc to 0 if it have jack detect override & 1 if it stated NO_PRESENCE in the codec dump.

I will change any Misc value that > 3 to 0 or 1 according to what stated in the codec dump.

Hope it helps. At the time I wrote this, I only examine your verbs. I will try to look to your kexts later.

kizwan


Ok, so I changed the values you mentioned and I still don't get any sound. I am now using vanilla AppleHDA.kext from 10.5.7 and DSDT.aml with the correct codec verbs loaded. Here is a copy of my codec verbs in dsdt:

"ConfigData",
							 Buffer (0xA0)
							 {
								 /* 0000 */	0x01, 0x87, 0x1c, 0x40, 0x01, 0x87, 0x1d, 0x9c,
								 /* 0008 */	0x01, 0x87, 0x1e, 0xa1, 0x01, 0x87, 0x1f, 0x01,
								 /* 0010 */	0x01, 0x97, 0x1c, 0x50, 0x01, 0x97, 0x1d, 0x9c,
								 /* 0018 */	0x01, 0x97, 0x1e, 0xa1, 0x01, 0x97, 0x1f, 0x02,
								 /* 0020 */	0x01, 0xa7, 0x1c, 0x40, 0x01, 0xa7, 0x1d, 0x34,
								 /* 0028 */	0x01, 0xa7, 0x1e, 0x81, 0x01, 0xa7, 0x1f, 0x01,
								 /* 0030 */	0x01, 0xb7, 0x1c, 0x20, 0x01, 0xb7, 0x1d, 0x4c,
								 /* 0038 */	0x01, 0xb7, 0x1e, 0x21, 0x01, 0xb7, 0x1f, 0x02,
								 /* 0040 */	0x01, 0xc7, 0x1c, 0xf0, 0x01, 0xc7, 0x1d, 0x01,
								 /* 0048 */	0x01, 0xc7, 0x1e, 0x33, 0x01, 0xc7, 0x1f, 0x59,
								 /* 0050 */	0x01, 0xd7, 0x1c, 0x00, 0x01, 0xd7, 0x1d, 0xe6,
								 /* 0058 */	0x01, 0xd7, 0x1e, 0x05, 0x01, 0xd7, 0x1f, 0x40,
								 /* 0060 */	0x01, 0x47, 0x1c, 0x10, 0x01, 0x47, 0x1d, 0x40,
								 /* 0068 */	0x01, 0x47, 0x1e, 0x01, 0x01, 0x47, 0x1f, 0x01,
								 /* 0070 */	0x01, 0x57, 0x1c, 0x10, 0x01, 0x57, 0x1d, 0x10,
								 /* 0078 */	0x01, 0x57, 0x1e, 0x01, 0x01, 0x57, 0x1f, 0x01,
								 /* 0080 */	0x01, 0x67, 0x1c, 0x10, 0x01, 0x67, 0x1d, 0x60,
								 /* 0088 */	0x01, 0x67, 0x1e, 0x01, 0x01, 0x67, 0x1f, 0x01,
								 /* 0090 */	0x01, 0x77, 0x1c, 0x10, 0x01, 0x77, 0x1d, 0x20,
								 /* 0098 */	0x01, 0x77, 0x1e, 0x01, 0x01, 0x77, 0x1f, 0x01,
								 /* 0100 */	0x01, 0xe7, 0x1c, 0x30, 0x01, 0xe7, 0x1d, 0x61,
								 /* 0108 */	0x01, 0xe7, 0x1e, 0x4b, 0x01, 0xe7, 0x1f, 0x01,
								 /* 0110 */	0x01, 0xf7, 0x1c, 0x60, 0x01, 0xf7, 0x1d, 0x71,
								 /* 0118 */	0x01, 0xf7, 0x1e, 0xcb, 0x01, 0xf7, 0x1f, 0x01
							 },

My SoundAssertion error is:

Sound assertion "0 != setupHostInterface()" failed in "/SourceCache/AppleHDA/AppleHDA-168.1.3/AppleHDAController/AppleHDAController.cpp" at line 255 goto Exit1

Thanks for your help so far kizwan.

#374
kizwan

kizwan

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,422 posts
@Black Night,
I'm not familiar with that error. Did you installed ACPIFIX (patched ACPI kexts)? There is almost similar error that caused by ACPIFIX, please refer to post #344.

kizwan

#375
Black Knight

Black Knight

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 287 posts
  • Gender:Male
  • Location:Charlotte, NC, USA

@Black Night,
I'm not familiar with that error. Did you installed ACPIFIX (patched ACPI kexts)? There is almost similar error that caused by ACPIFIX, please refer to post #344.

kizwan


I'm using a fully vanilla 10.5.7 except for ATIRadeonX2000.kext, AppleSMBIOS.kext, AppleDecrypt, AppleATIATA, AppleOnboardPCATA, IONetworking, Natit, OpenHaltRestart, and RealtekR1000.kext.

I didn't install the ACPIFIX at all.

Black Knight

#376
spanakorizo

spanakorizo

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 747 posts

you just have to look into the 10.5.7 applehda controller and you'll find a new entry called like your sound assertion, copy it into your patched kext and you'll solve it

and where should that be plzZzz?
entry you mean in the info.plist?
give directions cause :P :)

p.s. : did anybody with AD1998B try the new voodoohda.kext?
http://code.google.com/p/voodoohda/
i did not have luck with loading it
a lot of errors at boot and after boot it added like 5,6 outputs+inputs in the mixer with digits and ## 001 mic .. .
but in the hardware info there was no audio, and also their pref.panel wouldn't work
comes with an error: "cannot map memory"
then i tried to load it with hdaenabler together and other combination but again with no luck
how should i load it?

right now my method is :
vanilla 10.5.7 applehda.kext in S/L/E
and in Extra/extensions : AD1988b.HDA.FIX.kext , hdaenabler.kext

so?

#377
NoValidTitle

NoValidTitle

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
I haven't had much luck searching but is there still no way to get AppleHDA to work on EFI?

Just to elaborate a bit more.. I have a Maximus Formula mobo and the Taruga HDA patched driver works great from /S/L/E but I'm trying to keep everything on EFI. Is there still no way for this?

#378
spanakorizo

spanakorizo

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 747 posts
read my post
i have taruga's patch (hdaenabled.kext) and this AD1998 patch in /extra
but i wasn't able with voodoohda (i had to install in s/l/e)

#379
M J

M J

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 130 posts
  • Gender:Male
  • Location:Milano, Italy
Hi, i did the installation for the ADI2000b card, and everything works great except for the front panel. They appear in the System Profiler:

Attached File  Immagine_3.png   89.43KB   103 downloads

Cuffie = Headphones
Uscita = Line Out
Microfono = Microphone
Ingresso = Line In

but not in the System Preferences:

Attached File  Immagine_4.png   73.88KB   97 downloads

As you can see, no Headphones here... only back panel channels, and no audio at all comes from the front panel. Any idea??

Also, the Microphone works but the volume is really low... people at the other hand can hardly hear. While the Line In doesn't seem to work... In fact, it looks like it registers the Output sound.

#380
havocvulture

havocvulture

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 2 posts
Hi, has anybody had any success getting SPDIF OUT working on Evga 780i?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy