Jump to content
artur-pt

How to patch AppleHDA

Recommended Posts

Hey there,


I successfully installed Mavericks on my Acer 4820T but the audio is not working.

I believe it is an ALC269. Is there a kext out there already working for this sound card (VoodooHDA) or do I need to patch my AppleHDA?



Thanks for the help

Link to comment
Share on other sites

I installed your kext with Kext Drop and still no sound. Do I need to edit my DSDT with the info from the README file? I currently don't have a DSDT for my laptop/motherboard. Can you assist me in creating one/downloading a pre-existing DSDT file?



Thanks

Link to comment
Share on other sites

Hello


You can try install VoodooHDA 2.8.4: www.projectosx.com/forum/index.php?showtopic=355


Remeber, remove AppleHDA or install AppleHDADisabler if you want install Voodoo...


Hint: Install with Chameleon Wizard and update cache.


If you don't want use voodoo... send your ioreg+DSDT to Mirone.

Link to comment
Share on other sites

Hello


You can try install VoodooHDA 2.8.4: http://www.projectosx.com/forum/index.php?showtopic=355


Remeber, remove AppleHDA or install AppleHDADisabler if you want install Voodoo...


Hint: Install with Chameleon Wizard and update cache.


If you don't want use voodoo... send your ioreg+DSDT to Mirone.

 


VoodooHDA 2.8.4 works! Thanks a lot


Now If I could only get my video, webcam and wifi (AR9285) working

Link to comment
Share on other sites

21-16-3-->Speaker

20-15-2-->Phone

7-36-25-->Mic Int.

8-35-24-->Mic Ext.

Note: For notebooks is necessary to add a codecverbs to the EAPD.

in your case would 01570C02.

 


How did you get to the conclusion that his codecverd was 01570C02 by just looking at his graph?

Aren't codecverbs 4 x 8 alpha numeric sequences?

Link to comment
Share on other sites

Guys, I'm trying to enable my audio using AppleHDA for ALC 269.

My HDEF get this way?


Device (HDEF)

{

Name (_ADR, 0x001B0000)

Method (_DSM, 4, NotSerialized)

{

Store (Package (0x08)

{

"codec-id",

Buffer (0x04)

{

0x3E, 0x29, 0x00, 0x00

},


"layout-id",

Buffer (0x04)

{

0x0D, 0x01, 0x00, 0x00

},


"device-type",

Buffer (0x11)

{

"ALC269"

},


"PinConfigurations",

Buffer (0x2C)

{

/* 0000 */ 0xF0, 0x11, 0x11, 0x41, 0xF0, 0x11, 0x11, 0x41,

/* 0008 */ 0x10, 0x00, 0x13, 0x90, 0x40, 0x40, 0x21, 0x01,

/* 0010 */ 0xF0, 0x11, 0x11, 0x41, 0x30, 0x90, 0xA1, 0x01,

/* 0018 */ 0x50, 0x00, 0xA3, 0x90, 0xF0, 0x11, 0x11, 0x41,

/* 0020 */ 0xF0, 0x11, 0x11, 0x41, 0x60, 0x80, 0x03, 0x40,

/* 0028 */ 0x20, 0x00, 0x43, 0x90

}

}, Local0)

DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))

Return (Local0)

}

}


the audio information in the system, however the audio still does not work, look at the images below:

AGlPYTQ.png

10.8.5 | 10.9.5 : GA-X79-UP5 | Intel LGA 2011 | Core i7 3820 | GTX660 TI | ALC898

10.10.3 : GA-Z97X-UDH5 BK| Intel LGA 1150 | Core i7 4790K | GTX970 | ALC1150 | TP-Link TL-WDN4800 | USB Bluetooth Comtac

Link to comment
Share on other sites

Need help!


I have ACL 269.

The drivers are being loaded but no audio in/output are being listed.


Could you help me please?




DSDT.HDEF._DSM

Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x04)
                       {
                           "layout-id", 
                           Buffer (0x04)
                           {
                               0x0C, 0x00, 0x00, 0x00
                           }, /* 
                           "codec-id", 
                           Buffer (0x04)
                           {
                                "283902569"
                           }, 
                           "hda-gfx",
						Buffer (0x0A)
						{
							"onboard-1"
						}, */
                           "PinConfigurations", 
                           Buffer (Zero) {}
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }

 

Verbs Fixed:

