RehabMan
Moderator
- Joined
- May 2, 2012
- Messages
- 181,058
- Motherboard
- Intel DH67BL
- CPU
- i7-2600K
- Graphics
- HD 3000
- Mac
- Mobile Phone
Yup, it's number 5 in previous attachment above.
Sorry, maybe i misunderstood this: Turning Radeon off can be done completely within the SSDT.
Your SSDT-5 is a fair bit different from the ProBook. You'll need to do some serious work on the patches...
It is best to extract them in Linux, so you have the separate files. Then you can disassemble them better using iasl (-e argument).
Code:
iasl -e DSDT.aml SSDT.aml SSDT-2.aml SSDT-3.aml SSDT-4.aml -d SSDT-5.aml
If you were to do that, then you'd have less errors to fix...
But here is a set of patches that might work.... I took some liberties here to remove some code I don't think is likely to be used, and has a bunch of errors in it (method IDAB). It is likely that the SSDT properly disassembled does not not have those errors.
Here is the patches for SSDT-5:
Code:
into definitionblock code_regex External\s+\((\\_SB_\.PCI0\.GFX0\.DD02\._BCM),\s+IntObj\) replace_matched begin External(%1, MethodObj)
end;
into method label _BCM parent_label DD02 code_regex Return\s+\(([^\)]*)\)\n.*Arg0 replace_matched begin Return(%1(Arg0)) end;
into method label _INI parent_label \_SB.PCI0.PEG0.PEGP code_regex . insert begin _OFF()\n end;
into method label _DSM parent_label \_SB.PCI0.GFX0 remove_entry;
into method label IDAB remove_entry;
into definitionblock code_regex External\s\(\\_SB_\.PCI0\.GFX0,\sDeviceObj\) replace_matched
begin
External (\_SB_.PCI0.GFX0,DeviceObj)\n
External(\_SB.PCI0.PEG0,DeviceObj)
end;
# rename GFX0
into_all all code_regex \.GFX0 replaceall_matched begin .IGPU end;
into_all all label \_SB.PCI0.GFX0 set_label begin \_SB.PCI0.IGPU end;