animator013 Posted May 9, 2019 Share Posted May 9, 2019 (edited) Hello, so I tried to create a hackintosh from this nice laptop, I think i got far but still there are some things i don't know how to fix. Specs: - Intel Core i7 7700HQ Kaby Lake - 1920x1080 IPS 144Hz G-sync - NVIDIA GeForce GTX 1070 8GB GDDR5 (has only dedicated card) - NVMe SSD 256GB PCIe PM961 - TB3/USB-C port What works: - Battery (ASUS-N55SL/Vivobook patch) - CPU Power Management (XCPM) - Audio - Speakers/Headphones/Internal Mic (AppleALC + CodecCommander + JackFix) - Graphics (Nvidia drivers) - Sleep (usb_prw_0x6d_xhc Skylake patch) - TouchPad with gestures - ELAN1203 (VoodooI2C + DSDT patch) - an issue with buttons (https://github.com/alexandred/VoodooI2C/issues/190) - Ethernet (with RealtekRTL8111.kext) - HDMI - DisplayPort - SD Card reader - WebCam - NVMe - works OOB without patches - Wi-Fi - DW1560 replacement (BrcmFirmwareRepo.kext, BrcmPatchRAM2.kext) - USB-C - external monitors used usb-c to 2 HDMI monitors, worked OOB What is not working: - Brightness Control - Keyboard Backlight - this does not work also under linux i can live with that - Fn-keys except volume control and multimedia keys Semi-working ? - HDMI/DP Audio - seems only mini-displayport<->displayport cable works OOB with audio, mdp<->hdmi doesn't work also hdmi<->hdmi doesn't work, don't know if this is correct behaviour on mac or not Not yet tested: - Thunderbolt 3 (but i don't think this will work OOB) SMBIOS: MacBookPro 13,1 Kexts in L/E: AppleALC, FakePCIID, Lilu, CodecCommander So my primary problem is the brightness control. I tried this patching by onejay09, great finding! https://github.com/onejay09/osx/issues/1. I patched my DSDT with PNLF and added that _DSM method. Nothing break and I had my internal display detected as built-in and also I have brightness slider in system prefs. But when I move the slider, it doesn't work. I tried also the AppleBacklight injector to no avail. If someone can help me with this I would appreciate it. Also tried with WhateverGreen.kext and without it. I didn't see any difference only the kext shows up in kextstat when I had it included in my setup. Nightshift is working if that is somehow important. Also I would like to kindly ask you if someone can look at my setup and tell me if there is something what can be improved. For example don't know if I have to use USBInjectAll.kext or it can be done better. Also if anyone can assist with the FN-Keys and HDMI audio i will be very grateful. I am attaching ioreg, clover folder, kext stat. If there is something else I should provide, please tell me and i will do so. Thank you for your help. EDIT: Found this in verbose boot log: Code: 2019-05-08 04:39:33.047727-0700 0x71 Default 0x0 0 0 kernel: (AppleACPIPlatform) ACPI Error: 2019-05-08 04:39:33.047728-0700 0x71 Default 0x0 0 0 kernel: (AppleACPIPlatform) ACPI Error: 2019-05-08 04:39:33.047991-0700 0x71 Default 0x0 0 0 kernel: (AppleACPIPlatform) [_DSM] 2019-05-08 04:39:33.047992-0700 0x71 Default 0x0 0 0 kernel: (AppleACPIPlatform) [_DSM] 2019-05-08 04:39:33.048124-0700 0x71 Default 0x0 0 0 kernel: (AppleACPIPlatform) Namespace lookup failure, AE_ALREADY_EXISTS 2019-05-08 04:39:33.048125-0700 0x71 Default 0x0 0 0 kernel: (AppleACPIPlatform) Namespace lookup failure, AE_ALREADY_EXISTS 2019-05-08 04:39:33.049086-0700 0x71 Default 0x0 0 0 kernel: (AppleACPIPlatform) (20160930/dswload-462) 2019-05-08 04:39:33.049086-0700 0x71 Default 0x0 0 0 kernel: (AppleACPIPlatform) (20160930/dswload-462) 2019-05-08 04:39:33.055376-0700 0x71 Default 0x0 0 0 kernel: (AppleACPIPlatform) ACPI Exception: AE_ALREADY_EXISTS, 2019-05-08 04:39:33.055376-0700 0x71 Default 0x0 0 0 kernel: (AppleACPIPlatform) ACPI Exception: AE_ALREADY_EXISTS, 2019-05-08 04:39:33.056141-0700 0x71 Default 0x0 0 0 kernel: (AppleACPIPlatform) During name lookup/catalog 2019-05-08 04:39:33.056141-0700 0x71 Default 0x0 0 0 kernel: (AppleACPIPlatform) During name lookup/catalog 2019-05-08 04:39:33.056709-0700 0x71 Default 0x0 0 0 kernel: (AppleACPIPlatform) (20160930/psobject-310) 2019-05-08 04:39:33.056710-0700 0x71 Default 0x0 0 0 kernel: (AppleACPIPlatform) (20160930/psobject-310) 2019-05-08 04:39:33.063162-0700 0x71 Default 0x0 0 0 kernel: (AppleACPIPlatform) ACPI Exception: AE_ALREADY_EXISTS, 2019-05-08 04:39:33.063163-0700 0x71 Default 0x0 0 0 kernel: (AppleACPIPlatform) ACPI Exception: AE_ALREADY_EXISTS, 2019-05-08 04:39:33.063928-0700 0x71 Default 0x0 0 0 kernel: (AppleACPIPlatform) (SSDT: OemNvT) while loading table 2019-05-08 04:39:33.063929-0700 0x71 Default 0x0 0 0 kernel: (AppleACPIPlatform) (SSDT: OemNvT) while loading table This is coming from OemNvT -> my oem ssdt where nvidia pegp brightness methods are stored. Not really sure how to fix this or if this is even an error to fix. ROGGL503VS.zip Edited May 20, 2019 by animator013 screens Link to comment Share on other sites More sharing options...
foskvs Posted May 21, 2019 Share Posted May 21, 2019 You probably have the same Method in two different SSDTs. Decompile your ACPI tables and attach them. Use iasl -da DSDT.aml SSDT*.aml You can find iasl here: https://acpica.org/downloads 1 Link to comment Share on other sites More sharing options...
MaLd0n Posted May 21, 2019 Share Posted May 21, 2019 if u use a plugin type in ur config.plist, don't use a ssdt SSDT-XCPM.aml Link to comment Share on other sites More sharing options...
xireast Posted October 7, 2019 Share Posted October 7, 2019 Can u share with me your EFI file ? I need this EFI file bro... Link to comment Share on other sites More sharing options...
Recommended Posts