Codec: Realtek ALC269   Address: 0   DevID: 283902569 = Codec ID (0x10ec0269)
Codec name 		: Realtek ALC269
Codec Name HEX      : 0x10ec0269
Codec Name Binary 	: 283902569
Codec Map to Apple	: ADI 1984

  Jack   	Color  	Description             	Node     PinDefault     Original Verbs

   1/8   	Black  	Speaker at Ext Rear     	17 0x11   0x411111f0 	01171cf0 01171d11 01171e11 01171f41                              
   1/8   	Black  	Speaker at Ext Rear     	18 0x12   0x411111f0   	01271cf0 01271d11 01271e11 01271f41
 ATAPI 	Unknown Speaker at Int ATAPI    	20 0x14   0x99130110   	01471c10 01471d01 01471e13 01471f99
   1/8   	Green  	HP Out at Ext Rear      	21 0x15   0x0121401f   	01571c1f 01571d40 01571e21 01571f01
 ATAPI 	Unknown Speaker at Int ATAPI    	22 0x16   0x99130120   	01671c20 01671d01 01671e13 01671f99
			        Mic at Ext Rear   		0x18 0x18 27367488   	01871c40 01871d98 01871ea1 01871f01  
			        Mic at Int ATAPI    		0x19 0x19 2577598799  01971c4f 01971d09 01971ea3 01971f99  
   1/8   	Black  	Speaker at Ext Rear          26 0x1a   0x411111f0   	01a71cf0 01a71d11 01a71e11 01a71f41
   1/8   	Black  	Speaker at Ext Rear     	27 0x1b   0x411111f0   	01b71cf0 01b71d11 01b71e11 01b71f41
 ATAPI  	Purple 	Line Out at Ext N/A     	29 0x1d   0x40038205   	01d71c05 01d71d82 01d71e03 01d71f40
 ATAPI 	Unknown SPDIF Out at Int ATAPI      	30 0x1e   0x99430130   	01e71c30 01e71d01 01e71e43 01e71f99


  Jack   	Color  	Description             	Node     PinDefault     Original Verbs
NOT USED
   1/8   	Black  	Speaker at Ext Rear     	17 0x11   0x411111f0 	01171cf0 01171d11 01171e11 01171f41                              
   1/8   	Black  	Speaker at Ext Rear     	18 0x12   0x411111f0   	01271cf0 01271d11 01271e11 01271f41
   1/8   	Black  	Speaker at Ext Rear    	26 0x1a   0x411111f0   	01a71cf0 01a71d11 01a71e11 01a71f41
   1/8   	Black  	Speaker at Ext Rear     	27 0x1b   0x411111f0   	01b71cf0 01b71d11 01b71e11 01b71f41
 ATAPI  	Purple 	Line Out at Ext N/A     	29 0x1d   0x40038205   	01d71c05 01d71d82 01d71e03 01d71f40
 ATAPI 	Unknown SPDIF Out at Int ATAPI      	30 0x1e   0x99430130   	01e71c30 01e71d01 01e71e43 01e71f99


USED
 ATAPI 	Unknown Speaker at Int ATAPI    	20 0x14   0x99130110   	01471c10 01471d01 01471e13 01471f99
 ATAPI 	Unknown Speaker at Int ATAPI    	22 0x16   0x99130120   	01671c20 01671d01 01671e13 01671f99
   1/8   	Green  	HP Out at Ext Rear      	21 0x15   0x0121401f   	01571c1f 01571d40 01571e21 01571f01
			        Mic at Ext Rear   		0x18 0x18 27367488   	01871c40 01871d98 01871ea1 01871f01  
			        Mic at Int ATAPI    		0x19 0x19 2577598799  01971c4f 01971d09 01971ea3 01971f99  
=================================================================================
FIXING
 ATAPI 	Unknown Speaker at Int ATAPI    	20 0x14   0x99130110   	01471c10 01471d01 01471e13 01471f90   	10 01 1000 
 ATAPI 	Unknown Speaker at Int ATAPI    	22 0x16   0x99130120   	01671c20 01671d01 01671e13 01671f90	10 01 1000

   1/8   	Green  	HP Out at Ext Left      	21 0x15   0x03211030   	01571c30 01571d10 01571e21 01571f03	00 00 0011
			        Mic at Ext Left (line in)  	24 0x18	0x03a11040	01871c40 01871d10 01871e81 01871f03  	00 00 0011

			        Mic at Int ATAPI    		25 0x19   0x99a30150 	01971c50 01971d01 01971e83 01971f90  	10 01 1000


		       Speaker EAPD 					01470C02
		       HP EPAD						01570C02

codec_dump_dec.txt.html.zip

Link to comment
Share on other sites

Mirone the kext not worked in 10.8.5 and 10.9


My files of audio are on link: https://drive.google.com/folderview?id=0ByWfoqaIn-fCX2lsUGctUjNrQWc&usp=sharing

10.8.5 | 10.9.5 : GA-X79-UP5 | Intel LGA 2011 | Core i7 3820 | GTX660 TI | ALC898

