The production of DSDT

Source: Internet
Author: User

Before we get into making DSDT we should always know what DSDT is, so let's talk about the concept of DSDT first. This is to say from ACPI, ACPI is the standard firmware specification for Intel (I386,X86_64,IA64) platform, most OS need information from BIOS can be obtained from ACPI, and now the trend is the future Any new feature-related information can only be obtained from ACPI. ACPI's information includes configuration information, ACPI-related devices, underlying hardware, power management, device hot-swappable, and ACPI consists mainly of many tables (table), while DSDT (Differentiated System Description table) is one of the most important ACPI tables. Specifically I'm not quite sure, anyway is used to describe the hardware is the (><)

DSDT contains a lot of AML code, most of which are developed for Windows, and Windows itself does not fully follow the ACPI specification. Because of the BIOS bug, the code itself may be wrong, causing other systems such as Linux, Mac OS error, so we need to manually fix these bugs to make them compatible with the Mac system. DSDT in the BIOS is a compiled AML file exists, it needs to be solved, decompile into AML code form (DSL file, text file), code modified and then recompile, replace the BIOS in the original DSDT table ( now extract DSDT no BIOS file required, This is described below ). However, the advent of Pc-efi, Chameleon, and so on, so that we no longer need to risk brush bios, as long as the production of Dsdt.aml files in the Mac partition root directory or/extra folder, This dsdt.aml is automatically used during startup to fix the ACPI system bug (Bootthink is placed under/darwin ).

first of all, it is stated that DSDT does not achieve the purpose of driving hardware. As mentioned earlier, DSDT is only used to identify hardware. If the system does not have your own hardware drive, or no similar drive, the production of DSDT will only be futile, so only by installing a third-party kext to drive.

There are many methods of making DSDT on the internet, there are made in Windows, there are also made under the Mac, I was made under the Mac, the software used is Dsdtse, very convenient. Let's talk about the method under Windows first.

To make DSDT under Windows, the software we use has Everest and ACPI Patcher. The DSDT,ACPI Patcher used to extract the Everest system is used to generate Dsdt.aml. In addition, ACPI patcher with some repair DSDT options such as driver graphics, sound card, network card, if there is no model of your words or do not use, I recommend manual modification. The basic steps are as follows:

Open Everest, right-click on the Everest bottom status bar pop-up menu, click ACPI Tool.

Click Save DSDT, generated is the suffix bin file, this is a similar to the Dsdt.aml file, we use this file to make DSDT.

Next you will use the ACPI Patcher to patch the generated bin file and generate the AML file. Please select the correct motherboard on the right, if it is Phoenix, you do not need to change, use the default award can.

Select DSDT Patch This menu, specify the source file for the above bin file, and then specify an output path, click Patch AML can be. The bottom left corner of the box in the compiler will have information generated, must not produce errors;warnings it doesn't matter, unless you pursue perfection.

If an error occurs, first use the D/C DSDT menu item to convert the bin file to a DSL file and edit it using the Edit tool. After editing, you still use the D/C DSDT menu item to patch the DSL file and compile it as a AML file. If you choose several options on the right, be sure to select "Patch before compile" when compiling the AML file.

**************************

Software name: APCI patcher software version: 0.2 Beta 5 Download Address: http://u.115.com/file/f9fc49f849

The Mac uses Dsdtse, which is similar to Windows. However, the use of Dsdtse can directly open the DSDT edit window, relatively convenient. But also provides a lot of warnings and errors solution, specifically I will not introduce. The next time to introduce the general warnings and errors solution, it feels very useful place.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.