Jump to content
janek202

HDA Wizard - Simple tool for AppleHDA.kext

150 posts in this topic

Recommended Posts

ALC262 (works on my Samsung R510).

 

In the Attachment there are Legacy kext (install it to Extra or /S/L/E using Kext Wizard) and two xmls, install them with HDA Wizard. No binpatch is required.

 

DSDT (Check if DevIDs are the same):

            Device (HDEF)
           {
               Name (_ADR, 0x001B0000)
               Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x0A)
                       {
                           "built-in", 
                           Buffer (One)
                           {
                               0x00
                           }, 

                           "subsystem-id", 
                           Buffer (0x04)
                           {
                               0x42, 0xC0, 0x00, 0x00
                           }, 

                           "subsystem-vendor-id", 
                           Buffer (0x04)
                           {
                               0x4D, 0x14, 0x00, 0x00
                           }, 

                           "layout-id", 
                           Buffer (0x04)
                           {
                               0x06, 0x01, 0x00, 0x00
                           }, 

                           "PinConfigurations", 
                           Buffer (Zero) {}
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }
           }

ALC262.zip

Share this post


Link to post
Share on other sites
Advertisement

That was fast :) Thanks! Will try it out and post the results in a bit. To what attachment are you referring to? I only see the dsdt code.

 

edit: There it is Thank You!

Share this post


Link to post
Share on other sites

Can't get it to work... My dsdt doesn't have AZAL/HDEF string so i added the the one you gave me at the end of the PCI0 branch, next step should be figuring out the address of my audio...

Here's what I get in ioreg when I load VoodooHDA:

 

post-180318-1317293468_thumb.png

post-180318-1317293499.png

 

Any ideas?

Share this post


Link to post
Share on other sites
If you don't know how to patch DSDT try to use HDAEnabler. Just remember to set proper LayoutID.

 

Got it to show up in system profiler with this code.

Used layout262 & platforms files that you gave me but no go.

What would be proper LayoutID?

Would appreciate any help that you could give me.

 

Device (HDEF)
		{
			Name (_ADR, 0x001B0000)
			Method (_DSM, 4, NotSerialized)
			{
				Store (Package (0x0C)
					{
						"built-in", 
						Buffer (One)
						{
							0x00
						}, 
						"subsystem-id", 
						Buffer (0x04)
						{
							0x42, 0xC0, 0x00, 0x00
						}, 
						"subsystem-vendor-id", 
						Buffer (0x04)
						{
							0x4D, 0x14, 0x00, 0x00
						}, 
						"layout-id", 
						Buffer (0x04)
						{
							0x06, 0x01, 0x00, 0x00
						}, 
						"device-type", 
						Buffer (0x12)
						{
							"Realtek ALC262"
						}, 
						"PinConfigurations", 
						Buffer (Zero) {}
					}, Local0)
				DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
				Return (Local0)
			}
		}

 

Edit: ALC262.kext loads only from /S/L/E but still no audio, btw I do know how to edit a dsdt but in mine theres no hdef "string" so i'm pretty much in the dark here.

Share this post


Link to post
Share on other sites
Hi I have MB P5Q-E with a AD2000B and I tried your XML files/Binpatch, I can see the devices in the control panel and system profiler, except I have no output. I think that my layout.xml might be different than your AD2000B. Can you help me fix my Layout.xml so I can get sound output?

 

Thk

 

Thanks work for me with injection HDEF in DSDT ;)

Share this post


Link to post
Share on other sites

Please help me! I don't realy understand how to create that bin patch lines :)

My device is IDT 92HD87B1 vendor 111D device 76D1

Thank you!

 

EDIT: Okay, managed to understand

sudo perl -pi -e 's|\x85\x08\xec\x10|\xd1\x76\x1d\x11|g' /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

 

Add please

Share this post


Link to post
Share on other sites

When it comes to AppleHDA.kext I am a Real Newbie. Were do I obtain these original XML files? Are they in Linux/windows or are they generated from the Codec in linux/windows? I see them in the Resources but I am using VoodooHDA right now.

 

I have been reading how to patch AppleHDA in the projectOSX forum but not sure what the xml is all about?

 

EDITED:

 

