Contribute
Register

[solved] [HELP] Renaming GFX0 to IGPU for brightness control kills NVMe Driver

Status
Not open for further replies.
Joined
Sep 22, 2012
Messages
21
Motherboard
Razer Blade 14 2017
CPU
i7 7700HQ
Graphics
HD 630 and GTX 1060 (Optimus)
Hi,

i'm currently trying to get brightness control working.
So far, this method works (tested without an nvme drive):

https://www.tonymacx86.com/threads/...rol-using-applebacklightinjector-kext.218222/

however, i need to rename GFX0 to IGPU for this to work.

i have enabled NVMe using the clover patches in my config.plist for IONVMEFamily.kext since
HackrNVMEFamily does somehow not work.

I have attached the following files:

CLOVER.zip - My Clover folder from EFI partition
DSDT.aml - my DSDT without renaming GFX0 to IGPU
DSDT_IGPU.aml - my DSDT with renaming patch
IORegistryExplorer - IORegistryExplorer Copy without renaming
 

Attachments

  • CLOVER.zip
    2.7 MB · Views: 108
  • IORegistryExplorer.zip
    6.7 MB · Views: 96
  • DSDT.aml
    150.9 KB · Views: 239
  • DSDT_IGPU.aml
    150.9 KB · Views: 251
Hi,

i'm currently trying to get brightness control working.
So far, this method works (tested without an nvme drive):

https://www.tonymacx86.com/threads/...rol-using-applebacklightinjector-kext.218222/

however, i need to rename GFX0 to IGPU for this to work.

i have enabled NVMe using the clover patches in my config.plist for IONVMEFamily.kext since
HackrNVMEFamily does somehow not work.

I have attached the following files:

CLOVER.zip - My Clover folder from EFI partition
DSDT.aml - my DSDT without renaming GFX0 to IGPU
DSDT_IGPU.aml - my DSDT with renaming patch
IORegistryExplorer - IORegistryExplorer Copy without renaming

Renames are best done in config.plist. Doing renames manually would require patching DSDT.aml and the SSDTs (renames must be balanced across all DSDT+SSDTs). It is covered in the ACPI patching guide...

See guide for config.plist that already has GFX0->IGPU rename.
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/
 
Renames are best done in config.plist. Doing renames manually would require patching DSDT.aml and the SSDTs (renames must be balanced across all DSDT+SSDTs). It is covered in the ACPI patching guide...

See guide for config.plist that already has GFX0->IGPU rename.
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/

OK, great I now managed to rename GFX0 to IGPU. IOReg is attached. So is my current Clover folder.

However, the backlight fix does not work... Maybe I did miss something or did something wrong?

Could you please check ?

Thanks,

Max
 

Attachments

  • Maximilians iMac.zip
    6.7 MB · Views: 189
  • CLOVER.zip
    1.7 MB · Views: 140
Your ioreg is corrupt.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/


OK, here you go:

Code:
maximiliansimac:RehabMan max$ kextstat|grep -y acpiplat
   13    2 0xffffff7f825fd000 0x60000    0x60000    com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>
maximiliansimac:RehabMan max$ kextstat|grep -y appleintelcpu
maximiliansimac:RehabMan max$ kextstat|grep -y applelpc
maximiliansimac:RehabMan max$ kextstat|grep -y applehda
maximiliansimac:RehabMan max$  sudo touch /System/Library/Extensions && sudo kextcache -u /
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AppleBacklightInjector.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooHDA.kext
kext file:///System/Library/Extensions/AppleHDADisabler.kext/ is in hash exception list, allowing to load
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext
KernelCache ID: 2E239BC7E0B2693261A1921CF215D77B
maximiliansimac:RehabMan max$


I hope the IOREg is not corrupt this time
 

Attachments

  • Maximilians iMac 2.zip
    609.5 KB · Views: 116
  • RehabMan.zip
    60.3 KB · Views: 102
OK, great I now managed to rename GFX0 to IGPU. IOReg is attached. So is my current Clover folder.

However, the backlight fix does not work... Maybe I did miss something or did something wrong?

Could you please check ?

Thanks,

Max
OK, here you go:

Code:
maximiliansimac:RehabMan max$ kextstat|grep -y acpiplat
   13    2 0xffffff7f825fd000 0x60000    0x60000    com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>
maximiliansimac:RehabMan max$ kextstat|grep -y appleintelcpu
maximiliansimac:RehabMan max$ kextstat|grep -y applelpc
maximiliansimac:RehabMan max$ kextstat|grep -y applehda
maximiliansimac:RehabMan max$  sudo touch /System/Library/Extensions && sudo kextcache -u /
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AppleBacklightInjector.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooHDA.kext
kext file:///System/Library/Extensions/AppleHDADisabler.kext/ is in hash exception list, allowing to load
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext
KernelCache ID: 2E239BC7E0B2693261A1921CF215D77B
maximiliansimac:RehabMan max$


I hope the IOREg is not corrupt this time

You did not follow the guide.
Wrong SSDT-PNLF.aml.
See guide:
https://www.tonymacx86.com/threads/...rol-using-applebacklightinjector-kext.218222/
 

Yeah - stupid mistake I did actually copy the wrong one. now its working fine.
I only need to get Touchscreen and wifi working now.

I just noticed that OS X shows me only 4gb of ram instead of 8gb ? How can this be fixed ?

Do I need to put the ram slots into the config.plist of clover?


Thanks for your Help!

EDIT:

Nevermind. Fixed it.

Once I've finished all this, I'll create a guide as this seems to become a very good hackintosh
 
Last edited:
Status
Not open for further replies.
Back
Top