Jump to content

AppleHDA patching in Mountain Lion

AppleHDA ML .xml.zlib

  • Please log in to reply
237 replies to this topic

#221
iFIRE

iFIRE

    InsanelyMacaholic

  • Moderators
  • 3,769 posts
  • Gender:Male
  • Location:Bcn-Spain
look here: http://www.insanelym...ountain-e-lion/

#222
ohsht

ohsht

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts

-= ADI AD2000B =-


First of all I wont give the proper credits.
- Samantha (aka Revogirl, DHP) R.I.P. we miss you. For the script (Inflate/Deflate zlib)
- TimeWalker75a , I suppose is the same as TimeWalker on Applelife.ru post #338
for find the binpatch for this controller.

So let's go.

.

.

.

Fabio


Thank you! I've been struggling with this since I upgraded from Lion to ML several weeks ago. Finally my system is fully functional again.

#223
MacKing

MacKing

    InsanelyMac Protégé

  • Members
  • Pip
  • 28 posts
  • Gender:Male
  • Location:Malta, Europe

look here: http://www.insanelym...ountain-e-lion/


Thanks for the link, however I followed a copy of this link in english in here: http://www.insanelym...-idt-92hd91bxx/

and didnt work for me. Would you like to see the verbs, and kext I generated maybe you can guide me to whats wrong?

#224
Xtro

Xtro

    InsanelyMac Protégé

  • Members
  • Pip
  • 31 posts
Is there a patch for AD2000b integrated soundcard? I have an Asus P5Q-E motherboard that worked OK until latest update.

#225
Micky1979

Micky1979

    I realized that I am lucky

  • Moderators
  • 1,704 posts
  • Gender:Male
  • Location:Italy

Is there a patch for AD2000b integrated soundcard? I have an Asus P5Q-E motherboard that worked OK until latest update.

see here #69 ...this Topic :o

Micky

#226
Xtro

Xtro

    InsanelyMac Protégé

  • Members
  • Pip
  • 31 posts
Thank you Micky, but that patch is what I used back in august 2012 and it worked, but since last update of Mountain Lion doesn't work. Need I patch again? I don't remember how I did it, is there a good guide for this kind of patching?

Thank you very much.

EDIT: OK, very easy, I only had to put again my patched applehda replacing the previous one, and run kext utility. Things are back like they were.

#227
sarim khan

sarim khan

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts
Guys need help. my system is laptop, lenovo G480. Audio id shows as 8086:1e20
Audio device: Intel Corporation Panther Point High Definition Audio Controller (rev 04)

