mirror of
https://github.com/tylernguyen/x1c6-hackintosh.git
synced 2025-02-05 17:33:13 -06:00
21 lines
840 B
Text
Executable file
21 lines
840 B
Text
Executable file
#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 fix
|
|
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 IRQNoFlags\s\(\)\n\s+\{.*\} removeall_matched;
|
|
into device name_hid PNP0103 code_regex Name\s\(([^,]+),\sResourceTemplate\s\(\).*\n\s+\{((?:.|\n)*)\}\) replace_matched
|
|
begin
|
|
Name (%1, ResourceTemplate()\n
|
|
{\n
|
|
IRQNoFlags() { 0, 8, 11, 15 }\n
|
|
%2
|
|
})\n
|
|
end;
|