hellfish Posted August 4, 2011 Share Posted August 4, 2011 I had sound working with previous auto patcher, but with new .6 version, it no longer works. I look at the code, and see the HDEF section has changed a lot in the new release, especially layout-id from 885 to 12. Why? How to get audio back? OLD 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) { 0x01 }, "codec-id", Buffer (0x04) { 0x85, 0x08, 0xEC, 0x10 }, "layout-id", Buffer (0x04) { 0x75, 0x03, 0x00, 0x00 }, "device-type", Buffer (0x10) { "Realtek ALC889A" }, "PinConfigurations", Buffer (0x28) { /* 0000 */ 0x10, 0x90, 0xA1, 0x01, 0x20, 0x90, 0xA1, 0x02, /* 0008 */ 0x80, 0x30, 0x81, 0x01, 0x90, 0x40, 0x21, 0x02, /* 0010 */ 0x30, 0x40, 0x11, 0x01, 0x40, 0x40, 0x01, 0x01, /* 0018 */ 0x50, 0x60, 0x01, 0x01, 0x60, 0x20, 0x01, 0x01, /* 0020 */ 0x70, 0x61, 0x4B, 0x01, 0xA0, 0x01, 0xCB, 0x01 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Â New .6 HDEF section: Device (HDEF) { Name (_ADR, 0x001B0000) Method (_PRW, 0, NotSerialized) { Return (Package (0x02) { 0x0D, 0x05 }) } Method (_DSM, 4, NotSerialized) { Store (Package (0x04) { "layout-id", Buffer (0x04) { 0x0C, 0x00, 0x00, 0x00 }, "PinConfigurations", Buffer (Zero) {} }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Quote Link to comment Share on other sites More sharing options...
Administrators MaLd0n Posted August 4, 2011 Administrators Share Posted August 4, 2011 Use Gigabyte HDEF http://Olarila.com/forum/download/file.php?id=204 Apple the correct patch Quote Support Olarila Vanilla Hackintosh by making a donation HERE About Premium Users you can check HERE Problems with Paypal HERE Link to comment Share on other sites More sharing options...
hellfish Posted August 4, 2011 Author Share Posted August 4, 2011 Ah thanks! Selected the 889A from that patcher, and all is well again. Quote Link to comment Share on other sites More sharing options...