TonyCr's Blog

XP_DSDT – eXtract & Patch DSDT v0.4

About

XP_DSDT is a tool running on ‘win7’ that can eXtract the vanilla DSDT table from the registry and Patch it as required to run on HackOSx systems keeping the vanilla-BIOS. It was initially targeted at EeePCs netbooks based on the GMA950 graphics chip. Later, has also been successfully used on other laptops.

In essence it is:
1. a DSDT extractor; 2. a GUI to the iasl.exe compiler/decompiler; 3.  a simple DSDT patcher.

Credits are due to many net-contributors, specially: fassl, PentiumPC and many others.

I – Extract the DSDT table from the Registry (ACPI)  to a binary ‘DSDT.aml’ file

1. Using ‘regedit’ select the registry key containing the DSDT table and copy its name to the clipboard (right-click + ‘Copy Key Name’).

2. Paste the DSDT-key-name
(eg: “HKEY_LOCAL_MACHINE\HARDWARE\ACPI\DSDT\A1028\A1028000000000”)  as shown below:

3. Specify a name for the target DSDT.aml file and press button ‘GetDSDT’ to extract the DSDT table to a binary file ‘DSDT_BIOS2204.aml’ (specify the name beforehand!)

II – Decompile the binary DSDT.aml to  a source format  DSDT.dsl  (‘Patch’ tab)

4.  Press button ‘Decompile’

5 – Have a look at the Logger tab. Notice that the decompilation is carried out by the auxiliar Intel Compiler/decompiler console app (iasl.exe):

III – Run the DSDTPacher to apply selected fixes to the decompiled DSDT.dsl
(actually the vanila DSDT.dsl is preserved, the tool makes copies of it as the patching proceeds)

6.  Under point 2, in the ‘Patch’ tab, ‘Select fix options and Patch:’  you have a list of several fixes. Only 3 of them are optional. The others are only shown for reference (check ‘Show Tips’ for a brief explanation)

6.1 – Select the optional fixes you want to apply. For the EeePC1000H(E) I suggest to select ‘new HPET’ and ‘GMA950 Injection’ (no need for ‘BIOS CMOS Reset’). For other systems without GMA950, there’s no need for GMA950 injection,  but ‘BIOS CMOS Reset’ may be needed (eg. Dell 1564 needs it!). Try out different combinations.


6.2 – Press ‘Patch’ button.

6.3 – Have a look at the ‘patching’ log to see a list of the applied fixes:

IV – Recompile the patched-DSDT source file to re-create your fixed DSDT_BIOS2204_Fixed.aml

7.1 – Go back to the Patch tab and press Compile button

7.2 – Again, have a look at the Logger to check for possible compile errors/warnings. In case of error (if you ever get one) you may need to manually edit the ‘dsdt_fixed.txt’ file and recompile…

7.3 – LBNL,  you can always manually add any missing ‘fix’ to  ‘dsdt_fixed.txt’  (which already contains most of the mandatory fixes)  and recompile it using the ‘iasl.exe’.

Conclusion

This is a handy tool to generate/patch a DSDT for your EeePC HackOsX.
Hope you can make some use of it too as I have done.

TonyCr (AniV),  05May10

Download: XP_DSDTv0.4

Edit1: (14Feb13): Have updated the download link.
Edit2: (01May13): Yet another download link update.
Edit3: (01Apr16): Yet another download link update!

12 Responses

Subscribe to comments with RSS.

  1. j3ri3l said, on January 19, 2011 at 2:15 pm

    Good Morning Tony.

    I’m trying to install OSX (iATKOS_v7) on my Intel PC. However Whenever I insert the DVD and Boot from it, it freezes on the Apple Logo Scree, or reboots without showing it no matter what flags I use to boot.

    Someone told me it was my DSDT. So I used This app you posted to patch it. NOW..

    What do I do with the patched .aml file? could you please let me know? My e-mail is Jerielcc@gmail.com.

    Thank you for posting this!

  2. Devin Owens said, on July 27, 2011 at 12:10 am

    Thanks . I wish the tool had more patches . I need some sata patches for the stupid “still waiting for root device ” error .

  3. Najamul said, on February 12, 2013 at 5:38 am

    The download link no longer work. is there a different source the too could be downloaded from?

    • tonycr said, on February 12, 2013 at 5:48 pm

      Thanks! I’ll update it as soon as possible. Now, I’m pretty busy with other stuff, but I won’t forget it.

      Okay, the link has been updated!

  4. Bruce Roberts said, on April 30, 2013 at 11:42 pm

    Again, the download link no longer works. Is it called filedropper because it drops files so quickly?
    I would appreciate being able to try this on my laptop……THANKS!!!

    • tonycr said, on May 1, 2013 at 5:25 am

      Thanks Bruce! Please try the new download link.
      Hope it will last longer.

  5. Bruce Roberts said, on May 1, 2013 at 3:39 pm

    Got the download. I will try it later today. Thank you for a very quick response! Have a great day!

  6. mike said, on October 22, 2015 at 8:56 pm

    Link is broken again, any chance on an update?

  7. George Papadis said, on November 22, 2015 at 4:43 pm

    Down again. Can you reupload it please?

  8. eg said, on January 21, 2016 at 5:11 pm

    your download link is broken again…

  9. rr said, on March 2, 2016 at 9:08 pm

    hi. can you please update the link for the file download? thx

  10. tonycr said, on April 1, 2016 at 10:33 pm

    Please try the new download link.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: