Jump to content

SSDT file names


llamafilm
 Share

4 posts in this topic

Recommended Posts

If you have more than one SSDT in the Clover patched folder, I always see people recommend to label them SSDT.aml, SSDT-1.aml, SSDT-2.aml, and so on.  Does the file name really matter?  Sometimes it would be nice to give them more meaningful names, like SSDT-pm or SSDT-audio, etc.

Link to comment
Share on other sites

Thank you.  From that post, it sounds like the naming can be anything, but the loading order will not be guaranteed unless you either use numbers or use Clover's SortedOrder key.  So far, I don't think I'm doing anything where the loading order would matter.

5:695  0:000  Inserting SSDT sin.aml from EFI\CLOVER\ACPI\patched ... Success
5:697  0:002  Inserting SSDT-pm.aml from EFI\CLOVER\ACPI\patched ... Success
Link to comment
Share on other sites

Thanks for this post. In order to feed your need, please do following things:

 

Patch Clover source here to read indexed files correctly in reverse order, with this:

//for (Index = 0; Index < gSettings.SortedACPICount; Index++) {
Index = gSettings.SortedACPICount;
while (Index--) {

Sample entries:

<key>SortedOrder</key>
<array>
  <string>b.aml</string>
  <string>c.aml</string>
  <string>a.aml</string>
</array>

Or prefix your files with number, for example:

SSDT-1-b.aml
SSDT-2-c.aml
SSDT-3-a.aml
  • Like 2
Link to comment
Share on other sites

 Share

×
×
  • Create New...