I'm not sure which codec is 8086:1e20 ? I tried several patched AppleHDA with dsdt fix, not worked.
Using this http://www.insanelymac.com/forum/topic/286273-ml-1082-80861e20-no-audio-out/ AppleHDA and DSDT, i got
Sound assertion in AppleHDAController at line 483
:(

But i'm using 10.8.0. Any help or link ? for 10.8.0 and 8086:1e20 which one to use ?

#228
Micky1979

Micky1979

    I realized that I am lucky

  • Moderators
  • 1,704 posts
  • Gender:Male
  • Location:Italy
8086:1e20 is the controller, not the codec!

Micky

#229
nyolc8

nyolc8

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 802 posts
  • Gender:Male
  • Location:Budapest, Hungary
Is applehda binary changed again in 10.8.3? Because the binpatch I used for alc662 in 10.8.2 seems not working. :(
Layout modifications work because it appears in system profiler, but no device.

Getting these in console at startup:
2013.03.15. 12:22:06,000 kernel[0]: Sound assertion in AppleHDAPath at line 631
2013.03.15. 12:22:06,000 kernel[0]: Sound assertion in AppleHDAPathSet at line 77
2013.03.15. 12:22:06,000 kernel[0]: Sound assertion in AppleHDAEngine at line 1413
2013.03.15. 12:22:06,000 kernel[0]: Sound assertion in AppleHDAEngine at line 360
2013.03.15. 12:22:06,000 kernel[0]: Sound assertion in AppleHDADriver at line 2317
2013.03.15. 12:22:06,000 kernel[0]: Sound assertion in AppleHDADriver at line 218
2013.03.15. 12:22:06,000 kernel[0]: Sound assertion in AppleHDADriver at line 1056


Edit: nevermind, I probably messed up something, because I could patched it for second time :D

#230
Alex Auditore

Alex Auditore

    InsanelyMac Legend

  • Donators
  • 698 posts
  • Gender:Male
Hello.
How can I get rid of snap during reboot. There is only problem which wasn't solved with sound
During start up and shut down no snap or click.
My codec is ALC670

#231
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 2,833 posts
  • Gender:Male
Hi!

Is there any step by step guide for AppleHDA binary patching which doesn't involve HDA Wizard or bcc9 command line script? Those two are really great tools, but both rely on a static library of previously successful patches, when i'm interested in work with "exotic" codecs that wasn't yet solved. This topic is interesting, but there only scattered pieces of information here and there and most resources i found on the internet are quite outdated.

All the best!

#232
Compik

Compik

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts

Hi all.
I have ALC269VC on my laptop, headphones and mic working but there is no sound from internal speakers. Have you guys any suggestions?

I've used following config data;

From

Node 0x12 411111f0
Node 0x14 411111f0, EAPD 0x02
Node 0x15 0321101f, EAPD 0x02

Node 0x17 90170120
Node 0x18 03a11830
Node 0x19 90a70940
Node 0x1a 411111f0
Node 0x1b 90170110
Node 0x1d 4006a21d
Node 0x1e 411111f0


To

Node 12 : f0 11 11 41 - N/A
Node 14: f0 11 11 41 - N/A
Node 15: 1f 10 21 03-> 10 10 21 03 (Corrected sequence)
Node 17: 20 01 17 90 -> - N/A
Node 18: 30 18 a1 03 ->30 10 81 03 (Corrected Ext mic to LineIn)
Node 19: 40 09 a7 90 -> 40 01 a0 90 (Corrected IntMic Conn type and DSP)
Node 1a: f0 11 11 41 - N/A
Node 1b: 10 01 17 90-> 20 01 17 90 (Corrected Association)
Node 1d: 1d a2 06 40 - N/A
Node 1e: f0 11 11 41 - N/A

Node 14 EAPD : 02 - N/A
Node 15 EAPD : 02 - Headphone contains EAPD

<01571c40 01571d10 01571e21 01571f03 01871c20 01871d10 01871e81 01871f03 01971c30 01971d01 01971ea0 01971f90 01b71c10 01b71d01 01b71e17 01b71f90 01570c02>

in dsdt

Method (_DSM, 4, NotSerialized)
			{
				Store (Package (0x06)
					{
						"hda-gfx",
						Buffer (0x0A)
						{
							"onboard-1"
						},

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

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

and attached files for patching

AppleHDA, codec dump, layout28.xml, Platforms.xml, Info.plist attached.

I have also sound assertion

14/09/2012 20:48:05.000 kernel[0]: Sound assertion in AppleHDAController at line 1294
14/09/2012 21:38:31.000 kernel[0]: Sound assertion in AppleHDAController at line 1294
14/09/2012 21:38:37.000 kernel[0]: Sound assertion in AppleHDAEngine at line 6611
14/09/2012 21:38:37.000 kernel[0]: Sound assertion in AppleHDAEngine at line 748
14/09/2012 21:38:37.000 kernel[0]: Sound assertion in AppleHDADriver at line 2285
14/09/2012 21:38:37.000 kernel[0]: Sound assertion in AppleHDADriver at line 217
14/09/2012 21:38:37.000 kernel[0]: Sound assertion in AppleHDADriver at line 1055
14/09/2012 21:48:16.000 kernel[0]: Sound assertion in AppleHDAController at line 1294

Try this!

Hi all.
I have ALC269VC on my laptop, headphones and mic working but there is no sound from internal speakers. Have you guys any suggestions?

I've used following config data;

From

Node 0x12 411111f0
Node 0x14 411111f0, EAPD 0x02
Node 0x15 0321101f, EAPD 0x02

Node 0x17 90170120
Node 0x18 03a11830
Node 0x19 90a70940
Node 0x1a 411111f0
Node 0x1b 90170110
Node 0x1d 4006a21d
Node 0x1e 411111f0


To

Node 12 : f0 11 11 41 - N/A
Node 14: f0 11 11 41 - N/A
Node 15: 1f 10 21 03-> 10 10 21 03 (Corrected sequence)
Node 17: 20 01 17 90 -> - N/A
Node 18: 30 18 a1 03 ->30 10 81 03 (Corrected Ext mic to LineIn)
Node 19: 40 09 a7 90 -> 40 01 a0 90 (Corrected IntMic Conn type and DSP)
Node 1a: f0 11 11 41 - N/A
Node 1b: 10 01 17 90-> 20 01 17 90 (Corrected Association)
Node 1d: 1d a2 06 40 - N/A
Node 1e: f0 11 11 41 - N/A

Node 14 EAPD : 02 - N/A
Node 15 EAPD : 02 - Headphone contains EAPD

<01571c40 01571d10 01571e21 01571f03 01871c20 01871d10 01871e81 01871f03 01971c30 01971d01 01971ea0 01971f90 01b71c10 01b71d01 01b71e17 01b71f90 01570c02>

in dsdt

Method (_DSM, 4, NotSerialized)
			{
				Store (Package (0x06)
					{
						"hda-gfx",
						Buffer (0x0A)
						{
							"onboard-1"
						},

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

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

and attached files for patching

AppleHDA, codec dump, layout28.xml, Platforms.xml, Info.plist attached.

I have also sound assertion

14/09/2012 20:48:05.000 kernel[0]: Sound assertion in AppleHDAController at line 1294
14/09/2012 21:38:31.000 kernel[0]: Sound assertion in AppleHDAController at line 1294
14/09/2012 21:38:37.000 kernel[0]: Sound assertion in AppleHDAEngine at line 6611
14/09/2012 21:38:37.000 kernel[0]: Sound assertion in AppleHDAEngine at line 748
14/09/2012 21:38:37.000 kernel[0]: Sound assertion in AppleHDADriver at line 2285
14/09/2012 21:38:37.000 kernel[0]: Sound assertion in AppleHDADriver at line 217
14/09/2012 21:38:37.000 kernel[0]: Sound assertion in AppleHDADriver at line 1055
14/09/2012 21:48:16.000 kernel[0]: Sound assertion in AppleHDAController at line 1294

Try this! http://www.sendspace.com/file/5otdym
Working for me.

#233
marsuss

marsuss

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts

Try this!
Try this! http://www.sendspace.com/file/5otdym
Working for me.


Thank you very much. :thumbsup_anim:

Posted Image

#234
minimaltech

minimaltech

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
It's been 4 days since I'm trying to make the OS X 10.8.3 running on my Lenovo B590 laptop.

Managed so far:

- Clover UEFI booting, using patched dsdt.aml.
- Intel HD4000 working due to dsdt.aml patching.
- Realtek
[RTL81xx@0x2000:rtl8168_init_board] NIC identified as RTL8168E-VL/8111E-VL (mcfg=16)
- a bit buggy but it's good enough.
- VoodooPS2 and VoodooBattery for keyboard/touchpad and battery. All working fine.
- Native speedsteping and sleep due to dsdt.aml patching. Though I find a bit weird the following
WARNING: IOPlatformPluginUtil : getCPUIDInfo: this is an unknown CPU model 0x3a
-- power management may be incomplete or unsupported

Well, all good so far, just untill I get to the ALC269VC Realtek sound board.
I've been reading and trying the tutorials for patching but I came to no success, mainly due to the fact that I don't fully comprehend the terminology used... I'm a bit dumb, I know :lol: .

SO:

got myself codec_dump from linux mint 14
converted to dec
got myself regedit keys from windows, converted them
got around to parse the linux codec_dump so to get the verbs list (which is awfully weird)

started patching and I managed in getting a kernel panic :lol: .

For the moment, due to dsdt.aml, in system information:
Intel High Definition Audio:
Audio ID: 269
Speaker:
Connection: Internal
External Microphone / iPhone Headset:
Connection: 1/8-Inch Jack
using HDEF
Device (HDEF)
	 {
		 Name (_ADR, 0x001B0000)
		 Device (HDEF)
		 {
			 Method (_DSM, 4, NotSerialized)
			 {
				 Store (Package (0x06)
					 {
						 "hda-gfx",
						 Buffer (0x0A)
						 {
							 "onboard-1"
						 },
						 "layout-id",
						 Buffer (0x04)
						 {
								 0x1C, 0x00, 0x00, 0x00
						 },
						 "PinConfigurations",
						 Buffer (Zero) {}
					 }, Local0)
				 DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
				 Return (Local0)
			 }
		 }
		 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 (GPRW (0x0D, 0x04))
		 }
	 }

Can anyone help me in getting the sound going?
Attaching the original .kext, codec_dumps, verbs, dsdt.aml + dmesg export (a few weird things over there too).

The annoying thing ---> in iAktos ML2 sound works with AppleHDA.kext. If I extract from the install DVD that kext and install it here, nothing works. :wallbash:

I'm grateful for any ideas that pop up. I don't mind patching the damned thing myself, but I don't know where in the hell I screw up <_<


SPECS:
Intel I5-3210M - 2,5GHz
Intel HD4000 (VGA+HDMI)
4GB RAM
ALC2629VC (Sound)

(USB 3.0 not working)

Attached Files



#235
DirectXtraOrdinary

DirectXtraOrdinary

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 321 posts
  • Gender:Male
  • Location:Mödling, Austria

I have a partial success on my Gigabyte GA-Z77-D3H rev1.1 (UEFI ver. 19g),

it's a VIA VT2020/VT2021.

So I attached the codec dump from linux and what I've got so far:

 

PinConfig (from Windows 8 Pro)

 

 

<02471c10 02471d40 02471e01 02471f01 02571c12 02571d10 02571e01 02571f01 02671c11 02671d60 02671e01 02671f01 02771cf0 02771d20 02771e01 02771f41 02871c1f 02871d40 02871e21 02871f02 02971c37 02971d90 02971ea1 02971f02 02a71c3e 02a71d30 02a71e81 02a71f01 02b71c36 02b71d90 02b71ea1 02b71f01 02c71cf0 02c71d01 02c71e37 02c71f50 02d71cf0 02d71d11 02d71e45 02d71f07 02e71cf0 02e71d11 02e71e45 02e71f07 02f71cf0 02f71d01 02f71e56 02f71f58>

 

which led to PinConfigurations in DSDT:

 

 

"PinConfigurations",
  Buffer (0x30)
  {
 
    /* 0000 */ 0x10, 0x40, 0x01, 0x01, 0x12, 0x10, 0x01, 0x01,
    /* 0008 */ 0x11, 0x60, 0x01, 0x01, 0xf0, 0x20, 0x01, 0x41,
    /* 0010 */ 0x1f, 0x40, 0x21, 0x02, 0x37, 0x90, 0xa1, 0x02,
    /* 0018 */ 0x3e, 0x30, 0x81, 0x01, 0x36, 0x90, 0xa1, 0x01,
    /* 0020 */ 0xf0, 0x01, 0x37, 0x50, 0xf0, 0x11, 0x45, 0x07,
    /* 0028 */ 0xf0, 0x11, 0x45, 0x07, 0xf0, 0x01, 0x56, 0x58
    
  }

 

still I have a small issue, at boot I get

 

 

Sound assertion in AppleHDACodecGeneric at line 360
Sound assertion in AppleHDACodecGeneric at line 360
Sound assertion in AppleHDACodecGeneric at line 360
Sound assertion in AppleHDACodecGeneric at line 360

 

and not all outputs seem to work:

 

o6k3md.jpg

 

In "About this Mac" dev is shown as ID12.

 

Any suggestions about this error?

 

best regards



#236
nexuscan

nexuscan

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
  • Gender:Male

hello all,

 

Im using acer 5935g laptop. and i installed 10.8.4

 

all drivers are working fine except sound card is alc889

 

could please help me about how to use sound card.

 

ps: I read all conversation on this topic. but i didnt get clear.

 

thanks a lot.



#237
Johanmartin

Johanmartin

    InsanelyMac Protégé

  • Members
  • Pip
  • 38 posts

I have a asus p6t6-ws-revolution (with ADI-AD2000b) and have updated to 10.8.5 Now, patching applehda.kext does not work for me. Please help! 



#238
Rodion2010

Rodion2010

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts

Hello! Can someone help with Codec: Analog Devices AD1988B

Vendor Id: 0x11d4198b
I made working kexts for 10.6.8 and 10.7.5 but I cannot make it work with 10.8.5 :(






Also tagged with one or more of these keywords: AppleHDA, ML, .xml.zlib


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy