Piranhax Posted April 26, 2016 Share Posted April 26, 2016 (edited) What am I doing wrong ?? Trying to patch DTST, SSDT7 for intel hd 4400 graphics, and brightness. No matter what I try I get error's.. Tried newest version's old versions of Iasl, and MaciASL.. Made several dumps to make sure it wasn't something weird.. When I go to compile, I always get 3 or 4 errors, that are not simple to repair. Can someone check out my DTST Tried iasl -da DSDT.aml SSDT*.aml iasl -da -dl -fe refs.txt *.aml with the refs.tx Spec's -------------------------- Dell 7347 Model Name: MacBook Pro Model Identifier: MacBookPro6,2 Processor Name: Intel Core i5 Processor Speed: 2.39 GHz Number of Processors: 1 Total Number of Cores: 2 L2 Cache (per Core): 256 KB L3 Cache: 3 MB Memory: 8 GB Bus Speed: 400 MHz Intel HD Graphics 4400: Chipset Model: Intel HD Graphics 4400 Type: GPU Bus: Built-In VRAM (Dynamic, Max): 1536 MB Vendor: Intel (0x8086) Device ID: 0x0a16 Revision ID: 0x000b Displays: Display: Resolution: 1366 x 768 @ 60 Hz Pixel Depth: 32-Bit Color (ARGB8888) Main Display: Yes Mirror: Off Online: Yes Built-In: Yes —————————————————————— Clover Dump F4@ B00T Using latest Iasl and , MaciASL 6.1 Tried with and without Rehabs refs.txt applying # Syntax errors into definitionblock code_regex External\s+\(_SB_\.PCI0\.PEG0\) remove_matched; into definitionblock code_regex External\s+\(_SB_\.PCI0\.PEG0\.PEGP\) remove_matched; into definitionblock code_regex External\s+\(_SB_\.PCI0\.RP05\.PEGP\) remove_matched; into definitionblock code_regex External\s+\(_SB_\.PCI0\.PEG0,\sUnknownObj\) remove_matched; into definitionblock code_regex External\s+\(_SB_\.PCI0\.PEG0\.PEGP,\sUnknownObj\) remove_matched; into definitionblock code_regex External\s+\(_SB_\.PCI0\.RP05\.PEGP,\sUnknownObj\) remove_matched; into method label _L69 code_regex Notify\s\(\\_SB\.PCI0\.PEG0\.PEGP,\s0x02\) remove_matched; into method label ADBG replace_content begin Return(0) end; into method label HRPR code_regex (OperationRegion.*)\\_GPE.MMTB\s+\(0x04\), replace_matched begin %1\\_GPE.MMTB, 0x04)\n end; into method label HRPR code_regex (Field\s+\(HRPE.*\n.*\n.*\n.*\})\) replace_matched begin %1 end; into method label _WAK code_regex Store\s\(\\_GPE\.MMTB\s\(Local2,\s\\_GPE\.OSUP\s\(Local2\)\),\sStore\s\(Local1,\sREG6\)\) remove_matched; into method label _INI code_regex Store\s\(\\_GPE\.MMTB\s\(Local3,\s\\_GPE\.OSUP\s\(Local3\)\),\sStore\s\(Local2,\sREG6\)\) remove_matched; into method label _INI parent_label _SB.PCI0 code_regex (Store\s\(\\_GPE\.MMTB.*) replace_matched begin // %1 end; into method label _WAK code_regex (Store\s\(\\_GPE\.MMTB.*) replace_matched begin // %1 end; # Prevent freeze caused by WMI into method label WMIA replace_content begin // nothing end; # Force BAT0 device into method label _STA parent_label BAT0 replace_content begin Return (0x1F) end; # Fix PNOT method into method label PNOT replace_content begin // nothing end; # Enable functions keys #Override DSDT oemId (for Clover, since it patches with "Apple ") into method label _DSM parent_label PS2K remove_entry; into device label PS2K insert begin Method (_DSM, 4, NotSerialized)\n {\n If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n Return (Package()\n {\n // Note: Function key part seems to not be necessary // "AAPL,has-embedded-fn-keys", Buffer() { 0x01, 0x00, 0x00, 0x00 },\n "RM,oem-id", "DELL",\n })\n }\n end; # Inject Audio info into method label _DSM parent_label HDEF remove_entry; into device label HDEF insert begin Method (_DSM, 4, NotSerialized)\n {\n If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n Return (Package()\n {\n "layout-id", Buffer() { 0x03, 0x00, 0x00, 0x00 },\n "hda-gfx", Buffer() { "onboard-1" },\n "PinConfigurations", Buffer() { },\n })\n }\n end; DSDT-SSDT7.zip Edited April 26, 2016 by Allan Code box added Link to comment Share on other sites More sharing options...
artur_pt Posted April 26, 2016 Share Posted April 26, 2016 hello 0 errors both files .. now u apply what u want DSDT-SSDT7.zip good hack 1 Link to comment Share on other sites More sharing options...
Piranhax Posted April 26, 2016 Author Share Posted April 26, 2016 Thanks (x Million) It seems to be working.. I've applied most of those patches, no problems.. Link to comment Share on other sites More sharing options...
Piranhax Posted April 26, 2016 Author Share Posted April 26, 2016 It seems in my excitement I loaded the files you sent back without realizing you sent them in aml not dsl. Does that mean I would need to recompile them again? If so could you please, send the dsl versions ? I patched them, but they didn't seem to take the way they were supposed to. I can tell they are doing something cause my fn keys for brightness don't zoom out the applications like before. However I did try decompiling them again, and got errors as before. Link to comment Share on other sites More sharing options...
Piranhax Posted April 26, 2016 Author Share Posted April 26, 2016 3 Error's after decompliling and trying to add the patch.. Link to comment Share on other sites More sharing options...
artur_pt Posted April 27, 2016 Share Posted April 27, 2016 hello use acpi 4.0 there u go DSDT-SSDT7.zip this ones are already patched .. but to use it u must know what are u doing .. if u go use a patched dsdt .. disable in clover all dsdt fix DSDT-SSDT7.zip good hack Link to comment Share on other sites More sharing options...
Piranhax Posted April 27, 2016 Author Share Posted April 27, 2016 Thanks again.. I'll be able to get into them this evening. Link to comment Share on other sites More sharing options...
Piranhax Posted April 27, 2016 Author Share Posted April 27, 2016 For anyone with this system Dell 7347 I5 4th gen. 8GB, 500 SSD. I got these patched from another working 7347 Hackintosh, and they worked perfect. Battery enabled, Display brightness slider works, Sleep works, Brightness keys are fn+s fn+b. For Yosemite 10.10.1, if it doesn't work straight away, and your booting from clover. Check your plist for DSDT, or other graphics inputs. Just put the patched folder in place of your's. EFI/Clover/Acpi/patched. YMMV I've read that if your specs aren't exact, it may not work. However I don't believe the system I borrowed from had an ssd drive, and it worked for me. patched.zip Link to comment Share on other sites More sharing options...
Piranhax Posted April 28, 2016 Author Share Posted April 28, 2016 artur_pt Thanks!! I kept having reboot issues with the other patch?? Possibly??? My system kept booting into Dell's safety test /epsa. It never found any problems, but maybe something was slightly different in the copied patch ? The 4.0 dsl files you sent, I patched them no errors, and every thing seems smooth. (touch wood) Maybe if you have the time, I could use your expertise to check out this issue ? Trying to turn off Touch Screen USB port .. Can't figure out what port it is .. http://www.insanelymac.com/forum/topic/311998-touch-screen-disable-help-with-usb-boot-flag/ Link to comment Share on other sites More sharing options...
Recommended Posts