- Joined
- Sep 7, 2017
- Messages
- 5
- Motherboard
- Lenovo T470
- CPU
- Intel Core i7-7600U
- Graphics
- Intel HD620
Hi All
I've been working on a Hackintosh build for a Lenovo T470.
Thanks to the excellent information and guides on these forums, I now have Sierra is up and running. The main initial challenges were with installation - NMVe drive and Intel HD620 gfx mainly.
What's working currently:
- Intel HD620 graphics working (via Clover's config.plist settings, FakePCIID_Intel_HD_Graphics.kext, IntelGraphicsFixup.kext)
- PS2 keyboard/trackpad (Synaptics) working with VoodooPS2Controller
- audio (working via VoodooHDA)
- WiFi (working via edimax/USB, and have ordered a Broadcom BCM94352Z)
- brightness slider (with AppleBacklightInjector.kext)
What's not working:
- battery indicator (this Laptop has 2 batteries)
- shutdown/restart issues
- function keys
- sleep/wake
For the last x days or so I've been trying to resolve my remaining issues by making a DSDT for this laptop. This has been a steep learning curve(!) and I'm now at such a point that I have got a bit stuck and don't know how to proceed further.
I have been following the excellent and detailed guide by Rehabman here: https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
So far I have:
- Extracted and disassembled my native BIOS ACPI to .dsl files using iasl
- Applied common patches to DSDT file using MaciASL
- Fixed the field sizes in embedded controller device (as per RehabMan's guide - https://www.tonymacx86.com/threads/guide-how-to-patch-dsdt-for-working-battery-status.116102/)
- Tested that it compiles correctly
- Saved the file in MaciASL as a binary .aml file and placed in CLOVER/ACPI/patched
When I try and boot with this config, the machine pauses for about 2 minutes after displaying:
View media item 189379
It then continues and boots up. (NOTE - I should say that without the DSDT file, the laptop doesn't suffer this pause and boots very quickly).
Q. Does anyone have any ideas on why this pause occurs, and how I may go about resolving it?
Having booted up, I haven't yet been able to make any improvement to the issues above, and in fact some things have got worse! Is it now a case of identifying the methods used for the problem ACPI events (e.g. sleep/wake, startup/restart) and patching them up?
I would appreciate any pointers on how to proceed from here (and not afraid of learning more of the language syntax if this is required).
I know that there are several battery patches out there for laptops with 2 batteries, and I'm hoping to write a patch myself by studying these. With my DSDT loaded, the output from "sudo dmesg" currently returns the following ACPI errors which I'm guessing is because OS X doesn't know what to do with the second battery:
Thanks
I've been working on a Hackintosh build for a Lenovo T470.
Thanks to the excellent information and guides on these forums, I now have Sierra is up and running. The main initial challenges were with installation - NMVe drive and Intel HD620 gfx mainly.
What's working currently:
- Intel HD620 graphics working (via Clover's config.plist settings, FakePCIID_Intel_HD_Graphics.kext, IntelGraphicsFixup.kext)
- PS2 keyboard/trackpad (Synaptics) working with VoodooPS2Controller
- audio (working via VoodooHDA)
- WiFi (working via edimax/USB, and have ordered a Broadcom BCM94352Z)
- brightness slider (with AppleBacklightInjector.kext)
What's not working:
- battery indicator (this Laptop has 2 batteries)
- shutdown/restart issues
- function keys
- sleep/wake
For the last x days or so I've been trying to resolve my remaining issues by making a DSDT for this laptop. This has been a steep learning curve(!) and I'm now at such a point that I have got a bit stuck and don't know how to proceed further.
I have been following the excellent and detailed guide by Rehabman here: https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
So far I have:
- Extracted and disassembled my native BIOS ACPI to .dsl files using iasl
- Applied common patches to DSDT file using MaciASL
- Fixed the field sizes in embedded controller device (as per RehabMan's guide - https://www.tonymacx86.com/threads/guide-how-to-patch-dsdt-for-working-battery-status.116102/)
- Tested that it compiles correctly
- Saved the file in MaciASL as a binary .aml file and placed in CLOVER/ACPI/patched
When I try and boot with this config, the machine pauses for about 2 minutes after displaying:
Code:
ACPI: Executed x blocks of module-level executable AML code
It then continues and boots up. (NOTE - I should say that without the DSDT file, the laptop doesn't suffer this pause and boots very quickly).
Q. Does anyone have any ideas on why this pause occurs, and how I may go about resolving it?
Having booted up, I haven't yet been able to make any improvement to the issues above, and in fact some things have got worse! Is it now a case of identifying the methods used for the problem ACPI events (e.g. sleep/wake, startup/restart) and patching them up?
I would appreciate any pointers on how to proceed from here (and not afraid of learning more of the language syntax if this is required).
I know that there are several battery patches out there for laptops with 2 batteries, and I'm hoping to write a patch myself by studying these. With my DSDT loaded, the output from "sudo dmesg" currently returns the following ACPI errors which I'm guessing is because OS X doesn't know what to do with the second battery:
Code:
ACPI Error: ACPI Error: Method parse/execution failed Method parse/execution failed [\134_SB_.PCI0.LPCB.EC__.GBIX] (Node ffffff804022d2d0)[\134_SB_.PCI0.LPCB.EC__.GBIX] (Node ffffff804022d2d0), AE_BAD_PARAMETER, AE_BAD_PARAMETER (20140828/psparse-270)
(20140828/psparse-270)
ACPI Error: ACPI Error: Method parse/execution failed Method parse/execution failed [\134_SB_.PCI0.LPCB.EC__.BAT0._BIX] (Node ffffff804022ddd0)[\134_SB_.PCI0.LPCB.EC__.BAT0._BIX] (Node ffffff804022ddd0), AE_BAD_PARAMETER, AE_BAD_PARAMETER (20140828/psparse-270)
(20140828/psparse-270)
ACPI Exception: AE_BAD_PARAMETER, ACPI Exception: AE_BAD_PARAMETER, Returned by Handler for [EmbeddedControl]Returned by Handler for [EmbeddedControl] (20140828/evregion-170)
(20140828/evregion-170)
ACPI Error: ACPI Error: Method parse/execution failed Method parse/execution failed [\134_SB_.PCI0.LPCB.EC__.GBST] (Node ffffff804022d250)[\134_SB_.PCI0.LPCB.EC__.GBST] (Node ffffff804022d250), AE_BAD_PARAMETER, AE_BAD_PARAMETER (20140828/psparse-270)
(20140828/psparse-270)
ACPI Error: ACPI Error: Method parse/execution failed Method parse/execution failed [\134_SB_.PCI0.LPCB.EC__.BAT0._BST] (Node ffffff804022de10)[\134_SB_.PCI0.LPCB.EC__.BAT0._BST] (Node ffffff804022de10), AE_BAD_PARAMETER, AE_BAD_PARAMETER (20140828/psparse-270)
(20140828/psparse-270)
ACPI Exception: AE_BAD_PARAMETER, ACPI Exception: AE_BAD_PARAMETER, Returned by Handler for [EmbeddedControl]Returned by Handler for [EmbeddedControl] (20140828/evregion-170)
(20140828/evregion-170)
ACPI Error: ACPI Error: Method parse/execution failed Method parse/execution failed [\134_SB_.PCI0.LPCB.EC__.GBIX] (Node ffffff804022d2d0)[\134_SB_.PCI0.LPCB.EC__.GBIX] (Node ffffff804022d2d0), AE_BAD_PARAMETER, AE_BAD_PARAMETER (20140828/psparse-270)
(20140828/psparse-270)
ACPI Error: ACPI Error: Method parse/execution failed Method parse/execution failed [\134_SB_.PCI0.LPCB.EC__.BAT1._BIX] (Node ffffff804022e790)[\134_SB_.PCI0.LPCB.EC__.BAT1._BIX] (Node ffffff804022e790), AE_BAD_PARAMETER, AE_BAD_PARAMETER (20140828/psparse-270)
(20140828/psparse-270)
ACPI Exception: AE_BAD_PARAMETER, ACPI Exception: AE_BAD_PARAMETER, Returned by Handler for [EmbeddedControl]Returned by Handler for [EmbeddedControl] (20140828/evregion-170)
(20140828/evregion-170)
ACPI Error: ACPI Error: Method parse/execution failed Method parse/execution failed [\134_SB_.PCI0.LPCB.EC__.GBST] (Node ffffff804022d250)[\134_SB_.PCI0.LPCB.EC__.GBST] (Node ffffff804022d250), AE_BAD_PARAMETER, AE_BAD_PARAMETER (20140828/psparse-270)
(20140828/psparse-270)
ACPI Error: ACPI Error: Method parse/execution failed Method parse/execution failed [\134_SB_.PCI0.LPCB.EC__.BAT1._BST] (Node ffffff804022e850)[\134_SB_.PCI0.LPCB.EC__.BAT1._BST] (Node ffffff804022e850), AE_BAD_PARAMETER, AE_BAD_PARAMETER (20140828/psparse-270)
Thanks