Jump to content
InsanelyMac Forum
Sign in to follow this  
Lord Kamina

ALC 662 in 10.8.2, I give up. Please help me somebody?

Recommended Posts

Hello, everybody.

 

First let me specify my current system: I'm running on a Foxconn G41MD (Intel G41/ICH7) with Realtek ALC662. My processor is an Intel E7400 (overclocked @ 3.37GHz)

 

Now, let me be clear on something: I've never had working audio with AppleHDA. I began in the hackintosh scene just a few months ago on 10.6.8 and was too much of a newbie to try anything other than the myriad of different kexts available online. The only way I got it to work was with VoodooHDA. Then fast-forward to now, I completely skipped 10.7.x and went straight to 10.8.1. (and now 10.8.2.)

 

I've been editing my DSDT and all that, now that I more-or-less know what I'm doing and I've got everything working perfectly except for the audio. One of my main problems right now is that I'm not sure where my problem is: DSDT, PinConfig, Audio Layout, AppleHDA binary, or something else.

 

I've tried every guide I've come across and none has worked so far. I've tried at least three different AppleHDA binaries (and have tried patching my own with different fixes also) and nothing is working.

 

My current progress is this: My DSDT has the HDEF device as follows:

 

Device (HDEF)
	 {
		 Name (_ADR, 0x001B0000)
		 Method (_PRW, 0, NotSerialized)
		 {
			 Return (Package (0x02)
			 {
				 0x09,
				 0x05
			 })
		 }
		 Method (_DSM, 4, NotSerialized)
		 {
			 Store (Package (0x0E)
				 {
					 "built-in",
					 Buffer (One)
					 {
							 0x00
					 },
					 "CodecAddressMask",
					 Buffer (One)
					 {
							 0x04
					 },
					 "layout-id",
					 Buffer (0x04)
					 {
							 0x1C, 0x00, 0x00, 0x00
					 },
					 "device-type",
					 Buffer (0x20)
					 {
						 "Realtek ALC662"
					 },
					 "vendor-id",
					 Buffer (0x04)
					 {
						 0x62, 0x06, 0xec, 0x10
					 },
					 "revision-id",
					 Buffer (0x04)
					 {
							 0x01, 0x00, 0x00, 0x00
					 },
					 "PinConfigurations",
					 Buffer (Zero) {}
				 }, Local0)
			 DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
			 Return (Local0)
		 }
	 }

 

And am using a legacy kext made by myself with the following data:

 

<key>ALC662 Hardware Config Resource</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.apple.driver.AppleHDAHardwareConfigDriver</string>
<key>HDAConfigDefault</key>
<array>
<dict>
<key>AFGLowPowerState</key>
<data>
AwAAAA==
</data>
<key>CodecID</key>
<integer>283903586</integer>
<key>ConfigData</key>
<data>
IUccECFHHUAhRx4hIUcfASFXHOAhVx0QIVceESFXH0AhZxzwIWcdECFnHhEhZx9AIYcc
MCGHHZAhhx6hIYcfASGXHEAhlx2QIZceoSGXH0IhpxxQIacdMCGnHiEhpx8BIbccICG3
HUAhtx4hIbcfQiHHHNAhxx0AIcceACHHH0Ah1xwAIdcdACHXHgAh1x9AIeccwCHnHQAh
5x4AIecfQCFHDAIhVwwC
</data>
<key>FuncGroup</key>
<integer>1</integer>
<key>LayoutID</key>
<integer>28</integer>
<key>PreservePinConfigurations</key>
<true/>
</dict>

 

My verbs would thus be:

 

21471C10 21471D40 21471E21 21471F01
21571CE0 21571D10 21571E11 21571F40
21671CF0 21671D10 21671E11 21671F40
21871C30 21871D90 21871EA1 21871F01
21971C40 21971D90 21971EA1 21971F42
21A71C50 21A71D30 21A71E21 21A71F01
21B71C20 21B71D40 21B71E21 21B71F42
21C71CD0 21C71D00 21C71E00 21C71F40
21D71C00 21D71D00 21D71E00 21D71F40
21E71CC0 21E71D00 21E71E00 21E71F40 21470C02 21570C02

 

Obviously, I am using a modded layout28.xml and Platforms.xml with my intended Path maps.

 

My "System Information" shows my layout to be correctly configured, but there's no devices. (Attached screenshot)

 

