Jump to content

HDA Wizard - Simple tool for AppleHDA.kext


janek202
 Share

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

Link to comment
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?

Link to comment
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.

Link to comment
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 ;)

Link to comment
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

Link to comment
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.

Link to comment
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

Link to comment
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

Link to comment
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.

Link to comment
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!

Link to comment
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.

Link to comment
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?

Link to comment
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

Link to comment
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.

Link to comment
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.

Link to comment
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

Link to comment
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?

Link to comment
Share on other sites

 Share

×
×
  • Create New...