OK I understand now if you have already a working APpleHDA then it allows you to update a newly updated AppleHDA if there was an APple Update. You just load you original working XML files into this application.

 

So one still has to patch their AppleHDA.kext for the very time first then you use those XML files.

Share this post


Link to post
Share on other sites

Hi, does anyone have the necessary files for an ALC882 for an old Asus P5LD2-VM SE motherboard?

 

Attached is the old code used by Taruga's HDA patcher.

882.txt

 

Thanks.

Share this post


Link to post
Share on other sites
ALC892 (Complete) Tested on Asus board. No idea for other.

Info.plist

layout892.xml

Platforms.xml

Two binpatch edit are needed

's|\x84\x19\xd4\x11|\x92\x08\xec\x10|g'

's|\x83\x19\xd4\x11|\x00\x00\x00\x00|g'

ALC892.zip

DSDT edit is mandatory.

[size=1]            Device (HDEF)
           {
               Name (_ADR, 0x001B0000)
               Method (_PRW, 0, NotSerialized)
               {
                   Return (Package (0x02)
                   {
                       0x0D, 
                       0x05
                   })
               }

               Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x0C)
                       {
                           "subsystem-id", 
                           Buffer (0x04)
                           {
                               0xA0, 0x00, 0x00, 0x00
                           }, 

                           "subsystem-vendor-id", 
                           Buffer (0x04)
                           {
                               0x6B, 0x10, 0x10, 0x10
                           }, 

                           "layout-id", 
                           Buffer (0x04)
                           {
                               0x7C, 0x03, 0x00, 0x00
                           }, 

                           "codec-id", 
                           Buffer (0x04)
                           {
                               0x92, 0x08, 0xEC, 0x10
                           }, 

                           "device-type", 
                           Buffer (0x11)
                           {
                               "ALC892"
                           }, 

                           "PinConfigurations", 
                           Buffer (Zero) {}
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }
           }[/size]

Thanks ErmaC, I'm try too use this method with my P8P67-M.

 

I have a noob question, how can I apply two binpatchs?

 

Im try to use HDA Wizard, I need to put the 2 in one line, like this?

 

's|\x84\x19\xd4\x11|\x92\x08\xec\x10|g''s|\x83\x19\xd4\x11|\x00\x00\x00\x00|g'

 

Thanks

Share this post


Link to post
Share on other sites

sudo perl -pi -e 's|\x84\x19\xd4\x11|\x92\x08\xec\x10|g' /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

 

sudo perl -pi -e 's|\x83\x19\xd4\x11|\x00\x00\x00\x00|g' /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

 

vultu, always you! xD

Share this post


Link to post
Share on other sites
sudo perl -pi -e 's|\x84\x19\xd4\x11|\x92\x08\xec\x10|g' /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

 

sudo perl -pi -e 's|\x83\x19\xd4\x11|\x00\x00\x00\x00|g' /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

 

vultu, always you! xD

 

These patching lines also worked for ALC662 and ALC889 (Z68XP-UD3R) with Lion's AppleHDA.kext. This solved my ALC662 (945GCM-S2L) problem if I want to use Lion's AppleHDA.kext; however, I got one sound assertion of pin complex in kernel log.

 

For experiment:

ALC662_Lion.zip

 

 

Thanks everyone in this thread.

Share this post


Link to post
Share on other sites
sudo perl -pi -e 's|\x84\x19\xd4\x11|\x92\x08\xec\x10|g' /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

 

sudo perl -pi -e 's|\x83\x19\xd4\x11|\x00\x00\x00\x00|g' /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

 

vultu, always you! xD

Buoo, always you to help, thank you again!

 

Works great!

Share this post


Link to post
Share on other sites
ALC892 (Complete) Tested on Asus board. No idea for other.

Info.plist

layout892.xml

Platforms.xml

Two binpatch edit are needed

's|\x84\x19\xd4\x11|\x92\x08\xec\x10|g'

's|\x83\x19\xd4\x11|\x00\x00\x00\x00|g'

ALC892.zip

DSDT edit is mandatory.

