Jump to content
Kuebeker

AppleHDA.kext and Laptop Subwoofer. AKA 2.1 audio.

102 posts in this topic

Recommended Posts

I am eventually going to look into patching the HDA myself but I would think its more involved than for example patching a DSDT.  Areos I see that you posted your DSDT patched in another thread.  Can I request an Unpatched one please. I want to compare both of our DSDT's.  I am thinking they will match 100%.  I use DiffMerge GUI to do that.

 

Thanks for your patience.

Here is it.

 

Good Luck

hi aeros , Can you add spdif in/out in your kext g750 please

 

I try your code verb with PinConfigurator

01271C10 01271D01 01271EA0 01271F90 
01471C20 01471D01 01471E10 01471F90 01470C02 
01771C21 01771D01 01771E10 01771F90 
01871C40 01871D10 01871E81 01871F04 
01971CF0 01971D00 01971E00 01971F40 
01A71CF0 01A71D00 01A71E00 01A71F40 
01B71CF0 01B71D00 01B71E00 01B71F40 
01D71CF0 01D71D00 01D71E00 01D71F40 
01E71CF0 01E71D00 01E71E00 01E71F40 //spdif
02171C50 02171D10 02171E21 02171F04

why i can't see spdif ?

why you add this code ? 

01A71CF0 01A71D00 01A71E00 01A71F40

01B71CF0 01B71D00 01B71E00 01B71F40

can you explain please!

Ok, I´ll try but give me some time, those are just for disable the node complex, is just for avoid some warnings in log.

 

Good luck

G750JX-DSDT.dsl.zip

Share this post


Link to post
Share on other sites
Advertisement

@Areos,

 

Thanks they are 100% the same.  Only minor difference was that your DSDT at the time is/was Bios version 207 mine is 209.  So just trying to figure out some of what looks like custom patches I mentioned over at the ROG forum just this morning.

 

I noticed that the Patched DSDT you attached for Lazzy does not have any of the GFX0 script like nvcap etc, and you have the AAPL,has-embedded-fn-keys and I don't.  I got the patched DSDT from Cruzin_cruzing and he got that one from you, maybe he added the GFX0 part himself?

 

Thanks

Share this post


Link to post
Share on other sites

Thanks areos,

Take your time. I changed a little bit in code pin

 
01e71c50 01e71d10 01e7145 01e71f01
and i add node 30->6 to layout but it doesn't work.
 
Do you know how to enable HDMI audio out?  if yes can you show me how can i do.

Share this post


Link to post
Share on other sites

@Areos,

 

Thanks they are 100% the same.  Only minor difference was that your DSDT at the time is/was Bios version 207 mine is 209.  So just trying to figure out some of what looks like custom patches I mentioned over at the ROG forum just this morning.

 

I noticed that the Patched DSDT you attached for Lazzy does not have any of the GFX0 script like nvcap etc, and you have the AAPL,has-embedded-fn-keys and I don't.  I got the patched DSDT from Cruizin and he got that one from you, maybe he added the GFX0 part himself?

 

Thanks

 

The GFX0 part is in other SSDT and since my laptop does´t have the intel card enabled I suppose that´s it.

 

 

Thanks areos,

Take your time. I changed a little bit in code pin

 
01e71c50 01e71d10 01e7145 01e71f01
and i add node 30->6 to layout but it doesn't work.
 
Do you know how to enable HDMI audio out?  if yes can you show me how can i do.

 

 

I will take a look to have SPDIF enabled, for the HDMI part since you have the JS model you need to find if the HDMI is connected to the Intel or Nvidia card. As I said before for the intel look for the Toleda/PikerAlpha method, and for the Nvidia you just need to inject the correct info to your DSDT.

 

Good luck

Share this post


Link to post
Share on other sites

@Areos,

 

