About This File
Patched AppleHDA kext to work with CX205090 codec
pleaze test and repport
apply audio layout 3 and IRQ fix on dsdt (thanks to rehabman)
audio layout 3:
#Maintained by: RehabMan for: Laptop Patches#audio_HDEF-layout12.txt# Note: Change your layout ID if you need something different# Inject Audio infointo method label _DSM parent_label HDEF remove_entry;into device label HDEF insertbeginMethod (_DSM, 4, NotSerialized)\n{\nIf (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\nReturn (Package()\n{\n"layout-id", Buffer() { 0x03, 0x00, 0x00, 0x00 },\n"hda-gfx", Buffer() { "onboard-1" },\n"PinConfigurations", Buffer() { },\n//"MaximumBootBeepVolume", 77,\n})\n}\nend;
IRQ fix:
#Maintained by: RehabMan for: Laptop Patches#system_IRQ.txt# This can fix non-working audio and also has an affect on HPET.## Use this if you have issues with patched AppleHDA (required on almost all laptops)# or if you have issues with HPET (restart after wake).# IRQ fixinto 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 IRQNoFlags\s\(\)\n\s+\{.*\} removeall_matched;into device name_hid PNP0103 code_regex Name\s\(([^,]+),\sResourceTemplate\s\(\).*\n\s+\{((?:.|\n)*)\}\) replace_matchedbeginName (%1, ResourceTemplate()\n{\nIRQNoFlags() { 0, 8, 11, 15 }\n%2})\nend;
CREDITS FOR:EMlyDinESH. Mirone,BCC9, Rehabman and others
Recommended Comments