sr2 Posted November 10, 2009 Share Posted November 10, 2009 I was using cparm's LegacyHDA to enable sound on the SL 10.6.1, but since the 10.6.2 update sound has stopped working. I've been getting the following messages in the kernel log: Nov 10 08:09:43 kernel[0]: Sound assertion "0 == commonDSPArray" failed in "/SourceCache/AppleHDA/AppleHDA-179.1.4/AppleHDA/AppleHDAEngine.cpp" at line 239 goto ExitNov 10 08:09:43 kernel[0]: Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-179.1.4/AppleHDA/AppleHDADriver.cpp" at line 1698 goto Exit Nov 10 08:09:43 kernel[0]: Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-179.1.4/AppleHDA/AppleHDADriver.cpp" at line 203 goto Exit Nov 10 08:09:43 kernel[0]: Sound assertion "0 == commonDSPArray" failed in "/SourceCache/AppleHDA/AppleHDA-179.1.4/AppleHDA/AppleHDAEngine.cpp" at line 239 goto Exit Nov 10 08:09:43 kernel[0]: Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-179.1.4/AppleHDA/AppleHDADriver.cpp" at line 1698 goto Exit Nov 10 08:09:43 kernel[0]: Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-179.1.4/AppleHDA/AppleHDADriver.cpp" at line 203 goto Exit Nov 10 08:09:43 kernel[0]: Sound assertion "0 == commonDSPArray" failed in "/SourceCache/AppleHDA/AppleHDA-179.1.4/AppleHDA/AppleHDAEngine.cpp" at line 239 goto Exit Nov 10 08:09:43 kernel[0]: Sound assertion "0 != result" failed in "/SourceCache/AppleHDA/AppleHDA-179.1.4/AppleHDA/AppleHDADriver.cpp" at line 1698 goto Exit Nov 10 08:09:43 kernel[0]: Sound assertion "0 != createAudioEngines ( fPathMap_aDriverInstance )" failed in "/SourceCache/AppleHDA/AppleHDA-179.1.4/AppleHDA/AppleHDADriver.cpp" at line 203 goto Exit I've tried to tinker with cparm's kexts to no avail. I've marked the most interesting lines in the log with bold and I suspect that the problem has something to do with the CommonPeripheralDSP array in the AppleHDAPlatformDriver.kext, but I'm not sure. Does anyone have any tips on how to solve this problem? Thanks in advance. EDIT: cparm's kexts Link to comment Share on other sites More sharing options...
Parwo Posted November 10, 2009 Share Posted November 10, 2009 same here ... EDIT: reinstall applehda.kext .... Link to comment Share on other sites More sharing options...
sr2 Posted November 11, 2009 Author Share Posted November 11, 2009 Finally, I've managed to make AppleHDA from the 10.6.2 to work on my MSI P35 Platinum. I replaced cparm's kexts with the LegacyHDA.kext taken from this thread. I've modified the new kext so it matches my DSDT (removed ConfigData keys (I've already had this stuff in my DSDT), changed LayoutIDs, CodecIDs). If someone interested I attached resulting kext. All outputs at the rear panel except the blue one (Line-In) should work. I haven't tested microphone input (rear panel) but it should also work. Front panel's outputs probably won't work at all, sorry. Also it seems like the 7.1 stuff can be configured in the Amp section, but I don't have any idea how it should be done. Random thought: this kext will probably work on other non-MSI boards, or at least green, black, orange rear panel outputs should work (NodeIDs of which seem the same across most MB). Accompanying HDEF section: Device (HDEF) { Name (_ADR, 0x001B0000) Method (_PRW, 0, NotSerialized) { Return (Package (0x02) { 0x0D, 0x05 }) } Method (_DSM, 4, NotSerialized) { Store (Package (0x0A) { "built-in", Buffer (One) { 0x00 }, "codec-id", Buffer (0x04) { 0x88, 0x08, 0xEC, 0x10 }, "ConfigData", Buffer (0x50) { /* 0000 */ 0x01, 0x47, 0x1C, 0x10, 0x01, 0x47, 0x1D, 0x40, /* 0008 */ 0x01, 0x47, 0x1E, 0x01, 0x01, 0x47, 0x1F, 0x01, /* 0010 */ 0x01, 0x57, 0x1C, 0x60, 0x01, 0x57, 0x1D, 0x10, /* 0018 */ 0x01, 0x57, 0x1E, 0x01, 0x01, 0x57, 0x1F, 0x01, /* 0020 */ 0x01, 0x67, 0x1C, 0x70, 0x01, 0x67, 0x1D, 0x60, /* 0028 */ 0x01, 0x67, 0x1E, 0x01, 0x01, 0x67, 0x1F, 0x01, /* 0030 */ 0x01, 0x77, 0x1C, 0x80, 0x01, 0x77, 0x1D, 0x20, /* 0038 */ 0x01, 0x77, 0x1E, 0x01, 0x01, 0x77, 0x1F, 0x01, /* 0040 */ 0x01, 0x87, 0x1C, 0x40, 0x01, 0x87, 0x1D, 0x90, /* 0048 */ 0x01, 0x87, 0x1E, 0xA1, 0x01, 0x87, 0x1F, 0x01 }, "layout-id", Buffer (0x04) { 0x78, 0x03, 0x00, 0x00 }, "PinConfigurations", Buffer (0x14) { /* 0000 */ 0x10, 0x40, 0x01, 0x01, 0x60, 0x10, 0x01, 0x01, /* 0008 */ 0x70, 0x60, 0x01, 0x01, 0x80, 0x20, 0x01, 0x01, /* 0010 */ 0x40, 0x90, 0xA1, 0x01 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } kexts.zip Link to comment Share on other sites More sharing options...
Recommended Posts