Jump to content
artur-pt

How to patch AppleHDA

Recommended Posts

hi Mirone


I'm sorry for the insistence. I tried to fix this problem remained of the microphones and the hdmi but unfortunately hopeless. You can find some alternative solution?

I will make an attempt to fix your HDMI and its Applehda.

Return to the files later.

btn_donate_SM.gif
Link to comment
Share on other sites

Hi


I have 2 question want some people can teach me


1)I want to ask, how can I get my USB SPdif device work in Mod the AppleHDA.kext


2)How can I bin patch my applehda.kext




It have sound at my int. Speaker and ext. Headphone, but never can show the usb device at the output device




my Audio code is CX20590


OSX 10.8.2

codec_dump.zip

Link to comment
Share on other sites

Hi


I have 2 question want some people can teach me


1)I want to ask, how can I get my USB SPdif device work in Mod the AppleHDA.kext


2)How can I bin patch my applehda.kext




It have sound at my int. Speaker and ext. Headphone, but never can show the usb device at the output device




my Audio code is CX20590



OSX 10.8.2

If it is a USB device do not see why it should not work.

What might be happening is that it is not compatible with Mac OS X and so can not see it in the system preferences / sound.

btn_donate_SM.gif
Link to comment
Share on other sites

Mirone Thx for your fast reply.


In pc, I connect my "Martrix USB SPDIF" It will show up a new speaker output device. Also I have try connect to my friend mac book air(10.8), It also have a new device can show up in sound preferences output. I have search internet to get some infomatiaon, some people can show out a USB unkown Digital out device. I'm the first time to patch the applehda.kext, So I think it maybe something I missing to do.

when i dump the codec file, I get 2 file, One is Cx20590, the other is Intel. I just have patch the cx20590 codec file, but I can't see any "Jack Type" in digital-out. When I look the Intel dump file, all the "Jack type" show in digtal-out . So I think that maybe my "pathmaps" problem.

In My layout12.xml I just can see CodecID"0", Do I need to add a CodecID"3" for my Intel codec?

Also some people say that, If miss output device, It may cause by wong binpatch of the kext. I just patch if use the "10ec0887" by the script than replace my codec to the file. But I don't know I do it right or wong.

Hope U can teach me, how to do!!


Thank you!!

Codec dump .zip

Link to comment
Share on other sites

Hi @Mirone,

I noticed you are a bit busy on the other applehda thread. However, I would really like to fix my hdmi audio. Now I just wanted to let you know that the VerbsCheat Sheet link no longer working.


I have patched my applehda using the one you provided me for 10.8.2 as a base and now I no longer have audio loss when my system turns off incompletely due to power failure. I am just having trouble understanding the Verbit part of the process. Any explanation would be of help to me. Especially, are we supposed to use the default verbs or the modified ones? Also the pin complex part is a bit complex. I am beginning to understand this entire process so it would be of great help if any member like you can help me understand that part.


This guide is really helpful. otherwise I have to open both the procedure performed by mickey1979 and the other on im to do the whole process.

Lenovo Ideapad 110 15ISK

i3 6006U 

Skylake Intel hd 520 graphics.

4gb ram

128 gb ssd - windows 10

128gb ssd - OSX mojave WIP

Link to comment
Share on other sites

hi

@Overclockthesun

you should use the modified verbs, the Verbit makes all the correction for you.

Already sent a file for you to test in another post AppleHDA.

This is an awesome guide.

Explains the entire process

read them carefully.

btn_donate_SM.gif
Link to comment
Share on other sites

Hi Artur-pt,


I'm new to this forum, so i'l say HI at first!.


this is excellent guide, but somehow I'm unable to make it work on ALC269 (Mountain Lion).


Can you or someone with knowledge and time modify AppleHDA.kext for mountain line with my codec dump?


I'd really appreciate it. Thanks a million!


Thanks in advance,

fingerr.

intelcodec0.zip

