I like to use the second way.
Tomorrow I will tell you how to patch HPET via a binary patch, and I will link to my Clover set for the BIOS version v2.09 for our laptops.
...
Here is my set UEFI Clover r2303 for Acer V5-572 series with the BIOS ver2.09:
http://www.mediafire.com/download/7jaxvsw3dcv8f8a/Clover_r2303_for_Acer_V5-572x_bios_v2.09.zip
Main features set:
1. I do not use Auto-patched DSDT from Clover. (Fix HPET has an error. Some other fixes also have errors and break DSDT)
In config Clover: ACPI -> DSDT -> Fixes -> (ALL_Fixes) = false
Instead, to correct DSDT, I use:
1a. binary patch HPET for the BIOS version v2.09.
This fix add "IRQNoFlags () {0,8}" to HPET device:
1b. also, to correct DSDT, I use additional SSDT (EFI\CLOVER\ACPI\patched\SSDT-2.aml)
This SSDT inject "hda-gfx=onboard-1" to device HDEF for working HDMI sound.
And this SSDT add device PNLF for working backlight.
Code:
DefinitionBlock ("SSDT-2.aml", "SSDT", 2, "APPLE ", "Acer", 0x00001000)
{
Method (_SB.PCI0.HDEF._DSM, 4, NotSerialized)
{
If (LEqual (Arg2, Zero)) { Return (Buffer (One) { 0x03 }) }
Return (Package (0x02)
{
"hda-gfx",
Buffer (0x0A)
{
"onboard-1"
}
})
}
Device (_SB.PNLF)
{
Name (_HID, EisaId ("APP0002"))
Name (_CID, "backlight")
Name (_UID, 0x0A)
Name (_STA, 0x0B)
}
}
2. My laptop V5-572G has a graphics from NVIDIA.
To reduce the temperature at idle, it is necessary to disable the NVIDIA OPTIMUS. If you do not turn off - the laptop will overheat.
To disable OPTIMUS, I use additional SSDT (EFI\CLOVER\ACPI\ patched\SSDT-1.aml)
This SSDT - is a universal patch to disable OPTIMUS on any laptops ACER (also will operate on most laptops, HP, ASUS, Dell, and others)
Code:
DefinitionBlock ("SSDT-1.aml", "SSDT", 2, "APPLE ", "Optimus", 0x00001000)
{
External (\_SB_.PCI0.PEG0, DeviceObj)
External (\_SB_.PCI0.PEG0.PEGP._PS3, MethodObj)
External (\_SB_.PCI0.PEG0.PEGP._DSM, MethodObj)
Scope (\_SB.PCI0.PEG0)
{
Method (_INI, 0, NotSerialized)
{
\_SB.PCI0.PEG0.PEGP._DSM (Buffer (0x10)
{
/* 0000 */ 0xF8, 0xD8, 0x86, 0xA4, 0xDA, 0x0B, 0x1B, 0x47,
/* 0008 */ 0xA7, 0x2B, 0x60, 0x42, 0xA6, 0xB5, 0xBE, 0xE0
}, 0x0100, 0x1A, Buffer (0x04)
{
0x01, 0x00, 0x00, 0x03
})
If (One)
{
\_SB.PCI0.PEG0.PEGP._PS3 ()
}
}
}
}
This uses SSDT calls _PS3 and _DSM of native SSDT tables from the BIOS ver2.09. Therefore it is impossible to drop it all the original tables SSDT.
In config Clover: ACPI -> SSDT -> DropOem=false
3. To work CPU SpeedSpepping, I use tools Clover:
In config Clover: ACPI -> SSDT -> Generate -> CStates=true (and PStates=true).
But Bios also inserts its SSDT tables that interfere with tables generated Clover.
For successful operation Speedstepping, which gives the table bios must be discarded.
Do drop all SSDT tables can not be, because this breaks off OPTIMUS.
So do selective drop interfering tables.
Here are all of the tables in the BIOS ver2.09 (from Clover bootlog):
Names of all the tables are the same, so you have to do drop along the length of the tables:
4. Patch AppleIntelFramebufferCapri.kext on the fly:
This patches fixes Backlight and HDMI sound:
This kit Clover should come to the entire series of notebooks: V5-572, V5-572P, V5-572G, V5-572PG.
When using battery power, the laptop should always wake up on the first try.
GenericUSBXHCI.kext not be deleted. Work sleep he should not interfere.
P.S. This kit Clover made V5-572 series with FHD (1920x1080). If you have HD screen (1366x768), you should change ig-plateform-id in config.plist (0x01660009 in this case, yours should be 0x01660003)
2) For the HDMI audio, I recently found that if I put the computer to sleep and then wakeup, the sound will not automatically switch to headphone when I plugin the headset. Does this happen to you?
In your report, all kexts you are in the folder EFI\CLOVER\kexts\10.9, including patched AppleHDA.kext
Code:
0:869 0:004 Injecting kexts for arch=x86_64 from EFI\CLOVER\kexts\10.9
0:869 0:000 Extra kext: EFI\CLOVER\kexts\10.9\ACPIBatteryManager.kext
0:870 0:001 Extra kext: EFI\CLOVER\kexts\10.9\FakeSMC.kext
0:874 0:003 Extra PlugIn kext: EFI\CLOVER\kexts\10.9\FakeSMC.kext\Contents\PlugIns\ACPISensors.kext
0:875 0:001 Extra PlugIn kext: EFI\CLOVER\kexts\10.9\FakeSMC.kext\Contents\PlugIns\CPUSensors.kext
0:876 0:000 Extra PlugIn kext: EFI\CLOVER\kexts\10.9\FakeSMC.kext\Contents\PlugIns\GPUSensors.kext
0:878 0:002 Extra PlugIn kext: EFI\CLOVER\kexts\10.9\FakeSMC.kext\Contents\PlugIns\LPCSensors.kext
0:889 0:010 Extra kext: EFI\CLOVER\kexts\10.9\VoodooPS2Controller.kext
0:892 0:002 Extra PlugIn kext: EFI\CLOVER\kexts\10.9\VoodooPS2Controller.kext\Contents\PlugIns\VoodooPS2Keyboard.kext
0:894 0:002 Extra PlugIn kext: EFI\CLOVER\kexts\10.9\VoodooPS2Controller.kext\Contents\PlugIns\VoodooPS2Mouse.kext
0:895 0:001 Extra PlugIn kext: EFI\CLOVER\kexts\10.9\VoodooPS2Controller.kext\Contents\PlugIns\VoodooPS2Trackpad.kext
0:898 0:002 Extra kext: EFI\CLOVER\kexts\10.9\RealtekRTL8111.kext
0:902 0:004 Extra kext: EFI\CLOVER\kexts\10.9\AppleHDA.kext
0:913 0:010 Extra PlugIn kext: EFI\CLOVER\kexts\10.9\AppleHDA.kext\Contents\PlugIns\AppleHDAController.kext
0:916 0:002 Extra PlugIn kext: EFI\CLOVER\kexts\10.9\AppleHDA.kext\Contents\PlugIns\AppleHDAHardwareConfigDriver.kext
0:918 0:002 Extra PlugIn kext: EFI\CLOVER\kexts\10.9\AppleHDA.kext\Contents\PlugIns\AppleMikeyDriver.kext
0:921 0:003 Extra PlugIn kext: EFI\CLOVER\kexts\10.9\AppleHDA.kext\Contents\PlugIns\DspFuncLib.kext
0:931 0:009 Extra PlugIn kext: EFI\CLOVER\kexts\10.9\AppleHDA.kext\Contents\PlugIns\IOHDAFamily.kext
0:965 0:033 count: 17
This is a bad place to store patched kexts!
I use kexts in folder EFI\CLOVER\kexts\10.9 only at the installation of the system.
After installing OS X, I bear all kexts in folder /Sysytem/Library/Extension/