WaldMeister Posted April 17, 2015 Share Posted April 17, 2015 (edited) Hi, So i have this system up and running for a while now, it's not perfect, lacks some functionality here and there, but it's usable and stable. How to create your own installer: http://www.insanelymac.com/forum/topic/298027-guide-aio-guides-for-hackintosh/page-2?do=findComment&comment=2030113 What works: - Speedstep - Sleep/Wake - Intel HD4000 - Audio + HDMI + Webcam + FN Keys + Touchpad with gestures - Bluetooth (Use BTFirmwareuploader) - Ethernet - NVRAM + Brightness slider + Battery status What does not work: - Brightness slider (needs a small modification in the DSDT) - Wifi (The bios blocks all mini-pci cards, i'm using a cheap usb adapter) - NVIDIA Geforce GT620M (Disabled in DSDT) - Card reader (Not researched) I spent some time reducing the DSDT size and fixing most of the issues. This DSDT can be classified as a mini-DSDT, it only injects what it needs too, to keep the system functional. The HDMI audio patch and SSDT generation are now managed by Clover. Generating the SSDT by Clover allows setting an other SMBIOS than the iMac13,1/2. Injecting the AppleHDA from Clover does not seem to work, although everything is patched and injected correctly (according to IORegistryexplorer), somehow the device does not show up. After an update, use Mirone's AppleHDAPatcher: http://www.insanelymac.com/forum/topic/297562-applehdapatcher/ with the ALC271x files: ALC271x.zip Attached the files needed for Clover to get everything working correctly, move them in place as shown in the screenshot: Old content: For this model i have attached the Clover folder. Included are the DSDT and SSDT, config.plist, drivers and kexts needed to run OS X on this model. Also attached is the codec file needed to patch the AppleHDA.kext. Use Mirone's AppleHDAPatcher for this: http://www.insanelymac.com/forum/topic/297562-applehdapatcher/ For HDMI audio out you will need to make some modifications: You will need to edit the AppleIntelFramebufferCapri.kext. Copy the file from /System/Library/Extensions to ~/Desktop. Right click and show package contents. Go to /Contents/MacOS and open the file AppleIntelFramebufferCapri with a hex-editor (Hex Friend) Search for: 03 00 66 01 03 00 66 01 01 02 04 02 00 00 00 04 00 00 00 01 00 00 00 40 10 07 00 00 10 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 05 03 00 00 02 00 00 00 30 00 00 00 02 05 00 00 00 04 00 00 07 04 00 00 03 04 00 00 00 04 00 00 81 00 00 00 04 06 00 00 00 04 00 00 81 00 00 00 After: 03 00 66 01 01 02 04 02 00 00 00 04 00 00 00 01 00 00 00 40 10 07 00 00 10 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 05 03 00 00 02 00 00 00 30 00 00 00 02 05 00 00 00 08 00 00 07 04 00 00 03 04 00 00 00 08 00 00 81 00 00 00 04 06 00 00 00 08 00 00 81 00 00 00 This will enable HDMI audio out. Do not copy the contents from this guide, since it may be slightly different between OS X versions. Changes only need to be made to these lines: 02 05 00 00 00 04 00 00 07 04 00 00 03 04 00 00 00 04 00 00 81 00 00 00 04 06 00 00 00 04 00 00 81 00 00 00 This is a short guide that needs a lot of modifications. The brightness issue i will fix in a future update. Any input is greatly appreciated, since this is not my main system. The files should work on all V5-571x models. - 16/06/2015: Small updates in the DSDT to fix the webcam from only working when booting out of Windows. Ethernet device renamed to GIGE. - 17/06/2015: Minor optimizations, original ACPI tables added. config.plist.zip Kexts.zip drivers64UEFI.zip DSDT.zip ACPI.zip Edited June 17, 2015 by LexHimself 3 Link to comment Share on other sites More sharing options...
Nonta72 Posted May 4, 2015 Share Posted May 4, 2015 Can your DSDT be used to disable a GT740M ? I also have an Acer (Aspire E1-570G) but with a GT740M. Link to comment Share on other sites More sharing options...
WaldMeister Posted May 4, 2015 Author Share Posted May 4, 2015 Hi, Can't say, you would have to try it. Just make sure you can boot with your current DSDT in case it does not work. Some more information about disabling the card: http://www.insanelymac.com/forum/topic/295584-disabling-nvidia-optimus-card-on-all-laptops/ Link to comment Share on other sites More sharing options...
WaldMeister Posted May 8, 2015 Author Share Posted May 8, 2015 Hi, So today i updated this model to 10.10.3. I noticed that speedstep was not working correctly, might have been the case before the update also. For now i was forced to set the SMBIOS to iMac13,2 (P-State error), and disable xcpm. Attached the updated Clover folder. CLOVER.zip Link to comment Share on other sites More sharing options...
WaldMeister Posted May 9, 2015 Author Share Posted May 9, 2015 Ordered an Atheros AR5B195, thought perhaps a combo card would work. Wifi is also disabled by the bios on this card. Link to comment Share on other sites More sharing options...
tyufhl Posted May 10, 2015 Share Posted May 10, 2015 Hi, So today i updated this model to 10.10.3. I noticed that speedstep was not working correctly, might have been the case before the update also. For now i was forced to set the SMBIOS to iMac13,2 (P-State error), and disable xcpm. Attached the updated Clover folder. LexHimself, i advise to look https://applelife.ru/threads/acer-aspire-serij-v3-v5-v7-s3-e1-na-processorax-ivybridge.40388/ Link to comment Share on other sites More sharing options...
WaldMeister Posted May 10, 2015 Author Share Posted May 10, 2015 Hi, Thanks for the link, it's somewhat understandable using google translate. Link to comment Share on other sites More sharing options...
WaldMeister Posted June 16, 2015 Author Share Posted June 16, 2015 Updated the main post. Link to comment Share on other sites More sharing options...
roby777 Posted July 21, 2015 Share Posted July 21, 2015 Hi,I also have laptop Acer Aspire V5-571G with the following specifications:Motherboard:CPU Type: Mobile DualCore Intel Core i3-2377M, 1500 MHzMotherboard Chipset: Intel Panther Point HM77, Intel Sandy BridgeSystem Memory: 4 GB DDR3-1333 DDR3 SDRAMDisplay:Video Adapter:Intel® HD Graphics 3000 Video Adapter: NVIDIA GeForce GT 620MMultimedia:Audio Adapter: Intel Panther Point HDMI @ Intel Panther Point PCH - High Definition Audio Controller Audio Adapter: Realtek ALC269 @ Intel Panther Point PCH - High Definition Audio ControllerStorage:IDE Controller: Standard SATA AHCI ControllerDisk Drive: Hitachi HTS545050A7E380 BIOS Properties:Vendor: Phoenix Technologies Ltd.Version:V1.22Input:Keyboard: Standard PS/2 KeyboardMouse: ELAN PS/2 Port Smart-PadMouse:HID-compliant mouseNetwork:Network Adapter: Qualcomm Atheros AR5BWB222 Wireless Network Adapter Network Adapter: Realtek PCIe GBE Family Controller Do you maybe know will your clover setting also be applicable to my laptop because as I can see we have the same laptop model but with different specs. I don`t have UEFI bios only legacy. I already tried your DSDT on this laptop and everything is working like on yours except the battery indicator. Link to comment Share on other sites More sharing options...
WaldMeister Posted July 22, 2015 Author Share Posted July 22, 2015 Hi, I also have laptop Acer Aspire V5-571G with the following specifications: Motherboard: CPU Type: Mobile DualCore Intel Core i3-2377M, 1500 MHz Motherboard Chipset: Intel Panther Point HM77, Intel Sandy Bridge System Memory: 4 GB DDR3-1333 DDR3 SDRAM Display: Video Adapter:Intel® HD Graphics 3000 Video Adapter: NVIDIA GeForce GT 620M Multimedia: Audio Adapter: Intel Panther Point HDMI @ Intel Panther Point PCH - High Definition Audio Controller Audio Adapter: Realtek ALC269 @ Intel Panther Point PCH - High Definition Audio Controller Storage: IDE Controller: Standard SATA AHCI Controller Disk Drive: Hitachi HTS545050A7E380 BIOS Properties: Vendor: Phoenix Technologies Ltd. Version:V1.22 Input: Keyboard: Standard PS/2 Keyboard Mouse: ELAN PS/2 Port Smart-Pad Mouse:HID-compliant mouse Network: Network Adapter: Qualcomm Atheros AR5BWB222 Wireless Network Adapter Network Adapter: Realtek PCIe GBE Family Controller Do you maybe know will your clover setting also be applicable to my laptop because as I can see we have the same laptop model but with different specs. I don`t have UEFI bios only legacy. I already tried your DSDT on this laptop and everything is working like on yours except the battery indicator. Hi, The only difference between the systems is the CPU, in this case it might be that you have to generate a SSDT for your system. The DSDT is from the V1.22 bios, which is an UEFI bios with legacy mode. If you go in to the bios, there should be an option allowing you to either boot by CSM or UEFI. The battery indicator is an issue i'm still working on, it works on and off. The Clover settings should be working on your system, so they can be easily applied, even if you are booting Clover in legacy mode. I'll attach the current Clover folder later today when i have access to the system. Link to comment Share on other sites More sharing options...
roby777 Posted July 22, 2015 Share Posted July 22, 2015 Hi, thanks for replying. My bios is legacy and I have the latest version (v.1.22) according to Acer support site and I`m not able to upgrade to UEFI bios because when I bought my laptop it came with Linux Free only, so there is no way to upgrade to UEFI. According to that I don`t have option to boot by CSM or UEFI. So I can boot Clover only in legacy mod. Are you sure you have v1.22 version of UEFI bios? Maybe you have v2.xx version because on Acer site I don`t see UEFI bios with v.1.xx. Could you please give me an advice how to patch my raw DSDT? I started with the DSDT Editor but I have too many errors I don`t know how to resolve (please see attachment).Which patches did you use for your laptop? Thanks in advance. Link to comment Share on other sites More sharing options...
WaldMeister Posted July 22, 2015 Author Share Posted July 22, 2015 Hi, thanks for replying. My bios is legacy and I have the latest version (v.1.22) according to Acer support site and I`m not able to upgrade to UEFI bios because when I bought my laptop it came with Linux Free only, so there is no way to upgrade to UEFI. According to that I don`t have option to boot by CSM or UEFI. So I can boot Clover only in legacy mod. Are you sure you have v1.22 version of UEFI bios? Maybe you have v2.xx version because on Acer site I don`t see UEFI bios with v.1.xx. Could you please give me an advice how to patch my raw DSDT? I started with the DSDT Editor but I have too many errors I don`t know how to resolve (please see attachment).Which patches did you use for your laptop? Thanks in advance. My mistake about the bios, it's 2.18. About the DSDT, i recommend using MacIASL, since it is still maintained, the version of RehabMan disables autosave, which is a future that can be annoying at times: https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads Can you attach the DSDT.dsl file here? Just archive it, and it can be attached. It's hard to tell where the errors come from, from a screenshot. The patches i used, can't even name all of them, since i did a lot manually, and the ones i did use came from RehabMan's repo: https://github.com/RehabMan/Laptop-DSDT-Patch Link to comment Share on other sites More sharing options...
roby777 Posted July 22, 2015 Share Posted July 22, 2015 Hi once again. Here is my raw DSDT. Hope you can help me compile my DSDT DSDT.aml.zip Link to comment Share on other sites More sharing options...
WaldMeister Posted July 22, 2015 Author Share Posted July 22, 2015 Hi, Removed the method _DSM from PEGP, and applied the PLD/Buffer patch. Error free, you should be able to apply patches now. DSDT-2.aml.zip Link to comment Share on other sites More sharing options...
roby777 Posted July 22, 2015 Share Posted July 22, 2015 Hi, Removed the method _DSM from PEGP, and applied the PLD/Buffer patch. Error free, you should be able to apply patches now. Thanks. I tried it and it booted OS X with no problem. How do I know which patch is good for my laptop? Can I mess DSDT if I apply wrong patch? Do you maybe remember which patch did you use to lower noisy CPU fan. With your DSDT CPU fan is quiet. I have just applied my first patch - brightness fix and its working. With this DSDT that you made for me battery indicator is also working. 1 Link to comment Share on other sites More sharing options...
WaldMeister Posted July 22, 2015 Author Share Posted July 22, 2015 IRQ/HPET/RTC, Intel HD4000 low res applied. Added missing devices: MCHC, IMEI, SMBUS fix. The fan might be because of the EC0, but this needs to be patched manually. Thanks. I tried it and it booted OS X with no problem. How do I know which patch is good for my laptop? Can I mess DSDT if I apply wrong patch? Do you maybe remember which patch did you use to lower noisy CPU fan. With your DSDT CPU fan is quiet. I have just applied my first patch - brightness fix and its working. With this DSDT that you made for me battery indicator is also working. I made no changes, only fixed the errors DSDT-2.aml 2.zip Link to comment Share on other sites More sharing options...
roby777 Posted July 22, 2015 Share Posted July 22, 2015 IRQ/HPET/RTC, Intel HD4000 low res applied. Added missing devices: MCHC, IMEI, SMBUS fix. The fan might be because of the EC0, but this needs to be patched manually. I made no changes, only fixed the errors Thanks once again, my graphics card is Intel HD3000 not like yours. Should I try this DSDT? We both have the same NVIDIA graphic card but different Intel graphic card. Yours is HD4000 right? Link to comment Share on other sites More sharing options...
WaldMeister Posted July 22, 2015 Author Share Posted July 22, 2015 Yes, this system has the HD4000. You could try one of the HD3000 patches instead. The Nvidia card needs to be disabled, add the following at the bottom of your DSDT, before the last } Device (NVOF) { Name (_ADR, 0x00010000) // _ADR: Address OperationRegion (GPIO, SystemIO, 0x0500, 0x60) Field (GPIO, ByteAcc, Lock, Preserve) { Offset (0x0C), , 3, DGVN, 1, Offset (0x0E), , 1, DGPG, 1, Offset (0x38), Offset (0x3A), , 2, DGRS, 1, , 1, , 1, , 1, DGPW, 1, Offset (0x48), , 3, DGSP, 1 } OperationRegion (RPCI, SystemMemory, 0xF8008000, 0x1000) Field (RPCI, DWordAcc, Lock, Preserve) { Offset (0xB0), ASPM, 2, , 2, LNKD, 1, Offset (0x225), DQDA, 1 } Method (_INI, 0, NotSerialized) // _INI: Initialize { _OFF () } Method (_ON, 0, Serialized) // _ON_: Power On { Store (Zero, DGPW) Store (One, DGVN) Store (Zero, DQDA) Store (One, DGRS) Store (Zero, LNKD) } Method (_OFF, 0, Serialized) // _OFF: Power Off { Store (One, DQDA) Store (One, LNKD) Store (Zero, DGRS) Store (One, DGPW) Store (Zero, DGVN) } } To method _WAK add: ^NVOF._OFF () Like this: Method (_WAK, 1, Serialized) // _WAK: Wake { P8XH (One, 0xAB) Notify (\_SB.PCI0.RP01, Zero) Notify (\_SB.PCI0.RP02, Zero) Notify (\_SB.PCI0.RP03, Zero) Notify (\_SB.PCI0.RP04, Zero) Notify (\_SB.PCI0.RP05, Zero) Notify (\_SB.PCI0.RP06, Zero) Notify (\_SB.PCI0.RP07, Zero) Notify (\_SB.PCI0.RP08, Zero) ^NVOF._OFF () Return (Package (0x02) { Zero, Zero }) } To method _PTS add: ^NVOF._ON () Like this: Method (_PTS, 1, NotSerialized) // _PTS: Prepare To Sleep { Store (Zero, P80D) P8XH (Zero, Arg0) ^NVOF._ON () } This might also fix the fan spinning issue. Link to comment Share on other sites More sharing options...
roby777 Posted July 22, 2015 Share Posted July 22, 2015 Yes, this system has the HD4000. You could try one of the HD3000 patches instead. The Nvidia card needs to be disabled, add the following at the bottom of your DSDT, before the last } Device (NVOF) { Name (_ADR, 0x00010000) // _ADR: Address OperationRegion (GPIO, SystemIO, 0x0500, 0x60) Field (GPIO, ByteAcc, Lock, Preserve) { Offset (0x0C), , 3, DGVN, 1, Offset (0x0E), , 1, DGPG, 1, Offset (0x38), Offset (0x3A), , 2, DGRS, 1, , 1, , 1, , 1, DGPW, 1, Offset (0x48), , 3, DGSP, 1 } OperationRegion (RPCI, SystemMemory, 0xF8008000, 0x1000) Field (RPCI, DWordAcc, Lock, Preserve) { Offset (0xB0), ASPM, 2, , 2, LNKD, 1, Offset (0x225), DQDA, 1 } Method (_INI, 0, NotSerialized) // _INI: Initialize { _OFF () } Method (_ON, 0, Serialized) // _ON_: Power On { Store (Zero, DGPW) Store (One, DGVN) Store (Zero, DQDA) Store (One, DGRS) Store (Zero, LNKD) } Method (_OFF, 0, Serialized) // _OFF: Power Off { Store (One, DQDA) Store (One, LNKD) Store (Zero, DGRS) Store (One, DGPW) Store (Zero, DGVN) } } To method _WAK add: ^NVOF._OFF () Like this: Method (_WAK, 1, Serialized) // _WAK: Wake { P8XH (One, 0xAB) Notify (\_SB.PCI0.RP01, Zero) Notify (\_SB.PCI0.RP02, Zero) Notify (\_SB.PCI0.RP03, Zero) Notify (\_SB.PCI0.RP04, Zero) Notify (\_SB.PCI0.RP05, Zero) Notify (\_SB.PCI0.RP06, Zero) Notify (\_SB.PCI0.RP07, Zero) Notify (\_SB.PCI0.RP08, Zero) ^NVOF._OFF () Return (Package (0x02) { Zero, Zero }) } To method _PTS add: ^NVOF._ON () Like this: Method (_PTS, 1, NotSerialized) // _PTS: Prepare To Sleep { Store (Zero, P80D) P8XH (Zero, Arg0) ^NVOF._ON () } This might also fix the fan spinning issue. Nvidia card disabled, the fan now is quiet. Man you rock Link to comment Share on other sites More sharing options...
WaldMeister Posted July 22, 2015 Author Share Posted July 22, 2015 Good to hear. On a sidenote, the above only works for the 620m, perhaps others in the 600m series. On my 745m the methods differ. 1 Link to comment Share on other sites More sharing options...
roby777 Posted July 24, 2015 Share Posted July 24, 2015 Hi once again. I have applied to my DSDT also as you suggested me patches for my HD3000( IRQ/HPET/RTC, Intel HD3000 low resolution) an also added missing devices: MCHC, IMEI, SMBUS fix. I have also patched my AppleHDA by injection audio layout 28 to DSDT so now I have native audio. Now I want also to have HDMI audio so can you tell me can I use your example in the first post to patch AppleIntelFramebufferCapri.kext. Is it applicable for my ALC269VB? Also I created my SSDT following this guide:https://www.youtube.com/watch?v=vK_ALk9N3L4but I am not sure is my speedstep working ok. Link to comment Share on other sites More sharing options...
WaldMeister Posted July 25, 2015 Author Share Posted July 25, 2015 Hi, I have no idea about the HD3000 and HDMI audio, so i have to refer to Toleda's github: https://github.com/toleda/audio_hdmi_hd3000. My example is for the HD4000 and those patches can not be applied. The SSDT can be generated by Clover or by using SSDTPRgen.sh https://github.com/Piker-Alpha/ssdtPRGen.sh, only use one of the methods, not both together. Link to comment Share on other sites More sharing options...
roby777 Posted July 26, 2015 Share Posted July 26, 2015 Hi, I have no idea about the HD3000 and HDMI audio, so i have to refer to Toleda's github: https://github.com/toleda/audio_hdmi_hd3000. My example is for the HD4000 and those patches can not be applied. The SSDT can be generated by Clover or by using SSDTPRgen.sh https://github.com/Piker-Alpha/ssdtPRGen.sh, only use one of the methods, not both together. I have generated my SSDT using SSDTPRgen.sh, after changing workarounds and trying different SMBIOS now I have managed to have 5 P-states (8,9,11,13,15), before I only had two (8,15). According to SSDTPRgen.sh my CPU should have 8 P-states. Do you have all P-states for your CPU? Link to comment Share on other sites More sharing options...
k2seven Posted June 24, 2016 Share Posted June 24, 2016 Good day, what about El Capitan? i got that error Link to comment Share on other sites More sharing options...
WaldMeister Posted July 10, 2016 Author Share Posted July 10, 2016 Good day, what about El Capitan? i got that error No error, graphics issue. Please see below, i can not help with El Capitan, sorry. I have generated my SSDT using SSDTPRgen.sh, after changing workarounds and trying different SMBIOS now I have managed to have 5 P-states (8,9,11,13,15), before I only had two (8,15). According to SSDTPRgen.sh my CPU should have 8 P-states. Do you have all P-states for your CPU? Unable to check since i do not own the system anymore, I gave up on this system very fast, since the wifi card could not be replaced. Failed to check on the P-States, but it never worked like it should have. Link to comment Share on other sites More sharing options...
Recommended Posts