10.10.3 : GA-Z97X-UDH5 BK| Intel LGA 1150 | Core i7 4790K | GTX970 | ALC1150 | TP-Link TL-WDN4800 | USB Bluetooth Comtac

Link to comment
Share on other sites

Hi there, my 1st post,

if possible I'd need some help to complete the patch I am trying to do on an AppleHDA.kext for my laptop (G74sx). It should have an ALC269VB, but i think it has a peculiar version of it, so standard kext patched don't work. I used and old version I found of AppleHDA.kext which worked fine till now (with some problems time by time), but is not working anymore in 10.9.2.


I followed all the 1st steps. I extracted codec_dump.txt, I converted to hexadecimals, I created the svg from these files, and so the verbs. I modified the info.plist from the 2 kexts inside the plugin folders.


My doubts start at this point.

1St of all, in the folder AppleHDA.kext/Contents/Resources, from an original AppleHDA.kext from 10.9.2, there are these folders:

English.lproj

Japanese.lproj

ko.lproj

zh_CN.lproj

zh_TW.lproj


And these files:

DefaultAudioLevels.plist

layout90.xml.zlib

layout92.xml.zlib

layout94.xml.zlib

layout120.xml.zlib


No trace of layout12.xml.zlib or platforms.xlm.zlib. But I see in other AppleHDA.kext already patched these files are present. So my 1st query is this: where are these files?


Anyway, I tryed to understand the structures of these files taken from other kext already patched.

It seems quite easy to modify the layout. But platforms.xml seems quite troubled to me. I don't understand enough the SVG file I created from codec dump. Especially, I don't understand these things:

the difference between dot lines and normal lines

the difference between grey and blue lines

which of the nodes I should check, considering that they seem to be more than I need

And I don't understand as well the structure that pathmap must follow. Without some suggestion it will take me a life to understand it properly.


I didn't try to patch the AppleHDA inside MacOS folder, but now I want to solve these other steps, if I find any problem at that point I'll post again.


I may need to review also my DSDT, but I think I can figure it out by myself. And if I won't, I'll ask.


I am open to any suggestion. I will attach the files I extracted so you can give it a look. Also, I'll add a converted version in PNG of the codec_dump_dec.txt.svg.


Thanks for any help

FILES.zip

codec_dump.thumb.png.a633e82dff43c7cc2bdcf0dcbc67d2de.png

Link to comment
Share on other sites

Anyway, I tryed to understand the structures of these files taken from other kext already patched.

It seems quite easy to modify the layout. But platforms.xml seems quite troubled to me. I don't understand enough the SVG file I created from codec dump. Especially, I don't understand these things:

the difference between dot lines and normal lines

the difference between grey and blue lines

which of the nodes I should check, considering that they seem to be more than I need

And I don't understand as well the structure that pathmap must follow. Without some suggestion it will take me a life to understand it properly.


I didn't try to patch the AppleHDA inside MacOS folder, but now I want to solve these other steps, if I find any problem at that point I'll post again.


I may need to review also my DSDT, but I think I can figure it out by myself. And if I won't, I'll ask.


I am open to any suggestion. I will attach the files I extracted so you can give it a look. Also, I'll add a converted version in PNG of the codec_dump_dec.txt.svg.


Thanks for any help

 

Speaker = 27-13-3

Headphones = 33-12-2

Ext. Mic = 9-34-24

Int. Mic = 8-35-25

In his pinconfigs you will need a EAPD

to be 01470c02.

The best way for you to see this is with a cmparando

kext already corrected, take it as an example.

btn_donate_SM.gif
Link to comment
Share on other sites

hello.ihave tried to start the guide for patch the applehda kext for my codec but on terminal i take the same message all the time.(No such file or directory). follow the steps very carefully but nothing.


can you help me?

i give you my codec dump from ubuntu if this help you


http://prntscr.com/5hb4fu

Here is the folder with the files you need.codecgraph.zip

btn_donate_SM.gif
Link to comment
Share on other sites

Hi,

i have a HP G72 from my working colleague here and i try to patch the ALC270, because all the kexts floating around do not work for me.


I have tried layout 12 and 28.

Only headphone is working with the patched kext. With voodooHDA i get full sound.


Inject via clover, no DSDT injection.


Please can you take a look or do you have some ideas?


Thank you

Mod_28.zip

Link to comment
Share on other sites

A noob question, Sorry,

As weird as it is, I can not find any .xml files of whatsoever in the Resource folder!!

Am i even looking in the right place ? By Resource folder does it mean in AppleHDA.kext > Contents > Resource?

If not, should i add or create the said .xml files there?

By the way I am on 10.6.3. (Yeah, outdated i know :D )

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.





×
  • Create New...