Jump to content

AppleHDA patching in Mountain Lion


nyolc8
 Share

239 posts in this topic

Recommended 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.

Link to comment
Share on other sites

  • 1 month later...

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 ?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

  • 3 weeks later...

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.

Link to comment
Share on other sites

  • 1 month later...

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)

files.zip

Link to comment
Share on other sites

  • 2 months later...

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

Link to comment
Share on other sites

  • 1 month later...

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.

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 years later...

I need help with ADI1988B, vendor ID:10de, device: 371, sub device: 81f6

for 10.8.2 and 10.8.5 and 10.9.2 (mavericks)

Vendor is Nvidia with MCP55

 

Thanks

 

Edit : nevermind .. I found this great kext : NVAudio.kext from www.cameronjtinker.com and works great fo ML  :). It needs the APpleHDA.kext to work properly.

 

For 10.8.5 and Mavericks I had to use the same AppleHDA.kext version 2.3.1 from 10.8.2 (also removed VoodooHDA.kext).

Link to comment
Share on other sites

 Share

×
×
  • Create New...