Just want to confirm this Device (GFX0) script is the same as yours.   Is the HDAU script for HDMI audio?  Will I still need to enable HDMI audio using Toleda's patch?

                Device (GFX0)
                {
                    Name (_ADR, Zero)
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x40)
                            {
                                "AAPL,slot-name", 
                                "PCI x16", 
                                "@0,compatible", 
                                Buffer (0x0B)
                                {
                                    "NVDA,NVMac"
                                }, 

                                "@0,connector-type", 
                                Buffer (0x04)
                                {
                                    0x02, 0x04, 0x00, 0x00
                                }, 

                                "@0,device_type", 
                                Buffer (0x08)
                                {
                                    "display"
                                }, 

                                "@0,backlight-control", 
                                Buffer (0x04)
                                {
                                    0x01, 0x00, 0x00, 0x00
                                }, 

                                "@0,built-in", 
                                Buffer (0x04)
                                {
                                    0x01, 0x00, 0x00, 0x00
                                }, 

                                "@0,pwm-info", 
                                Buffer (0x18)
                                {
                                    /* 0000 */    0x02, 0x18, 0x00, 0x64, 0x90, 0x59, 0x02, 0x00, 
                                    /* 0008 */    0x08, 0x52, 0x00, 0x00, 0xA5, 0x1C, 0x00, 0x00, 
                                    /* 0010 */    0x00, 0x04, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00
                                }, 

                                "@0,display-cfg", 
                                Buffer (0x04)
                                {
                                    0x03, 0x04, 0x08, 0x00
                                }, 

                                "@0,name", 
                                Buffer (0x0F)
                                {
                                    "NVDA,Display-A"
                                }, 

                                "@1,compatible", 
                                Buffer (0x0B)
                                {
                                    "NVDA,NVMac"
                                }, 

                                "@1,connector-type", 
                                Buffer (0x04)
                                {
                                    0x00, 0x04, 0x00, 0x00
                                }, 

                                "@1,device_type", 
                                Buffer (0x08)
                                {
                                    "display"
                                }, 

                                "@1,display-cfg", 
                                Buffer (0x04)
                                {
                                    0x03, 0x04, 0x08, 0x00
                                }, 

                                "@1,name", 
                                Buffer (0x0F)
                                {
                                    "NVDA,Display-B"
                                }, 

                                "@2,compatible", 
                                Buffer (0x0B)
                                {
                                    "NVDA,NVMac"
                                }, 

                                "@2,connector-type", 
                                Buffer (0x04)
                                {
                                    0x00, 0x04, 0x00, 0x00
                                }, 

                                "@2,device_type", 
                                Buffer (0x08)
                                {
                                    "display"
                                }, 

                                "@2,display-cfg", 
                                Buffer (0x04)
                                {
                                    0x03, 0x04, 0x08, 0x00
                                }, 

                                "@2,name", 
                                Buffer (0x0F)
                                {
                                    "NVDA,Display-C"
                                }, 

                                "@3,compatible", 
                                Buffer (0x0B)
                                {
                                    "NVDA,NVMac"
                                }, 

                                "@3,connector-type", 
                                Buffer (0x04)
                                {
                                    0x00, 0x04, 0x00, 0x00
                                }, 

                                "@3,device_type", 
                                Buffer (0x08)
                                {
                                    "display"
                                }, 

                                "@3,display-cfg", 
                                Buffer (0x04)
                                {
                                    0x03, 0x04, 0x08, 0x00
                                }, 

                                "@3,name", 
                                Buffer (0x0F)
                                {
                                    "NVDA,Display-D"
                                }, 

                                "built-in", 
                                Buffer (0x02)
                                {
                                    0x00, 0x00
                                }, 

                                "graphics-options", 
                                Buffer (0x04)
                                {
                                    0x04, 0x00, 0x00, 0x00
                                }, 

                                "NVCAP", 
                                Buffer (0x18)
                                {
                                    /* 0000 */    0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 
                                    /* 0008 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 
                                    /* 0010 */    0x00, 0x00, 0x00, 0x00
                                }, 

                                "VRAM,totalsize", 
                                Buffer (0x04)
                                {
                                    0x00, 0x00, 0x00, 0xC0
                                }, 

                                "device_type", 
                                Buffer (0x0C)
                                {
                                    "NVDA,Parent"
                                }, 

                                "model", 
                                Buffer (0x11)
                                {
                                    "GeForce GTX 770M"
                                }, 

                                "rom-revision", 
                                Buffer (0x1E)
                                {
                                    "nVidia GTX 770M OpenGL Engine"
                                }, 

                                "hda-gfx", 
                                Buffer (0x0A)
                                {
                                    "onboard-1"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
                }

                Device (HDAU)
                {
                    Name (_ADR, One)
                    Method (_DSM, 4, NotSerialized)
                    {
                        Store (Package (0x02)
                            {
                                "hda-gfx", 
                                Buffer (0x0A)
                                {
                                    "onboard-1"
                                }
                            }, Local0)
                        DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                        Return (Local0)
                    }
                }
            }

