About This File
Patch for Mavericks
8408ec10 -> 00000000 without it my codec doesn't work at Mavericks at least
786d6c2e7a6c -> 7a6d6c2e7a6c pin patch to change ApppleHDA xml->zml
8419d411 -> 7006ec10 bin patch for my ALC670.
536F756E 64206173 73657274 696F6E20 ->00000000 00000000 00000000 00000000 patch agains assertions.
These patches in CLover-config.
<key>KextsToPatch</key> <array> <dict> <key>Comment</key> <string>Patch_to_ALC670</string> <key>Find</key> <data>hAjsEA==</data> <key>Name</key> <string>AppleHDA</string> <key>Replace</key> <data>AAAAAA==</data> </dict> <dict> <key>Comment</key> <string>Patch_to_ALC670</string> <key>Find</key> <data>eG1sLnps</data> <key>Name</key> <string>AppleHDA</string> <key>Replace</key> <data>em1sLnps</data> </dict> <dict> <key>Comment</key> <string>Patch_to_ALC670</string> <key>Find</key> <data>hBnUEQ==</data> <key>Name</key> <string>AppleHDA</string> <key>Replace</key> <data>cAbsEA==</data> </dict> <dict> <key>Comment</key> <string>Patch_against_assertions</string> <key>Find</key> <data> U291bmQgYXNzZXJ0aW9uIA== </data> <key>Name</key> <string>AppleHDA</string> <key>Replace</key> <data> AAAAAAAAAAAAAAAAAAAAAA== </data> </dict>
With this driver sound works completely and HDMI-Audio as well.
Need to patch: (For ML)
sudo perl -pi -e 's|\xff\x87\xec\x1a\x0f\x8f\x53\x01\x00\x00|\x70\x06\xec\x10\x0f\x84\x2a\x01\x00\x00|g' AppleHDA
sudo perl -pi -e 's|\xff\x87\xec\x1a\x0f\x8f\x2f\x01\x00\x00|\x70\x06\xec\x10\x0f\x84\x06\x01\x00\x00|g' AppleHDA
It was tested on Acer Aspire8942g
I Use layout65.xml.zlib and Platforms.xml.zlib
Patch of DSDT. variant 1(what I use now)
Device (HDEF) { Name (_ADR, 0x001B0000) 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 (_DSM, 4, NotSerialized) { Store (Package (0x0C) { "device-id", Buffer (0x04) { 0x70, 0x06, 0xEC, 0x10 }, "built-in", Buffer (One) { 0x00 }, "layout-id", Unicode ("A"), "model", Buffer (0x07) { "alc670" }, "PinConfigurations", Buffer (Zero) {}, "hda-gfx", Buffer (0x0A) { "onboard-1" } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } Name (_PRW, Package (0x02) { 0x0D, 0x03 }) }
If your sound doesn't work. look at second variant of DSDT patch
You should try to add these flags to HPET.
IRQNoFlags ()
{11}
IRQNoFlags ()
{15}
Patch of DSDT. variant 2
Device (HPET) { Name (_HID, EisaId ("PNP0103")) Name (_CID, EisaId ("PNP0C01")) Name (BUF0, ResourceTemplate () { IRQNoFlags () {0} IRQNoFlags () {8} IRQNoFlags () {11} IRQNoFlags () {15} Memory32Fixed (ReadOnly, 0xFED00000, // Address Base 0x00000400, // Address Length ) }) Method (_STA, 0, NotSerialized) { If (LGreaterEqual (OSYS, 0x07D1)) { If (HPAE) { Return (0x0F) } } Else { If (HPAE) { Return (0x0B) } } Return (Zero) } Method (_CRS, 0, Serialized) { If (HPAE) { CreateDWordField (BUF0, 0x0A, HPT0) If (LEqual (HPAS, One)) { Store (0xFED01000, HPT0) } If (LEqual (HPAS, 0x02)) { Store (0xFED02000, HPT0) } If (LEqual (HPAS, 0x03)) { Store (0xFED03000, HPT0) } } Return (BUF0) } }
Device (HDEF) { Name (_ADR, 0x001B0000) 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 (Package (0x02) { 0x09, 0x04 }) }
What's New in Version 2.3.7 -/4 See changelog
Released
- 12.05.13 V4 Fixed external microphone
Recommended Comments
There are no comments to display.