And when I boot I am getting several Sound Assertions:

 

Sep 27 14:44:46 localhost kernel[0]: Sound assertion in AppleHDAController at line 4097
Sep 27 14:45:28 Tiamat kernel[0]: Sound assertion in AppleHDADriver at line 1746
Sep 27 14:45:30 Tiamat kernel[0]: Sound assertion in AppleHDAEngine at line 6578
Sep 27 14:45:30 Tiamat kernel[0]: Sound assertion in AppleHDAEngine at line 748
Sep 27 14:45:30 Tiamat kernel[0]: Sound assertion in AppleHDADriver at line 2285
Sep 27 14:45:30 Tiamat kernel[0]: Sound assertion in AppleHDADriver at line 217
Sep 27 14:45:31 Tiamat kernel[0]: Sound assertion in AppleHDADriver at line 1055

 

I've tried everything I can think of, and nothing so far has worked. I think the problem most likely lies in the AppleHDA binary but I have no way to be sure.

 

Attached are my Ubuntu codec dump, the devices screenshot and my IOReg. Please, any help is welcome!

post-1018099-0-00752700-1348770869_thumb.png

card0-codec#2.txt

Tiamat.ioreg.zip

Share this post


Link to post
Share on other sites
Advertisement

Update: I found a backup of my old SL install just before upgrading. I'm now trying the exact same configuration in 10.6.8, with KermalAlkin's patched AppleHDA and these are the errors I'm getting:

 

9/27/12 6:14:42 PM kernel Sound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-199.4.12/AppleHDA/AppleHDADriver.cpp" at line 1667 goto Exit
9/27/12 6:14:42 PM kernel Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-199.4.12/AppleHDA/AppleHDADriver.cpp" at line 202 goto Exit
9/27/12 6:14:42 PM kernel Sound assertion "0 == pathMap_aDriverInstance" failed in "/SourceCache/AppleHDA/AppleHDA-199.4.12/AppleHDA/AppleHDADriver.cpp" at line 1667 goto Exit
9/27/12 6:14:42 PM kernel Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-199.4.12/AppleHDA/AppleHDADriver.cpp" at line 202 goto Exit

 

They're at least more descriptive than the ones in 10.8.2. I still have no idea if that's due to a problem in the binary or the pathmap, though.

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Posts

    • Cool! Do you have a link? Googled and didn't see anything yet.   Never mind... you're quick! I just noticed you updated it on the 1st page THANKS!!!!!!
    • I resolved the problem. Just set this coding in your config.plist:   "
      <key>KextsToPatch</key>
              <array>
                  <dict>
                      <key>Comment</key>
                      <string>USB 10.13.4+ by PMHeart</string>
                      <key>Disabled</key>
                      <false/>
                      <key>Find</key>
                      <data>
                      g32UDw+DlwQAAA==
                      </data>
                      <key>InfoPlistPatch</key>
                      <false/>
                      <key>MatchOS</key>
                      <string>10.13.x</string>
                      <key>Name</key>
                      <string>com.apple.driver.usb.AppleUSBXHCI</string>
                      <key>Replace</key>
                      <data>
                      g32UD5CQkJCQkA==
                      </data>
                  </dict>
              </array>     "
    • New Web Driver - 387.10.10.10.30.107 for 10.13.4 build 17E202
    • I guess having pre{max-height: 500px;overflow: auto;} in CSS was too much for IPS Devs' tast.  Until an admin has hands on this, you still can use stylish plugin to accomplish it.     In fact, it is pretty easy than it appears - Just apply a simple click on the codebox (it will highlight it), then 'delete' key.
    • all the possible frequencyes i have added seems to work fine at the moment, i have added a lot of different frequencyes to support better all kinds of professional applications, inclunding strange sampling rates and goes from 8khz up to 176.4 khz, unfortunately 192 khz does not seems to work even on cards which should support it like the audigy rx, but other frequencyes just works fine and at the moment i have tested only the sound blaster audigy rx and the audigy sb0090 (1st gen audigy) and i can confirm that all the frequencyes from 8khz up to 176.4 khz does work on that card, so i think that such frequencyes should work on all the audigy 2, 2sz, 4 cards as well, tomorrow i will test with my sound blaster live! cards and i will let you know, but here are also some photos (pro tip: use cmd + alt/opton + 4 and then press space to make a screenshot of a single window):


×