Share this post


Link to post
Share on other sites

Guys, I created a web yesterday, to centralize all stuff related to hackintoshing Asus ROG Notebooks and motherboards. ONLY for Asus ROG products. Not normal Asus products. The web is:

www.roghackintosh.org

Right now I´m creating all the structure for the database and forums. So, it is possible you can´t find your notebook or motherboard. Be patient. Maybe in a few days you can find it operative. I mean, it is operative already, but since the forum will be in english, spanish, french, russian, chinese, portuguese, hebrew, etc, It will take me some time to create all forum structure for all languajes.

If you are and advanced hackintosh user with ROG hardware, and want to help, contact me at contact@roghackintosh.org If you know other languaje than spanish or english I will need your help for sure.

I´m excited with the idea. With a little help from the insanelymac community, we can build a solid ROG hackintosh encyclopedia.

Regards.

Share this post


Link to post
Share on other sites

@Areos

This is my dsdt ioreg ssdt

http://www.mediafire.com/download/8ye9g1eglt4n1db/errors-G750js.zip

when i apply patch dsdt for HDMI audio from http://www.tonymacx86.com/hdmi-audio/108302-haswell-hdmi-audio.html

my sound have gone. so I reverted dsdt  Could you apply this patch please. If you have a free time can you disable Nvidia 870M or Intel HD 4600. I tried but it doesn't work.

Thanks so much

Share this post


Link to post
Share on other sites

@Areos,

 

Are you using Clover?  What do you think about using this method to keep up for the Newly released MacOS's AppleHDA?  We would take your current patched AppleHDA information and follow this format and patch the binary with Clover.  Im guessing we never have to update the AppleHDA again?

 

Let me know what you think?

 

Thanks

 

http://pikeralpha.wordpress.com/2013/12/17/new-style-of-applehda-kext-patching/

Share this post


Link to post
Share on other sites

Hopefully this topic isn't dead yet but I've decided to give another stab at getting everything working with AppleHDA. So far:

 

Everything works but the subwoofer (I'm ignoring HDMI for now)

 

However, I got the subwoofer to work with VoodooHDA and the voodoodump shows the path as I had to change the node path. In trying the exact same working path in AppleHDA, the subwoofer still doesn't work.

 

For the bin patch, I've tried ADI1984 and ADI1984b which both work and ALC 885 which doesn't work.

 

Attached is my patched AppleHDA (ADI 1984 bin patch), patched platforms.xml, patched layout2.xml, my custom pin config, codec dumps and graphs (hex and dec), fully working and patched VoodooHDA, and voodoo dump from this working VoodooHDA setup. 

 

If anyone has any clue as to why the subwoofer isn't working, suggestions would be appreciated. 

Zackptg5.zip

Share this post


Link to post
Share on other sites

Hi everyone,

 

I have an Asus N550JV laptop, with mini subwoofer;

 

I've finally managed to activate internal audio speakers, after installing AppleHDA-272.18.1-ALC668 + EAPDFix.kext + config.plist/Device/Audio/Inject 3 ... but the subwoofer is not detected ...  any idea?

 

Here attached my files archive

 

Thx!

 

 

AsusN550JV-ALC668.zip

Share this post


Link to post
Share on other sites

Hi everyone,

 

I have an Asus N550JV laptop, with mini subwoofer;

 

I've finally managed to activate internal audio speakers, after installing AppleHDA-272.18.1-ALC668 + EAPDFix.kext + config.plist/Device/Audio/Inject 3 ... but the subwoofer is not detected ...  any idea?

 

Here attached my files archive

 

Thx!

 

Try these. Your subwoofer is strange because unlike most laptops, it is connected by an external jack so I labeled it as a line out. If it shows up (should only show up when plugged in), then you'll need to create a multi-output device in Utilities -> Audio Midi Setup which includes both the sub and the int speakers. Turn the volume of both devices up all of the way, install sound siphon, set passthrough device in sound siphon to the multi-output device, and set sound siphon as your output device. Then you can adjust the volume of both simultaneously and sound will come out of both.

 

Let me know how it works. 

 

FYI, use the attached ioreg explorer in the future. Saved ioregs with newer versions can only be opened with that version of ioreg. With this version, you can open them with any version

EAPDFix.kext.zip

AppleHDA.kext.zip

IORegistryExplorer.app.zip

Share this post


Link to post
Share on other sites

Hi Zack, thank you for the reply, I've just tried your files, but the audio system detects only one output, or internal speakers, or subwoofer output, so I can't select both for a multi-output device in Utilities -> Audio Midi ...

Share this post


Link to post
Share on other sites

Ok, if I plugin into the laptop the subwoofer mini-jack, I have only "output" (and only the subwoofer works);

when I unplug it, I have only "internal speakers" (and only internal speakers work);

the input section shows "internal microphone"

Share this post


Link to post
Share on other sites

Ok, if I plugin into the laptop the subwoofer mini-jack, I have only "output" (and only the subwoofer works);

when I unplug it, I have only "internal speakers" (and only internal speakers work);

the input section shows "internal microphone"

 

Step in the right direction, can you provide screenshots?

 

Input sounds good then. 

 

Also, see if this makes a difference. I changed the subwoofer from line out to speaker

AppleHDA.kext.zip

Share this post


Link to post
Share on other sites

Now it shows only "internal speakers", and the subwoofer is not detected anymore...


If I use VoodooHDA instead, in Audio MIDI I have Speaker (Analog) e Speaker (Yellow Rear), so I can select both for a multi-output device...


...headphones not working...

Share this post


Link to post
Share on other sites

Now it shows only "internal speakers", and the subwoofer is not detected anymore...

 

If I use VoodooHDA instead, in Audio MIDI I have Speaker (Analog) e Speaker (Yellow Rear), so I can select both for a multi-output device...

I'm away from my computer at the moment. If voodoohda works, then stick with it. I'll take a look at it again when I get back. Can you post voodoo dump?

Share this post


Link to post
Share on other sites

Has anyone gotten the subwoofer to work with IDT codecs typically found on HP laptops with Beats Audio?

Post your codec dumps and I can take a look at it later

Share this post


Link to post
Share on other sites

 

.... "-bash: getdump: command not found"...

 

Sounds like you installed just the kext. Install this package to get a working get dump file, then reinstall your current voodoohda kext (the get dump command in the newer versions doesn't work).

 

Also, I goofed in the Platforms.xml which is why the speaker was disabled when the subwoofer was plugged in. Try this one

VoodooHDA-v2.8.4.pkg.zip

AppleHDA.kext.zip

Share this post


Link to post
Share on other sites

Hmmm, did you remove AppleHDADisabler and voodoohda? 

 

Install the voodoohda in my previous post, then reinstall the newer voodoohda kext you were using before along with AppleHDADisabler and run the get dump command so I can see what voodoo is doing.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×