About This File Use this with Layout 12 injection or DSDT! What's New in Version 2.3.7 (10.8.3) Released March 22, 2013 Patched for ALC889a audio (alc885 chip) with Layout 12 injection or dsdt. 2.3.7 (10.8.3)
Derty 743 Posted April 5, 2013 the basic hdef is that. basic into device name_adr 0x001B0000 set_label begin HDEF end; into_all all code_regex AZAL replaceall_matched begin HDEF end; into device label HDEF insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x04)\n {\n "layout-id", \n Buffer (0x04)\n {\n 0x0C, 0x00, 0x00, 0x00\n }, \n "PinConfigurations", \n Buffer (Zero) {}\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end more extended into method label _DSM parent_adr 0x001B0000 remove_entry; into device name_adr 0x001B0000 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x0A)\n {\n "built-in",\n Buffer (One)\n {\n 0x01\n },\n "codec-id",\n Buffer (0x04)\n {\n 0x85, 0x08, 0xEC, 0x10\n },\n "layout-id",\n Buffer (0x04)\n {\n 0x0C, 0x00, 0x00, 0x00\n },\n "device-type",\n Buffer (0x10)\n {\n "Realtek ALC889A"\n },\n "PinConfigurations",\n Buffer (0x28)\n {\n /* 0000 */ 0x10, 0x90, 0xA1, 0x01, 0x20, 0x90, 0xA1, 0x02,\n /* 0008 */ 0x80, 0x30, 0x81, 0x01, 0x90, 0x40, 0x21, 0x02,\n /* 0010 */ 0x30, 0x40, 0x11, 0x01, 0x40, 0x40, 0x01, 0x01,\n /* 0018 */ 0x50, 0x60, 0x01, 0x01, 0x60, 0x20, 0x01, 0x01,\n /* 0020 */ 0x70, 0x61, 0x4B, 0x01, 0xA0, 0x01, 0xCB, 0x01\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end the ping configuration change in some motherboards, need IORegistryExplorer.app to see that.. olds gygabyte patch into device name_adr 0x001B0000 set_label begin HDEF end; into_all all code_regex AZAL replaceall_matched begin HDEF end; into method label _DSM parent_adr 0x001B0000 remove_entry; into device name_adr 0x001B0000 insert begin Method (_DSM, 4, NotSerialized)\n {\n Store (Package (0x08)\n {\n "codec-id",\n Buffer (0x04)\n {\n 0x85, 0x08, 0xEC, 0x10\n },\n "layout-id",\n Buffer (0x04)\n {\n 0x0C, 0x00, 0x00, 0x00\n },\n "device-type",\n Buffer (0x10)\n {\n "Realtek ALC889a"\n },\n "PinConfigurations",\n Buffer (0x01)\n {\n 0x00\n }\n }, Local0)\n DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))\n Return (Local0)\n } end; into method label DTGP remove_entry; into definitionblock code_regex . insert begin Method (DTGP, 5, NotSerialized)\n {\n If (LEqual (Arg0, Buffer (0x10)\n {\n /* 0000 */ 0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44, \n /* 0008 */ 0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B\n }))\n {\n If (LEqual (Arg1, One))\n {\n If (LEqual (Arg2, Zero))\n {\n Store (Buffer (One)\n {\n 0x03\n }, Arg4)\n Return (One)\n }\n If (LEqual (Arg2, One))\n {\n Return (One)\n }\n }\n }\n Store (Buffer (One)\n {\n 0x00\n }, Arg4)\n Return (Zero)\n } end; into device name_hid PNP0000 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched; into device name_hid PNP0100 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched; into device name_hid PNP0B00 code_regex IRQNoFlags\s\(\)\n\s+\{(\d+)\} remove_matched; into device name_hid PNP0103 code_regex_not IRQNoFlags code_regex Name\s\(([^,]+),\sResourceTemplate\s\(\)\n\s+\{((?:.|\n)*)\}\) replace_matched begin Name (%1, ResourceTemplate ()\n {\n IRQNoFlags ()\n {0}\n IRQNoFlags ()\n {8}\n %2 }) end 1
Micky1979 2,798 Posted April 17, 2013 With Enoch bootloader you can inject your layout-id into org.chameleon.plist using HDAEnabler module by ErmaC, ....without using a patched dsdt! Micky
Mac-on-PC 2 Posted July 5, 2013 No sound on Gigabyte GA EG45M-DS2H with ALC889a/885 audio codec. I have a DSDT with HDEF like above. Somebody have an solution? I am completely stuck.
Recommended Comments