Lord Kamina Posted September 27, 2012 Share Posted September 27, 2012 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! card0-codec#2.txt Tiamat.ioreg.zip Link to comment Share on other sites More sharing options...
Lord Kamina Posted September 27, 2012 Author Share Posted September 27, 2012 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. Link to comment Share on other sites More sharing options...
Recommended Posts