Link to comment
Share on other sites

@fingger

try this: http://www.sendspace.com/file/xm5dai

change layoutId in teh patch HDEF your DSDt.aml

change 12 to 1.


look:

Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x0c)
                   {                        
                       "built-in", 
                       Buffer (One)
                       {
                           0x00
                       }, 
                       "layout-id", 
                       Buffer (0x04)
                       {
                           0x01, 0x00, 0x00, 0x00
                       }, 
                      "PinConfigurations", 
                      Buffer (0x00)
                      {
                          0x00
                      }
                   }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }

btn_donate_SM.gif
Link to comment
Share on other sites

How to fix Sound Card in my DSDT.aml?This is my patch.But don't work ok.

 Device (HDEF)
       {
           Name (_ADR, 0x001B0000)
           OperationRegion (HDAR, PCI_Config, 0x4C, 0x10)
           Field (HDAR, WordAcc, NoLock, Preserve)
           {
               DCKA,   1, 
               Offset (0x01), 
               DCKM,   1, 
                   ,   6, 
               DCKS,   1, 
               Offset (0x08), 
                   ,   15, 
               PMES,   1
           }
           Method (_PRW, 0, NotSerialized)
           {
               Return (Package (0x02)
               {
                   0x0D, 
                   0x05
               })
           }
           Method (_DSM, 4, NotSerialized)
           {
               Store (Package (0x04)
                   {
                       "layout-id", 
                       Unicode ("Z"), 
                       "PinConfigurations", 
                       Buffer (0x30)
                       {
                           /* 0000 */   0x10, 0x40, 0x11, 0x01, 0xF0, 0x00, 0x00, 0x40,
                           /* 0008 */   0xF0, 0x00, 0x00, 0x40, 0xF0, 0x00, 0x00, 0x40,
                           /* 0010 */   0xF0, 0x00, 0x00, 0x40, 0xF0, 0x00, 0x00, 0x40,
                           /* 0018 */   0x50, 0x30, 0x81, 0x01, 0x60, 0x90, 0xA1, 0x90,
                           /* 0020 */   0xF0, 0x00, 0x00, 0x40, 0x20, 0x21, 0x45, 0x07,
                           /* 0028 */   0xF0, 0x00, 0x00, 0x40, 0xF0, 0x00, 0x00, 0x40
                       }
                   }, Local0)
               DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
               Return (Local0)
           }
       }

Mobo: GA-Z90 M Gaming CPU: i9 9900K RAM: 16GB Kingstone NVMe: Samsung 970 250GB SanDisk SSD: 500GB

Link to comment
Share on other sites



boot with -x and

remove voodoohda.

Already done, but still not working.


I'll try different DSDT patch, because when used this one kext didn't loaded so I used chameleon HDAenabler module and jext got loaded but no sound.


--EDIT--


I've tried this DSDT mod, kext is loaded but no devices detected.

 

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

 

Any ideas? :-)

--

regards

fingerr

Link to comment
Share on other sites

Already done, but still not working.


I'll try different DSDT patch, because when used this one kext didn't loaded so I used chameleon HDAenabler module and jext got loaded but no sound.


--EDIT--


I've tried this DSDT mod, kext is loaded but no devices detected.

 

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

 

Any ideas? :-)

--

regards

fingerr

 


 

  "layout-id",
                       Buffer (0x04)
                       {
                           0x0C, 0x00, 0x00, 0x00

Mobo: GA-Z90 M Gaming CPU: i9 9900K RAM: 16GB Kingstone NVMe: Samsung 970 250GB SanDisk SSD: 500GB

Link to comment
Share on other sites

Hello there! I am having a hard time understanding how to set up the path maps for editing the Platform.xml file. If you could help me, that would be tremendously appreciated!


I've attached my platform.xml and codec_dump_dec.txt.svg


Thanks!

your codec is conexant cx2085?

btn_donate_SM.gif
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...