[size=1]            Device (HDEF)
           {
               Name (_ADR, 0x001B0000)
               Method (_PRW, 0, NotSerialized)
               {
                   Return (Package (0x02)
                   {
                       0x0D, 
                       0x05
                   })
               }

               Method (_DSM, 4, NotSerialized)
               {
                   Store (Package (0x0C)
                       {
                           "subsystem-id", 
                           Buffer (0x04)
                           {
                               0xA0, 0x00, 0x00, 0x00
                           }, 

                           "subsystem-vendor-id", 
                           Buffer (0x04)
                           {
                               0x6B, 0x10, 0x10, 0x10
                           }, 

                           "layout-id", 
                           Buffer (0x04)
                           {
                               0x7C, 0x03, 0x00, 0x00
                           }, 

                           "codec-id", 
                           Buffer (0x04)
                           {
                               0x92, 0x08, 0xEC, 0x10
                           }, 

                           "device-type", 
                           Buffer (0x11)
                           {
                               "ALC892"
                           }, 

                           "PinConfigurations", 
                           Buffer (Zero) {}
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }
           }[/size]

 

Tried this on my ASUS Sabertooth x58, did it twice and double checked my DSDT. OSX says no built in audio. Using the 10.7.2 GM AppleHDA.kext and applied the binary patch.

 

Edit: it was my DSDT which is from the tonymac site, used the DSDT I found here and now it works.

Share this post


Link to post
Share on other sites

thank you for the great tools janek.

 

im struggling with ALC889 on a S5520SC Mainboard.

It seems that the pin config is trouble on this specific board,

cause i got the systemprofiler, Audio Midi Setup and Sound show all the correct device infos

with [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] and dsdt, but there was no signal on any of the sockets.

 

my question is, how to create the required input files for the hdawiz?

i have made a linux codec dump of my 889, could this be a source ?

 

here is my codec info:

 

Codec: Realtek ALC889
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0889
Subsystem Id: 0x808634e2
Revision Id: 0x100004
No Modem Function Group found
Default PCM:
   rates [0x5f0]: 32000 44100 48000 88200 96000 192000
   bits [0xe]: 16 20 24
   formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=2, o=0, i=0, unsolicited=1, wake=1
 IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
 IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x11: Stereo
 Device: name="ALC889 Analog", type="Audio", device=0
 Converter: stream=5, channel=0
 PCM:
   rates [0x5e0]: 44100 48000 88200 96000 192000
   bits [0xe]: 16 20 24
   formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x11: Stereo
 Converter: stream=5, channel=0
 PCM:
   rates [0x5e0]: 44100 48000 88200 96000 192000
   bits [0xe]: 16 20 24
   formats [0x1]: PCM
Node 0x04 [Audio Output] wcaps 0x11: Stereo
 Converter: stream=5, channel=0
 PCM:
   rates [0x5e0]: 44100 48000 88200 96000 192000
   bits [0xe]: 16 20 24
   formats [0x1]: PCM
Node 0x05 [Audio Output] wcaps 0x11: Stereo
 Converter: stream=5, channel=0
 PCM:
   rates [0x5e0]: 44100 48000 88200 96000 192000
   bits [0xe]: 16 20 24
   formats [0x1]: PCM
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
 Control: name="IEC958 Playback Con Mask", index=0, device=0
 Control: name="IEC958 Playback Pro Mask", index=0, device=0
 Control: name="IEC958 Playback Default", index=0, device=0
 Control: name="IEC958 Playback Switch", index=0, device=0
 Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
 Device: name="ALC889 Digital", type="SPDIF", device=1
 Converter: stream=5, channel=0
 Digital:
 Digital category: 0x0
 PCM:
   rates [0x5f0]: 32000 44100 48000 88200 96000 192000
   bits [0xe]: 16 20 24
   formats [0x1]: PCM
Node 0x07 [Audio Input] wcaps 0x10011b: Stereo Amp-In
 Control: name="Capture Switch", index=0, device=0
 Control: name="Capture Volume", index=0, device=0
 Device: name="ALC889 Analog", type="Audio", device=0
 Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
 Amp-In vals:  [0x80 0x80]
 Converter: stream=0, channel=0
 SDI-Select: 0
 PCM:
   rates [0x5e0]: 44100 48000 88200 96000 192000
   bits [0xe]: 16 20 24
   formats [0x1]: PCM
 Connection: 1
    0x24
Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
 Control: name="Capture Switch", index=1, device=0
 Control: name="Capture Volume", index=1, device=0
 Device: name="ALC889 Analog", type="Audio", device=2
 Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
 Amp-In vals:  [0x00 0x00]
 Converter: stream=0, channel=0
 SDI-Select: 0
 PCM:
   rates [0x5e0]: 44100 48000 88200 96000 192000
   bits [0xe]: 16 20 24
   formats [0x1]: PCM
 Connection: 1
    0x23
Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
 Control: name="Capture Switch", index=2, device=0
 Control: name="Capture Volume", index=2, device=0
 Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
 Amp-In vals:  [0x00 0x00]
 Converter: stream=0, channel=0
 SDI-Select: 0
 PCM:
   rates [0x5e0]: 44100 48000 88200 96000 192000
   bits [0xe]: 16 20 24
   formats [0x1]: PCM
 Connection: 1
    0x22
Node 0x0a [Audio Input] wcaps 0x100391: Stereo Digital
 Converter: stream=0, channel=0
 SDI-Select: 0
 Digital:
 Digital category: 0x0
 PCM:
   rates [0x570]: 32000 44100 48000 96000 192000
   bits [0xe]: 16 20 24
   formats [0x1]: PCM
 Unsolicited: tag=00, enabled=0
 Connection: 1
    0x1f
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
 Control: name="Rear Mic Playback Volume", index=0, device=0
   ControlAmp: chs=3, dir=In, idx=0, ofs=0
 Control: name="Rear Mic Playback Switch", index=0, device=0
   ControlAmp: chs=3, dir=In, idx=0, ofs=0
 Control: name="Front Mic Playback Volume", index=0, device=0
   ControlAmp: chs=3, dir=In, idx=1, ofs=0
 Control: name="Front Mic Playback Switch", index=0, device=0
   ControlAmp: chs=3, dir=In, idx=1, ofs=0
 Control: name="Line Playback Volume", index=0, device=0
   ControlAmp: chs=3, dir=In, idx=2, ofs=0
 Control: name="Line Playback Switch", index=0, device=0
   ControlAmp: chs=3, dir=In, idx=2, ofs=0
 Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
 Amp-In vals:  [0x97 0x97] [0x97 0x97] [0x17 0x17] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97]
 Connection: 10
    0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17
Node 0x0c [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
 Control: name="Front Playback Volume", index=0, device=0
   ControlAmp: chs=3, dir=Out, idx=0, ofs=0
 Control: name="Front Playback Switch", index=0, device=0
   ControlAmp: chs=3, dir=In, idx=2, ofs=0
 Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 Amp-In vals:  [0x00 0x00] [0x00 0x00]
 Amp-Out caps: ofs=0x3e, nsteps=0x40, stepsize=0x03, mute=0
 Amp-Out vals:  [0x24 0x24]
 Connection: 2
    0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
 Control: name="Surround Playback Volume", index=0, device=0
   ControlAmp: chs=3, dir=Out, idx=0, ofs=0
 Control: name="Surround Playback Switch", index=0, device=0
   ControlAmp: chs=3, dir=In, idx=2, ofs=0
 Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 Amp-In vals:  [0x00 0x00] [0x00 0x00]
 Amp-Out caps: ofs=0x3e, nsteps=0x40, stepsize=0x03, mute=0
 Amp-Out vals:  [0x00 0x00]
 Connection: 2
    0x03 0x0b
Node 0x0e [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
 Control: name="Center Playback Volume", index=0, device=0
   ControlAmp: chs=1, dir=Out, idx=0, ofs=0
 Control: name="LFE Playback Volume", index=0, device=0
   ControlAmp: chs=2, dir=Out, idx=0, ofs=0
 Control: name="Center Playback Switch", index=0, device=0
   ControlAmp: chs=1, dir=In, idx=2, ofs=0
 Control: name="LFE Playback Switch", index=0, device=0
   ControlAmp: chs=2, dir=In, idx=2, ofs=0
 Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 Amp-In vals:  [0x00 0x00] [0x00 0x00]
 Amp-Out caps: ofs=0x3e, nsteps=0x40, stepsize=0x03, mute=0
 Amp-Out vals:  [0x00 0x00]
 Connection: 2
    0x04 0x0b
Node 0x0f [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
 Control: name="Side Playback Volume", index=0, device=0
   ControlAmp: chs=3, dir=Out, idx=0, ofs=0
 Control: name="Side Playback Switch", index=0, device=0
   ControlAmp: chs=3, dir=In, idx=2, ofs=0
 Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 Amp-In vals:  [0x00 0x00] [0x00 0x00]
 Amp-Out caps: ofs=0x3e, nsteps=0x40, stepsize=0x03, mute=0
 Amp-Out vals:  [0x00 0x00]
 Connection: 2
    0x05 0x0b
Node 0x10 [Audio Output] wcaps 0x211: Stereo Digital
 Converter: stream=0, channel=0
 Digital:
 Digital category: 0x0
 PCM:
   rates [0x5f0]: 32000 44100 48000 88200 96000 192000
   bits [0xe]: 16 20 24
   formats [0x1]: PCM
Node 0x11 [Pin Complex] wcaps 0x400300: Mono Digital
 Pincap 0x00000010: OUT
 Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
   Conn = 1/8, Color = Black
   DefAssociation = 0xf, Sequence = 0x0
   Misc = NO_PRESENCE
 Pin-ctls: 0x40: OUT
 Connection: 1
    0x10
Node 0x12 [Pin Complex] wcaps 0x400001: Stereo
 Pincap 0x00000020: IN
 Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
   Conn = 1/8, Color = Black
   DefAssociation = 0xf, Sequence = 0x0
   Misc = NO_PRESENCE
 Pin-ctls: 0x00:
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 Amp-Out vals:  [0x00 0x00]
 Pincap 0x0001003c: IN OUT HP EAPD Detect
 EAPD 0x2: EAPD
 Pin Default 0x01014010: [Jack] Line Out at Ext Rear
   Conn = 1/8, Color = Green
   DefAssociation = 0x1, Sequence = 0x0
 Pin-ctls: 0x40: OUT
 Unsolicited: tag=00, enabled=0
 Connection: 5
    0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 Amp-Out vals:  [0x00 0x00]
 Pincap 0x0001003c: IN OUT HP EAPD Detect
 EAPD 0x2: EAPD
 Pin Default 0x01011012: [Jack] Line Out at Ext Rear
   Conn = 1/8, Color = Black
   DefAssociation = 0x1, Sequence = 0x2
 Pin-ctls: 0x40: OUT
 Unsolicited: tag=00, enabled=0
 Connection: 5
    0x0c 0x0d* 0x0e 0x0f 0x26
Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 Amp-Out vals:  [0x00 0x00]
 Pincap 0x00000034: IN OUT Detect
 Pin Default 0x01016011: [Jack] Line Out at Ext Rear
   Conn = 1/8, Color = Orange
   DefAssociation = 0x1, Sequence = 0x1
 Pin-ctls: 0x40: OUT
 Unsolicited: tag=00, enabled=0
 Connection: 5
    0x0c 0x0d 0x0e* 0x0f 0x26
Node 0x17 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 Amp-Out vals:  [0x00 0x00]
 Pincap 0x00000034: IN OUT Detect
 Pin Default 0x01012014: [Jack] Line Out at Ext Rear
   Conn = 1/8, Color = Grey
   DefAssociation = 0x1, Sequence = 0x4
 Pin-ctls: 0x40: OUT
 Unsolicited: tag=00, enabled=0
 Connection: 5
    0x0c 0x0d 0x0e 0x0f* 0x26
Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
 Control: name="Rear Mic Boost Volume", index=0, device=0
   ControlAmp: chs=3, dir=In, idx=0, ofs=0
 Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
 Amp-In vals:  [0x00 0x00]
 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 Amp-Out vals:  [0x80 0x80]
 Pincap 0x0000373c: IN OUT HP Detect
   Vref caps: HIZ 50 GRD 80 100
 Pin Default 0x01a19840: [Jack] Mic at Ext Rear
   Conn = 1/8, Color = Pink
   DefAssociation = 0x4, Sequence = 0x0
 Pin-ctls: 0x24: IN VREF_80
 Unsolicited: tag=00, enabled=0
 Connection: 5
    0x0c 0x0d 0x0e 0x0f 0x26*
Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
 Control: name="Front Mic Boost Volume", index=0, device=0
   ControlAmp: chs=3, dir=In, idx=0, ofs=0
 Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
 Amp-In vals:  [0x00 0x00]
 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 Amp-Out vals:  [0x80 0x80]
 Pincap 0x0000373c: IN OUT HP Detect
   Vref caps: HIZ 50 GRD 80 100
 Pin Default 0x02a19850: [Jack] Mic at Ext Front
   Conn = 1/8, Color = Pink
   DefAssociation = 0x5, Sequence = 0x0
 Pin-ctls: 0x24: IN VREF_80
 Unsolicited: tag=00, enabled=0
 Connection: 5
    0x0c 0x0d 0x0e 0x0f 0x26*
Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
 Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
 Amp-In vals:  [0x00 0x00]
 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 Amp-Out vals:  [0x80 0x80]
 Pincap 0x0000373c: IN OUT HP Detect
   Vref caps: HIZ 50 GRD 80 100
 Pin Default 0x0181304f: [Jack] Line In at Ext Rear
   Conn = 1/8, Color = Blue
   DefAssociation = 0x4, Sequence = 0xf
 Pin-ctls: 0x20: IN VREF_HIZ
 Unsolicited: tag=00, enabled=0
 Connection: 5
    0x0c 0x0d 0x0e 0x0f 0x26*
Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
 Control: name="Headphone Playback Switch", index=0, device=0
   ControlAmp: chs=3, dir=Out, idx=0, ofs=0
 Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
 Amp-In vals:  [0x00 0x00]
 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 Amp-Out vals:  [0x00 0x00]
 Pincap 0x0000373c: IN OUT HP Detect
   Vref caps: HIZ 50 GRD 80 100
 Pin Default 0x02214020: [Jack] HP Out at Ext Front
   Conn = 1/8, Color = Green
   DefAssociation = 0x2, Sequence = 0x0
 Pin-ctls: 0xc0: OUT HP VREF_HIZ
 Unsolicited: tag=00, enabled=0
 Connection: 5
    0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x1c [Pin Complex] wcaps 0x400081: Stereo
 Pincap 0x00000024: IN Detect
 Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
   Conn = 1/8, Color = Black
   DefAssociation = 0xf, Sequence = 0x0
   Misc = NO_PRESENCE
 Pin-ctls: 0x20: IN
 Unsolicited: tag=00, enabled=0
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
 Pincap 0x00000020: IN
 Pin Default 0x4016f601: [N/A] Speaker at Ext N/A
   Conn = Digital, Color = Other
   DefAssociation = 0x0, Sequence = 0x1
 Pin-ctls: 0x20: IN
Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital
 Pincap 0x00000010: OUT
 Pin Default 0x01441130: [Jack] SPDIF Out at Ext Rear
   Conn = RCA, Color = Black
   DefAssociation = 0x3, Sequence = 0x0
   Misc = NO_PRESENCE
 Pin-ctls: 0x40: OUT
 Connection: 1
    0x06
Node 0x1f [Pin Complex] wcaps 0x400280: Mono Digital
 Pincap 0x00000020: IN
 Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
   Conn = 1/8, Color = Black
   DefAssociation = 0xf, Sequence = 0x0
   Misc = NO_PRESENCE
 Pin-ctls: 0x20: IN
 Unsolicited: tag=00, enabled=0
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
 Processing caps: benign=0, ncoeff=28
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
 Control: name="Input Source", index=2, device=0
 Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
 Connection: 11
    0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
 Control: name="Input Source", index=1, device=0
 Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 Amp-In vals:  [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
 Connection: 11
    0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
Node 0x24 [Audio Selector] wcaps 0x300101: Stereo
 Control: name="Input Source", index=0, device=0
 Connection: 12
    0x18* 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b 0x12
Node 0x25 [Audio Output] wcaps 0x11: Stereo
 Converter: stream=0, channel=0
 PCM:
   rates [0x5e0]: 44100 48000 88200 96000 192000
   bits [0xe]: 16 20 24
   formats [0x1]: PCM
Node 0x26 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
 Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
 Amp-In vals:  [0x00 0x00] [0x00 0x00]
 Amp-Out caps: ofs=0x3e, nsteps=0x40, stepsize=0x03, mute=0
 Amp-Out vals:  [0x3e 0x3e]
 Connection: 2
    0x25 0x0b

 

 

ALC 889 for 5.1 Speaker

I want to share my new 889 patch files. I test GA X58A-UD3R board. Now you can use 3 LineOut and HeadphoneOut. So you can use 5.1 speaker in Audio MIDI setup. I cannot make HeadphoneOut auto detection, so I delete SPDIF output (I don't use it anyway.) You have to connect orange pin to gray connecter. Don't forget bin patch !!

 

I attach layout889.xml, Platforms.xml, and info.plist.

 

thank you for the upload JunHo, could you please explain how you got the files from your system?

Share this post


Link to post
Share on other sites
Tried this on my ASUS Sabertooth x58, did it twice and double checked my DSDT. OSX says no built in audio. Using the 10.7.2 GM AppleHDA.kext and applied the binary patch.

Try put this first:

sudo perl -pi -e 's|\x83\x19\xd4\x11|\x00\x00\x00\x00|g' /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

 

Then this:

sudo perl -pi -e 's|\x84\x19\xd4\x11|\x92\x08\xec\x10|g' /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

Share this post


Link to post
Share on other sites

My codec dump from a windows machine for ALC892 (from ASUS P8P67 LE Motherboard) working pinconfig incorrectly with macman ALC8xxHDA.kext

 

<01171C40 01171D01 01171E43 01171F99 01271CF0 01271D11 01271E11 01271F41 01471C10 01471D40 01471E01 01471F01 01571C12 01571D10 01571E01 01571F01 01671C11 01671D60 01671E01 01671F01 01771C14 01771D20 01771E01 01771F01 01871C50 01871D98 01871EA1 01871F01 01971C60 01971D9C 01971EA1 01971F02 01A71C5F 01A71D30 01A71E81 01A71F01 01B71C20 01B71D4C 01B71E21 01B71F02 01C71CF0 01C71D11 01C71E11 01C71F41 01D71C01 01D71DE6 01D71E05 01D71F40 01E71C30 01E71D61 01E71E45 01E71F01 01F71CF0 01F71D11 01F71E11 01F71F41>

 

I hope you should add this to your HDA Wizard in order to active correctly my sound card.

 

Thank you very much.

Share this post


Link to post
Share on other sites
Try put this first:

sudo perl -pi -e 's|\x83\x19\xd4\x11|\x00\x00\x00\x00|g' /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

 

Then this:

sudo perl -pi -e 's|\x84\x19\xd4\x11|\x92\x08\xec\x10|g' /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

 

That's what I did instead of using HDA Wizard. I also took the working 10.7.0 kext and used the files provided because it provides complete functionality and that didn't work either, so it might be the files and not the patch. I also just tried the 10.7.0 kext I have but it doesnt work on 10.7.2 gm.

Share this post


Link to post
Share on other sites
Please help me! I don't realy understand how to create that bin patch lines ;)

My device is IDT 92HD87B1 vendor 111D device 76D1

Thank you!

 

EDIT: Okay, managed to understand

sudo perl -pi -e 's|\x85\x08\xec\x10|\xd1\x76\x1d\x11|g' /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

 

Add please

 

 

hello androdev,

 

could you please explain how you created this line?`

 

thx

tt

Share this post


Link to post
Share on other sites
ALC 889 for 5.1 Speaker

I want to share my new 889 patch files. I test GA X58A-UD3R board. Now you can use 3 LineOut and HeadphoneOut. So you can use 5.1 speaker in Audio MIDI setup. I cannot make HeadphoneOut auto detection, so I delete SPDIF output (I don't use it anyway.) You have to connect orange pin to gray connecter. Don't forget bin patch !!

 

I attach layout889.xml, Platforms.xml, and info.plist.

 

What do you mean i have to connect orange pin to gray connector? does it mean I need to get another cable to connect the orange pin and gray?

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.

  • Similar Content

    • By ITzTravelInTime
      KX AUDIO DRIVER MOD
       
      Hi guys i am a small developer, i really like to use my sound blaster cards on my machines and i love also coding, so when i find the source code for the kx audio driver on git hub and then Eugene, the creator of kx audio driver decided to no longer maintain the project, i decided to start working on a mod of this driver and maintain it. 
       
      With my mod, created starting from the sources of the last official version of kx audio driver and all the small commiunity updates, i am working to keep the driver compatible with the latest mac os versions and to improove the driver over time.
       
      Supported cards are:
       
       - most of the Sound Blaster live!, live! 5.1 and live! 5.1 digital series (except for the cards not using the 10k1 architecture)
       - sound blaster pci 512 and pci 256
       - Sound Blaster Audigy, Audigy 2 and Audigy 2 zs series
       - E-MU cards based on the 10k2 sound chip (like the EMU8852 aka 0404m, including the pcie version)
       - Sound Blaster Audigy 4 (SB0610 only) and the Audigy 4 pro
       - Sound Blaster Audigy RX (SB0155)
       - other creative and e-mu cards based on the (10k1,10k2, 10k2.5 and CA10300 based cards)
       
      The NOT supported cards includes (but are not limited to):
       
       - ES1370/ES1371/ES1372/ES1373 based sound cards
       - Any CA0106 based card and cards with similar architectures (like sound blaster live! 24 bit, sound blaster audigy SE SB0570, audigy LS and similars, but audigy SA is supported)
       - Any sound blaster x-fi (some of them works on macOS using a modified version of voodoo hda)
       - Any sound blaster recon3D
       - Sound blaster Audigy FX
       - Any sound blaster Z/ZS/ZX and similar series
       - Any sound blaster AE5/AE7/AE9 series
       - Any sound card without an emu sound chip
      - Any ISA Sound card
       
      In the time being the things i have modded or added with this mod are:
       
      - cracking and stability fixes
       
      - added a more proper support for the pci express Sound Blaster audigy rx SB0155 (which basically is an audigy 4 with a pcie bridge chip) 
       
      - more user-frienly names for the cards in the settings and other system menus (so the name will be, for example, SB live! 5.1 SB0060 instead of kx SB0060 [e880] witch was shown in the original driver)
       
      - added support to sample rate changing and bit resolution change (the absolte worst supported quality is 7 khz at 8 bit dept while the absolute best is 192 khz at 32 bit depth)
       
      - inputs support
       
      - added boot args to manage the driver (more info on those soon)
       
      What i'd like to implement but i don't know how to do:
       
       - fix the support when using more than one card, to get all the cards shown in the settings and other menus,
       
       - have the gameport/midi port of older cards to be used in mac os as a midi in/out
       
      If other developers would like to join and help they are free to do so, this is a free open source project afterall, and also an hand from other people with testing and feedback will be nice.
       
      LINKS and downloads:
               -  github repo:                                               https://github.com/ITzTravelInTime/kx-audio-driver   (kext download coming soon, since an update is coming)  
       





    • By AbhilashSathe
      I'm currently using AppleALC inside /EFI/Clover/Kexts.
      Sound works fine through Laptop speakers. However, as soon as I connect my earphones, i start getting a continuous buzzing sound. Can anyone help me with this?

      config.plist
      SSDTS_DSDT.zip

       
      rough 
    • By LSP414
      Cannot figure out where to put custom ringtones on Catalina so I can select them in contacts. They are in the iTunes folder but are not recognized
    • By Diptamondal
      dell inspiron 5378 hackintosh wifi don't work 
    • By Slice
      Some users claim that using VoodooHDA they hear loud bump at system start and sound in system comes with noise.
      Although this can be repaired with existing drivers I propose a version that do this automatically.
      It started silently and have very clear output. The file is compiled as 32/64 and works from 10.6 up to 10.12.
      VoodooHDA.kext-289.zip
      The sources is in my signature.
       
      There is a VoodooHDA,prefPane compatible with Sierra
      VoodooHDA.prefPane-289.zip

       
      Now there is a version 2.9.0 by Zenith432.
      It can work with multichannel sound and play it on 5.1 analog system.

      VoodooHDA.kext-2.9.0d8.zip
      27.04.2017 
      d10 - Fix issues involving AudioControls
      VoodooHDA.kext-2.9.0d10.zip
       
      20.11.2018
      Fix issue with scratch on slow CPU
      VoodooHDA.kext-291SSE.zip
       
      04.05.2019
      More checks for memory allocation. More clear sound anyway. 
      VoodooHDA.kext-292.zip
      IOAudioFamily.kext.zip
       
       
×