vippolar

Hackintosh Dsdt Patch

HP-ProBook-4x30s-DSDT-Patch - This repository contains the ACPI patches (using Clover hotpatch) for a wide range of HP ProBook/EliteBook/ZBook laptops. How to patch DSDT-SSDTs (common patches) Dell Inpiron 15 5547 Haswell [Part-1] - Duration: 15:23. Broken Planet 5,027 views.

Background Because the battery hardware in PCs is not compatible with Apple SMbus hardware, we use ACPI to access battery state when running OS X on laptops. Generally I recommend you use ACPIBatteryManager.kext, available here: Later releases of AppleACPIPlatform are unable to correctly access fields within the EC (embedded controller).

Pulse

This causes problems for ACPIBatteryManager as the various ACPI methods for battery fail (_BIF, _STA, _BST, etc). Although it is possible to use an older version of AppleACPIPlatform (from Snow Leopard), it is desirable to use the latest version of AppleACPIPlatform because with computers that have Ivy Bridge CPUs it enables native power management for those computers. To use the latest version, DSDT must be changed to comply with the limitations of Apple's AppleACPIPlatform. In particular, any fields in the EC larger than 8-bit, must be changed to be accessed 8-bits at one time.

This includes 16, 32, 64, and larger fields. You should be familiar with the DSDT/SSDT patching fundamentals: Existing Patches First of all, it could be that there is patch already available for your laptop. See my patches at: In order to match your DSDT with a patch, it is often necessary to understand how the patches are made in the first place, so you know what to look for in your DSDT and can match what you see with the patches already available. A patch set that has a high ratio of changes to patches, creates no errors, and appears to patch all fields that need to be patched is likely a match. More info here: *** Note: Do not use DSDT Editor or any program other than MaciASL. I do not test my patches with DSDT Editor. I test only with MaciASL.

Other relevant DSDT patches In addition to the multi-byte EC fields, there are a few other DSDT issues that can affect battery status. These particular problems are not specific to battery status, but they are usually noticed for the first time when trying to implement battery status. The battery code may depend on having a recognized version of Windows as the host OS. To fix, apply 'OS Check Fix' from the laptop DSDT patch repository. This will cause the DSDT to take the same actions as it would when running 'Windows 2006' You can change the patch to effect different selections (eg. 'Windows 2012'.

Another common problem is the fact that OS X's ACPI implementation has difficulty with Mutex objects declared with a non-zero SyncLevel (for more info read the ACPI spec). To fix, apply 'Fix Mutex with non-zero SyncLevel' from the laptop DSDT patch repository. Skills Required DSDT is a 'program. Vicars Of Christ By Peter De Rosa Pdf here. ' As such, it is helpful to have some programming/computer skills when modifying it. Also, DSDT patches themselves have their own language (described briefly in the MaciASL wiki, available at here: ).

Finally, the patches themselves are basically scoped regular expression search/replace, so it is helpful to understand regular expressions (regex). Familiarity with compilers, compiler errors, and an ability to determine what the compiler is telling you about errors in the code is also useful. Also, it is a good idea to be familiar with ACPI. You can download the specification here: It is not the purpose of this guide to teach you basic programming skills, regular expressions, or the ACPI language. The patching process I use a rather 'mechanical' process to patching DSDT for battery status.

399 Commits