diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index dfe0770..0000000 --- a/.gitattributes +++ /dev/null @@ -1,2 +0,0 @@ -# Auto detect text files and perform LF normalization -* text=auto diff --git a/.gitignore b/.gitignore deleted file mode 100644 index e047765..0000000 --- a/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -_book/ -node_modules/ -.vscode/ -.DS_Store diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 58327ca..0000000 --- a/.travis.yml +++ /dev/null @@ -1,24 +0,0 @@ -language: node_js -node_js: lts/* -cache: - npm: false -before_script: -- npm install -g gitbook-cli -script: -- ls Universal -- gitbook install -- gitbook build -- cp icons/* _book/gitbook/images -deploy: - local_dir: _book - provider: pages - skip_cleanup: true - name: Travis Build Bot - keep_history: true - on: - branch: master - target_branch: gh-pages - # committer_from_gh: true - # allow_empty_commit: true - github_token: - secure: ZutxqsWgkleoYtyvMna47NJr1g1NAJPy/HrJ86wQ8XgWfVClSrFt3zHJTiVJWRwgFQBGmkEMtJ2ZVtrQ9p8smLNiJVmt23cJf6KGu7vDs9dBPT4HLnWEQ3WjL3hZD0i4f+avqA1X7q63rWPwdSQUiBMntCwlrF55sGUa0dCGJZynkS4oMjCFLdrft7QrW3FIO5+t6C6YC9cp1JwTqX6gsHPTvDq0TsiGKNyN+tRV82r3ySVdKxZtDA80ifWfObNCS+JB4JF1Oca1rmPmPyKOO/RZrD4jzbShSEN84eN0HxYmkk+nsMVy/0HAGT/zLpQigVOqguWwwhEw1AiP7pMSixceV9yq2qv7tVHOX8dWV1feoDzd6HW4wvtMso3d+XX7U2bnV4VfM8FHCBO7GLoYROG36YnItE/8pd5Vo63GLgnlFa3QUDD0ljc8uPAL8/ju8kWyPU9+oejcdf6K4UoDdomdjKqqXoOPIlBhifJO2CtN09K5WTLsigC9ok4y1nphfS2d8zoyZIkXVaSBqcvSTFGX/KpcTLZV06i4WCjMJHUteSAQr9lSxguY1r1y7n4v4PE2wicfaSdKJA8pzO+rFWwKO5NPdKR7HMPfrwxqgSbW/1/Ro0RZ++h5SXp8H/706qfyQIqh2FnssK8XvMycpJsb/SFhj4MYN8tQ0weB7ys= diff --git a/404.html b/404.html new file mode 100644 index 0000000..170a48f --- /dev/null +++ b/404.html @@ -0,0 +1,22 @@ + + + + + + Getting Started With ACPI + + + + + + + + + + +

404

That's a Four-Oh-Four.
+ Take me home. +
+ + + diff --git a/CONTRIBUTING.html b/CONTRIBUTING.html index 5e4649c..2f34390 100644 --- a/CONTRIBUTING.html +++ b/CONTRIBUTING.html @@ -1,943 +1,62 @@ - - - - - - - Contributing · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Supporting the guides | Getting Started With ACPI + + + + - - - - - - - - - - - - - - -
-
- - - - - - - - -
- -
- -
- - - - - - - - -
-
- -
-
- -
- -
-

Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

-
-

Supporting the guides

-

Note: This is a community run guide which is not officially endorsed by Acidanthera. Please do not bug Acidanthera with issues about this guide.

-

Want to help support the guide? Well there's some ways you can help!

- -

Note: For those wanting to contribute financially, we seriously appreciate it but we're a non-profit organization. We do this to teach, not to make money. If you have some money left over we highly recommend donating it to a charity. Crohn's and Colitis Canada is one we recommend if you have none on mind.

-

Contributing via Issues

-

Contributing via Issues is pretty simple but there are some rules:

-
    -
  • Keep issues tab dedicated to guides issues only, no personal hackintosh issues. It is not a place to discuss installation issues.
  • -
  • If for a typo or better clarification, please indicate what page it was on. Would appreciate not going for a scavenger hunt on where these issues are.
  • -
-

You can find the issues tab here: Getting Started With ACPI Issues

-

Contributing via PRs

-

Some guidelines when contributing via PRs:

-
    -
  • Use your brain (please).
  • -
  • Proofread your submissions.
  • -
  • Pull Requests can be denied if we feel it does not fit or has inaccurate information. We will generally tell you why it is rejected though or ask for revisions.
      -
    • We would also appreciate sources for any bigger commits to make it easier on us to verify the info your provide is valid
    • -
    -
  • -
  • Images must be hosted locally in the repo under the /images/ folder
  • -
  • Your PR must be run through a markdown lint and have all issues fixed.
  • -
  • In general, try to avoid using "non-Acidanthera" tools when possible. Generally we want to avoid use of third-party tools - though if it's impossible otherwise, then you can link it.
      -
    • Tools explicitly banned:
        -
      • UniBeast, MultiBeast and KextBeast -
      • -
      • Transmac
          -
        • Know for creating borked USB drives
        • -
        -
      • -
      • Niresh Installers
          -
        • We'd like to avoid piracy with the guides
        • -
        -
      • -
      -
    • -
    -
  • -
-

How to Contribute

-

Best way to test your commits and make sure they are formatted correctly is downloading nodejs and getting the gitbook-cli and markdownlint-cli tools. When you run gitbook serve, it will set up a local webserver which you can connect to view the changes you made. markdownlint * will throw any errors at you about formatting as well, and markdownlint -f * will attempt to fix these.

-
    -
  • Fork this repo
  • -
  • Install the required tools:
      -
    • npm install -g markdownlint-cli
    • -
    • npm install -g gitbook-cli
    • -
    -
  • -
  • Make your changes.
  • -
  • Build the site:
      -
    • gitbook install (To install all the required gitbook plugins)
    • -
    • gitbook serve (Preview the site)
        -
      • Can be found at http://localhost:4000
      • -
      -
    • -
    -
  • -
  • Check markdown format:
      -
    • markdownlint -f * (To fix any potential issues)
    • -
    -
  • -
-

Tips

-

Some tools that make contributing a bit easier:

- - - -
- -
-
-
- -

results matching ""

-
    - -
    -
    - -

    No results matching ""

    - -
    -
    -
    - -
    -
    - -
    - - - - - - - - - - -
    - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +

    # Supporting the guides

    Note: This is a community run guide which is not officially endorsed by Acidanthera. Please do not bug Acidanthera with issues about this guide.

    Want to help support the guide? Well there's some ways you can help!

    Note: For those wanting to contribute financially, we seriously appreciate it but we're a non-profit organization. We do this to teach, not to make money. If you have some money left over we highly recommend donating it to a charity. Crohn's and Colitis Canada is one we recommend if you have none on mind.

    # Contributing via Issues

    Contributing via Issues is pretty simple but there are some rules:

    • Keep issues tab dedicated to guides issues only, no personal hackintosh issues. It is not a place to discuss installation issues.
    • If for a typo or better clarification, please indicate what page it was on. Would appreciate not going for a scavenger hunt on where these issues are.

    You can find the issues tab here: Getting Started With ACPI Issues

    # Contributing via PRs

    Some guidelines when contributing via PRs:

    • Use your brain (please).
    • Proofread your submissions.
    • Pull Requests can be denied if we feel it does not fit or has inaccurate information. We will generally tell you why it is rejected though or ask for revisions. +
      • We would also appreciate sources for any bigger commits to make it easier on us to verify the info your provide is valid
    • Images must be hosted locally in the repo under the /images/ folder
    • Your PR must be run through a markdown lint and have all issues fixed.
    • In general, try to avoid using "non-Acidanthera" tools when possible. Generally we want to avoid use of third-party tools - though if it's impossible otherwise, then you can link it. +
      • Tools explicitly banned: +
        • UniBeast, MultiBeast and KextBeast +
        • Transmac +
          • Know for creating borked USB drives
        • Niresh Installers +
          • We'd like to avoid piracy with the guides

    # How to Contribute

    Best way to test your commits and make sure they are formatted correctly is downloading nodejs and yarn then getting the VuePress and markdownlint-cli tools. When you run yarn dev, it will set up a local webserver which you can connect to view the changes you made. markdownlint * will throw any errors at you about formatting as well, and markdownlint -f * will attempt to fix these.

    • Fork this repo
    • Install the required tools: +
      • brew install yarn
      • npm install -g markdownlint-cli
    • Make your changes.
    • Build the site: +
      • yarn install (To install all the required plugins)
      • yarn dev (Preview the site) +
        • Can be found at http://localhost:8080
    • Check markdown format: +
      • markdownlint -f * (To fix any potential issues)

    # Tips

    Some tools that make contributing a bit easier:

    Last Updated: 7/17/2020, 9:01:14 PM
    + + - diff --git a/Desktops/desktop-disable.html b/Desktops/desktop-disable.html index 38fe491..d3b2e9d 100644 --- a/Desktops/desktop-disable.html +++ b/Desktops/desktop-disable.html @@ -1,923 +1,61 @@ - - - - - - - Disabling desktop dGPUs · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Disabling desktops unsupported GPUs(SSDT-GPU-DISABLE) | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
    -
    - - - - - - - - -
    - -
    - -
    - - - - - - - - -
    -
    - -
    -
    - -
    - -
    -

    Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

    -
    -

    Disabling desktops unsupported GPUs(SSDT-GPU-DISABLE)

    - -

    So this is mainly needed for GPUs that are not supported in macOS, mainly this will be Nvidia users who wish to pair an AMD GPU for macOS use. While WhateverGreen does support the boot-arg -wegnoegpu, this only works when running on iGPU so for the rest of us we'll need to make an SSDT.

    -

    So to disable a specific GPU, we need to find a couple things:

    - -

    Finding the ACPI Path of the GPU

    -

    To find the PCI path of a GPU is fairly simple, best way to find it is running Windows:

    -
      -
    • Open Device Manager
    • -
    • Select Display Adapters, then right click your GPU and select Properties
    • -
    • Under the Details Tab, search for "Location Paths"
        -
      • Note some GPUs may be hiding under "BIOS device name"
      • -
      -
    • -
    -

    -

    Credit to 1Revenger1 for the image

    -

    The second "ACPI" is what we care about:

    -
    ACPI(_SB_)#ACPI(PC02)#ACPI(BR2A)#ACPI(PEGP)#PCI(0000)#PCI(0000)
    -

    Now converting this to an ACPI path is quite simple, remove the #ACPI and #PCI(0000):

    -
    `_SB_.PC02.BR2A.PEGP
    -

    And voila! We've found our ACPI path, now that we have everything we're ready to get cooking

    -

    Making the SSDT

    -

    To start grab our SSDT-GPU-DISABLE and open it up. Here there's a couple things to change:

    -
    External (_SB_.PCI0.PEG0.PEGP, DeviceObj)
    +    
    +    
    +  
    +  
    +    

    # Disabling desktops unsupported GPUs(SSDT-GPU-DISABLE)

    So this is mainly needed for GPUs that are not supported in macOS, mainly this will be Nvidia users who wish to pair an AMD GPU for macOS use. While WhateverGreen does support the boot-arg -wegnoegpu, this only works when running on iGPU so for the rest of us we'll need to make an SSDT.

    So to disable a specific GPU, we need to find a couple things:

    # Finding the ACPI Path of the GPU

    To find the PCI path of a GPU is fairly simple, best way to find it is running Windows:

    • Open Device Manager
    • Select Display Adapters, then right click your GPU and select Properties
    • Under the Details Tab, search for "Location Paths" +
      • Note some GPUs may be hiding under "BIOS device name"

    Credit to 1Revenger1 for the image

    The second "ACPI" is what we care about:

    ACPI(_SB_)#ACPI(PC02)#ACPI(BR2A)#ACPI(PEGP)#PCI(0000)#PCI(0000)
    +

    Now converting this to an ACPI path is quite simple, remove the #ACPI and #PCI(0000):

    `_SB_.PC02.BR2A.PEGP
    +

    And voila! We've found our ACPI path, now that we have everything we're ready to get cooking

    # Making the SSDT

    To start grab our SSDT-GPU-DISABLE and open it up. Here there's a couple things to change:

    External (_SB_.PCI0.PEG0.PEGP, DeviceObj)
     Method (_SB.PCI0.PEG0.PEGP._DSM, 4, NotSerialized)
    -

    For our example, we'll change all mentions of :

    -
      -
    • PCI0 with PC02
    • -
    • PEG0 with BR2A
    • -
    -

    Hint: If your ACPI path is a bit shorter than the example, this is fine. Just make sure the ACPI paths are correct to your device, some users may also need to adapt _SB_ to their path

    -

    Now you're ready to compile the SSDT!

    - - -
    - -
    -
    -
    - -

    results matching ""

    -
      - -
      -
      - -

      No results matching ""

      - -
      -
      -
      - -
      -
      - -
      - - - - - - - - - - - - - - -
      - - -
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +

      For our example, we'll change all mentions of :

      Hint: If your ACPI path is a bit shorter than the example, this is fine. Just make sure the ACPI paths are correct to your device, some users may also need to adapt _SB_ to their path

      # Now you're ready to compile the SSDT!

      + + - diff --git a/Desktops/desktop-ec.html b/Desktops/desktop-ec.html new file mode 100644 index 0000000..aeaa973 --- /dev/null +++ b/Desktops/desktop-ec.html @@ -0,0 +1,48 @@ + + + + + + Fixing Embedded Controller (Desktop) | Getting Started With ACPI + + + + + + + + + + +

      # Fixing Embedded Controller (Desktop)

      # You'll want to go to SSDT-EC under the Universal tab for the new SSDT-EC page

      Last Updated: 5/31/2020, 5:54:37 AM
      + + + diff --git a/Desktops/desktop-ec.md b/Desktops/desktop-ec.md deleted file mode 100644 index 32b79cc..0000000 --- a/Desktops/desktop-ec.md +++ /dev/null @@ -1,4 +0,0 @@ - -# Fixing Embedded Controller (Desktop) - -## You'll want to go to [SSDT-EC under the Universal tab](/Universal/desktop-ec.md) for the new SSDT-EC page diff --git a/Laptops/backlight-methods/manual.html b/Laptops/backlight-methods/manual.html index d74640d..3519576 100644 --- a/Laptops/backlight-methods/manual.html +++ b/Laptops/backlight-methods/manual.html @@ -1,923 +1,67 @@ - - - - - - - Manual · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Fixing Backlight: Manual | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
      -
      - - - - - - - - -
      - -
      - -
      - - - - - - - - -
      -
      - -
      -
      - -
      - -
      -

      Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

      -
      -

      Fixing Backlight: Manual

      - -

      Finding the ACPI path

      -

      For this guide, we're gonna assume Windows is already on this laptop, as otherwise creating this SSDT is a bit more difficult.

      -

      Now open DeviceManager, and head to the following:

      -
      Device Manager -> Display Adapters -> Properties -> Details > BIOS device name
      -
      -
        -
      • Note some GPU ACPI pathing may be hiding under "BIOS device name"
      • -
      -

      Credit to 1Revenger1 for the image

      -

      From the above example, we can see our display is hooked up to PCI0.GFX0

      -

      Edits to the sample SSDT

      -

      Now that we have our ACPI path, lets grab our SSDT and get to work:

      - -

      By default, this uses PCI0.GFX0 for the pathing. you'll want to rename accordingly. For this example, we'll assume your pathing is PCI0.GPU0:

      -

      Before:

      -
      External (_SB_.PCI0.GFX0, DeviceObj) <- Rename this
      +    
      +    
      +  
      +  
      +    

      # Fixing Backlight: Manual

      # Finding the ACPI path

      For this guide, we're gonna assume Windows is already on this laptop, as otherwise creating this SSDT is a bit more difficult.

      Now open DeviceManager, and head to the following:

      Device Manager -> Display Adapters -> Properties -> Details > BIOS device name
      +
      • Note some GPU ACPI pathing may be hiding under "BIOS device name"

      Credit to 1Revenger1 for the image

      From the above example, we can see our display is hooked up to PCI0.GFX0

      # Edits to the sample SSDT

      Now that we have our ACPI path, lets grab our SSDT and get to work:

      By default, this uses PCI0.GFX0 for the pathing. you'll want to rename accordingly. For this example, we'll assume your pathing is PCI0.GPU0:

      Before:

      External (_SB_.PCI0.GFX0, DeviceObj) <- Rename this
       
       Scope (_SB.PCI0.GFX0) <- Rename this
       
       Device(_SB.PCI0.GFX0.PNLF) <- Rename this
      -

      -

      Following the example pathing we found, the SSDT should look something like this:

      -

      After:

      -
      External (_SB_.PCI0.GPU0, DeviceObj) <- Renamed
      +

      Following the example pathing we found, the SSDT should look something like this:

      After:

      External (_SB_.PCI0.GPU0, DeviceObj) <- Renamed
       
       Scope (_SB.PCI0.GPU0) <- Renamed
       
       Device(_SB.PCI0.GPU0.PNLF) <- Renamed
      -

      -

      Compiling the SSDT

      -

      With the SSDT done, you're now ready to compile the SSDT!

      -

      Wrapping up

      -

      Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:

      - - - -
      - -
      -
      -
      - -

      results matching ""

      -
        - -
        -
        - -

        No results matching ""

        - -
        -
        -
        - -
        -
        - -
        - - - - - - - - - - - - - - -
        - - -
        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +

        # Compiling the SSDT

        With the SSDT done, you're now ready to compile the SSDT!

        # Wrapping up

        Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:

        + + - diff --git a/Laptops/backlight-methods/prebuilt.html b/Laptops/backlight-methods/prebuilt.html index 836195e..7658ffa 100644 --- a/Laptops/backlight-methods/prebuilt.html +++ b/Laptops/backlight-methods/prebuilt.html @@ -1,894 +1,57 @@ - - - - - - - Prebuilt · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Fixing Backlight: Prebuilt | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
        -
        - - - - - - - - -
        - -
        - -
        - - - - - - - - -
        -
        - -
        -
        - -
        - -
        -

        Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

        -
        -

        Fixing Backlight: Prebuilt

        -

        By far the easiest method, all you need to do is download the following file:

        - -

        Main things to note with this method:

        -
          -
        • Assumes GPU pathing, works great for 99% of devices but if you're having issues controlling backlight this may be something to look at
        • -
        • Doesn't really teach you anything
            -
          • For most, this doesn't matter. But to some knowing what makes your hackintosh tick is part of the journey
          • -
          -
        • -
        - - -
        - -
        -
        -
        - -

        results matching ""

        -
          - -
          -
          - -

          No results matching ""

          - -
          -
          -
          - -
          -
          - -
          - - - - - - - - - - - - - - -
          - - -
          - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +

          # Fixing Backlight: Prebuilt

          By far the easiest method, all you need to do is download the following file:

          Main things to note with this method:

          • Assumes GPU pathing, works great for 99% of devices but if you're having issues controlling backlight this may be something to look at
          • Doesn't really teach you anything +
            • For most, this doesn't matter. But to some knowing what makes your hackintosh tick is part of the journey
          Last Updated: 5/31/2020, 5:58:30 AM
          + + - diff --git a/Laptops/backlight.html b/Laptops/backlight.html index 644c381..be63c69 100644 --- a/Laptops/backlight.html +++ b/Laptops/backlight.html @@ -1,887 +1,56 @@ - - - - - - - Backlight PNLF · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Fixing Backlight (SSDT-PNLF) | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
          -
          - - - - - - - - -
          - -
          - -
          - - - - - - - - -
          -
          - -
          -
          - -
          - -
          -

          Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

          -
          -

          Fixing Backlight (SSDT-PNLF)

          - -

          What this SSDT does

          -

          The purpose of this SSDT is to create a PNLF device for macOS to play with, specifically one with a hardware ID of APP0002. Luckily WhateverGreen will handle the rest of the work for us.

          -

          Methods to make this SSDT

          -

          For the backlight fix, there are 2 methods you can choose from:

          - - - -
          - -
          -
          -
          - -

          results matching ""

          -
            - -
            -
            - -

            No results matching ""

            - -
            -
            -
            - -
            -
            - -
            - - - - - - - - - - - - - - -
            - - -
            - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +

            # Fixing Backlight (SSDT-PNLF)

            # What this SSDT does

            The purpose of this SSDT is to create a PNLF device for macOS to play with, specifically one with a hardware ID of APP0002. Luckily WhateverGreen will handle the rest of the work for us.

            # Methods to make this SSDT

            For the backlight fix, there are 2 methods you can choose from:

            Last Updated: 5/31/2020, 5:54:37 AM
            + + - diff --git a/Laptops/laptop-disable.html b/Laptops/laptop-disable.html index 134d449..c131ffe 100644 --- a/Laptops/laptop-disable.html +++ b/Laptops/laptop-disable.html @@ -1,944 +1,67 @@ - - - - - - - Disabling laptop dGPUs · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Disabling laptop dGPUs (SSDT-dGPU-Off/NoHybGfx) | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
            -
            - - - - - - - - -
            - -
            - -
            - - - - - - - - -
            -
            - -
            -
            - -
            - -
            -

            Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

            -
            -

            Disabling laptop dGPUs (SSDT-dGPU-Off/NoHybGfx)

            - -

            So with laptops, we can hide the dGPU from macOS with the little boot-arg called -wegnoegpu from WhateverGreen. But one small problem, the dGPU is still pulling power draining your battery slowly. We'll be going over 2 methods for disabling the dGPU in a laptop:

            - -

            Note that this is not needed for install, but recommended for post-install

            -

            Optimus Method

            -

            How this works is that we call the .off method found on Optimus GPUs, this is the expected way to power off a GPU but some may find their dGPU will power back up later on. Mainly seen in Lenovo's, the Optimus method should work for most users:

            -

            To start, grab SSDT-dGPU-Off.dsl

            -

            Next we need to get on Windows, and head to the following:

            -
            Device Manager -> Display Adapters -> dGPU -> Properties -> Details > BIOS device name
            -
            -
              -
            • Note some GPUs may be hiding under "BIOS device name"
            • -
            -

            This should provided you with an ACPI path for your dGPU, most commonly:

            -
              -
            • Nvidia dGPU: \_SB.PCI0.PEG0.PEGP
            • -
            • AMD dGPU: \_SB.PCI0.PEGP.DGFX
            • -
            -

            Credit to 1Revenger1 for the image

            -

            Now with that, we'll need to change the ACPI path in the SSDT. Main sections:

            -
            External(_SB.PCI0.PEG0.PEGP._OFF, MethodObj)
            -
            -
            If (CondRefOf(\_SB.PCI0.PEG0.PEGP._OFF)) { \_SB.PCI0.PEG0.PEGP._OFF() }
            -
            -

            Once adapted to your config, head to the compile section

            -
              -
            • For those with sleep issues, you can refer to the original Rehabman thread
            • -
            -

            Bumblebee Method

            -

            With some machines, the simple .off call won't keep the card off properly, that's where the Bumblebee method comes in. This SSDT will actually send the dGPU into D3 state being the lowest power state a device can support. Credit to Mameo for the original adaptation.

            -

            To start, grab SSDT-NoHybGfx.dsl

            -

            Next we need to get on Windows, and head to the following:

            -
            Device Manager -> Display Adapters -> dGPU -> Properties -> Details > BIOS device name
            -
            -

            This should provided you with an ACPI path for your dGPU, most commonly:

            -
              -
            • Nvidia dGPU: \_SB.PCI0.PEG0.PEGP
            • -
            • AMD dGPU: \_SB.PCI0.PEGP.DGFX
            • -
            -

            Now with that, we'll need to change the ACPI path in the SSDT. Main sections:

            -
            External (_SB_.PCI0.PEG0.PEGP._DSM, MethodObj)    // dGPU ACPI Path
            +    
            +    
            +  
            +  
            +    

            # Disabling laptop dGPUs (SSDT-dGPU-Off/NoHybGfx)

            So with laptops, we can hide the dGPU from macOS with the little boot-arg called -wegnoegpu from WhateverGreen. But one small problem, the dGPU is still pulling power draining your battery slowly. We'll be going over 2 methods for disabling the dGPU in a laptop:

            Note that this is not needed for install, but recommended for post-install

            # Optimus Method

            How this works is that we call the .off method found on Optimus GPUs, this is the expected way to power off a GPU but some may find their dGPU will power back up later on. Mainly seen in Lenovo's, the Optimus method should work for most users:

            To start, grab SSDT-dGPU-Off.dsl

            Next we need to get on Windows, and head to the following:

            Device Manager -> Display Adapters -> dGPU -> Properties -> Details > BIOS device name
            +
            • Note some GPUs may be hiding under "BIOS device name"

            This should provided you with an ACPI path for your dGPU, most commonly:

            • Nvidia dGPU: \_SB.PCI0.PEG0.PEGP
            • AMD dGPU: \_SB.PCI0.PEGP.DGFX

            Credit to 1Revenger1 for the image

            Now with that, we'll need to change the ACPI path in the SSDT. Main sections:

            External(_SB.PCI0.PEG0.PEGP._OFF, MethodObj)
            +
            If (CondRefOf(\_SB.PCI0.PEG0.PEGP._OFF)) { \_SB.PCI0.PEG0.PEGP._OFF() }
            +

            Once adapted to your config, head to the compile section

            # Bumblebee Method

            With some machines, the simple .off call won't keep the card off properly, that's where the Bumblebee method comes in. This SSDT will actually send the dGPU into D3 state being the lowest power state a device can support. Credit to Mameo for the original adaptation.

            To start, grab SSDT-NoHybGfx.dsl

            Next we need to get on Windows, and head to the following:

            Device Manager -> Display Adapters -> dGPU -> Properties -> Details > BIOS device name
            +

            This should provided you with an ACPI path for your dGPU, most commonly:

            • Nvidia dGPU: \_SB.PCI0.PEG0.PEGP
            • AMD dGPU: \_SB.PCI0.PEGP.DGFX

            Now with that, we'll need to change the ACPI path in the SSDT. Main sections:

            External (_SB_.PCI0.PEG0.PEGP._DSM, MethodObj)    // dGPU ACPI Path
             External (_SB_.PCI0.PEG0.PEGP._PS3, MethodObj)    // dGPU ACPI Path
            -
            -
            If ((CondRefOf (\_SB.PCI0.PEG0.PEGP._DSM) && CondRefOf (\_SB.PCI0.PEG0.PEGP._PS3)))
            -
            -
             // Card Off Request
            +
            If ((CondRefOf (\_SB.PCI0.PEG0.PEGP._DSM) && CondRefOf (\_SB.PCI0.PEG0.PEGP._PS3)))
            +
             // Card Off Request
              \_SB.PCI0.PEG0.PEGP._DSM (ToUUID ("a486d8f8-0bda-471b-a72b-6042a6b5bee0"), 0x0100, 0x1A, Buffer (0x04)
            -
            -
             // Card Off
            +
             // Card Off
             \_SB.PCI0.PEG0.PEGP._PS3 ()
            -
            -

            Once adapted to your config, head to the compile section

            -

            Now you're ready to compile the SSDT!

            - - -
            - -
            -
            -
            - -

            results matching ""

            -
              - -
              -
              - -

              No results matching ""

              - -
              -
              -
              - -
              -
              - -
              - - - - - - - - - - - - - - -
              - - -
              - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +

              Once adapted to your config, head to the compile section

              # Now you're ready to compile the SSDT!

              + + - diff --git a/Laptops/laptop-ec.html b/Laptops/laptop-ec.html new file mode 100644 index 0000000..eb7887d --- /dev/null +++ b/Laptops/laptop-ec.html @@ -0,0 +1,48 @@ + + + + + + Fixing Embedded Controller (Laptop) | Getting Started With ACPI + + + + + + + + + + +

              # Fixing Embedded Controller (Laptop)

              # You'll want to go to SSDT-EC under the Universal tab for the new SSDT-EC page

              Last Updated: 5/31/2020, 5:54:37 AM
              + + + diff --git a/Laptops/laptop-ec.md b/Laptops/laptop-ec.md deleted file mode 100644 index ba8b91d..0000000 --- a/Laptops/laptop-ec.md +++ /dev/null @@ -1,3 +0,0 @@ -# Fixing Embedded Controller (Laptop) - -## You'll want to go to [SSDT-EC under the Universal tab](/Universal/desktop-ec.md) for the new SSDT-EC page diff --git a/Laptops/trackpad-methods/manual.html b/Laptops/trackpad-methods/manual.html index 701bece..dedfc5d 100644 --- a/Laptops/trackpad-methods/manual.html +++ b/Laptops/trackpad-methods/manual.html @@ -1,803 +1,48 @@ - - - - - - - Manual · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Fixing Trackpads: Manual | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
              -
              - - - - - - - - -
              - -
              - -
              - - - - - - - - -
              -
              - -
              -
              - -
              - -
              -

              Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

              -
              -

              Fixing Trackpads: Manual

              - -

              Finding the ACPI path

              -

              Finding the ACPI pathing is quite easy actually, first open your decompiled DSDT you got from Dumping the DSDT and Decompiling and Compiling with either maciASL(if in macOS) or any other text editor if in Windows or Linux(VSCode has an ACPI extension that can also help).

              -

              Next search for Device (GPI0). Should give you a result similar to this:

              -

              -

              What we care about from this is the _STA method:

              -
              Method (_STA, 0, NotSerialized)
              +    
              +    
              +  
              +  
              +    

              # Fixing Trackpads: Manual

              # Finding the ACPI path

              Finding the ACPI pathing is quite easy actually, first open your decompiled DSDT you got from Dumping the DSDT and Decompiling and Compiling with either maciASL(if in macOS) or any other text editor if in Windows or Linux(VSCode has an ACPI extension that can also help).

              Next search for Device (GPI0). Should give you a result similar to this:

              What we care about from this is the _STA method:

              Method (_STA, 0, NotSerialized)
               {
                   If ((GPHD == One))
                   {
              @@ -806,122 +51,24 @@
               
                   Return (0x0F)
               }
              -

              What we want is for this to always return 0x0F when booting macOS, so we want to make an SSDT that will return GPHD == Zero in macOS.

              -

              NOTE that you may have the other way around where GPHD needs to be set as One to return 0x0F. And your device name may also be different, don't throw random SSDTs in thinking it'll work

              -

              Here's some more examples:

              -

              -

              With this example, we can see that we need both SBRG and GPEN to return One. If only one is present, it'll create some issues so in our SSDT we'll want to have both of them return One:

              -

              Edits to the sample SSDT

              -

              Now that we have our ACPI path, lets grab our SSDT and get to work:

              - -

              From the second example, we'll want to set both GPEN and SBRG to One to allow it to operate in macOS:

              -

              Before:

              -
              If (_OSI ("Darwin"))
              +

              What we want is for this to always return 0x0F when booting macOS, so we want to make an SSDT that will return GPHD == Zero in macOS.

              NOTE that you may have the other way around where GPHD needs to be set as One to return 0x0F. And your device name may also be different, don't throw random SSDTs in thinking it'll work

              Here's some more examples:

              With this example, we can see that we need both SBRG and GPEN to return One. If only one is present, it'll create some issues so in our SSDT we'll want to have both of them return One:

              # Edits to the sample SSDT

              Now that we have our ACPI path, lets grab our SSDT and get to work:

              From the second example, we'll want to set both GPEN and SBRG to One to allow it to operate in macOS:

              Before:

              If (_OSI ("Darwin"))
                       {
                           GPEN = One <- Change to the right variables
                           SBRG = One <- Change to the right variables
              -    }
              -

              -

              Following the example pathing we found, the SSDT should look something like this:

              -

              After:

              -
              If (_OSI ("Darwin"))
              +	}
              +

              Following the example pathing we found, the SSDT should look something like this:

              After:

              If (_OSI ("Darwin"))
                       {
                           GPEN = One <- Proper variables
                       }
              -

              -

              Compiling the SSDT

              -

              With the SSDT done, you're now ready to compile the SSDT!

              -

              Wrapping up

              -

              Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:

              - - - -
              - -
              -
              -
              - -

              results matching ""

              -
                - -
                -
                - -

                No results matching ""

                - -
                -
                -
                - -
                -
                - -
                - - - - - - - - - - - - - - -
                - - -
                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +

                # Compiling the SSDT

                With the SSDT done, you're now ready to compile the SSDT!

                # Wrapping up

                Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:

                + + - diff --git a/Laptops/trackpad-methods/prebuilt.html b/Laptops/trackpad-methods/prebuilt.html index 139027d..69f4edc 100644 --- a/Laptops/trackpad-methods/prebuilt.html +++ b/Laptops/trackpad-methods/prebuilt.html @@ -1,918 +1,56 @@ - - - - - - - Prebuilt · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Fixing Trackpads: Prebuilt | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                -
                - - - - - - - - -
                - -
                - -
                - - - - - - - - -
                -
                - -
                -
                - -
                - -
                -

                Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                -
                -

                Fixing Trackpads: Prebuilt

                -

                This is a one-size fits all solution where we basically trick our hardware into thinking it's booting Windows. The problem with this method is that it's common to break Windows booting so avoid unless troubleshooting.

                -
                  -
                • SSDT-XOSI

                  -
                • -
                • XOSI Rename(add this under config.plist -> ACPI -> Patch):

                  -
                • -
                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                CommentStringChange _OSI to XOSI
                EnabledBooleanYES
                CountNumber0
                LimitNumber0
                FindData5f4f5349
                ReplaceData584f5349
                - - -
                - -
                -
                -
                - -

                results matching ""

                -
                  - -
                  -
                  - -

                  No results matching ""

                  - -
                  -
                  -
                  - -
                  -
                  - -
                  - - - - - - - - - - - - - - -
                  - - -
                  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +

                  # Fixing Trackpads: Prebuilt

                  This is a one-size fits all solution where we basically trick our hardware into thinking it's booting Windows. The problem with this method is that it's common to break Windows booting so avoid unless troubleshooting.

                  • SSDT-XOSI

                  • XOSI Rename(add this under config.plist -> ACPI -> Patch):

                  Comment String Change _OSI to XOSI
                  Enabled Boolean YES
                  Count Number 0
                  Limit Number 0
                  Find Data 5f4f5349
                  Replace Data 584f5349
                  Last Updated: 5/31/2020, 5:54:37 AM
                  + + - diff --git a/Laptops/trackpad.html b/Laptops/trackpad.html index 2df7f0f..30f0688 100644 --- a/Laptops/trackpad.html +++ b/Laptops/trackpad.html @@ -1,888 +1,56 @@ - - - - - - - Trackpad GPI0 · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Fixing Trackpads (SSDT-GPI0/XOSI) | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                  -
                  - - - - - - - - -
                  - -
                  - -
                  - - - - - - - - -
                  -
                  - -
                  -
                  - -
                  - -
                  -

                  Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                  -
                  -

                  Fixing Trackpads (SSDT-GPI0/XOSI)

                  - -

                  What this SSDT does

                  -

                  This SSDT is used to force enable our GPI0 for VoodooI2C to connect onto.

                  -

                  With most modern laptop DSDTs, there's a variable called GPEN or GPHD which are used for setting the status of the GPI0 device. For us, we want to enable the device.

                  -

                  Methods to make this SSDT

                  -

                  For the trackpad fix, there are 2 methods you can choose from:

                  - - - -
                  - -
                  -
                  -
                  - -

                  results matching ""

                  -
                    - -
                    -
                    - -

                    No results matching ""

                    - -
                    -
                    -
                    - -
                    -
                    - -
                    - - - - - - - - - - - - - - -
                    - - -
                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +

                    # Fixing Trackpads (SSDT-GPI0/XOSI)

                    # What this SSDT does

                    This SSDT is used to force enable our GPI0 for VoodooI2C to connect onto.

                    With most modern laptop DSDTs, there's a variable called GPEN or GPHD which are used for setting the status of the GPI0 device. For us, we want to enable the device.

                    # Methods to make this SSDT

                    For the trackpad fix, there are 2 methods you can choose from:

                    Last Updated: 5/31/2020, 5:54:37 AM
                    + + - diff --git a/Manual/compile.html b/Manual/compile.html index e75ee05..0ff936f 100644 --- a/Manual/compile.html +++ b/Manual/compile.html @@ -1,905 +1,59 @@ - - - - - - - Decompiling and Compiling · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Compiling and decompiling ACPI Tables | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                    -
                    - - - - - - - - -
                    - -
                    - -
                    - - - - - - - - -
                    -
                    - -
                    -
                    - -
                    - -
                    -

                    Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                    -
                    -

                    Compiling and decompiling ACPI Tables

                    -

                    See Troubleshooting if you have dumping/compiling errors

                    - -

                    macOS

                    -

                    So compiling DSDTs and SSDTs are quite easy with macOS, all you need is MaciASL. To compile, just File -> SaveAs -> ACPI Machine Language Binary(.AML), decompiling is just opening the file in MaciASL.

                    -

                    For those who prefer the command line, grab iasl-stable and run the following:

                    -
                    path/to/iasl.exe path/to/DSDT.aml
                    -
                    -
                      -
                    • If compiled .aml file is provided, a decompiled .dsl file will be given and vice versa.
                    • -
                    -

                    -

                    Windows

                    -

                    Compiling and decompiling on windows is fairly simple though, you will need iasl.exe and Command Prompt:

                    -
                    path/to/iasl.exe path/to/DSDT.aml
                    -
                    -

                    -
                      -
                    • If compiled .aml file is provided, a decompiled .dsl file will be given and vice versa.
                    • -
                    -

                    Linux

                    -

                    Compiling and decompiling with Linux is just as simple, you will need a copy of iasl. You can get it here (iasl) or through the iasl package in your package manager. iasl can be used as such:

                    -
                    path/to/iasl path/to/DSDT.aml
                    -
                    -
                      -
                    • If compiled .aml file is provided, a decompiled .dsl file will be given and vice versa.
                    • -
                    - - -
                    - -
                    -
                    -
                    - -

                    results matching ""

                    -
                      - -
                      -
                      - -

                      No results matching ""

                      - -
                      -
                      -
                      - -
                      -
                      - -
                      - - - - - - - - - - - - - - -
                      - - -
                      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +

                      # Compiling and decompiling ACPI Tables

                      See Troubleshooting if you have dumping/compiling errors

                      # macOS

                      So compiling DSDTs and SSDTs are quite easy with macOS, all you need is MaciASL. To compile, just File -> SaveAs -> ACPI Machine Language Binary(.AML), decompiling is just opening the file in MaciASL.

                      For those who prefer the command line, grab iasl-stable and run the following:

                      path/to/iasl.exe path/to/DSDT.aml
                      +
                      • If compiled .aml file is provided, a decompiled .dsl file will be given and vice versa.

                      # Windows

                      Compiling and decompiling on windows is fairly simple though, you will need iasl.exe and Command Prompt:

                      path/to/iasl.exe path/to/DSDT.aml
                      +

                      • If compiled .aml file is provided, a decompiled .dsl file will be given and vice versa.

                      # Linux

                      Compiling and decompiling with Linux is just as simple, you will need a copy of iasl. You can get it here (iasl) or through the iasl package in your package manager. iasl can be used as such:

                      path/to/iasl path/to/DSDT.aml
                      +
                      • If compiled .aml file is provided, a decompiled .dsl file will be given and vice versa.
                      Last Updated: 7/17/2020, 8:46:53 PM
                      + + - diff --git a/Manual/dump.html b/Manual/dump.html index 6805c5b..74a919c 100644 --- a/Manual/dump.html +++ b/Manual/dump.html @@ -1,953 +1,67 @@ - - - - - - - Dumping the DSDT · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Getting a copy of our DSDT | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                      -
                      - - - - - - - - -
                      - -
                      - -
                      - - - - - - - - -
                      -
                      - -
                      -
                      - -
                      - -
                      -

                      Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                      -
                      -

                      Getting a copy of our DSDT

                      -

                      So to start, we'll need to get a copy of your DSDT from your firmware. The easiest way is grabbing the DSDT.aml SSDTTime dumped for us earlier but here are some other options:

                      -

                      From Windows

                      -
                        -
                      • SSDTTime
                          -
                        • Supports both Windows and Linux for DSDT dumping
                        • -
                        • 4. Dump DSDT - Automatically dump the system DSDT
                        • -
                        -
                      • -
                      • acpidump.exe

                        -
                          -
                        • In command prompt run path/to/acpidump.exe -b -n DSDT -z, this will dump your DSDT as a .dat file. Rename this to DSDT.aml
                        • -
                        -
                      • -
                      • Do note that all ACPI patches from clover/OpenCore will be applied to the DSDT with the above 2 methods

                        -
                      • -
                      -

                      From Linux

                      -
                        -
                      • SSDTTime
                          -
                        • Supports both Windows and Linux for DSDT dumping
                        • -
                        • 4. Dump DSDT - Automatically dump the system DSDT
                        • -
                        -
                      • -
                      • Do note that all ACPI patches from clover/OpenCore will be applied to the DSDT with the above method
                      • -
                      -

                      From Clover

                      -

                      For those with Clover installed previously, this is a simple way to get your ACPI tables:

                      -
                        -
                      • F4 in Clover Boot menu
                          -
                        • DSDT can be found in EFI/CLOVER/ACPI/origin, the folder must exist before dumping
                        • -
                        -
                      • -
                      -

                      From OpenCore

                      -

                      With OpenCore, we have 2 options:

                      - -

                      SysReport Quirk

                      -

                      With OpenCore 0.5.9, we have a new quirk called SysReport which will actually dump our DSDT automatically when hitting the boot screen. The main issues are:

                      -
                        -
                      • You already need a bootable OpenCore USB to get this dump
                      • -
                      • This also requires a DEBUG version of 0.5.9
                      • -
                      -

                      For the latter, you just need to replace the following files with DEBUG version:

                      -
                        -
                      • EFI/BOOT/
                          -
                        • BOOTx64.efi
                        • -
                        -
                      • -
                      • EFI/OC/Bootstrap/
                          -
                        • Bootstrap.efi
                        • -
                        -
                      • -
                      • EFI/OC/Drivers/
                          -
                        • OpenRuntime.efi
                        • -
                        -
                      • -
                      • EFI/OC/
                          -
                        • OpenCore.efi
                        • -
                        -
                      • -
                      -

                      For the former, you can actually skip the ACPI section, return to the OpenCore guide(Desktop, Laptop) and finish making the USB. Once booted to the picker, you can shut off the PC and check your USB:

                      -

                      -

                      And voila! You have a DSDT! Now you can continue on with making SSDTs

                      -

                      UEFI Shell

                      -

                      For this, we'll want ti grab acpidump.efi and add this to EFI/OC/Tools and in your config under Misc -> Tools with the argument: -b -n DSDT -z and select this option in OpenCore's picker.

                      -

                      If OpenCore is having issues running acpidump.efi from the boot picker, you can call it from the shell with OpenShell(reminder to add to both EFI/OC/Tools and in your config under Misc -> Tools ):

                      -
                      shell> fs0: // replace with proper drive
                      +    
                      +    
                      +  
                      +  
                      +    

                      # Getting a copy of our DSDT

                      So to start, we'll need to get a copy of your DSDT from your firmware. The easiest way is grabbing the DSDT.aml SSDTTime dumped for us earlier but here are some other options:

                      # From Windows

                      • SSDTTime

                        • Supports both Windows and Linux for DSDT dumping
                        • 4. Dump DSDT - Automatically dump the system DSDT
                      • acpidump.exe

                        • In command prompt run path/to/acpidump.exe -b -n DSDT -z, this will dump your DSDT as a .dat file. Rename this to DSDT.aml
                      • Do note that all ACPI patches from clover/OpenCore will be applied to the DSDT with the above 2 methods

                      # From Linux

                      • SSDTTime
                        • Supports both Windows and Linux for DSDT dumping
                        • 4. Dump DSDT - Automatically dump the system DSDT
                      • Do note that all ACPI patches from clover/OpenCore will be applied to the DSDT with the above method

                      # From Clover

                      For those with Clover installed previously, this is a simple way to get your ACPI tables:

                      • F4 in Clover Boot menu +
                        • DSDT can be found in EFI/CLOVER/ACPI/origin, the folder must exist before dumping

                      # From OpenCore

                      With OpenCore, we have 2 options:

                      # SysReport Quirk

                      With OpenCore 0.5.9, we have a new quirk called SysReport which will actually dump our DSDT automatically when hitting the boot screen. The main issues are:

                      • You already need a bootable OpenCore USB to get this dump
                      • This also requires a DEBUG version of 0.5.9

                      For the latter, you just need to replace the following files with DEBUG version:

                      • EFI/BOOT/ +
                        • BOOTx64.efi
                      • EFI/OC/Bootstrap/ +
                        • Bootstrap.efi
                      • EFI/OC/Drivers/ +
                        • OpenRuntime.efi
                      • EFI/OC/ +
                        • OpenCore.efi

                      For the former, you can actually skip the ACPI section, return to the OpenCore guide and finish making the USB. Once booted to the picker, you can shut off the PC and check your USB:

                      And voila! You have a DSDT! Now you can continue on with making SSDTs

                      # UEFI Shell

                      For this, we'll want ti grab acpidump.efi and add this to EFI/OC/Tools and in your config under Misc -> Tools with the argument: -b -n DSDT -z and select this option in OpenCore's picker.

                      If OpenCore is having issues running acpidump.efi from the boot picker, you can call it from the shell with OpenShell(reminder to add to both EFI/OC/Tools and in your config under Misc -> Tools ):

                      shell> fs0: // replace with proper drive
                       fs0:\> dir  // to verify this is the right directory
                          Directory of fs0:\
                          01/01/01 3:30p EFI
                       fs0:\> cd EFI\OC\Tools
                      -fs0:\EFI\OC\Tools> acpidump.efi -b -n DSDT -z
                      -
                      -

                      Once done, you should find your DSDT in the EFI/OC/Tools folder with a .dat extension. Rename this DSDT.dat file to DSDT.aml to help us down the line

                      - - -
                      - -
                      -
                      -
                      - -

                      results matching ""

                      -
                        - -
                        -
                        - -

                        No results matching ""

                        - -
                        -
                        -
                        - -
                        -
                        - -
                        - - - - - - - - - - - - - - -
                        - - -
                        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +fs0:\EFI\OC\Tools> acpidump.efi -b -n DSDT -z +

                        Once done, you should find your DSDT in the EFI/OC/Tools folder with a .dat extension. Rename this DSDT.dat file to DSDT.aml to help us down the line

                        + + - diff --git a/SUMMARY.html b/SUMMARY.html new file mode 100644 index 0000000..481ed1b --- /dev/null +++ b/SUMMARY.html @@ -0,0 +1,48 @@ + + + + + + Table of contents | Getting Started With ACPI + + + + + + + + + + +
                        Last Updated: 6/18/2020, 1:02:44 AM
                        + + + diff --git a/Universal/awac-methods/manual.html b/Universal/awac-methods/manual.html index b3f3da0..0b3124d 100644 --- a/Universal/awac-methods/manual.html +++ b/Universal/awac-methods/manual.html @@ -1,826 +1,50 @@ - - - - - - - Manual · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Fixing System Clocks: Manual | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                        -
                        - - - - - - - - -
                        - -
                        - -
                        - - - - - - - - -
                        -
                        - -
                        -
                        - -
                        - -
                        -

                        Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                        -
                        -

                        Fixing System Clocks: Manual

                        - -

                        Determining which SSDT you need

                        -

                        Finding which SSDT you need is quite easy actually, first open your decompiled DSDT you got from Dumping the DSDT and Decompiling and Compiling with either maciASL(if in macOS) or any other text editor if in Windows or Linux(VSCode has an ACPI extension that can also help).

                        -

                        Next search for ACPI000E. You should get something similar:

                        -

                        -

                        The above tells us a few things:

                        -
                          -
                        • We in fact do have an AWAC clock
                            -
                          • If nothing shows up, you don't need to do anything for AWAC or RTC
                          • -
                          -
                        • -
                        • It can be easily disabled with STAS(if not, you can skip to here: RTC0 Method)
                            -
                          • _STA is the device status, with Zero meaning it won't show up
                          • -
                          -
                        • -
                        -

                        But to double check, next search for PNP0B00:

                        -

                        -

                        And looks at that, we can in fact disable our AWAC and enable the RTC! If not skip to here: RTC0 Method

                        -

                        Now it's as simple as grabbing SSDT-AWAC.dsl and compile, no changes needed You can also use the below SSDT to the same effect:

                        - -

                        _INI Edge Cases

                        -

                        Mainly seen on X299 refresh boards, there's already a Scope (_SB) { Method (_INI... in your DSDT. This means our SSDT-AWAC will conflict with the one found in our DSDT. For these situations, you'll want to remove Method (_INI, 0, NotSerialized) {} from the SSDT. You'll be left this this in the end:

                        -
                        DefinitionBlock ("", "SSDT", 2, "DRTNIA", "AWAC", 0x00000000)
                        +    
                        +    
                        +  
                        +  
                        +    

                        # Fixing System Clocks: Manual

                        # Determining which SSDT you need

                        Finding which SSDT you need is quite easy actually, first open your decompiled DSDT you got from Dumping the DSDT and Decompiling and Compiling with either maciASL(if in macOS) or any other text editor if in Windows or Linux(VSCode has an ACPI extension that can also help).

                        Next search for ACPI000E. You should get something similar:

                        The above tells us a few things:

                        • We in fact do have an AWAC clock +
                          • If nothing shows up, you don't need to do anything for AWAC or RTC
                        • It can be easily disabled with STAS(if not, you can skip to here: RTC0 Method) +
                          • _STA is the device status, with Zero meaning it won't show up

                        But to double check, next search for PNP0B00:

                        And looks at that, we can in fact disable our AWAC and enable the RTC! If not skip to here: RTC0 Method

                        Now it's as simple as grabbing SSDT-AWAC.dsl and compile, no changes needed You can also use the below SSDT to the same effect:

                        # _INI Edge Cases

                        Mainly seen on X299 refresh boards, there's already a Scope (_SB) { Method (_INI... in your DSDT. This means our SSDT-AWAC will conflict with the one found in our DSDT. For these situations, you'll want to remove Method (_INI, 0, NotSerialized) {} from the SSDT. You'll be left this this in the end:

                        DefinitionBlock ("", "SSDT", 2, "DRTNIA", "AWAC", 0x00000000)
                         {
                             External (STAS, IntObj)
                         
                        @@ -832,145 +56,23 @@
                                 }
                             }
                         }
                        -

                        RTC0 Method

                        -

                        This method is for those who either don't have a PNP0B00 device to re-enable or have no easy way(via STAS variable).

                        -

                        Finding the ACPI path

                        -

                        Assuming you've gotten your DSDT already opened from earlier, search for the following:

                        -
                          -
                        • Finding the LowPinCount path:
                            -
                          • Search Name (_ADR, 0x001F0000)
                          • -
                          -
                        • -
                        • Finding the PCI path:
                            -
                          • Search PNP0A08 (If multiple show up, use the first one)
                          • -
                          -
                        • -
                        -

                        You should get something like the following show up:

                        - - - - - - - - - - - - - -
                        LPC PathingPCI Pathing
                        -

                        From the above, we can see we have both PCI0 and LPC. Now we can head to the next stage

                        -

                        Edits to the sample SSDT

                        -

                        Now that we have our ACPI path, lets grab our SSDT and get to work:

                        - -

                        By default, this uses PCI0.LPCB for the pathing. you'll want to rename accordingly.

                        -

                        Following the example from above, we'll be renaming it to PCI0.LPC:

                        -

                        Before:

                        -
                        External (_SB_.PCI0.LPCB, DeviceObj) <- Rename this
                        +

                        # RTC0 Method

                        This method is for those who either don't have a PNP0B00 device to re-enable or have no easy way(via STAS variable).

                        # Finding the ACPI path

                        Assuming you've gotten your DSDT already opened from earlier, search for the following:

                        • Finding the LowPinCount path: +
                          • Search Name (_ADR, 0x001F0000)
                        • Finding the PCI path: +
                          • Search PNP0A08 (If multiple show up, use the first one)

                        You should get something like the following show up:

                        LPC Pathing PCI Pathing

                        From the above, we can see we have both PCI0 and LPC. Now we can head to the next stage

                        # Edits to the sample SSDT

                        Now that we have our ACPI path, lets grab our SSDT and get to work:

                        By default, this uses PCI0.LPCB for the pathing. you'll want to rename accordingly.

                        Following the example from above, we'll be renaming it to PCI0.LPC:

                        Before:

                        External (_SB_.PCI0.LPCB, DeviceObj) <- Rename this
                         
                         Scope (_SB.PCI0.LPCB) <- Rename this
                        -

                        -

                        Following the example pathing we found, the SSDT should look something like this:

                        -

                        After:

                        -
                        External (_SB_.PCI0.LPC, DeviceObj) <- Renamed
                        +

                        Following the example pathing we found, the SSDT should look something like this:

                        After:

                        External (_SB_.PCI0.LPC, DeviceObj) <- Renamed
                         
                         Scope (_SB.PCI0.LPC) <- Renamed
                        -

                        -

                        Compiling the SSDT

                        -

                        With the SSDT done, you're now ready to compile the SSDT!

                        -

                        Wrapping up

                        -

                        Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:

                        - - - -
                        - -
                        -
                        -
                        - -

                        results matching ""

                        -
                          - -
                          -
                          - -

                          No results matching ""

                          - -
                          -
                          -
                          - -
                          -
                          - -
                          - - - - - - - - - - - - - - -
                          - - -
                          - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +

                          # Compiling the SSDT

                          With the SSDT done, you're now ready to compile the SSDT!

                          # Wrapping up

                          Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:

                          + + - diff --git a/Universal/awac-methods/prebuilt.html b/Universal/awac-methods/prebuilt.html index 6b31a27..524f3fa 100644 --- a/Universal/awac-methods/prebuilt.html +++ b/Universal/awac-methods/prebuilt.html @@ -1,892 +1,57 @@ - - - - - - - Prebuilt · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Fixing System Clocks: Prebuilt | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                          -
                          - - - - - - - - -
                          - -
                          - -
                          - - - - - - - - -
                          -
                          - -
                          -
                          - -
                          - -
                          -

                          Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                          -
                          -

                          Fixing System Clocks: Prebuilt

                          -

                          By far the easiest method, all you need to do is download the following file:

                          - -

                          Main things to note with this method:

                          -
                            -
                          • Assumes you both have an AWAC clock and it can be easily turned off with the RTC replacing it, this may not always work
                          • -
                          • Doesn't really teach you anything
                              -
                            • For most, this doesn't matter. But to some knowing what makes your hackintosh tick is part of the journey
                            • -
                            -
                          • -
                          -

                          Wrapping up

                          -

                          Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:

                          - - - -
                          - -
                          -
                          -
                          - -

                          results matching ""

                          -
                            - -
                            -
                            - -

                            No results matching ""

                            - -
                            -
                            -
                            - -
                            -
                            - -
                            - - - - - - - - - - - - - - -
                            - - -
                            - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +

                            # Fixing System Clocks: Prebuilt

                            By far the easiest method, all you need to do is download the following file:

                            Main things to note with this method:

                            • Assumes you both have an AWAC clock and it can be easily turned off with the RTC replacing it, this may not always work
                            • Doesn't really teach you anything +
                              • For most, this doesn't matter. But to some knowing what makes your hackintosh tick is part of the journey

                            # Wrapping up

                            Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:

                            Last Updated: 6/22/2020, 9:53:03 AM
                            + + - diff --git a/Universal/awac.html b/Universal/awac.html index 189d215..b8c199b 100644 --- a/Universal/awac.html +++ b/Universal/awac.html @@ -1,901 +1,56 @@ - - - - - - - AWAC vs RTC · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Fixing System Clocks (SSDT-AWAC/RTC0) | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                            -
                            - - - - - - - - -
                            - -
                            - -
                            - - - - - - - - -
                            -
                            - -
                            -
                            - -
                            - -
                            -

                            Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                            -
                            -

                            Fixing System Clocks (SSDT-AWAC/RTC0)

                            - -

                            What this SSDT does

                            -

                            The purpose of SSDT-AWAC/RTC0 is to fix the system clocks found on newer hardware, maily found in the following:

                            -
                              -
                            • B360
                            • -
                            • B365
                            • -
                            • H310
                            • -
                            • H370
                            • -
                            • Z370 (Gigabyte and AsRock boards with newer BIOS versions)
                            • -
                            • Z390
                            • -
                            • B460
                            • -
                            • Z490
                            • -
                            • 400 series (Comet Lake, including Z490)
                            • -
                            • 495 series (Icelake)
                            • -
                            • X299X (10th Gen refresh, AsRock and Asus don't use the -x naming so you'll need to double check)
                            • -
                            -

                            SSDT-AWAC tries to re-enable the old RTC clock that is compatible with macOS, while SSDT-RTC0 will instead create a "fake" RTC clock if there is no legacy one to enable.

                            -

                            Methods to make this SSDT

                            -

                            For the RTC fix, there are 2 methods you can choose from:

                            - - - -
                            - -
                            -
                            -
                            - -

                            results matching ""

                            -
                              - -
                              -
                              - -

                              No results matching ""

                              - -
                              -
                              -
                              - -
                              -
                              - -
                              - - - - - - - - - - - - - - -
                              - - -
                              - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +

                              # Fixing System Clocks (SSDT-AWAC/RTC0)

                              # What this SSDT does

                              The purpose of SSDT-AWAC/RTC0 is to fix the system clocks found on newer hardware, maily found in the following:

                              • B360
                              • B365
                              • H310
                              • H370
                              • Z370 (Gigabyte and AsRock boards with newer BIOS versions)
                              • Z390
                              • B460
                              • Z490
                              • 400 series (Comet Lake, including Z490)
                              • 495 series (Icelake)
                              • X299X (10th Gen refresh, AsRock and Asus don't use the -x naming so you'll need to double check)

                              SSDT-AWAC tries to re-enable the old RTC clock that is compatible with macOS, while SSDT-RTC0 will instead create a "fake" RTC clock if there is no legacy one to enable.

                              # Methods to make this SSDT

                              For the RTC fix, there are 2 methods you can choose from:

                              Last Updated: 5/31/2020, 5:54:37 AM
                              + + - diff --git a/Universal/ec-fix.html b/Universal/ec-fix.html index 84170c9..2d3b6a7 100644 --- a/Universal/ec-fix.html +++ b/Universal/ec-fix.html @@ -1,913 +1,57 @@ - - - - - - - Embedded Controller · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Fixing Embedded Controller (SSDT-EC/USBX) | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                              -
                              - - - - - - - - -
                              - -
                              - -
                              - - - - - - - - -
                              -
                              - -
                              -
                              - -
                              - -
                              -

                              Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                              -
                              -

                              Fixing Embedded Controller (SSDT-EC/USBX)

                              - -

                              What this SSDT does

                              -

                              The purpose of SSDT-EC/UBX is a couple things:

                              -
                                -
                              • On desktops, the EC(or better known as the embedded controller) isn't compatible with AppleACPIEC driver, to get around this we disable this device when running macOS
                              • -
                              • AppleBusPowerController will look for a device named EC, so we will want to create a fake device for this kext to load onto
                                  -
                                • AppleBusPowerController also requires a USBX device to supply USB power properties for Skylake and newer, so we will bundle this device in with the EC fix
                                • -
                                -
                              • -
                              • On laptops, the EC is used for hotkeys and battery so disabling this isn't all too ideal. Problem is our EC's name isn't compatible, so we will create a simple "fake" EC device that will satisfy Apple
                              • -
                              -

                              So TL;DR:

                              -
                                -
                              • EC is embedded controller
                              • -
                              • Desktops will want real EC off, and a fake EC created
                              • -
                              • Laptops will just want an additional fake EC present
                              • -
                              • Skylake and newer devices will want USBX as well
                              • -
                              -

                              Methods to make this SSDT

                              -

                              For the EC fix, there are 3 methods you can choose from:

                              -
                                -
                              • Prebuilt
                                  -
                                • The prebuilt for desktops are very bloated. It's recommended to use the two methods below.
                                • -
                                • The Laptop prebuilts are easily usable.
                                • -
                                -
                              • -
                              • SSDTTime
                                  -
                                • Note this method does not support laptops, servers or HEDT systems
                                • -
                                -
                              • -
                              • Manual
                              • -
                              - - -
                              - -
                              -
                              -
                              - -

                              results matching ""

                              -
                                - -
                                -
                                - -

                                No results matching ""

                                - -
                                -
                                -
                                - -
                                -
                                - -
                                - - - - - - - - - - - - - - -
                                - - -
                                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +

                                # Fixing Embedded Controller (SSDT-EC/USBX)

                                # What this SSDT does

                                The purpose of SSDT-EC/UBX is a couple things:

                                • On desktops, the EC(or better known as the embedded controller) isn't compatible with AppleACPIEC driver, to get around this we disable this device when running macOS
                                • AppleBusPowerController will look for a device named EC, so we will want to create a fake device for this kext to load onto +
                                  • AppleBusPowerController also requires a USBX device to supply USB power properties for Skylake and newer, so we will bundle this device in with the EC fix
                                • On laptops, the EC is used for hotkeys and battery so disabling this isn't all too ideal. Problem is our EC's name isn't compatible, so we will create a simple "fake" EC device that will satisfy Apple

                                So TL;DR:

                                • EC is embedded controller
                                • Desktops will want real EC off, and a fake EC created
                                • Laptops will just want an additional fake EC present
                                • Skylake and newer devices will want USBX as well

                                # Methods to make this SSDT

                                For the EC fix, there are 3 methods you can choose from:

                                • Prebuilt
                                  • The prebuilt for desktops are very bloated. It's recommended to use the two methods below.
                                  • The Laptop prebuilts are easily usable.
                                • SSDTTime
                                  • Note this method does not support laptops, servers or HEDT systems
                                • Manual
                                Last Updated: 6/18/2020, 3:32:02 PM
                                + + - diff --git a/Universal/ec-methods/manual.html b/Universal/ec-methods/manual.html index f75e2ce..6473fde 100644 --- a/Universal/ec-methods/manual.html +++ b/Universal/ec-methods/manual.html @@ -1,1012 +1,65 @@ - - - - - - - Manual · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Fixing Embedded Controllers: Manual | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                                -
                                - - - - - - - - -
                                - -
                                - -
                                - - - - - - - - -
                                -
                                - -
                                -
                                - -
                                - -
                                -

                                Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                                -
                                -

                                Fixing Embedded Controllers: Manual

                                - -

                                TO-DO:

                                -
                                  -
                                • Finish Edge cases and sample SSDT edits
                                • -
                                -

                                Finding the ACPI path

                                -

                                To find the ACPI pathing, you have 2 methods:

                                - -

                                DSDT

                                -

                                Finding the ACPI pathing is quite easy actually, first open your decompiled DSDT you got from Dumping the DSDT and Decompiling and Compiling with either maciASL(if in macOS) or any other text editor if in Windows or Linux(VSCode has an ACPI extension that can also help).

                                -

                                Next, search for PNP0C09. You should get something similar:

                                -

                                -

                                From the above example we see 2 main things:

                                -
                                  -
                                • Name of our embedded controller
                                    -
                                  • In this case being EC0
                                  • -
                                  -
                                • -
                                • Pathing of our embedded controller
                                    -
                                  • PC00.LPC0
                                  • -
                                  -
                                • -
                                -

                                But now we get into edge case territory, what fun!

                                -

                                The main ones to check for are:

                                - -

                                If none of the above apply to you, you're ready for the next section:

                                -

                                DeviceManager

                                -

                                If you already have Windows installed on this machine, finding the EC pathing is fairly easy.

                                -

                                Start by opening up Device Manager in Windows and looking for a device named Embedded Controller. Once found, click on it and select the BIOS device Name entry. You should get something like this:

                                -

                                -

                                From the above, we can see that our pathing is SB.PC00.LPC0.EC0

                                -

                                Now with the pathing, you can head here: Edits to the sample SSDT

                                -

                                Edits to the sample SSDT

                                -

                                Now that we have our ACPI path, lets grab our SSDT and get to work:

                                -
                                  -
                                • SSDT-EC-USBX
                                    -
                                  • For Skylake and newer and all AMD systems
                                  • -
                                  -
                                • -
                                • SSDT-EC
                                    -
                                  • For Broadwell and older
                                  • -
                                  -
                                • -
                                -

                                Now when opening this SSDT, you'll notice a few things. Mainly:

                                -
                                  -
                                • Some code is commented out
                                    -
                                  • This is code for disabling our EC
                                  • -
                                  • Laptops users SHOULD NOT uncomment this
                                  • -
                                  -
                                • -
                                • There's a new EC called Device (EC)
                                    -
                                  • DO NOT RENAME THIS, this will be the EC we give to macOS
                                  • -
                                  -
                                • -
                                -

                                Before:

                                -
                                External (_SB_.PCI0.LPCB, DeviceObj) <- Rename this
                                +    
                                +    
                                +  
                                +  
                                +    

                                # Fixing Embedded Controllers: Manual

                                TO-DO:

                                • Finish Edge cases and sample SSDT edits

                                # Finding the ACPI path

                                To find the ACPI pathing, you have 2 methods:

                                # DSDT

                                Finding the ACPI pathing is quite easy actually, first open your decompiled DSDT you got from Dumping the DSDT and Decompiling and Compiling with either maciASL(if in macOS) or any other text editor if in Windows or Linux(VSCode has an ACPI extension that can also help).

                                Next, search for PNP0C09. You should get something similar:

                                From the above example we see 2 main things:

                                • Name of our embedded controller +
                                  • In this case being EC0
                                • Pathing of our embedded controller +
                                  • PC00.LPC0

                                But now we get into edge case territory, what fun!

                                The main ones to check for are:

                                If none of the above apply to you, you're ready for the next section:

                                # DeviceManager

                                If you already have Windows installed on this machine, finding the EC pathing is fairly easy.

                                Start by opening up Device Manager in Windows and looking for a device named Embedded Controller. Once found, click on it and select the BIOS device Name entry. You should get something like this:

                                From the above, we can see that our pathing is SB.PC00.LPC0.EC0

                                Now with the pathing, you can head here: Edits to the sample SSDT

                                # Edits to the sample SSDT

                                Now that we have our ACPI path, lets grab our SSDT and get to work:

                                Now when opening this SSDT, you'll notice a few things. Mainly:

                                • Some code is commented out +
                                  • This is code for disabling our EC
                                  • Laptops users SHOULD NOT uncomment this
                                • There's a new EC called Device (EC)
                                  • DO NOT RENAME THIS, this will be the EC we give to macOS

                                Before:

                                External (_SB_.PCI0.LPCB, DeviceObj) <- Rename this
                                 
                                 Scope (_SB.PCI0.LPCB) <- Rename this
                                -

                                -

                                Following the example pathing we found, the SSDT should look something like this:

                                -

                                After:

                                -
                                External (_SB_.PC00.LPC0, DeviceObj) <- Renamed
                                +

                                Following the example pathing we found, the SSDT should look something like this:

                                After:

                                External (_SB_.PC00.LPC0, DeviceObj) <- Renamed
                                 
                                 Scope (_SB.PC00.LPC0) <- Renamed
                                -

                                -

                                Edge Cases

                                -

                                Multiple PNP0C09's show up

                                -

                                When multiple PNP0C09 show up, we need to next check for the following properties:

                                -
                                  -
                                • _HID (Hardware ID)
                                • -
                                • _CRS (Current Resource Settings)
                                • -
                                • _GPE (General Purpose Events)
                                • -
                                -

                                What these signify is whether this PNP0C09 device is real or not, as per the ACPI spec. So one's matching the above criteria are the one's we want to disable.

                                - -

                                No PNP0C09 show up

                                -

                                When this happens, you'll only need to create a "dummy" EC for macOS. You'll still want to find the PCI and LPC pathing for this device. So follow the guide as if you were creating a laptop SSDT-EC.

                                -

                                PNP0C09 already named EC

                                -

                                Congrats! No need to create an SSDT-EC! However you will still want USBX if you're skylake or newer.

                                -

                                Prebuilt can be grabbed here: SSDT-USBX.aml

                                -

                                PNP0C09 already has an _STA method

                                -

                                This is the equivalent of not having an EC as we can't control it with our SSDT-EC, instead we'll need to create a "dummy" EC for macOS. You'll still want to find the PCI and LPC pathing for this device. So follow the guide as if you were creating a laptop SSDT-EC.

                                -

                                Example of an EC with STA already:

                                -

                                Credit to rottenpants466

                                -

                                Compiling the SSDT

                                -

                                With the SSDT done, you're now ready to compile the SSDT!

                                -

                                Wrapping up

                                -

                                Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:

                                - - - -
                                - -
                                -
                                -
                                - -

                                results matching ""

                                -
                                  - -
                                  -
                                  - -

                                  No results matching ""

                                  - -
                                  -
                                  -
                                  - -
                                  -
                                  - -
                                  - - - - - - - - - - - - - - -
                                  - - -
                                  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +

                                  # Edge Cases

                                  # Multiple PNP0C09's show up

                                  When multiple PNP0C09 show up, we need to next check for the following properties:

                                  What these signify is whether this PNP0C09 device is real or not, as per the ACPI spec. So one's matching the above criteria are the one's we want to disable.

                                  # No PNP0C09 show up

                                  When this happens, you'll only need to create a "dummy" EC for macOS. You'll still want to find the PCI and LPC pathing for this device. So follow the guide as if you were creating a laptop SSDT-EC/USBX.

                                  # PNP0C09 already named EC

                                  Congrats! No need to create an SSDT-EC! However you will still want USBX if you're skylake or newer.

                                  Prebuilt can be grabbed here: SSDT-USBX.aml

                                  # PNP0C09 already has an _STA method

                                  This is the equivalent of not having an EC as we can't control it with our SSDT-EC, instead we'll need to create a "dummy" EC for macOS. You'll still want to find the PCI and LPC pathing for this device. So follow the guide as if you were creating a laptop SSDT-EC/USBX.

                                  Example of an EC with STA already:

                                  Credit to rottenpants466

                                  # Compiling the SSDT

                                  With the SSDT done, you're now ready to compile the SSDT!

                                  # Wrapping up

                                  Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:

                                  + + - diff --git a/Universal/ec-methods/prebuilt.html b/Universal/ec-methods/prebuilt.html index e9194f7..89a74ec 100644 --- a/Universal/ec-methods/prebuilt.html +++ b/Universal/ec-methods/prebuilt.html @@ -1,914 +1,58 @@ - - - - - - - Prebuilt · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Fixing Embedded Controllers: Prebuilt | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                                  -
                                  - - - - - - - - -
                                  - -
                                  - -
                                  - - - - - - - - -
                                  -
                                  - -
                                  -
                                  - -
                                  - -
                                  -

                                  Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                                  -
                                  -

                                  Fixing Embedded Controllers: Prebuilt

                                  -

                                  By far the easiest way to fix your Embedded Controller is just downloading one of the files below:

                                  -

                                  Desktop:

                                  - -

                                  Laptops:

                                  - -

                                  The main things to note with this method:

                                  -
                                    -
                                  • Quite Bloated
                                      -
                                    • There's ACPI naming for every type, this means there's added delays in boot times
                                    • -
                                    -
                                  • -
                                  • Doesn't really teach you anything
                                      -
                                    • For most, this doesn't matter. But to some knowing what makes your hackintosh tick is part of the journey
                                    • -
                                    -
                                  • -
                                  -

                                  Wrapping up

                                  -

                                  Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:

                                  - - - -
                                  - -
                                  -
                                  -
                                  - -

                                  results matching ""

                                  -
                                    - -
                                    -
                                    - -

                                    No results matching ""

                                    - -
                                    -
                                    -
                                    - -
                                    -
                                    - -
                                    - - - - - - - - - - - - - - -
                                    - - -
                                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +

                                    # Fixing Embedded Controllers: Prebuilt

                                    By far the easiest way to fix your Embedded Controller is just downloading one of the files below:

                                    Desktop:

                                    Laptops:

                                    The main things to note with this method:

                                    • Quite Bloated +
                                      • There's ACPI naming for every type, this means there's added delays in boot times
                                    • Doesn't really teach you anything +
                                      • For most, this doesn't matter. But to some knowing what makes your hackintosh tick is part of the journey

                                    # Wrapping up

                                    Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:

                                    Last Updated: 6/22/2020, 9:53:35 AM
                                    + + - diff --git a/Universal/ec-methods/ssdttime.html b/Universal/ec-methods/ssdttime.html index 59fc0f5..ab8aff7 100644 --- a/Universal/ec-methods/ssdttime.html +++ b/Universal/ec-methods/ssdttime.html @@ -1,906 +1,60 @@ - - - - - - - SSDTTime · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Fixing Embedded Controllers: SSDTTime | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                                    -
                                    - - - - - - - - -
                                    - -
                                    - -
                                    - - - - - - - - -
                                    -
                                    - -
                                    -
                                    - -
                                    - -
                                    -

                                    Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                                    -
                                    -

                                    Fixing Embedded Controllers: SSDTTime

                                    -

                                    The second involves using SSDTTime which automates most of the process. See here on how to use it: SSDTs: Easy Way

                                    -

                                    To get the SSDT-PLUG, run the following:

                                    -
                                      -
                                    • 4. Dump DSDT then run 2. FakeEC
                                    • -
                                    -

                                    This will provide you with some files, the main one you care about is SSDT-EC.aml. The DSDT and .dsl are only left for referencing or verification.

                                    -

                                    The main things to note with this method:

                                    -
                                      -
                                    • Doesn't work on HEDT and server hardware(ie. X99 and X299)
                                        -
                                      • While the majority following this guide are likely on consumer hardware, those with fancier hardware will need to either use the Prebuilt or Manual method
                                      • -
                                      -
                                    • -
                                    • Doesn't work on Laptops
                                        -
                                      • Just like with HEDT, you will need to either use the Prebuilt or Manual method
                                      • -
                                      -
                                    • -
                                    • Doesn't provide you the USBX property to fix power
                                        -
                                      • This can easily be fixed by using this prebuilt file in addition to SSDT-EC: SSDT-USBX.aml
                                      • -
                                      • Note USBX is only needed for Skylake and newer
                                      • -
                                      -
                                    • -
                                    • Doesn't really teach you anything
                                        -
                                      • For most, this doesn't matter. But to some knowing what makes your hackintosh tick is part of the journey
                                      • -
                                      -
                                    • -
                                    -

                                    Wrapping up

                                    -

                                    Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:

                                    - - - -
                                    - -
                                    -
                                    -
                                    - -

                                    results matching ""

                                    -
                                      - -
                                      -
                                      - -

                                      No results matching ""

                                      - -
                                      -
                                      -
                                      - -
                                      -
                                      - -
                                      - - - - - - - - - - - - - - -
                                      - - -
                                      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +

                                      # Fixing Embedded Controllers: SSDTTime

                                      The second involves using SSDTTime which automates most of the process. See here on how to use it: SSDTs: Easy Way

                                      To get the SSDT-PLUG, run the following:

                                      • 4. Dump DSDT then run 2. FakeEC

                                      This will provide you with some files, the main one you care about is SSDT-EC**.aml**. The DSDT and .dsl are only left for referencing or verification.

                                      The main things to note with this method:

                                      • Doesn't work on HEDT and server hardware(ie. X99 and X299) +
                                        • While the majority following this guide are likely on consumer hardware, those with fancier hardware will need to either use the Prebuilt or Manual method
                                      • Doesn't work on Laptops +
                                        • Just like with HEDT, you will need to either use the Prebuilt or Manual method
                                      • Doesn't provide you the USBX property to fix power +
                                        • This can easily be fixed by using this prebuilt file in addition to SSDT-EC: SSDT-USBX.aml
                                        • Note USBX is only needed for Skylake and newer
                                      • Doesn't really teach you anything +
                                        • For most, this doesn't matter. But to some knowing what makes your hackintosh tick is part of the journey

                                      # Wrapping up

                                      Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:

                                      Last Updated: 6/22/2020, 9:31:16 AM
                                      + + - diff --git a/Universal/irq.html b/Universal/irq.html index 1a4a3c4..aafe799 100644 --- a/Universal/irq.html +++ b/Universal/irq.html @@ -1,877 +1,56 @@ - - - - - - - IRQ Fix · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Fixing IRQ Conflicts (SSDT-HPET + OC_Patches.plist) | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                                      -
                                      - - - - - - - - -
                                      - -
                                      - -
                                      - - - - - - - - -
                                      -
                                      - -
                                      -
                                      - -
                                      - -
                                      -

                                      Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                                      -
                                      -

                                      Fixing IRQ Conflicts (SSDT-HPET + OC_Patches.plist)

                                      -

                                      So you miss having those fancy hot-patches from Clover like FixIPIC, FixTMR, FixRTC, FixHPET, etc

                                      -

                                      Well 1 very small problem, figuring out IRQ patching is a massive headache. I highly recommend you use SSDTTime. So head over to SSDT: Easy Way on how to make it.(use option C to omit conflicting legacy IRQs)

                                      - - -
                                      - -
                                      -
                                      -
                                      - -

                                      results matching ""

                                      -
                                        - -
                                        -
                                        - -

                                        No results matching ""

                                        - -
                                        -
                                        -
                                        - -
                                        -
                                        - -
                                        - - - - - - - - - - - - - - -
                                        - - -
                                        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +

                                        # Fixing IRQ Conflicts (SSDT-HPET + OC_Patches.plist)

                                        So you miss having those fancy hot-patches from Clover like FixIPIC, FixTMR, FixRTC, FixHPET, etc

                                        Well 1 very small problem, figuring out IRQ patching is a massive headache. I highly recommend you use SSDTTime. So head over to SSDT: Easy Way on how to make it.(use option C to omit conflicting legacy IRQs)

                                        Last Updated: 7/7/2020, 8:08:13 PM
                                        + + - diff --git a/Universal/nvram-methods/manual.html b/Universal/nvram-methods/manual.html index 329ef8b..0a26035 100644 --- a/Universal/nvram-methods/manual.html +++ b/Universal/nvram-methods/manual.html @@ -1,935 +1,64 @@ - - - - - - - Manual · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Fixing NVRAM: Manual | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                                        -
                                        - - - - - - - - -
                                        - -
                                        - -
                                        - - - - - - - - -
                                        -
                                        - -
                                        -
                                        - -
                                        - -
                                        -

                                        Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                                        -
                                        -

                                        Fixing NVRAM: Manual

                                        - -

                                        Finding the ACPI path

                                        -

                                        Finding the ACPI pathing is quite easy actually, first open your decompiled DSDT you got from Dumping the DSDT and Decompiling and Compiling with either maciASL(if in macOS) or any other text editor if in Windows or Linux(VSCode has an ACPI extension that can also help).

                                        -

                                        Next, search for the following:

                                        -
                                          -
                                        • Finding the LowPinCount path:
                                            -
                                          • Search Name (_ADR, 0x001F0000)
                                          • -
                                          -
                                        • -
                                        • Finding the PCI path:
                                            -
                                          • Search PNP0A08 (If multiple show up, use the first one)
                                          • -
                                          -
                                        • -
                                        -

                                        You should get something like the following show up:

                                        - - - - - - - - - - - - - -
                                        LPC PathingPCI Pathing
                                        -

                                        Now with the pathing, you can head here: Edits to the sample SSDT

                                        -

                                        Edits to the sample SSDT

                                        -

                                        Now that we have our ACPI path, lets grab our SSDT and get to work:

                                        - -

                                        By default, this uses PCI0.LPCB for the pathing. you'll want to rename accordingly.

                                        -

                                        Following the example from above, we'll be renaming it to PCI0.LPC:

                                        -

                                        Before:

                                        -
                                        External (_SB_.PCI0.LPCB, DeviceObj) <- Rename this
                                        +    
                                        +    
                                        +  
                                        +  
                                        +    

                                        # Fixing NVRAM: Manual

                                        # Finding the ACPI path

                                        Finding the ACPI pathing is quite easy actually, first open your decompiled DSDT you got from Dumping the DSDT and Decompiling and Compiling with either maciASL(if in macOS) or any other text editor if in Windows or Linux(VSCode has an ACPI extension that can also help).

                                        Next, search for the following:

                                        • Finding the LowPinCount path: +
                                          • Search Name (_ADR, 0x001F0000)
                                        • Finding the PCI path: +
                                          • Search PNP0A08 (If multiple show up, use the first one)

                                        You should get something like the following show up:

                                        LPC Pathing PCI Pathing

                                        Now with the pathing, you can head here: Edits to the sample SSDT

                                        # Edits to the sample SSDT

                                        Now that we have our ACPI path, lets grab our SSDT and get to work:

                                        By default, this uses PCI0.LPCB for the pathing. you'll want to rename accordingly.

                                        Following the example from above, we'll be renaming it to PCI0.LPC:

                                        Before:

                                        External (_SB_.PCI0.LPCB, DeviceObj) <- Rename this
                                         
                                         Scope (_SB.PCI0.LPCB) <- Rename this
                                        -

                                        -

                                        Following the example pathing we found, the SSDT should look something like this:

                                        -

                                        After:

                                        -
                                        External (_SB_.PCI0.LPC, DeviceObj) <- Renamed
                                        +

                                        Following the example pathing we found, the SSDT should look something like this:

                                        After:

                                        External (_SB_.PCI0.LPC, DeviceObj) <- Renamed
                                         
                                         Scope (_SB.PCI0.LPC) <- Renamed
                                        -

                                        -

                                        Compiling the SSDT

                                        -

                                        With the SSDT done, you're now ready to compile the SSDT!

                                        -

                                        Wrapping up

                                        -

                                        Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:

                                        - - - -
                                        - -
                                        -
                                        -
                                        - -

                                        results matching ""

                                        -
                                          - -
                                          -
                                          - -

                                          No results matching ""

                                          - -
                                          -
                                          -
                                          - -
                                          -
                                          - -
                                          - - - - - - - - - - - - - - -
                                          - - -
                                          - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +

                                          # Compiling the SSDT

                                          With the SSDT done, you're now ready to compile the SSDT!

                                          # Wrapping up

                                          Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:

                                          + + - diff --git a/Universal/nvram-methods/prebuilt.html b/Universal/nvram-methods/prebuilt.html index e357004..abd9736 100644 --- a/Universal/nvram-methods/prebuilt.html +++ b/Universal/nvram-methods/prebuilt.html @@ -1,895 +1,58 @@ - - - - - - - Prebuilt · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Fixing NVRAM: Prebuilt | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                                          -
                                          - - - - - - - - -
                                          - -
                                          - -
                                          - - - - - - - - -
                                          -
                                          - -
                                          -
                                          - -
                                          - -
                                          -

                                          Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                                          -
                                          -

                                          Fixing NVRAM: Prebuilt

                                          -

                                          By far the easiest method, all you need to do is download the following file:

                                          - -

                                          Main things to note with this method:

                                          -
                                            -
                                          • Bit Bloated
                                              -
                                            • There's ACPI naming for most common paths, this means there's added delays in boot times(though unnoticeable to most as it's generally less than 0.5 seconds longer)
                                            • -
                                            -
                                          • -
                                          • Doesn't really teach you anything
                                              -
                                            • For most, this doesn't matter. But to some knowing what makes your hackintosh tick is part of the journey
                                            • -
                                            -
                                          • -
                                          -

                                          Wrapping up

                                          -

                                          Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:

                                          - - - -
                                          - -
                                          -
                                          -
                                          - -

                                          results matching ""

                                          -
                                            - -
                                            -
                                            - -

                                            No results matching ""

                                            - -
                                            -
                                            -
                                            - -
                                            -
                                            - -
                                            - - - - - - - - - - - - - - -
                                            - - -
                                            - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +

                                            # Fixing NVRAM: Prebuilt

                                            By far the easiest method, all you need to do is download the following file:

                                            Main things to note with this method:

                                            • Bit Bloated +
                                              • There's ACPI naming for most common paths, this means there's added delays in boot times(though unnoticeable to most as it's generally less than 0.5 seconds longer)
                                            • Doesn't really teach you anything +
                                              • For most, this doesn't matter. But to some knowing what makes your hackintosh tick is part of the journey

                                            # Wrapping up

                                            Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:

                                            Last Updated: 6/22/2020, 9:53:56 AM
                                            + + - diff --git a/Universal/nvram.html b/Universal/nvram.html index 7f892b3..a62b0b4 100644 --- a/Universal/nvram.html +++ b/Universal/nvram.html @@ -1,895 +1,56 @@ - - - - - - - NVRAM PMC · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Fixing NVRAM (SSDT-PMC) | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                                            -
                                            - - - - - - - - -
                                            - -
                                            - -
                                            - - - - - - - - -
                                            -
                                            - -
                                            -
                                            - -
                                            - -
                                            -

                                            Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                                            -
                                            -

                                            Fixing NVRAM (SSDT-PMC)

                                            - -

                                            What this SSDT does

                                            -

                                            This SSDT is required for all "true" 300 series motherboards(Z370 is excluded), it specifically brings back NVRAM support and requires very little configuration for the end user.

                                            -
                                              -
                                            • B360
                                            • -
                                            • B365
                                            • -
                                            • H310
                                            • -
                                            • H370
                                            • -
                                            • Z390
                                            • -
                                            -

                                            10th gen motherboards do not need this SSDT, NVRAM's native on these platforms.

                                            -

                                            Methods to make this SSDT

                                            -

                                            The main ways to make this SSDT:

                                            - - - -
                                            - -
                                            -
                                            -
                                            - -

                                            results matching ""

                                            -
                                              - -
                                              -
                                              - -

                                              No results matching ""

                                              - -
                                              -
                                              -
                                              - -
                                              -
                                              - -
                                              - - - - - - - - - - - - - - -
                                              - - -
                                              - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +

                                              # Fixing NVRAM (SSDT-PMC)

                                              # What this SSDT does

                                              This SSDT is required for all "true" 300 series motherboards(Z370 is excluded), it specifically brings back NVRAM support and requires very little configuration for the end user.

                                              • B360
                                              • B365
                                              • H310
                                              • H370
                                              • Z390

                                              10th gen motherboards do not need this SSDT, NVRAM's native on these platforms.

                                              # Methods to make this SSDT

                                              The main ways to make this SSDT:

                                              Last Updated: 6/16/2020, 4:50:03 PM
                                              + + - diff --git a/Universal/plug-methods/manual.html b/Universal/plug-methods/manual.html index 9c33338..232e781 100644 --- a/Universal/plug-methods/manual.html +++ b/Universal/plug-methods/manual.html @@ -1,948 +1,56 @@ - - - - - - - Manual · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Fixing Power Management: Manual | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                                              -
                                              - - - - - - - - -
                                              - -
                                              - -
                                              - - - - - - - - -
                                              -
                                              - -
                                              -
                                              - -
                                              - -
                                              -

                                              Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                                              -
                                              -

                                              Fixing Power Management: Manual

                                              - -

                                              Finding the ACPI path

                                              -

                                              To find the ACPI pathing, you have 2 methods:

                                              - -

                                              DSDT

                                              -

                                              CPU naming is fairly easy to figure out, first open your decompiled DSDT you got from Dumping the DSDT and Decompiling and Compiling with either maciASL(if in macOS) or any other text editor if in Windows or Linux(VSCode has an ACPI extension that can also help).

                                              -

                                              Next search for Processor. This should give you a result like this:

                                              -

                                              -

                                              As we can see, the first processor in our list is SB.PR00. This is what we'll be applying the plugin-type=1 property too.

                                              -

                                              X99 and X299 note:

                                              -

                                              Due to the different DSDT structure of these systems, you'll need to to actually check in multiple places as the pathing isn't as obvious:

                                              -

                                              -

                                              If we then search for instances of CP00 we find that its full ACPI pathing is SB.SCK0.CP00:

                                              -

                                              -

                                              Now with the pathing, you can head here: Edits to the sample SSDT

                                              -
                                              DeviceManager
                                              -

                                              If you already have Windows installed on this machine, finding the CPU pathing is fairly easy.

                                              -

                                              Start by opening up Device Manager in Windows and looking for a device named Processor. Once found, click on it and select the BIOS device Name entry. You should get something like this:

                                              -

                                              -

                                              From the above, we can see that our pathing is PR.CPU0. Pay close attention to the start as PR is important for creating the SSDT

                                              -

                                              X99 and X299 note:

                                              -

                                              Odd quirk of DeviceManager in Windows is that the Processor's order does not actually match the ACPI path, instead giving something like SB.SCK0.CP10:

                                              -

                                              -

                                              When this happens, you can either:

                                              -
                                                -
                                              • Look through and find the lowest value
                                              • -
                                              • Assume the lowest(commonly being PR00 or CP00)
                                              • -
                                              -

                                              So with the above X299 example, our CPU pathing would be SB.SCK0.CP00

                                              -

                                              Now with the pathing, you can head here: Edits to the sample SSDT

                                              -

                                              Edits to the sample SSDT

                                              -

                                              Now that we have our ACPI path, lets grab our SSDT and get to work:

                                              - -

                                              From the above SSDT, it's very likely your processor is already there. If so, you can delete all the other entries other than yours and the Method PMPM as this is what injects the plugin-type=1 property into our system.

                                              -
                                                -
                                              • Reminder: We only need to apply plugin-type=1 to the first thread
                                              • -
                                              -

                                              For the below example, we'll be using the X299 example(SB.SCK0.CP00)

                                              - - - - - - - - - - - - - -
                                              OriginalCleaned Up
                                              -

                                              Compiling the SSDT

                                              -

                                              With the SSDT done, you're now ready to compile the SSDT!

                                              -

                                              Wrapping up

                                              -

                                              Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:

                                              - - - -
                                              - -
                                              -
                                              -
                                              - -

                                              results matching ""

                                              -
                                                - -
                                                -
                                                - -

                                                No results matching ""

                                                - -
                                                -
                                                -
                                                - -
                                                -
                                                - -
                                                - - - - - - - - - - - - - - -
                                                - - -
                                                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +

                                                # Fixing Power Management: Manual

                                                # Finding the ACPI path

                                                To find the ACPI pathing, you have 2 methods:

                                                # DSDT

                                                CPU naming is fairly easy to figure out, first open your decompiled DSDT you got from Dumping the DSDT and Decompiling and Compiling with either maciASL(if in macOS) or any other text editor if in Windows or Linux(VSCode has an ACPI extension that can also help).

                                                Next search for Processor. This should give you a result like this:

                                                As we can see, the first processor in our list is SB.PR00. This is what we'll be applying the plugin-type=1 property too.

                                                X99 and X299 note:

                                                Due to the different DSDT structure of these systems, you'll need to to actually check in multiple places as the pathing isn't as obvious:

                                                If we then search for instances of CP00 we find that its full ACPI pathing is SB.SCK0.CP00:

                                                Now with the pathing, you can head here: Edits to the sample SSDT

                                                # DeviceManager

                                                If you already have Windows installed on this machine, finding the CPU pathing is fairly easy.

                                                Start by opening up Device Manager in Windows and looking for a device named Processor. Once found, click on it and select the BIOS device Name entry. You should get something like this:

                                                From the above, we can see that our pathing is PR.CPU0. Pay close attention to the start as PR is important for creating the SSDT

                                                X99 and X299 note:

                                                Odd quirk of DeviceManager in Windows is that the Processor's order does not actually match the ACPI path, instead giving something like SB.SCK0.CP10:

                                                When this happens, you can either:

                                                • Look through and find the lowest value
                                                • Assume the lowest(commonly being PR00 or CP00)

                                                So with the above X299 example, our CPU pathing would be SB.SCK0.CP00

                                                Now with the pathing, you can head here: Edits to the sample SSDT

                                                # Edits to the sample SSDT

                                                Now that we have our ACPI path, lets grab our SSDT and get to work:

                                                From the above SSDT, it's very likely your processor is already there. If so, you can delete all the other entries other than yours and the Method PMPM as this is what injects the plugin-type=1 property into our system.

                                                • Reminder: We only need to apply plugin-type=1 to the first thread

                                                For the below example, we'll be using the X299 example(SB.SCK0.CP00)

                                                Original Cleaned Up

                                                # Compiling the SSDT

                                                With the SSDT done, you're now ready to compile the SSDT!

                                                # Wrapping up

                                                Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:

                                                Last Updated: 7/17/2020, 8:46:53 PM
                                                + + - diff --git a/Universal/plug-methods/prebuilt.html b/Universal/plug-methods/prebuilt.html index ca68a01..6a5189c 100644 --- a/Universal/plug-methods/prebuilt.html +++ b/Universal/plug-methods/prebuilt.html @@ -1,896 +1,58 @@ - - - - - - - Prebuilt · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Fixing Power Management: Prebuilt | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                                                -
                                                - - - - - - - - -
                                                - -
                                                - -
                                                - - - - - - - - -
                                                -
                                                - -
                                                -
                                                - -
                                                - -
                                                -

                                                Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                                                -
                                                -

                                                Fixing Power Management: Prebuilt

                                                -

                                                By far the easiest way to get SSDT-PLUG is just downloading the below file:

                                                - -

                                                This prebuilt file is just a precompiled version of SSDT-PLUG provided by Acidanthera.

                                                -

                                                The main things to note with this method:

                                                -
                                                  -
                                                • Quite Bloated
                                                    -
                                                  • There's ACPI naming for every type, this means there's added delays in boot times(though unnoticeable to most as it's generally 0.5 seconds longer)
                                                  • -
                                                  -
                                                • -
                                                • Doesn't really teach you anything
                                                    -
                                                  • For most, this doesn't matter. But to some knowing what makes your hackintosh tick is part of the journey
                                                  • -
                                                  -
                                                • -
                                                -

                                                Wrapping up

                                                -

                                                Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:

                                                - - - -
                                                - -
                                                -
                                                -
                                                - -

                                                results matching ""

                                                -
                                                  - -
                                                  -
                                                  - -

                                                  No results matching ""

                                                  - -
                                                  -
                                                  -
                                                  - -
                                                  -
                                                  - -
                                                  - - - - - - - - - - - - - - -
                                                  - - -
                                                  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +

                                                  # Fixing Power Management: Prebuilt

                                                  By far the easiest way to get SSDT-PLUG is just downloading the below file:

                                                  This prebuilt file is just a precompiled version of SSDT-PLUG provided by Acidanthera.

                                                  The main things to note with this method:

                                                  • Quite Bloated +
                                                    • There's ACPI naming for every type, this means there's added delays in boot times(though unnoticeable to most as it's generally 0.5 seconds longer)
                                                  • Doesn't really teach you anything +
                                                    • For most, this doesn't matter. But to some knowing what makes your hackintosh tick is part of the journey

                                                  # Wrapping up

                                                  Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:

                                                  Last Updated: 6/22/2020, 9:54:19 AM
                                                  + + - diff --git a/Universal/plug-methods/ssdttime.html b/Universal/plug-methods/ssdttime.html index 53bafe3..2a90e04 100644 --- a/Universal/plug-methods/ssdttime.html +++ b/Universal/plug-methods/ssdttime.html @@ -1,897 +1,58 @@ - - - - - - - SSDTTime · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Fixing Power Management: SSDTTime | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                                                  -
                                                  - - - - - - - - -
                                                  - -
                                                  - -
                                                  - - - - - - - - -
                                                  -
                                                  - -
                                                  -
                                                  - -
                                                  - -
                                                  -

                                                  Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                                                  -
                                                  -

                                                  Fixing Power Management: SSDTTime

                                                  -

                                                  The second involves using SSDTTime which automates most of the process. See here on how to use it: SSDTs: Easy Way

                                                  -

                                                  To get the SSDT-PLUG, run the following:

                                                  -
                                                    -
                                                  • 4. Dump DSDT then run 3. PluginType
                                                  • -
                                                  -

                                                  This will provide you with some files, the main one you care about is SSDT-PLUG.aml. The DSDT and .dsl are only left for referencing or verification.

                                                  -

                                                  The main things to note with this method:

                                                  -
                                                    -
                                                  • Doesn't work on HEDT and server hardware(ie. X99 and X299)
                                                      -
                                                    • While the majority following this guide are likely on consumer hardware, those with fancier hardware will need to either use the Prebuilt or Manual method
                                                    • -
                                                    -
                                                  • -
                                                  • Doesn't really teach you anything
                                                      -
                                                    • For most, this doesn't matter. But to some knowing what makes your hackintosh tick is part of the journey
                                                    • -
                                                    -
                                                  • -
                                                  -

                                                  Wrapping up

                                                  -

                                                  Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:

                                                  - - - -
                                                  - -
                                                  -
                                                  -
                                                  - -

                                                  results matching ""

                                                  -
                                                    - -
                                                    -
                                                    - -

                                                    No results matching ""

                                                    - -
                                                    -
                                                    -
                                                    - -
                                                    -
                                                    - -
                                                    - - - - - - - - - - - - - - -
                                                    - - -
                                                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +

                                                    # Fixing Power Management: SSDTTime

                                                    The second involves using SSDTTime which automates most of the process. See here on how to use it: SSDTs: Easy Way

                                                    To get the SSDT-PLUG, run the following:

                                                    • 4. Dump DSDT then run 3. PluginType

                                                    This will provide you with some files, the main one you care about is SSDT-PLUG**.aml**. The DSDT and .dsl are only left for referencing or verification.

                                                    The main things to note with this method:

                                                    • Doesn't work on HEDT and server hardware(ie. X99 and X299) +
                                                      • While the majority following this guide are likely on consumer hardware, those with fancier hardware will need to either use the Prebuilt or Manual method
                                                    • Doesn't really teach you anything +
                                                      • For most, this doesn't matter. But to some knowing what makes your hackintosh tick is part of the journey

                                                    # Wrapping up

                                                    Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:

                                                    Last Updated: 6/22/2020, 9:31:43 AM
                                                    + + - diff --git a/Universal/plug.html b/Universal/plug.html index 01ce6ec..064096a 100644 --- a/Universal/plug.html +++ b/Universal/plug.html @@ -1,895 +1,56 @@ - - - - - - - CPU Power Management · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Fixing Power Management (SSDT-PLUG) | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                                                    -
                                                    - - - - - - - - -
                                                    - -
                                                    - -
                                                    - - - - - - - - -
                                                    -
                                                    - -
                                                    -
                                                    - -
                                                    - -
                                                    -

                                                    Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                                                    -
                                                    -

                                                    Fixing Power Management (SSDT-PLUG)

                                                    - -

                                                    What this SSDT does

                                                    -

                                                    The purpose of SSDT-PLUG is to allow the kernel's XCPM(XNU's CPU Power Management) to manage our CPU's power management. It's pretty self explanatory why you'd want this.

                                                    -

                                                    Note: SSDT-PLUG is only compatible with Intel's Haswell and newer CPUs, Sandy Bridge and Ivy Bridge will need to follow the ssdtPRgen method(in post-install) while AMD users should not use this(unless attempting to attach AGPM which is outside the scope of Dortania's guides)

                                                    -

                                                    Methods to make this SSDT

                                                    -

                                                    For SSDT-PLUG, there are 3 methods you can choose from:

                                                    - - - -
                                                    - -
                                                    -
                                                    -
                                                    - -

                                                    results matching ""

                                                    -
                                                      - -
                                                      -
                                                      - -

                                                      No results matching ""

                                                      - -
                                                      -
                                                      -
                                                      - -
                                                      -
                                                      - -
                                                      - - - - - - - - - - - - - - -
                                                      - - -
                                                      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +

                                                      # Fixing Power Management (SSDT-PLUG)

                                                      # What this SSDT does

                                                      The purpose of SSDT-PLUG is to allow the kernel's XCPM(XNU's CPU Power Management) to manage our CPU's power management. It's pretty self explanatory why you'd want this.

                                                      Note: SSDT-PLUG is only compatible with Intel's Haswell and newer CPUs, Sandy Bridge and Ivy Bridge will need to follow the ssdtPRgen method(in post-install) while AMD users should not use this(unless attempting to attach AGPM which is outside the scope of Dortania's guides)

                                                      # Methods to make this SSDT

                                                      For SSDT-PLUG, there are 3 methods you can choose from:

                                                      Last Updated: 7/17/2020, 11:01:05 PM
                                                      + + - diff --git a/Universal/rhub-methods/manual.html b/Universal/rhub-methods/manual.html index 905db8f..6bc2e30 100644 --- a/Universal/rhub-methods/manual.html +++ b/Universal/rhub-methods/manual.html @@ -1,923 +1,64 @@ - - - - - - - Manual · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Fixing USB: Manual | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                                                      -
                                                      - - - - - - - - -
                                                      - -
                                                      - -
                                                      - - - - - - - - -
                                                      -
                                                      - -
                                                      -
                                                      - -
                                                      - -
                                                      -

                                                      Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                                                      -
                                                      -

                                                      Fixing USB: Manual

                                                      - -

                                                      Finding the ACPI path

                                                      -

                                                      Finding the ACPI pathing is quite easy actually, first open your decompiled DSDT you got from Dumping the DSDT and Decompiling and Compiling with either maciASL(if in macOS) or any other text editor if in Windows or Linux(VSCode has an ACPI extension that can also help).

                                                      -

                                                      Next, search for the Device (RHUB)

                                                      -

                                                      You should get something like the following show up:

                                                      -

                                                      -

                                                      From the above, we can see that the full ACPI pathing for RHUB is PCI0.XHC.RHUB. If it's not as clear you can search for what those device paths are for your system:

                                                      -
                                                        -
                                                      • Finding the PCI path:
                                                          -
                                                        • Search PNP0A08 (If multiple show up, use the first one)
                                                        • -
                                                        -
                                                      • -
                                                      • Finding XHCI path
                                                          -
                                                        • Search for XHC, XHCI and XHC1, and yours is whichever shows up.
                                                        • -
                                                        -
                                                      • -
                                                      -

                                                      Now with the pathing, you can head here: Edits to the sample SSDT

                                                      -

                                                      Edits to the sample SSDT

                                                      -

                                                      Now that we have our ACPI path, lets grab our SSDT and get to work:

                                                      - -

                                                      By default, this uses PCI0.XHC_.RHUB for the pathing. you'll want to rename accordingly.

                                                      -

                                                      Following the example from above, we'll be renaming it to PCI0.XHC1.RHUB:

                                                      -

                                                      Before:

                                                      -
                                                      External (_SB_.PCI0.XHC_.RHUB, DeviceObj) <- Rename this
                                                      +    
                                                      +    
                                                      +  
                                                      +  
                                                      +    

                                                      # Fixing USB: Manual

                                                      # Finding the ACPI path

                                                      Finding the ACPI pathing is quite easy actually, first open your decompiled DSDT you got from Dumping the DSDT and Decompiling and Compiling with either maciASL(if in macOS) or any other text editor if in Windows or Linux(VSCode has an ACPI extension that can also help).

                                                      Next, search for the Device (RHUB)

                                                      You should get something like the following show up:

                                                      From the above, we can see that the full ACPI pathing for RHUB is PCI0.XHC.RHUB. If it's not as clear you can search for what those device paths are for your system:

                                                      • Finding the PCI path: +
                                                        • Search PNP0A08 (If multiple show up, use the first one)
                                                      • Finding XHCI path +
                                                        • Search for XHC, XHCI and XHC1, and yours is whichever shows up.

                                                      Now with the pathing, you can head here: Edits to the sample SSDT

                                                      # Edits to the sample SSDT

                                                      Now that we have our ACPI path, lets grab our SSDT and get to work:

                                                      By default, this uses PCI0.XHC_.RHUB for the pathing. you'll want to rename accordingly.

                                                      Following the example from above, we'll be renaming it to PCI0.XHC1.RHUB:

                                                      Before:

                                                      External (_SB_.PCI0.XHC_.RHUB, DeviceObj) <- Rename this
                                                       
                                                       Scope (_SB.PCI0.XHC_.RHUB) <- Rename this
                                                      -

                                                      -

                                                      Following the example pathing we found, the SSDT should look something like this:

                                                      -

                                                      After:

                                                      -
                                                      External (_SB.PCI0.XHC1.RHUB, DeviceObj) <- Renamed
                                                      +

                                                      Following the example pathing we found, the SSDT should look something like this:

                                                      After:

                                                      External (_SB.PCI0.XHC1.RHUB, DeviceObj) <- Renamed
                                                       
                                                       Scope (_SB.PCI0.XHC1.RHUB) <- Renamed
                                                      -

                                                      -

                                                      Compiling the SSDT

                                                      -

                                                      With the SSDT done, you're now ready to compile the SSDT!

                                                      -

                                                      Wrapping up

                                                      -

                                                      Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:

                                                      - - - -
                                                      - -
                                                      -
                                                      -
                                                      - -

                                                      results matching ""

                                                      -
                                                        - -
                                                        -
                                                        - -

                                                        No results matching ""

                                                        - -
                                                        -
                                                        -
                                                        - -
                                                        -
                                                        - -
                                                        - - - - - - - - - - - - - - -
                                                        - - -
                                                        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +

                                                        # Compiling the SSDT

                                                        With the SSDT done, you're now ready to compile the SSDT!

                                                        # Wrapping up

                                                        Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:

                                                        + + - diff --git a/Universal/rhub-methods/prebuilt.html b/Universal/rhub-methods/prebuilt.html index aa32ba4..a9dcfa4 100644 --- a/Universal/rhub-methods/prebuilt.html +++ b/Universal/rhub-methods/prebuilt.html @@ -1,884 +1,56 @@ - - - - - - - Prebuilt · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Fixing USB: Prebuilt | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                                                        -
                                                        - - - - - - - - -
                                                        - -
                                                        - -
                                                        - - - - - - - - -
                                                        -
                                                        - -
                                                        -
                                                        - -
                                                        - -
                                                        -

                                                        Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                                                        -
                                                        -

                                                        Fixing USB: Prebuilt

                                                        -

                                                        By far the easiest method, all you need to do is download the following file:

                                                        - -

                                                        Wrapping up

                                                        -

                                                        Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:

                                                        - - - -
                                                        - -
                                                        -
                                                        -
                                                        - -

                                                        results matching ""

                                                        -
                                                          - -
                                                          -
                                                          - -

                                                          No results matching ""

                                                          - -
                                                          -
                                                          -
                                                          - -
                                                          -
                                                          - -
                                                          - - - - - - - - - - - - - - -
                                                          - - -
                                                          - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +

                                                          # Fixing USB: Prebuilt

                                                          By far the easiest method, all you need to do is download the following file:

                                                          # Wrapping up

                                                          Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:

                                                          Last Updated: 6/22/2020, 9:54:39 AM
                                                          + + - diff --git a/Universal/rhub.html b/Universal/rhub.html index 45a0a74..9acf939 100644 --- a/Universal/rhub.html +++ b/Universal/rhub.html @@ -1,892 +1,56 @@ - - - - - - - USB RHUB · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Fixing USB | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                                                          -
                                                          - - - - - - - - -
                                                          - -
                                                          - -
                                                          - - - - - - - - -
                                                          -
                                                          - -
                                                          -
                                                          - -
                                                          - -
                                                          -

                                                          Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                                                          -
                                                          -

                                                          Fixing USB

                                                          - -

                                                          What this SSDT does

                                                          -

                                                          So on 400 series motherboards, certain OEMs have broken the ACPI spec and this results in issues when booting into macOS. To fix this, we'll want to turn off the RHUB device and force macOS to manually rebuild the ports.

                                                          -

                                                          The following platforms will require fixing:

                                                          -
                                                            -
                                                          • Mobile Icelake(currently Dell and Lenovo are the 2 known with this issue)
                                                          • -
                                                          • Asus Z490 (Gigabyte and AsRock users are fine, whether MSI currently this is unknown)
                                                          • -
                                                          -

                                                          Methods to make this SSDT

                                                          -

                                                          For the RTC fix, there are 2 methods you can choose from:

                                                          - - - -
                                                          - -
                                                          -
                                                          -
                                                          - -

                                                          results matching ""

                                                          -
                                                            - -
                                                            -
                                                            - -

                                                            No results matching ""

                                                            - -
                                                            -
                                                            -
                                                            - -
                                                            -
                                                            - -
                                                            - - - - - - - - - - - - - - -
                                                            - - -
                                                            - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +

                                                            # Fixing USB

                                                            # What this SSDT does

                                                            So on 400 series motherboards, certain OEMs have broken the ACPI spec and this results in issues when booting into macOS. To fix this, we'll want to turn off the RHUB device and force macOS to manually rebuild the ports.

                                                            The following platforms will require fixing:

                                                            • Mobile Icelake(currently Dell and Lenovo are the 2 known with this issue)
                                                            • Asus Z490 (Gigabyte and AsRock users are fine, whether MSI currently this is unknown)

                                                            # Methods to make this SSDT

                                                            For the RTC fix, there are 2 methods you can choose from:

                                                            Last Updated: 6/16/2020, 4:50:03 PM
                                                            + + - diff --git a/Universal/smbus-methods/manual.html b/Universal/smbus-methods/manual.html index c15b380..90938f7 100644 --- a/Universal/smbus-methods/manual.html +++ b/Universal/smbus-methods/manual.html @@ -1,830 +1,49 @@ - - - - - - - Manual · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Fixing SMBus support: Manual | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                                                            -
                                                            - - - - - - - - -
                                                            - -
                                                            - -
                                                            - - - - - - - - -
                                                            -
                                                            - -
                                                            -
                                                            - -
                                                            - -
                                                            -

                                                            Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                                                            -
                                                            -

                                                            Fixing SMBus support: Manual

                                                            - -

                                                            Finding the ACPI path

                                                            -

                                                            So to find the ACPI pathing of our SMBus, we've got 2 methods:

                                                            - -

                                                            Hackintool

                                                            -

                                                            To find the correct pathing for your devices, grab Hackintool (Github link) and head to the PCI tab:

                                                            -

                                                            -

                                                            Look for the SMBus device under Subclass, then look beside and you'll see the ACPI path(under IOReg Name). To convert , omit @...

                                                            -
                                                              -
                                                            • /PC00@0/SMBS@1F,4 -> PC00.SMBS
                                                            • -
                                                            -

                                                            With the ACPI pathing, you can now head here: Edits to the sample SSDT

                                                            -

                                                            DeviceManager

                                                            -

                                                            If you already have Windows installed on this machine, finding the SMBus pathing is fairly easy.

                                                            -

                                                            Start by opening up Device Manager in Windows and looking for a device named SMBUS. Once found, click on it and select the BIOS device Name entry. You should get something like this:

                                                            -

                                                            -

                                                            From the above example, we can see the SMBus is located at:

                                                            -
                                                            PC00.SMBS
                                                            -

                                                            With the ACPI pathing, you can now head here: Edits to the sample SSDT

                                                            -

                                                            Edits to the sample SSDT

                                                            -

                                                            Now that we know the ACPI pathing of the SMBus, we can finally start editing the our SSDT.

                                                            - -

                                                            So the important parts we care about are:

                                                            -

                                                            Before:

                                                            -
                                                            External (_SB_.PCI0, DeviceObj) <- Rename this
                                                            +    
                                                            +    
                                                            +  
                                                            +  
                                                            +    

                                                            # Fixing SMBus support: Manual

                                                            # Finding the ACPI path

                                                            So to find the ACPI pathing of our SMBus, we've got 2 methods:

                                                            # Hackintool

                                                            To find the correct pathing for your devices, grab Hackintool (Github link) and head to the PCI tab:

                                                            Look for the SMBus device under Subclass, then look beside and you'll see the ACPI path(under IOReg Name). To convert , omit @...

                                                            • /PC00@0/SMBS@1F,4 -> PC00.SMBS

                                                            With the ACPI pathing, you can now head here: Edits to the sample SSDT

                                                            # DeviceManager

                                                            If you already have Windows installed on this machine, finding the SMBus pathing is fairly easy.

                                                            Start by opening up Device Manager in Windows and looking for a device named SMBUS. Once found, click on it and select the BIOS device Name entry. You should get something like this:

                                                            From the above example, we can see the SMBus is located at:

                                                            PC00.SMBS
                                                            +

                                                            With the ACPI pathing, you can now head here: Edits to the sample SSDT

                                                            # Edits to the sample SSDT

                                                            Now that we know the ACPI pathing of the SMBus, we can finally start editing the our SSDT.

                                                            So the important parts we care about are:

                                                            Before:

                                                            External (_SB_.PCI0, DeviceObj) <- Rename this
                                                             External (_SB_.PCI0.SBUS.BUS0, DeviceObj) <- Rename this
                                                             
                                                             Scope (_SB.PCI0) <- Rename this
                                                            @@ -836,11 +55,7 @@ Scope (_SB.PCI0) <- Rename this
                                                             }
                                                             
                                                             Device (_SB.PCI0.SBUS.BUS0) <- Rename this
                                                            -
                                                            -

                                                            -

                                                            Following the example SMBus pathing we found, the SSDT should look something like this:

                                                            -

                                                            After:

                                                            -
                                                            External (_SB_.PC00, DeviceObj) <- Renamed
                                                            +

                                                            Following the example SMBus pathing we found, the SSDT should look something like this:

                                                            After:

                                                            External (_SB_.PC00, DeviceObj) <- Renamed
                                                             External (_SB_.PC00.SMBS.BUS0, DeviceObj) <- Renamed
                                                             
                                                             Scope (_SB.PC00) <- Renamed
                                                            @@ -852,103 +67,16 @@ Scope (_SB.PC00) <- Renamed
                                                             }
                                                             
                                                             Device (_SB.PC00.SMBS.BUS0) <- Renamed
                                                            -
                                                            -

                                                            -

                                                            Compiling the SSDT

                                                            -

                                                            With the SSDT done, you're now ready to compile the SSDT!

                                                            -

                                                            Wrapping up

                                                            -

                                                            Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:

                                                            - -

                                                            Verify it's working

                                                            -

                                                            Once you've installed macOS, you can actually check whether your SSDT-SBUS-MCHC is working or not in terminal:

                                                            -
                                                            kextstat | grep -E "AppleSMBusController|AppleSMBusPCI"
                                                            -

                                                            - - -
                                                            - -
                                                            -
                                                            -
                                                            - -

                                                            results matching ""

                                                            -
                                                              - -
                                                              -
                                                              - -

                                                              No results matching ""

                                                              - -
                                                              -
                                                              -
                                                              - -
                                                              -
                                                              - -
                                                              - - - - - - - - - - - - - - -
                                                              - - -
                                                              - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +

                                                              # Compiling the SSDT

                                                              With the SSDT done, you're now ready to compile the SSDT!

                                                              # Wrapping up

                                                              Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:

                                                              # Verify it's working

                                                              Once you've installed macOS, you can actually check whether your SSDT-SBUS-MCHC is working or not in terminal:

                                                              kextstat | grep -E "AppleSMBusController|AppleSMBusPCI"
                                                              +

                                                              + + - diff --git a/Universal/smbus.html b/Universal/smbus.html index ab1ede1..6192c10 100644 --- a/Universal/smbus.html +++ b/Universal/smbus.html @@ -1,902 +1,59 @@ - - - - - - - Fixing SMBus Support · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Fixing SMBus support (SSDT-SBUS-MCHC) | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                                                              -
                                                              - - - - - - - - -
                                                              - -
                                                              - -
                                                              - - - - - - - - -
                                                              -
                                                              - -
                                                              -
                                                              - -
                                                              - -
                                                              -

                                                              Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                                                              -
                                                              -

                                                              Fixing SMBus support (SSDT-SBUS-MCHC)

                                                              - -

                                                              What this SSDT does

                                                              -

                                                              This section of the guide refers to fixing AppleSMBus support in macOS, what is AppleSMBus? Well this mainly handles the System Management Bus, which has many functions like:

                                                              -
                                                                -
                                                              • AppleSMBusController
                                                                  -
                                                                • Aids with correct temperature, fan, voltage, ICH, etc readings
                                                                • -
                                                                -
                                                              • -
                                                              • AppleSMBusPCI
                                                                  -
                                                                • Same idea as AppleSMBusController except for low bandwidth PCI devices
                                                                • -
                                                                -
                                                              • -
                                                              • Memory Reporting
                                                                  -
                                                                • Aids in proper memory reporting and can aid in getting better kernel panic details if memory related
                                                                • -
                                                                -
                                                              • -
                                                              • Other things SMBus does: SMBus wiki
                                                              • -
                                                              -

                                                              For install purposes, this SSDT isn't needed but for post-install it's recommended to put the final touches on your hack.

                                                              -

                                                              Methods to make this SSDT

                                                              -

                                                              To make this SSDT, you only got 1 method: Doing it manually

                                                              - - - -
                                                              - -
                                                              -
                                                              -
                                                              - -

                                                              results matching ""

                                                              -
                                                                - -
                                                                -
                                                                - -

                                                                No results matching ""

                                                                - -
                                                                -
                                                                -
                                                                - -
                                                                -
                                                                - -
                                                                - - - - - - - - - - - - - - -
                                                                - - -
                                                                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +

                                                                # Fixing SMBus support (SSDT-SBUS-MCHC)

                                                                # What this SSDT does

                                                                This section of the guide refers to fixing AppleSMBus support in macOS, what is AppleSMBus? Well this mainly handles the System Management Bus, which has many functions like:

                                                                • AppleSMBusController +
                                                                  • Aids with correct temperature, fan, voltage, ICH, etc readings
                                                                • AppleSMBusPCI +
                                                                  • Same idea as AppleSMBusController except for low bandwidth PCI devices
                                                                • Memory Reporting +
                                                                  • Aids in proper memory reporting and can aid in getting better kernel panic details if memory related
                                                                • Other things SMBus does: SMBus wiki

                                                                For install purposes, this SSDT isn't needed but for post-install it's recommended to put the final touches on your hack.

                                                                # Methods to make this SSDT

                                                                To make this SSDT, you only got 1 method: Doing it manually

                                                                Last Updated: 5/31/2020, 5:54:37 AM
                                                                + + - diff --git a/Universal/spoof.html b/Universal/spoof.html index 91fc625..c3f7e6b 100644 --- a/Universal/spoof.html +++ b/Universal/spoof.html @@ -1,950 +1,77 @@ - - - - - - - GPU Spoof · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Renaming GPUs (SSDT-GPU-SPOOF) | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                                                                -
                                                                - - - - - - - - -
                                                                - -
                                                                - -
                                                                - - - - - - - - -
                                                                -
                                                                - -
                                                                -
                                                                - -
                                                                - -
                                                                -

                                                                Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                                                                -
                                                                -

                                                                Renaming GPUs (SSDT-GPU-SPOOF)

                                                                -

                                                                So this is mainly needed for GPUs that are not natively supported out of the box due to their names, most commonly:

                                                                -
                                                                  -
                                                                • R9 290/390
                                                                • -
                                                                • R9 280/380
                                                                • -
                                                                • R7 270/370
                                                                • -
                                                                • R9 260/360
                                                                • -
                                                                • R7 250
                                                                • -
                                                                • R7 240
                                                                • -
                                                                -

                                                                Instead, these GPUs need to be "spoofed" or faked into a model that closely matches theirs, generally this will be the "X" variant of the card. For some reason Apple never bothered adding the PCI IDs for these other cards even though their GPU cores are supported by the driver.

                                                                -

                                                                So to spoof the GPU, we need to find a couple things:

                                                                - -

                                                                Finding a suitable PCI ID

                                                                -

                                                                To find a suitable PCI ID, we'll be using PCI ID Repository which has a full database of all AMD GPUs. For this example, we'll be creating a Spoof SSDT for the R9 390. For a full list of supported GPUs, please see the GPU Buyers Guide. The closest match to this GPU would be the 390X, and looking on that site near the top gives us this:

                                                                -
                                                                Vendor 1002 -> Device 1002:67b0
                                                                -

                                                                Now lets break this down into a device ID we can use:

                                                                -
                                                                  -
                                                                • 1002: The vendor ID, all AMD devices have this ID
                                                                • -
                                                                • 67B0: The device ID, this is what we care about
                                                                • -
                                                                -

                                                                So how do we convert this to a fake ID? Well the format of a fake ID:

                                                                -
                                                                "device-id",
                                                                +    
                                                                +    
                                                                +  
                                                                +  
                                                                +    

                                                                # Renaming GPUs (SSDT-GPU-SPOOF)

                                                                So this is mainly needed for GPUs that are not natively supported out of the box due to their names, most commonly:

                                                                • R9 290/390
                                                                • R9 280/380
                                                                • R7 270/370
                                                                • R9 260/360
                                                                • R7 250
                                                                • R7 240

                                                                Instead, these GPUs need to be "spoofed" or faked into a model that closely matches theirs, generally this will be the "X" variant of the card. For some reason Apple never bothered adding the PCI IDs for these other cards even though their GPU cores are supported by the driver.

                                                                So to spoof the GPU, we need to find a couple things:

                                                                # Finding a suitable PCI ID

                                                                To find a suitable PCI ID, we'll be using PCI ID Repository which has a full database of all AMD GPUs. For this example, we'll be creating a Spoof SSDT for the R9 390. For a full list of supported GPUs, please see the GPU Buyers Guide. The closest match to this GPU would be the 390X, and looking on that site near the top gives us this:

                                                                Vendor 1002 -> Device 1002:67b0
                                                                +

                                                                Now lets break this down into a device ID we can use:

                                                                • 1002: The vendor ID, all AMD devices have this ID
                                                                • 67B0: The device ID, this is what we care about

                                                                So how do we convert this to a fake ID? Well the format of a fake ID:

                                                                "device-id",
                                                                 Buffer (0x04)
                                                                 {
                                                                      0xB0, 0x67, 0x00, 0x00
                                                                 },
                                                                -

                                                                As you can see, the bytes are swapped in pairs. Keep this in mind when we make our SSDT

                                                                -

                                                                The specifics are due to Endianness for those who are curious

                                                                -

                                                                Finding the ACPI Path of the GPU

                                                                -

                                                                To find the PCI path of a GPU is fairly simple, best way to find it is running Windows:

                                                                -
                                                                  -
                                                                • Open Device Manager
                                                                • -
                                                                • Select Display Adapters, then right click your GPU and select Properties
                                                                • -
                                                                • Under the Details Tab, search for "Location Paths"
                                                                    -
                                                                  • Note some GPUs may be hiding under "BIOS device name"
                                                                  • -
                                                                  -
                                                                • -
                                                                -

                                                                -

                                                                Credit to 1Revenger1 for the image

                                                                -

                                                                The second "ACPI" is what we care about:

                                                                -
                                                                ACPI(_SB_)#ACPI(PC02)#ACPI(BR2A)#ACPI(PEGP)#PCI(0000)#PCI(0000)
                                                                -

                                                                Now converting this to an ACPI path is quite simple, remove the #ACPI and #PCI(0000):

                                                                -
                                                                `_SB_.PC02.BR2A.PEGP
                                                                -

                                                                And voila! We've found our ACPI path, now that we have everything we're ready to get cooking

                                                                -

                                                                Making the SSDT

                                                                -

                                                                To start grab our SSDT-GPU-SPOOF and open it up. Here there's a couple things to change:

                                                                -
                                                                External (_SB_.PCI0, DeviceObj)
                                                                +

                                                                As you can see, the bytes are swapped in pairs. Keep this in mind when we make our SSDT

                                                                The specifics are due to Endianness for those who are curious

                                                                # Finding the ACPI Path of the GPU

                                                                To find the PCI path of a GPU is fairly simple, best way to find it is running Windows:

                                                                • Open Device Manager
                                                                • Select Display Adapters, then right click your GPU and select Properties
                                                                • Under the Details Tab, search for "Location Paths" +
                                                                  • Note some GPUs may be hiding under "BIOS device name"

                                                                Credit to 1Revenger1 for the image

                                                                The second "ACPI" is what we care about:

                                                                ACPI(_SB_)#ACPI(PC02)#ACPI(BR2A)#ACPI(PEGP)#PCI(0000)#PCI(0000)
                                                                +

                                                                Now converting this to an ACPI path is quite simple, remove the #ACPI and #PCI(0000):

                                                                `_SB_.PC02.BR2A.PEGP
                                                                +

                                                                And voila! We've found our ACPI path, now that we have everything we're ready to get cooking

                                                                # Making the SSDT

                                                                To start grab our SSDT-GPU-SPOOF and open it up. Here there's a couple things to change:

                                                                External (_SB_.PCI0, DeviceObj)
                                                                 External (_SB_.PCI0.PEG0.PEGP, DeviceObj)
                                                                -

                                                                For our example, we'll change all mentions of :

                                                                -
                                                                  -
                                                                • PCI0 with PC02
                                                                • -
                                                                • PEG0 with BR2A
                                                                • -
                                                                -

                                                                Hint: If your ACPI path is a bit shorter than the example, this is fine. Just make sure the ACPI paths are correct to your device.

                                                                -

                                                                Now that the ACPI pathing is correct, we can finally apply our fake ID!!!

                                                                -

                                                                So the 2 parts we want to change:

                                                                -

                                                                device ID:

                                                                -
                                                                "device-id",
                                                                +

                                                                For our example, we'll change all mentions of :

                                                                • PCI0 with PC02
                                                                • PEG0 with BR2A

                                                                Hint: If your ACPI path is a bit shorter than the example, this is fine. Just make sure the ACPI paths are correct to your device.

                                                                Now that the ACPI pathing is correct, we can finally apply our fake ID!!!

                                                                So the 2 parts we want to change:

                                                                device ID:

                                                                "device-id",
                                                                 Buffer (0x04)
                                                                 {
                                                                     0xB0, 0x67, 0x00, 0x00
                                                                 },
                                                                -

                                                                Model:

                                                                -
                                                                "model",
                                                                +

                                                                Model:

                                                                "model",
                                                                 Buffer ()
                                                                 {
                                                                     "AMD Radeon R9 390"
                                                                 }
                                                                -

                                                                "device-id" will be set to our PCI ID that we found in "Finding a suitable PCI ID" and "model" is mainly cosmetic

                                                                -

                                                                Now you're ready to compile the SSDT!

                                                                - - -
                                                                - -
                                                                -
                                                                -
                                                                - -

                                                                results matching ""

                                                                -
                                                                  - -
                                                                  -
                                                                  - -

                                                                  No results matching ""

                                                                  - -
                                                                  -
                                                                  -
                                                                  - -
                                                                  -
                                                                  - -
                                                                  - - - - - - - - - - - - - - -
                                                                  - - -
                                                                  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +

                                                                  "device-id" will be set to our PCI ID that we found in "Finding a suitable PCI ID" and "model" is mainly cosmetic

                                                                  # Now you're ready to compile the SSDT!

                                                                  + + - diff --git a/images/README-md/acpi-logo.png b/acpi-logo.png similarity index 100% rename from images/README-md/acpi-logo.png rename to acpi-logo.png diff --git a/gitbook/images/apple-touch-icon-precomposed-152.png b/apple-touch-icon-precomposed-152.png similarity index 100% rename from gitbook/images/apple-touch-icon-precomposed-152.png rename to apple-touch-icon-precomposed-152.png diff --git a/assets/css/0.styles.5c2447d6.css b/assets/css/0.styles.5c2447d6.css new file mode 100644 index 0000000..981bed5 --- /dev/null +++ b/assets/css/0.styles.5c2447d6.css @@ -0,0 +1 @@ +@import url($themeFont);html{scroll-behavior:smooth}.medium-zoom-overlay{z-index:100}.medium-zoom-overlay~img{z-index:101}code[class*=language-],pre[class*=language-]{color:#ccc;background:none;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#2d2d2d}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.block-comment,.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#999}.token.punctuation{color:#ccc}.token.attr-name,.token.deleted,.token.namespace,.token.tag{color:#e2777a}.token.function-name{color:#6196cc}.token.boolean,.token.function,.token.number{color:#f08d49}.token.class-name,.token.constant,.token.property,.token.symbol{color:#f8c555}.token.atrule,.token.builtin,.token.important,.token.keyword,.token.selector{color:#cc99cd}.token.attr-value,.token.char,.token.regex,.token.string,.token.variable{color:#7ec699}.token.entity,.token.operator,.token.url{color:#67cdcc}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.token.inserted{color:green}.theme-default-content code{color:#476582;padding:.25rem .5rem;margin:0;font-size:.85em;background-color:rgba(27,31,35,.05);border-radius:3px}.theme-default-content code .token.deleted{color:#ec5975}.theme-default-content code .token.inserted{color:#00bfff}.theme-default-content pre,.theme-default-content pre[class*=language-]{line-height:1.4;padding:1.25rem 1.5rem;margin:.85rem 0;background-color:#282c34;border-radius:6px;overflow:auto}.theme-default-content pre[class*=language-] code,.theme-default-content pre code{color:#fff;padding:0;background-color:transparent;border-radius:0}div[class*=language-]{background-color:#282c34}div[class*=language-] .highlight-lines{padding-top:1.3rem}div[class*=language-] .highlight-lines .highlighted{background-color:rgba(0,0,0,.66)}div[class*=language-].line-numbers-mode:after{background-color:#282c34}.custom-block.danger,.custom-block.tip,.custom-block.warning{border-left-width:.5rem;border-left-style:solid}.custom-block.tip{background-color:#f3f5f7;border-color:#42b983}.custom-block.warning{background-color:rgba(255,229,100,.3);border-color:#e7c000;color:#6b5900}.custom-block.warning .custom-block-title{color:#b29400}.custom-block.warning a{color:#2c3e50}.custom-block.danger{background-color:#ffe6e6;border-color:#c00;color:#4d0000}.custom-block.danger .custom-block-title{color:#900}.custom-block.danger a{color:#2c3e50}.custom-block.details{border-radius:2px;margin:1.6em 0;padding:1.6em;background-color:#eee}.arrow.up{border-bottom:6px solid #ccc}.arrow.down{border-top:6px solid #ccc}.arrow.right{border-left:6px solid #ccc}.arrow.left{border-right:6px solid #ccc}.theme-default-content:not(.custom),.theme-succinct-content:not(.custom){max-width:740px;margin:0 auto;padding:2rem 2.5rem}@media (max-width:959px){.theme-default-content:not(.custom),.theme-succinct-content:not(.custom){padding:2rem}}@media (max-width:419px){.theme-default-content:not(.custom),.theme-succinct-content:not(.custom){padding:1.5rem}}body,html{background-color:#fff}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:16px;color:#2c3e50}.navbar{border-bottom:1px solid #eaecef}.navbar,.sidebar{background-color:#fff}.sidebar{border-right:1px solid #eaecef}.theme-default-content:not(.custom)>:first-child{margin-top:3.6rem}.theme-default-content:not(.custom) a:hover{text-decoration:underline}.theme-default-content:not(.custom) p.demo{padding:1rem 1.5rem;border:1px solid #ddd;border-radius:4px}.theme-default-content:not(.custom) img{max-width:100%}.theme-default-content.custom{padding:0;margin:0}.theme-default-content.custom img{max-width:100%}a,p a code{color:#00bfff}kbd{background:#eee;border:.15rem solid #ddd;border-bottom:.25rem solid #ddd}blockquote{font-size:1rem;color:#999;border-left:.2rem solid #dfe2e5;margin:1rem 0}.theme-default-content:not(.custom)>h1,.theme-default-content:not(.custom)>h2,.theme-default-content:not(.custom)>h3,.theme-default-content:not(.custom)>h4,.theme-default-content:not(.custom)>h5,.theme-default-content:not(.custom)>h6{margin-top:-3.1rem;padding-top:4.6rem;margin-bottom:0}.theme-default-content:not(.custom)>h1:first-child,.theme-default-content:not(.custom)>h2:first-child,.theme-default-content:not(.custom)>h3:first-child,.theme-default-content:not(.custom)>h4:first-child,.theme-default-content:not(.custom)>h5:first-child,.theme-default-content:not(.custom)>h6:first-child{margin-top:-1.5rem;margin-bottom:1rem}.theme-default-content:not(.custom)>h1:first-child+.custom-block,.theme-default-content:not(.custom)>h1:first-child+p,.theme-default-content:not(.custom)>h1:first-child+pre,.theme-default-content:not(.custom)>h2:first-child+.custom-block,.theme-default-content:not(.custom)>h2:first-child+p,.theme-default-content:not(.custom)>h2:first-child+pre,.theme-default-content:not(.custom)>h3:first-child+.custom-block,.theme-default-content:not(.custom)>h3:first-child+p,.theme-default-content:not(.custom)>h3:first-child+pre,.theme-default-content:not(.custom)>h4:first-child+.custom-block,.theme-default-content:not(.custom)>h4:first-child+p,.theme-default-content:not(.custom)>h4:first-child+pre,.theme-default-content:not(.custom)>h5:first-child+.custom-block,.theme-default-content:not(.custom)>h5:first-child+p,.theme-default-content:not(.custom)>h5:first-child+pre,.theme-default-content:not(.custom)>h6:first-child+.custom-block,.theme-default-content:not(.custom)>h6:first-child+p,.theme-default-content:not(.custom)>h6:first-child+pre{margin-top:2rem}h2{border-bottom:1px solid #eaecef}.line-number,code,kbd{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}hr{border-top:1px solid #eaecef}tr{border-top:1px solid #dfe2e5}tr:nth-child(2n){background-color:#f6f8fa}td,th{border:1px solid #dfe2e5}.theme-container.no-navbar .theme-default-content:not(.custom)>h1,.theme-container.no-navbar h2,.theme-container.no-navbar h3,.theme-container.no-navbar h4,.theme-container.no-navbar h5,.theme-container.no-navbar h6{margin-top:1.5rem;padding-top:0}@media (max-width:419px){h1{font-size:1.9rem}.theme-default-content div[class*=language-]{margin:.85rem -1.5rem;border-radius:0}}.theme-succinct-content code{color:#bab8aa;color:var(--codeColor);padding:.25rem .5rem;margin:0;font-size:.85em;background-color:rgba(27,31,35,.08);border-radius:3px}.theme-succinct-content code .token.deleted{color:#ec5975}.theme-succinct-content code .token.inserted{color:#3eaf7c;color:var(--accentColor)}.theme-succinct-content pre,.theme-succinct-content pre[class*=language-]{line-height:1.4;padding:1.25rem 1.5rem;margin:.85rem 0;background-color:#1a1c22;background-color:var(--codeBgColor);border-radius:6px;overflow:auto}.theme-succinct-content pre[class*=language-] code,.theme-succinct-content pre code{color:#fff;padding:0;background-color:transparent;border-radius:0}div[class*=language-]{position:relative;background-color:#1a1c22;background-color:var(--codeBgColor);border-radius:6px;overflow:hidden}div[class*=language-] .highlight-lines{-webkit-user-select:none;-ms-user-select:none;user-select:none;padding-top:2.1rem;position:absolute;top:0;left:0;width:100%;line-height:1.4}div[class*=language-] .highlight-lines .highlighted{background-color:#202228;background-color:var(--codeBgHighlightColor)}div[class*=language-] pre,div[class*=language-] pre[class*=language-]{background:transparent;position:relative;margin-bottom:0;z-index:1}div[class*=language-]:before{position:absolute;z-index:3;top:.8em;right:1em;font-size:.75rem;color:hsla(0,0%,100%,.4)}div[class*=language-]:not(.line-numbers-mode) .line-numbers-wrapper{display:none}div[class*=language-].line-numbers-mode .highlight-lines .highlighted{position:relative}div[class*=language-].line-numbers-mode .highlight-lines .highlighted:before{content:" ";position:absolute;z-index:3;left:0;top:0;display:block;width:3.5rem;height:100%;background-color:rgba(0,0,0,.66)}div[class*=language-].line-numbers-mode pre{padding-left:4.5rem;vertical-align:middle}div[class*=language-].line-numbers-mode .line-numbers-wrapper{position:absolute;top:0;width:3.5rem;text-align:center;color:hsla(0,0%,100%,.3);padding:1.25rem 0;line-height:1.4}div[class*=language-].line-numbers-mode .line-numbers-wrapper br{-webkit-user-select:none;-ms-user-select:none;user-select:none}div[class*=language-].line-numbers-mode .line-numbers-wrapper .line-number{position:relative;z-index:4;-webkit-user-select:none;-ms-user-select:none;user-select:none;font-size:.85em}div[class*=language-].line-numbers-mode:after{content:"";position:absolute;z-index:2;top:0;left:0;width:3.5rem;height:100%;border-radius:6px 0 0 6px;border-right:1px solid rgba(0,0,0,.66);background-color:#1a1c22;background-color:var(--codeBgColor)}div[class~=language-js]:before{content:"js"}div[class~=language-ts]:before{content:"ts"}div[class~=language-html]:before{content:"html"}div[class~=language-md]:before{content:"md"}div[class~=language-vue]:before{content:"vue"}div[class~=language-css]:before{content:"css"}div[class~=language-sass]:before{content:"sass"}div[class~=language-scss]:before{content:"scss"}div[class~=language-less]:before{content:"less"}div[class~=language-stylus]:before{content:"stylus"}div[class~=language-go]:before{content:"go"}div[class~=language-java]:before{content:"java"}div[class~=language-c]:before{content:"c"}div[class~=language-sh]:before{content:"sh"}div[class~=language-yaml]:before{content:"yaml"}div[class~=language-py]:before{content:"py"}div[class~=language-docker]:before{content:"docker"}div[class~=language-dockerfile]:before{content:"dockerfile"}div[class~=language-makefile]:before{content:"makefile"}div[class~=language-javascript]:before{content:"js"}div[class~=language-typescript]:before{content:"ts"}div[class~=language-markup]:before{content:"html"}div[class~=language-markdown]:before{content:"md"}div[class~=language-json]:before{content:"json"}div[class~=language-ruby]:before{content:"rb"}div[class~=language-python]:before{content:"py"}div[class~=language-bash]:before{content:"sh"}div[class~=language-php]:before{content:"php"}.custom-block .custom-block-title{font-weight:600;letter-spacing:.1rem;margin-bottom:-.4rem}.custom-block.danger,.custom-block.tip,.custom-block.warning{padding:.1rem 1.5rem;border:none;border-radius:6px;margin:1rem 0}.custom-block.tip{background-color:#1b4b35;background-color:var(--badgeTipColor)}.custom-block.warning{background-color:#574e21;background-color:var(--badgeWarningColor);color:#dfd6aa;color:var(--badgeWarningTextColor)}.custom-block.warning .custom-block-title{color:#c9bb72;color:var(--badgeWarningTitleColor)}.custom-block.warning a{color:#b0ae9d;color:var(--textMutedColor)}.custom-block.danger{background-color:#692025;background-color:var(--badgeErrorColor);color:#e5a9ad;color:var(--badgeErrorTextColor)}.custom-block.danger .custom-block-title{color:#d37077;color:var(--badgeErrorTitleColor)}.custom-block.danger a{color:#b0ae9d;color:var(--textMutedColor)}.custom-block.details{display:block;position:relative;border-radius:6px;margin:1em 0;padding:1.5em;background-color:hsla(0,0%,100%,.1);background-color:var(--selectionColor)}.custom-block.details h4{margin-top:0}.custom-block.details figure:last-child,.custom-block.details p:last-child{margin-bottom:0;padding-bottom:0}.custom-block.details summary{outline:none;cursor:pointer}.arrow{display:inline-block;width:0;height:0}.arrow.up{border-bottom:6px solid #555;border-bottom:6px solid var(--arrowBgColor)}.arrow.down,.arrow.up{border-left:4px solid transparent;border-right:4px solid transparent}.arrow.down{border-top:6px solid #555;border-top:6px solid var(--arrowBgColor)}.arrow.right{border-left:6px solid #555;border-left:6px solid var(--arrowBgColor)}.arrow.left,.arrow.right{border-top:4px solid transparent;border-bottom:4px solid transparent}.arrow.left{border-right:6px solid #555;border-right:6px solid var(--arrowBgColor)}.theme-succinct-content:not(.custom){max-width:740px;margin:0 auto;padding:2rem 2.5rem}@media (max-width:959px){.theme-succinct-content:not(.custom){padding:2rem}}@media (max-width:419px){.theme-succinct-content:not(.custom){padding:1.5rem}}.table-of-contents .badge{vertical-align:middle}[data-theme=light]{--accentColor:#00bfff;--textColor:#2c3e50;--textMutedColor:#4e6e8e;--selectionColor:rgba(0,0,0,0.1);--headerColor:#3a5169;--descriptionColor:#6a8bad;--borderColor:#eaecef;--codeColor:#476582;--codeBgColor:#282c34;--codeBgHighlightColor:#3d4148;--arrowBgColor:#ccc;--bodyBgColor:#fff;--bodyComplementColor:#fafafa;--badgeTipColor:#e3f8ff;--badgeWarningColor:#f8f2d1;--badgeWarningTextColor:#776712;--badgeWarningTitleColor:#c6ac1e;--badgeErrorColor:#ffdadc;--badgeErrorTextColor:#8e0008;--badgeErrorTitleColor:#ed000d;--actionBtnBorderColor:#00ace6;--actionBtnHoverBorderColor:#1ac5ff;--navItemHoverColor:#14c4ff}[data-theme=dark]{--accentColor:#30bcd5;--textColor:#ccc;--textMutedColor:#999;--selectionColor:hsla(0,0%,100%,0.1);--headerColor:#c2c2c2;--descriptionColor:#b8b8b8;--borderColor:#4c525c;--codeColor:#a3a3a3;--codeBgColor:#1a1c22;--codeBgHighlightColor:#202228;--arrowBgColor:#555;--bodyBgColor:#2d3033;--bodyComplementColor:#373a3e;--badgeTipColor:#023e52;--badgeWarningColor:#574e21;--badgeWarningTextColor:#dfd6aa;--badgeWarningTitleColor:#c9bb72;--badgeErrorColor:#692025;--badgeErrorTextColor:#e5a9ad;--badgeErrorTitleColor:#d37077;--actionBtnBorderColor:#28acc3;--actionBtnHoverBorderColor:#28acc3;--navItemHoverColor:#29b0c8}*{scrollbar-color:hsla(0,0%,100%,.1) #2f3037;scrollbar-color:var(--selectionColor) var(--bodyComplementColor);scroll-behavior:smooth}::-webkit-scrollbar,::-webkit-scrollbar-track{background-color:#2f3037;background-color:var(--bodyComplementColor)}::-webkit-scrollbar-thumb{background-color:hsla(0,0%,100%,.1);background-color:var(--selectionColor)}::-webkit-scrollbar-button{background-color:#2f3037;background-color:var(--bodyComplementColor)}@media screen and (prefers-reduced-motion:true){*{scroll-behavior:auto}}::selection{background:hsla(0,0%,100%,.1);background:var(--selectionColor)}body,html{padding:0;margin:0;background-color:#25262b;background-color:var(--bodyBgColor)}.theme-container,body{font-family:$bodyFontFamily,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-size:16px;color:#e2e1db;color:var(--textColor)}.page{padding-left:20rem}.navbar{z-index:20;right:0;height:3.6rem;background-color:#25262b;background-color:var(--bodyBgColor);box-sizing:border-box;border-bottom:1px solid #4c525c;border-bottom:1px solid var(--borderColor)}.navbar,.sidebar-mask{position:fixed;top:0;left:0}.sidebar-mask{z-index:9;width:100vw;height:100vh;display:none}.sidebar{font-size:16px;background-color:#25262b;background-color:var(--bodyBgColor);width:20rem;position:fixed;z-index:10;margin:0;top:3.6rem;left:0;bottom:0;box-sizing:border-box;border-right:1px solid #4c525c;border-right:1px solid var(--borderColor);overflow-y:auto}.search-box input{color:#b0ae9d!important;color:var(--textMutedColor)!important;border-color:#4c525c!important;border-color:var(--borderColor)!important;background-color:#25262b!important;background-color:var(--bodyBgColor)!important}.search-box input:focus{border-color:#3eaf7c!important;border-color:var(--accentColor)!important}.search-box .suggestions{background:#25262b!important;background:var(--bodyBgColor)!important;border-color:#4c525c!important;border-color:var(--borderColor)!important}.search-box .suggestion a{color:#b0ae9d!important;color:var(--textMutedColor)!important}.search-box .suggestion.focused{background-color:#2f3037!important;background-color:var(--bodyComplementColor)!important}.search-box .suggestion.focused a{color:#3eaf7c!important;color:var(--accentColor)!important}.theme-succinct-content:not(.custom)>:first-child{margin-top:3.6rem}.theme-succinct-content:not(.custom) a:hover{text-decoration:underline}.theme-succinct-content:not(.custom) p.demo{padding:1rem 1.5rem;border:1px solid #4c525c;border:1px solid var(--borderColor);border-radius:4px}.theme-succinct-content:not(.custom) img{max-width:100%}.theme-succinct-content.custom{padding:0;margin:0}.theme-succinct-content.custom img{max-width:100%}a{font-weight:500;text-decoration:none}a,p a code{color:#3eaf7c;color:var(--accentColor)}p a code{font-weight:400}kbd{background:#b0ae9d;background:var(--textMutedColor);border:.15rem solid #4c525c;border-bottom:.25rem solid #4c525c;border:.15rem solid var(--borderColor);border-bottom:.25rem solid var(--borderColor);border-radius:.15rem;padding:0 .15em}blockquote{font-size:inherit;color:#b0ae9d;color:var(--textMutedColor);border-left:.2rem solid #4c525c;border-left:.2rem solid var(--borderColor);margin:.5rem 0;padding:.25rem 0 .25rem 1rem}blockquote>p{margin:0}ol,ul{padding-left:1.2em}strong{font-weight:600}h1,h2,h3,h4,h5,h6{font-weight:600;line-height:1.25}.theme-succinct-content:not(.custom)>h1,.theme-succinct-content:not(.custom)>h2,.theme-succinct-content:not(.custom)>h3,.theme-succinct-content:not(.custom)>h4,.theme-succinct-content:not(.custom)>h5,.theme-succinct-content:not(.custom)>h6{margin-top:-3.1rem;padding-top:4.6rem;margin-bottom:0}.theme-succinct-content:not(.custom)>h1:first-child,.theme-succinct-content:not(.custom)>h2:first-child,.theme-succinct-content:not(.custom)>h3:first-child,.theme-succinct-content:not(.custom)>h4:first-child,.theme-succinct-content:not(.custom)>h5:first-child,.theme-succinct-content:not(.custom)>h6:first-child{margin-top:-1.5rem;margin-bottom:1rem}.theme-succinct-content:not(.custom)>h1:first-child+.custom-block,.theme-succinct-content:not(.custom)>h1:first-child+p,.theme-succinct-content:not(.custom)>h1:first-child+pre,.theme-succinct-content:not(.custom)>h2:first-child+.custom-block,.theme-succinct-content:not(.custom)>h2:first-child+p,.theme-succinct-content:not(.custom)>h2:first-child+pre,.theme-succinct-content:not(.custom)>h3:first-child+.custom-block,.theme-succinct-content:not(.custom)>h3:first-child+p,.theme-succinct-content:not(.custom)>h3:first-child+pre,.theme-succinct-content:not(.custom)>h4:first-child+.custom-block,.theme-succinct-content:not(.custom)>h4:first-child+p,.theme-succinct-content:not(.custom)>h4:first-child+pre,.theme-succinct-content:not(.custom)>h5:first-child+.custom-block,.theme-succinct-content:not(.custom)>h5:first-child+p,.theme-succinct-content:not(.custom)>h5:first-child+pre,.theme-succinct-content:not(.custom)>h6:first-child+.custom-block,.theme-succinct-content:not(.custom)>h6:first-child+p,.theme-succinct-content:not(.custom)>h6:first-child+pre{margin-top:2rem}h1:hover .header-anchor,h2:hover .header-anchor,h3:hover .header-anchor,h4:hover .header-anchor,h5:hover .header-anchor,h6:hover .header-anchor{opacity:1}h1{font-size:2.2rem}h2{font-size:1.65rem;padding-bottom:.3rem;border-bottom:1px solid #4c525c;border-bottom:1px solid var(--borderColor)}h3{font-size:1.35rem}a.header-anchor{font-size:.85em;float:left;margin-left:-.87em;padding-right:.23em;margin-top:.125em;opacity:0}a.header-anchor:hover{text-decoration:none}.line-number,code,kbd{font-family:$monoFontFamily,source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}ol,p,ul{line-height:1.7}hr{border:0;border-top:1px solid #4c525c;border-top:1px solid var(--borderColor)}table{border-collapse:collapse;margin:1rem 0;display:block;overflow-x:auto}tr{border-top:1px solid #4c525c;border-top:1px solid var(--borderColor)}tr:nth-child(2n){background-color:#2f3037;background-color:var(--bodyComplementColor)}td,th{border:1px solid #4c525c;border:1px solid var(--borderColor);padding:.6em 1em}.theme-container.sidebar-open .sidebar-mask{display:block}.theme-container.no-navbar .theme-succinct-content:not(.custom)>h1,.theme-container.no-navbar h2,.theme-container.no-navbar h3,.theme-container.no-navbar h4,.theme-container.no-navbar h5,.theme-container.no-navbar h6{margin-top:1.5rem;padding-top:0}.theme-container.no-navbar .sidebar{top:0}@media (min-width:720px){.theme-container.no-sidebar .sidebar{display:none}.theme-container.no-sidebar .page{padding-left:0}}@media (max-width:959px){.sidebar{font-size:15px;width:16.4rem}.page{padding-left:16.4rem}}@media (max-width:719px){.sidebar{top:0;padding-top:3.6rem;transform:translateX(-100%);transition:transform .2s ease}.page{padding-left:0}.theme-container.sidebar-open .sidebar{transform:translateX(0)}.theme-container.no-navbar .sidebar{padding-top:0}}@media (max-width:419px){h1{font-size:1.9rem}.theme-succinct-content div[class*=language-]{margin:.85rem -1.5rem;border-radius:0}}[data-theme=light]{--sideBgColor:#fff}[data-theme=dark]{--sideBgColor:#363b40;--bgColor:#111112}.home .hero img{max-width:450px!important}.navbar{filter:drop-shadow(0 1px 1px var(--bgColor))}.sidebar{background-color:var(--sideBgColor)}div[class*=language-] pre,div[class*=language-] pre[class*=language-]{margin-top:0}html{overflow:scroll}::-webkit-scrollbar{width:0;background:transparent}tr:nth-child(1n){background-color:var(--bodyBgColor)}tr:nth-child(2n){background-color:var(--sideBgColor)}.dropdown-wrapper .nav-dropdown{border:1px solid var(--sideBgColor)!important;background-color:var(--sideBgColor)!important;box-shadow:0 0 2px var(--bodyBgColor);right:-12%!important}#nprogress{pointer-events:none}#nprogress .bar{background:#00bfff;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;box-shadow:0 0 10px #00bfff,0 0 5px #00bfff;opacity:1;transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border-color:#00bfff transparent transparent #00bfff;border-style:solid;border-width:2px;border-radius:50%;-webkit-animation:nprogress-spinner .4s linear infinite;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@-webkit-keyframes nprogress-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes nprogress-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.go-to-top[data-v-5fd4ef0c]{cursor:pointer;position:fixed;bottom:2rem;right:2.5rem;width:2rem;color:#00bfff;z-index:1}.go-to-top[data-v-5fd4ef0c]:hover{color:#4dd2ff}@media (max-width:959px){.go-to-top[data-v-5fd4ef0c]{display:none}}.fade-enter-active[data-v-5fd4ef0c],.fade-leave-active[data-v-5fd4ef0c]{transition:opacity .3s}.fade-enter[data-v-5fd4ef0c],.fade-leave-to[data-v-5fd4ef0c]{opacity:0}.icon.outbound{color:#aaa;display:inline-block;vertical-align:middle;position:relative;top:-1px}.home{padding:3.6rem 2rem 0;max-width:960px;margin:0 auto;display:block}.home .hero{text-align:center}.home .hero img{max-width:100%;max-height:280px;display:block;margin:3rem auto 1.5rem}.home .hero h1{font-size:3rem}.home .hero .action,.home .hero .description,.home .hero h1{margin:1.8rem auto}.home .hero .description{max-width:40rem;font-size:1.6rem;line-height:1.3;color:#ceccc2;color:var(--descriptionColor)}.home .hero .action-button{display:inline-block;font-size:1.2rem;color:#25262b;color:var(--bodyBgColor);background-color:#3eaf7c;background-color:var(--accentColor);padding:.6rem 1.4rem;border-radius:40px;transition:background-color .1s ease;box-sizing:border-box;border-bottom:1px solid #389d70;border-bottom:1px solid var(--actionBtnBorderColor)}.home .hero .action-button:hover{background-color:#389d70;background-color:var(--actionBtnHoverBorderColor)}.home .features{border-top:1px solid #4c525c;border-top:1px solid var(--borderColor);padding:1.2rem 0;margin-top:2.5rem;display:flex;flex-wrap:wrap;align-items:flex-start;align-content:stretch;justify-content:space-between}.home .feature{flex-grow:1;flex-basis:30%;max-width:30%}.home .feature h2{font-size:1.4rem;font-weight:500;border-bottom:none;padding-bottom:0;color:#d8d7cf;color:var(--headerColor)}.home .feature p,.home .footer{color:#b0ae9d;color:var(--textMutedColor)}.home .footer{padding:2.5rem;border-top:1px solid #4c525c;border-top:1px solid var(--borderColor);text-align:center}@media (max-width:719px){.home .features{flex-direction:column}.home .feature{max-width:100%;padding:0 2.5rem}}@media (max-width:419px){.home{padding-left:1.5rem;padding-right:1.5rem}.home .hero img{max-height:210px;margin:2rem auto 1.2rem}.home .hero h1{font-size:2rem}.home .hero .action,.home .hero .description,.home .hero h1{margin:1.2rem auto}.home .hero .description{font-size:1.2rem}.home .hero .action-button{font-size:1rem;padding:.6rem 1.2rem}.home .feature h2{font-size:1.25rem}}.search-box{display:inline-block;position:relative;margin-right:1rem}.search-box input{cursor:text;width:10rem;height:2rem;color:#4e6e8e;display:inline-block;border:1px solid #cfd4db;border-radius:2rem;font-size:.9rem;line-height:2rem;padding:0 .5rem 0 2rem;outline:none;transition:all .2s ease;background:#fff url(/Getting-Started-With-ACPI/assets/img/search.83621669.svg) .6rem .5rem no-repeat;background-size:1rem}.search-box input:focus{cursor:auto;border-color:#00bfff}.search-box .suggestions{background:#fff;width:20rem;position:absolute;top:2rem;border:1px solid #cfd4db;border-radius:6px;padding:.4rem;list-style-type:none}.search-box .suggestions.align-right{right:0}.search-box .suggestion{line-height:1.4;padding:.4rem .6rem;border-radius:4px;cursor:pointer}.search-box .suggestion a{white-space:normal;color:#5d82a6}.search-box .suggestion a .page-title{font-weight:600}.search-box .suggestion a .header{font-size:.9em;margin-left:.25em}.search-box .suggestion.focused{background-color:#f3f4f5}.search-box .suggestion.focused a{color:#00bfff}@media (max-width:959px){.search-box input{cursor:pointer;width:0;border-color:transparent;position:relative}.search-box input:focus{cursor:text;left:0;width:10rem}}@media (-ms-high-contrast:none){.search-box input{height:2rem}}@media (max-width:959px) and (min-width:719px){.search-box .suggestions{left:0}}@media (max-width:719px){.search-box{margin-right:0}.search-box input{left:1rem}.search-box .suggestions{right:0}}@media (max-width:419px){.search-box .suggestions{width:calc(100vw - 4rem)}.search-box input:focus{width:8rem}}.sidebar-button{cursor:pointer;display:none;width:1.25rem;height:1.25rem;position:absolute;padding:.6rem;top:.6rem;left:1rem}.sidebar-button .icon{display:block;width:1.25rem;height:1.25rem}@media (max-width:719px){.sidebar-button{display:block}}.dropdown-enter,.dropdown-leave-to{height:0!important}.dropdown-wrapper{cursor:pointer}.dropdown-wrapper .dropdown-title{display:block;font-size:.9rem;font-family:inherit;cursor:inherit;padding:inherit;line-height:1.4rem;background:transparent;border:none;font-weight:500;color:#e2e1db;color:var(--textColor)}.dropdown-wrapper .dropdown-title:hover{border-color:transparent}.dropdown-wrapper .dropdown-title .arrow{vertical-align:middle;margin-top:-1px;margin-left:.4rem}.dropdown-wrapper .nav-dropdown .dropdown-item{color:inherit;line-height:1.7rem}.dropdown-wrapper .nav-dropdown .dropdown-item h4{margin:.45rem 0 0;border-top:1px solid #4c525c;border-top:1px solid var(--borderColor);padding:.45rem 1.5rem 0 1.25rem}.dropdown-wrapper .nav-dropdown .dropdown-item .dropdown-subitem-wrapper{padding:0;list-style:none}.dropdown-wrapper .nav-dropdown .dropdown-item .dropdown-subitem-wrapper .dropdown-subitem{font-size:.9em}.dropdown-wrapper .nav-dropdown .dropdown-item a{display:block;line-height:1.7rem;position:relative;border-bottom:none;font-weight:400;margin-bottom:0;padding:0 1.5rem 0 1.25rem}.dropdown-wrapper .nav-dropdown .dropdown-item a.router-link-active,.dropdown-wrapper .nav-dropdown .dropdown-item a:hover{color:#3eaf7c;color:var(--accentColor)}.dropdown-wrapper .nav-dropdown .dropdown-item a.router-link-active:after{content:"";width:0;height:0;border-left:5px solid #3eaf7c;border-left:5px solid var(--accentColor);border-top:3px solid transparent;border-bottom:3px solid transparent;position:absolute;top:calc(50% - 2px);left:9px}.dropdown-wrapper .nav-dropdown .dropdown-item:first-child h4{margin-top:0;padding-top:0;border-top:0}@media (max-width:719px){.dropdown-wrapper.open .dropdown-title{margin-bottom:.5rem}.dropdown-wrapper .dropdown-title{font-weight:600;font-size:inherit}.dropdown-wrapper .dropdown-title:hover{color:#3eaf7c;color:var(--accentColor)}.dropdown-wrapper .nav-dropdown{transition:height .1s ease-out;overflow:hidden}.dropdown-wrapper .nav-dropdown .dropdown-item h4{border-top:0;margin-top:0;padding-top:0}.dropdown-wrapper .nav-dropdown .dropdown-item>a,.dropdown-wrapper .nav-dropdown .dropdown-item h4{font-size:15px;line-height:2rem}.dropdown-wrapper .nav-dropdown .dropdown-item .dropdown-subitem{font-size:14px;padding-left:1rem}}@media (min-width:719px){.dropdown-wrapper{height:1.8rem}.dropdown-wrapper.open .nav-dropdown,.dropdown-wrapper:hover .nav-dropdown{display:block!important}.dropdown-wrapper.open:blur{display:none}.dropdown-wrapper .dropdown-title .arrow{border-left:4px solid transparent;border-right:4px solid transparent;border-top:6px solid #555;border-top:6px solid var(--arrowBgColor);border-bottom:0}.dropdown-wrapper .nav-dropdown{display:none;height:auto!important;box-sizing:border-box;max-height:calc(100vh - 2.7rem);overflow-y:auto;position:absolute;top:100%;right:0;background-color:#25262b;background-color:var(--bodyBgColor);padding:.6rem 0;border:1px solid #4c525c;border:1px solid var(--borderColor);text-align:left;border-radius:.25rem;white-space:nowrap;margin:0}}.nav-links{display:inline-block;cursor:pointer}.nav-links a{line-height:1.4rem;color:inherit}.nav-links a.router-link-active,.nav-links a:hover{color:#3eaf7c;color:var(--accentColor)}.nav-links .nav-item{position:relative;display:inline-block;margin-left:1.5rem;line-height:2rem}.nav-links .nav-item:first-child{margin-left:0}.nav-links .repo-link{margin-left:1.5rem}@media (max-width:719px){.nav-links .nav-item,.nav-links .repo-link{margin-left:0}}@media (min-width:719px){.nav-links a.router-link-active,.nav-links a:hover{color:#e2e1db;color:var(--textColor)}.nav-item>a:not(.external).router-link-active,.nav-item>a:not(.external):hover{margin-bottom:-2px;border-bottom:2px solid #39a172;border-bottom:2px solid var(--navItemHoverColor)}}.navbar{padding:.7rem 1.5rem;line-height:2.2rem}.navbar a,.navbar img,.navbar span{display:inline-block}.navbar .logo{height:2.2rem;min-width:2.2rem;margin-right:.8rem;vertical-align:top}.navbar .site-name{font-size:1.3rem;font-weight:600;color:#e2e1db;color:var(--textColor);position:relative}.navbar .links{padding-left:1.5rem;box-sizing:border-box;white-space:nowrap;font-size:.9rem;position:absolute;right:1.5rem;top:.7rem;display:flex}.navbar .links .search-box{flex:0 0 auto;vertical-align:top}@media (max-width:719px){.navbar{padding-left:4rem}.navbar .can-hide{display:none}.navbar .links{padding-left:1.5rem}.navbar .site-name{width:calc(100vw - 9.4rem);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}}.page-edit{max-width:740px;margin:0 auto;padding:2rem 2.5rem}@media (max-width:959px){.page-edit{padding:2rem}}@media (max-width:419px){.page-edit{padding:1.5rem}}.page-edit{padding-top:1rem;padding-bottom:1rem;overflow:auto}.page-edit .edit-link{display:inline-block}.page-edit .edit-link a{color:#b0ae9d;color:var(--textMutedColor);margin-right:.25rem}.page-edit .last-updated{float:right;font-size:.9em}.page-edit .last-updated .prefix{font-weight:500;color:#b0ae9d;color:var(--textMutedColor)}.page-edit .last-updated .time{font-weight:400;color:#aaa}@media (max-width:719px){.page-edit .edit-link{margin-bottom:.5rem}.page-edit .last-updated{font-size:.8em;float:none;text-align:left}}.page-nav{max-width:740px;margin:0 auto;padding:2rem 2.5rem}@media (max-width:959px){.page-nav{padding:2rem}}@media (max-width:419px){.page-nav{padding:1.5rem}}.page-nav{padding-top:1rem;padding-bottom:0}.page-nav .inner{min-height:2rem;margin-top:0;border-top:1px solid #4c525c;border-top:1px solid var(--borderColor);padding-top:1rem;overflow:auto}.page-nav .next{float:right}.page{padding-bottom:2rem;display:block}.sidebar-group .sidebar-group{padding-left:.5em}.sidebar-group:not(.collapsable) .sidebar-heading:not(.clickable){cursor:auto;color:inherit}.sidebar-group.is-sub-group{padding-left:0}.sidebar-group.is-sub-group>.sidebar-heading{font-size:.95em;line-height:1.4;font-weight:400;padding-left:2rem}.sidebar-group.is-sub-group>.sidebar-heading:not(.clickable){opacity:.5}.sidebar-group.is-sub-group>.sidebar-group-items{padding-left:1rem}.sidebar-group.is-sub-group>.sidebar-group-items>li>.sidebar-link{font-size:.95em;border-left:none}.sidebar-group.depth-2>.sidebar-heading{border-left:none}.sidebar-heading{color:#2c3e50;color:var(--textColor);transition:color .15s ease;cursor:pointer;font-size:1.1em;font-weight:700;padding:.35rem 1.5rem .35rem 1.25rem;width:100%;box-sizing:border-box;margin:0;border-left:.25rem solid transparent}.sidebar-heading.open,.sidebar-heading:hover{color:inherit}.sidebar-heading .arrow{position:relative;top:-.12em;left:.5em}.sidebar-heading.clickable.active{font-weight:600;border-left-color:#3eaf7c;border-left-color:var(--accentColor)}.sidebar-heading.clickable.active,.sidebar-heading.clickable:hover{color:#3eaf7c;color:var(--accentColor)}.sidebar-group-items{transition:height .1s ease-out;font-size:.95em;overflow:hidden}.sidebar .sidebar-sub-headers{padding-left:1rem;font-size:.95em}a.sidebar-link{font-size:1em;font-weight:400;display:inline-block;color:#e2e1db;color:var(--textColor);border-left:.25rem solid transparent;padding:.35rem 1rem .35rem 1.25rem;line-height:1.4;width:100%;box-sizing:border-box}a.sidebar-link.active,a.sidebar-link:hover{color:#3eaf7c;color:var(--accentColor)}a.sidebar-link.active{font-weight:600;border-left-color:#3eaf7c;border-left-color:var(--accentColor)}.sidebar-group a.sidebar-link{padding-left:2rem}.sidebar-sub-headers a.sidebar-link{padding-top:.25rem;padding-bottom:.25rem;border-left:none}.sidebar-sub-headers a.sidebar-link.active{font-weight:500}.sidebar ul{padding:0;margin:0;list-style-type:none}.sidebar a{display:inline-block}.sidebar .nav-links{display:none;border-bottom:1px solid #4c525c;border-bottom:1px solid var(--borderColor);padding:.5rem 0 .75rem}.sidebar .nav-links a{font-weight:600}.sidebar .nav-links .nav-item,.sidebar .nav-links .repo-link{display:block;line-height:1.25rem;font-size:1.1em;padding:.5rem 0 .5rem 1.5rem}.sidebar>.sidebar-links{padding:1.5rem 0}.sidebar>.sidebar-links>li>a.sidebar-link{font-size:1.1em;line-height:1.7;font-weight:700}.sidebar>.sidebar-links>li:not(:first-child){margin-top:.75rem}@media (max-width:719px){.sidebar .nav-links{display:block}.sidebar .nav-links .dropdown-wrapper .nav-dropdown .dropdown-item a.router-link-active:after{top:calc(1rem - 2px)}.sidebar>.sidebar-links{padding:1rem 0}}.badge[data-v-766b3ac8]{display:inline-block;font-size:14px;height:18px;line-height:18px;border-radius:3px;padding:0 6px;color:#fff;background-color:#42b983}.badge.green[data-v-766b3ac8],.badge.tip[data-v-766b3ac8]{background-color:$badgeTipColorDefault;background-color:var(--badgeTipColor)}.badge.error[data-v-766b3ac8]{background-color:$badgeErrorColorDefault;background-color:var(--badgeErrorColor)}.badge.warn[data-v-766b3ac8],.badge.warning[data-v-766b3ac8],.badge.yellow[data-v-766b3ac8]{background-color:$badgeWarningColorDefault;background-color:var(--badgeWarningColor)}.badge+.badge[data-v-766b3ac8]{margin-left:5px}.badge[data-v-15b7b770]{display:inline-block;font-size:14px;height:18px;line-height:18px;border-radius:3px;padding:0 6px;color:#fff;background-color:#42b983}.badge.green[data-v-15b7b770],.badge.tip[data-v-15b7b770]{background-color:#e3f8ff}.badge.error[data-v-15b7b770]{background-color:#da5961}.badge.warn[data-v-15b7b770],.badge.warning[data-v-15b7b770],.badge.yellow[data-v-15b7b770]{background-color:#e7c000}.badge+.badge[data-v-15b7b770]{margin-left:5px} \ No newline at end of file diff --git a/images/Universal/awac-md/ACPI000E.png b/assets/img/ACPI000E.f11d4625.png similarity index 100% rename from images/Universal/awac-md/ACPI000E.png rename to assets/img/ACPI000E.f11d4625.png diff --git a/images/Universal/awac-md/PNP0B00.png b/assets/img/PNP0B00.cd0c5876.png similarity index 100% rename from images/Universal/awac-md/PNP0B00.png rename to assets/img/PNP0B00.cd0c5876.png diff --git a/images/Universal/smbus-md/after-rename.png b/assets/img/after-rename.48bf32ad.png similarity index 100% rename from images/Universal/smbus-md/after-rename.png rename to assets/img/after-rename.48bf32ad.png diff --git a/images/Desktops/amd.png b/assets/img/amd.acf5492b.png similarity index 100% rename from images/Desktops/amd.png rename to assets/img/amd.acf5492b.png diff --git a/images/Universal/smbus-md/before-rename.png b/assets/img/before-rename.c0ccc637.png similarity index 100% rename from images/Universal/smbus-md/before-rename.png rename to assets/img/before-rename.c0ccc637.png diff --git a/images/Universal/plug-md/cp00.png b/assets/img/cp00.d25cad0f.png similarity index 100% rename from images/Universal/plug-md/cp00.png rename to assets/img/cp00.d25cad0f.png diff --git a/images/Laptops/backlight-md/devicemanager.png b/assets/img/devicemanager.770a10fc.png similarity index 100% rename from images/Laptops/backlight-md/devicemanager.png rename to assets/img/devicemanager.770a10fc.png diff --git a/images/Desktops/ec.png b/assets/img/ec.dd4b7c64.png similarity index 100% rename from images/Desktops/ec.png rename to assets/img/ec.dd4b7c64.png diff --git a/images/Laptops/trackpad-md/gpi0-2.png b/assets/img/gpi0-2.8c3726d3.png similarity index 100% rename from images/Laptops/trackpad-md/gpi0-2.png rename to assets/img/gpi0-2.8c3726d3.png diff --git a/images/Laptops/trackpad-md/gpi0.png b/assets/img/gpi0.b0e0b8d8.png similarity index 100% rename from images/Laptops/trackpad-md/gpi0.png rename to assets/img/gpi0.b0e0b8d8.png diff --git a/images/Universal/nvram-md/lpc.png b/assets/img/lpc.bfa9cf23.png similarity index 100% rename from images/Universal/nvram-md/lpc.png rename to assets/img/lpc.bfa9cf23.png diff --git a/images/Manual/compile-md/macos-compile.png b/assets/img/macos-compile.5b3bc6ad.png similarity index 100% rename from images/Manual/compile-md/macos-compile.png rename to assets/img/macos-compile.5b3bc6ad.png diff --git a/images/Desktops/nvidia.png b/assets/img/nvidia.672e8e16.png similarity index 100% rename from images/Desktops/nvidia.png rename to assets/img/nvidia.672e8e16.png diff --git a/images/Universal/smbus-md/pci.png b/assets/img/pci.81a3ae52.png similarity index 100% rename from images/Universal/smbus-md/pci.png rename to assets/img/pci.81a3ae52.png diff --git a/images/Universal/nvram-md/pci0.png b/assets/img/pci0.4477f361.png similarity index 100% rename from images/Universal/nvram-md/pci0.png rename to assets/img/pci0.4477f361.png diff --git a/images/Universal/plug-md/plug-bios.png b/assets/img/plug-bios.1b527198.png similarity index 100% rename from images/Universal/plug-md/plug-bios.png rename to assets/img/plug-bios.1b527198.png diff --git a/images/Universal/plug-md/plug-x299.png b/assets/img/plug-x299.8123a653.png similarity index 100% rename from images/Universal/plug-md/plug-x299.png rename to assets/img/plug-x299.8123a653.png diff --git a/images/Desktops/pnp.png b/assets/img/pnp.8c2387eb.png similarity index 100% rename from images/Desktops/pnp.png rename to assets/img/pnp.8c2387eb.png diff --git a/images/Universal/plug-md/processor-2.png b/assets/img/processor-2.8af8c8dd.png similarity index 100% rename from images/Universal/plug-md/processor-2.png rename to assets/img/processor-2.8af8c8dd.png diff --git a/images/Universal/plug-md/processor.png b/assets/img/processor.38dc34ad.png similarity index 100% rename from images/Universal/plug-md/processor.png rename to assets/img/processor.38dc34ad.png diff --git a/images/Universal/rhub-md/rhub-path.png b/assets/img/rhub-path.0ccecac7.png similarity index 100% rename from images/Universal/rhub-md/rhub-path.png rename to assets/img/rhub-path.0ccecac7.png diff --git a/assets/img/search.83621669.svg b/assets/img/search.83621669.svg new file mode 100644 index 0000000..03d8391 --- /dev/null +++ b/assets/img/search.83621669.svg @@ -0,0 +1 @@ + diff --git a/images/Universal/smbus-md/smbus.png b/assets/img/smbus.d9dd6044.png similarity index 100% rename from images/Universal/smbus-md/smbus.png rename to assets/img/smbus.d9dd6044.png diff --git a/images/Laptops/backlight-md/ssdt-after.png b/assets/img/ssdt-after.28584bc4.png similarity index 100% rename from images/Laptops/backlight-md/ssdt-after.png rename to assets/img/ssdt-after.28584bc4.png diff --git a/images/Universal/awac-md/ssdt-after.png b/assets/img/ssdt-after.3d0ae705.png similarity index 100% rename from images/Universal/awac-md/ssdt-after.png rename to assets/img/ssdt-after.3d0ae705.png diff --git a/images/Universal/rhub-md/ssdt-after.png b/assets/img/ssdt-after.4bf2a9ef.png similarity index 100% rename from images/Universal/rhub-md/ssdt-after.png rename to assets/img/ssdt-after.4bf2a9ef.png diff --git a/images/Desktops/ssdt-after.png b/assets/img/ssdt-after.7996c4b7.png similarity index 100% rename from images/Desktops/ssdt-after.png rename to assets/img/ssdt-after.7996c4b7.png diff --git a/images/Universal/nvram-md/ssdt-after.png b/assets/img/ssdt-after.971e8c4d.png similarity index 100% rename from images/Universal/nvram-md/ssdt-after.png rename to assets/img/ssdt-after.971e8c4d.png diff --git a/images/Laptops/trackpad-md/ssdt-after.png b/assets/img/ssdt-after.9ea3604d.png similarity index 100% rename from images/Laptops/trackpad-md/ssdt-after.png rename to assets/img/ssdt-after.9ea3604d.png diff --git a/images/Universal/rhub-md/ssdt-before.png b/assets/img/ssdt-before.24a00e7a.png similarity index 100% rename from images/Universal/rhub-md/ssdt-before.png rename to assets/img/ssdt-before.24a00e7a.png diff --git a/images/Universal/nvram-md/ssdt-before.png b/assets/img/ssdt-before.6ddf7dfa.png similarity index 100% rename from images/Universal/nvram-md/ssdt-before.png rename to assets/img/ssdt-before.6ddf7dfa.png diff --git a/images/Laptops/trackpad-md/ssdt-before.png b/assets/img/ssdt-before.b64846c1.png similarity index 100% rename from images/Laptops/trackpad-md/ssdt-before.png rename to assets/img/ssdt-before.b64846c1.png diff --git a/images/Desktops/ssdt-before.png b/assets/img/ssdt-before.b846f355.png similarity index 100% rename from images/Desktops/ssdt-before.png rename to assets/img/ssdt-before.b846f355.png diff --git a/images/Universal/awac-md/ssdt-before.png b/assets/img/ssdt-before.b9b19f9b.png similarity index 100% rename from images/Universal/awac-md/ssdt-before.png rename to assets/img/ssdt-before.b9b19f9b.png diff --git a/images/Laptops/backlight-md/ssdt-before.png b/assets/img/ssdt-before.f71c9e04.png similarity index 100% rename from images/Laptops/backlight-md/ssdt-before.png rename to assets/img/ssdt-before.f71c9e04.png diff --git a/images/Universal/plug-md/ssdt-clean.png b/assets/img/ssdt-clean.b241b36e.png similarity index 100% rename from images/Universal/plug-md/ssdt-clean.png rename to assets/img/ssdt-clean.b241b36e.png diff --git a/images/Universal/plug-md/ssdt-mess.png b/assets/img/ssdt-mess.8323e4a6.png similarity index 100% rename from images/Universal/plug-md/ssdt-mess.png rename to assets/img/ssdt-mess.8323e4a6.png diff --git a/images/ssdt-easy-md/ssdttime.png b/assets/img/ssdttime.54f2ba0d.png similarity index 100% rename from images/ssdt-easy-md/ssdttime.png rename to assets/img/ssdttime.54f2ba0d.png diff --git a/images/Desktops/sta.png b/assets/img/sta.e2d0aed0.png similarity index 100% rename from images/Desktops/sta.png rename to assets/img/sta.e2d0aed0.png diff --git a/images/Manual/dump-md/sysreport.png b/assets/img/sysreport.8d1d1d0e.png similarity index 100% rename from images/Manual/dump-md/sysreport.png rename to assets/img/sysreport.8d1d1d0e.png diff --git a/images/Universal/smbus-md/verify.png b/assets/img/verify.58363d4d.png similarity index 100% rename from images/Universal/smbus-md/verify.png rename to assets/img/verify.58363d4d.png diff --git a/images/Manual/compile-md/windows-compile.png b/assets/img/windows-compile.62b90d74.png similarity index 100% rename from images/Manual/compile-md/windows-compile.png rename to assets/img/windows-compile.62b90d74.png diff --git a/assets/js/10.6abe490e.js b/assets/js/10.6abe490e.js new file mode 100644 index 0000000..28770df --- /dev/null +++ b/assets/js/10.6abe490e.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{389:function(t,e,a){t.exports=a.p+"assets/img/rhub-path.0ccecac7.png"},390:function(t,e,a){t.exports=a.p+"assets/img/ssdt-before.24a00e7a.png"},391:function(t,e,a){t.exports=a.p+"assets/img/ssdt-after.4bf2a9ef.png"},435:function(t,e,a){"use strict";a.r(e);var s=a(25),i=Object(s.a)({},(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[s("h1",{attrs:{id:"fixing-usb-manual"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#fixing-usb-manual"}},[t._v("#")]),t._v(" Fixing USB: Manual")]),t._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#finding-the-acpi-path"}},[t._v("Finding the ACPI path")])]),t._v(" "),s("li",[s("a",{attrs:{href:"#edits-to-the-sample-ssdt"}},[t._v("Edits to the sample SSDT")])]),t._v(" "),s("li",[s("a",{attrs:{href:"#compiling-the-ssdt"}},[t._v("Compiling the SSDT")])]),t._v(" "),s("li",[s("a",{attrs:{href:"#wrapping-up"}},[t._v("Wrapping up")])])]),t._v(" "),s("h2",{attrs:{id:"finding-the-acpi-path"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#finding-the-acpi-path"}},[t._v("#")]),t._v(" Finding the ACPI path")]),t._v(" "),s("p",[t._v("Finding the ACPI pathing is quite easy actually, first open your decompiled DSDT you got from "),s("RouterLink",{attrs:{to:"/Manual/dump.html"}},[t._v("Dumping the DSDT")]),t._v(" and "),s("RouterLink",{attrs:{to:"/Manual/compile.html"}},[t._v("Decompiling and Compiling")]),t._v(" with either maciASL(if in macOS) or any other text editor if in Windows or Linux(VSCode has an "),s("a",{attrs:{href:"https://marketplace.visualstudio.com/items?itemName=Thog.vscode-asl",target:"_blank",rel:"noopener noreferrer"}},[t._v("ACPI extension"),s("OutboundLink")],1),t._v(" that can also help).")],1),t._v(" "),s("p",[t._v("Next, search for the "),s("code",[t._v("Device (RHUB)")])]),t._v(" "),s("p",[t._v("You should get something like the following show up:")]),t._v(" "),s("p",[s("img",{attrs:{src:a(389),alt:""}})]),t._v(" "),s("p",[t._v("From the above, we can see that the full ACPI pathing for RHUB is "),s("code",[t._v("PCI0.XHC.RHUB")]),t._v(". If it's not as clear you can search for what those device paths are for your system:")]),t._v(" "),s("ul",[s("li",[t._v("Finding the PCI path:\n"),s("ul",[s("li",[t._v("Search "),s("code",[t._v("PNP0A08")]),t._v(" (If multiple show up, use the first one)")])])]),t._v(" "),s("li",[t._v("Finding XHCI path\n"),s("ul",[s("li",[t._v("Search for "),s("code",[t._v("XHC")]),t._v(", "),s("code",[t._v("XHCI")]),t._v(" and "),s("code",[t._v("XHC1")]),t._v(", and yours is whichever shows up.")])])])]),t._v(" "),s("p",[t._v("Now with the pathing, you can head here: "),s("a",{attrs:{href:"#edits-to-the-sample-ssdt"}},[t._v("Edits to the sample SSDT")])]),t._v(" "),s("h2",{attrs:{id:"edits-to-the-sample-ssdt"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#edits-to-the-sample-ssdt"}},[t._v("#")]),t._v(" Edits to the sample SSDT")]),t._v(" "),s("p",[t._v("Now that we have our ACPI path, lets grab our SSDT and get to work:")]),t._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/decompiled/SSDT-RHUB.dsl",target:"_blank",rel:"noopener noreferrer"}},[t._v("SSDT-RHUB.dsl"),s("OutboundLink")],1)])]),t._v(" "),s("p",[t._v("By default, this uses "),s("code",[t._v("PCI0.XHC_.RHUB")]),t._v(" for the pathing. you'll want to rename accordingly.")]),t._v(" "),s("p",[t._v("Following the example from above, we'll be renaming it to "),s("code",[t._v("PCI0.XHC1.RHUB")]),t._v(":")]),t._v(" "),s("p",[s("strong",[t._v("Before")]),t._v(":")]),t._v(" "),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[t._v("External (_SB_.PCI0.XHC_.RHUB, DeviceObj) <- Rename this\n\nScope (_SB.PCI0.XHC_.RHUB) <- Rename this\n")])])]),s("p",[s("img",{attrs:{src:a(390),alt:""}})]),t._v(" "),s("p",[t._v("Following the example pathing we found, the SSDT should look something like this:")]),t._v(" "),s("p",[s("strong",[t._v("After")]),t._v(":")]),t._v(" "),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[t._v("External (_SB.PCI0.XHC1.RHUB, DeviceObj) <- Renamed\n\nScope (_SB.PCI0.XHC1.RHUB) <- Renamed\n")])])]),s("p",[s("img",{attrs:{src:a(391),alt:""}})]),t._v(" "),s("h2",{attrs:{id:"compiling-the-ssdt"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#compiling-the-ssdt"}},[t._v("#")]),t._v(" Compiling the SSDT")]),t._v(" "),s("p",[t._v("With the SSDT done, you're now "),s("RouterLink",{attrs:{to:"/Manual/compile.html"}},[t._v("ready to compile the SSDT!")])],1),t._v(" "),s("h2",{attrs:{id:"wrapping-up"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#wrapping-up"}},[t._v("#")]),t._v(" Wrapping up")]),t._v(" "),s("p",[t._v("Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:")]),t._v(" "),s("ul",[s("li",[s("RouterLink",{attrs:{to:"/cleanup.html"}},[s("strong",[t._v("Cleanup")])])],1)])])}),[],!1,null,null,null);e.default=i.exports}}]); \ No newline at end of file diff --git a/assets/js/11.9da31f2b.js b/assets/js/11.9da31f2b.js new file mode 100644 index 0000000..172d6b6 --- /dev/null +++ b/assets/js/11.9da31f2b.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{332:function(t,e,n){},399:function(t,e,n){"use strict";var i=n(332);n.n(i).a},450:function(t,e,n){"use strict";n.r(e);var i={functional:!0,props:{type:{type:String,default:"tip"},text:String,vertical:{type:String,default:"top"}},render:function(t,e){var n=e.props,i=e.slots;return t("span",{class:["badge",n.type],style:{verticalAlign:n.vertical}},n.text||i().default)}},r=(n(399),n(25)),a=Object(r.a)(i,void 0,void 0,!1,null,"15b7b770",null);e.default=a.exports}}]); \ No newline at end of file diff --git a/assets/js/12.4021d140.js b/assets/js/12.4021d140.js new file mode 100644 index 0000000..4ac83e3 --- /dev/null +++ b/assets/js/12.4021d140.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{331:function(t,e,n){},398:function(t,e,n){"use strict";var a=n(331);n.n(a).a},449:function(t,e,n){"use strict";n.r(e);var a={functional:!0,props:{type:{type:String,default:"tip"},text:String,vertical:{type:String,default:"top"}},render:function(t,e){var n=e.props,a=e.slots;return t("span",{class:["badge",n.type],style:{verticalAlign:n.vertical}},n.text||a().default)}},i=(n(398),n(25)),r=Object(i.a)(a,void 0,void 0,!1,null,"766b3ac8",null);e.default=r.exports}}]); \ No newline at end of file diff --git a/assets/js/13.8aab1973.js b/assets/js/13.8aab1973.js new file mode 100644 index 0000000..2b04210 --- /dev/null +++ b/assets/js/13.8aab1973.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{313:function(t,e,a){t.exports=a.p+"assets/img/nvidia.672e8e16.png"},328:function(t,e,a){t.exports=a.p+"assets/img/amd.acf5492b.png"},406:function(t,e,a){"use strict";a.r(e);var s=a(25),i=Object(s.a)({},(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[s("h1",{attrs:{id:"disabling-desktops-unsupported-gpus-ssdt-gpu-disable"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#disabling-desktops-unsupported-gpus-ssdt-gpu-disable"}},[t._v("#")]),t._v(" Disabling desktops unsupported GPUs(SSDT-GPU-DISABLE)")]),t._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#what-this-ssdt-does"}},[t._v("What this SSDT does")])]),t._v(" "),s("li",[s("a",{attrs:{href:"#methods-to-make-this-ssdt"}},[t._v("Methods to make this SSDT")]),t._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#prebuilts"}},[t._v("Prebuilt")])]),t._v(" "),s("li",[s("a",{attrs:{href:"#ssdttime"}},[t._v("SSDTTime")])]),t._v(" "),s("li",[s("a",{attrs:{href:"#manual"}},[t._v("Manual")]),t._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#finding-the-acpi-path"}},[t._v("Finding the ACPI path")])]),t._v(" "),s("li",[s("a",{attrs:{href:"#edits-to-the-sample-ssdt"}},[t._v("Edits to the sample SSDT")])]),t._v(" "),s("li",[s("a",{attrs:{href:"#compiling-the-ssdt"}},[t._v("Compiling the SSDT")])])])])])])]),t._v(" "),s("p",[t._v("So this is mainly needed for GPUs that are not supported in macOS, mainly this will be Nvidia users who wish to pair an AMD GPU for macOS use. While WhateverGreen does support the boot-arg "),s("code",[t._v("-wegnoegpu")]),t._v(", this only works when running on iGPU so for the rest of us we'll need to make an SSDT.")]),t._v(" "),s("p",[t._v("So to disable a specific GPU, we need to find a couple things:")]),t._v(" "),s("ul",[s("li",[t._v("ACPI Path of the GPU")]),t._v(" "),s("li",[s("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/decompiled/SSDT-GPU-DISABLE.dsl.zip",target:"_blank",rel:"noopener noreferrer"}},[t._v("SSDT-GPU-DISABLE"),s("OutboundLink")],1)])]),t._v(" "),s("h2",{attrs:{id:"finding-the-acpi-path-of-the-gpu"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#finding-the-acpi-path-of-the-gpu"}},[t._v("#")]),t._v(" Finding the ACPI Path of the GPU")]),t._v(" "),s("p",[t._v("To find the PCI path of a GPU is fairly simple, best way to find it is running Windows:")]),t._v(" "),s("ul",[s("li",[t._v("Open Device Manager")]),t._v(" "),s("li",[t._v("Select Display Adapters, then right click your GPU and select Properties")]),t._v(" "),s("li",[t._v('Under the Details Tab, search for "Location Paths"\n'),s("ul",[s("li",[t._v('Note some GPUs may be hiding under "BIOS device name"')])])])]),t._v(" "),s("p",[s("img",{attrs:{src:a(328),alt:""}})]),t._v(" "),s("p",[s("img",{attrs:{src:a(313),alt:"Credit to 1Revenger1 for the image"}})]),t._v(" "),s("p",[t._v('The second "ACPI" is what we care about:')]),t._v(" "),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[t._v("ACPI(_SB_)#ACPI(PC02)#ACPI(BR2A)#ACPI(PEGP)#PCI(0000)#PCI(0000)\n")])])]),s("p",[t._v("Now converting this to an ACPI path is quite simple, remove the "),s("code",[t._v("#ACPI")]),t._v(" and "),s("code",[t._v("#PCI(0000)")]),t._v(":")]),t._v(" "),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[t._v("`_SB_.PC02.BR2A.PEGP\n")])])]),s("p",[t._v("And voila! We've found our ACPI path, now that we have everything we're ready to get cooking")]),t._v(" "),s("h2",{attrs:{id:"making-the-ssdt"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#making-the-ssdt"}},[t._v("#")]),t._v(" Making the SSDT")]),t._v(" "),s("p",[t._v("To start grab our "),s("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/decompiled/SSDT-GPU-DISABLE.dsl.zip",target:"_blank",rel:"noopener noreferrer"}},[t._v("SSDT-GPU-DISABLE"),s("OutboundLink")],1),t._v(" and open it up. Here there's a couple things to change:")]),t._v(" "),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[t._v("External (_SB_.PCI0.PEG0.PEGP, DeviceObj)\nMethod (_SB.PCI0.PEG0.PEGP._DSM, 4, NotSerialized)\n")])])]),s("p",[t._v("For our example, we'll change all mentions of :")]),t._v(" "),s("ul",[s("li",[s("code",[t._v("PCI0")]),t._v(" with "),s("code",[t._v("PC02")])]),t._v(" "),s("li",[s("code",[t._v("PEG0")]),t._v(" with "),s("code",[t._v("BR2A")])])]),t._v(" "),s("p",[t._v("Hint: If your ACPI path is a bit shorter than the example, this is fine. Just make sure the ACPI paths are correct to your device, some users may also need to adapt "),s("code",[t._v("_SB_")]),t._v(" to their path")]),t._v(" "),s("h2",{attrs:{id:"now-you-re-ready-to-compile-the-ssdt"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#now-you-re-ready-to-compile-the-ssdt"}},[t._v("#")]),t._v(" "),s("RouterLink",{attrs:{to:"/Manual/compile.html"}},[t._v("Now you're ready to compile the SSDT!")])],1)])}),[],!1,null,null,null);e.default=i.exports}}]); \ No newline at end of file diff --git a/assets/js/14.19390165.js b/assets/js/14.19390165.js new file mode 100644 index 0000000..3a2162f --- /dev/null +++ b/assets/js/14.19390165.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{368:function(a,e,i){a.exports=i.p+"assets/img/macos-compile.5b3bc6ad.png"},369:function(a,e,i){a.exports=i.p+"assets/img/windows-compile.62b90d74.png"},416:function(a,e,i){"use strict";i.r(e);var t=i(25),l=Object(t.a)({},(function(){var a=this,e=a.$createElement,t=a._self._c||e;return t("ContentSlotsDistributor",{attrs:{"slot-key":a.$parent.slotKey}},[t("h1",{attrs:{id:"compiling-and-decompiling-acpi-tables"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#compiling-and-decompiling-acpi-tables"}},[a._v("#")]),a._v(" Compiling and decompiling ACPI Tables")]),a._v(" "),t("p",[a._v("See "),t("RouterLink",{attrs:{to:"/troubleshooting.html"}},[a._v("Troubleshooting")]),a._v(" if you have dumping/compiling errors")],1),a._v(" "),t("ul",[t("li",[t("RouterLink",{attrs:{to:"/Manual/compile.html#macos"}},[a._v("macOS Compiling and Decompiling")])],1),a._v(" "),t("li",[t("RouterLink",{attrs:{to:"/Manual/compile.html#windows"}},[a._v("Windows Compiling and Decompiling")])],1),a._v(" "),t("li",[t("RouterLink",{attrs:{to:"/Manual/compile.html#linux"}},[a._v("Linux Compiling and Decompiling")])],1)]),a._v(" "),t("h2",{attrs:{id:"macos"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#macos"}},[a._v("#")]),a._v(" macOS")]),a._v(" "),t("p",[a._v("So compiling DSDTs and SSDTs are quite easy with macOS, all you need is "),t("a",{attrs:{href:"https://github.com/acidanthera/MaciASL/releases",target:"_blank",rel:"noopener noreferrer"}},[a._v("MaciASL"),t("OutboundLink")],1),a._v(". To compile, just "),t("code",[a._v("File -> SaveAs -> ACPI Machine Language Binary(.AML)")]),a._v(", decompiling is just opening the file in MaciASL.")]),a._v(" "),t("p",[a._v("For those who prefer the command line, grab "),t("a",{attrs:{href:"https://github.com/acidanthera/MaciASL/blob/master/Dist/iasl-stable",target:"_blank",rel:"noopener noreferrer"}},[a._v("iasl-stable"),t("OutboundLink")],1),a._v(" and run the following:")]),a._v(" "),t("div",{staticClass:"language- extra-class"},[t("pre",{pre:!0,attrs:{class:"language-text"}},[t("code",[a._v("path/to/iasl.exe path/to/DSDT.aml\n")])])]),t("ul",[t("li",[a._v("If compiled .aml file is provided, a decompiled .dsl file will be given and vice versa.")])]),a._v(" "),t("p",[t("img",{attrs:{src:i(368),alt:""}})]),a._v(" "),t("h2",{attrs:{id:"windows"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#windows"}},[a._v("#")]),a._v(" Windows")]),a._v(" "),t("p",[a._v("Compiling and decompiling on windows is fairly simple though, you will need "),t("a",{attrs:{href:"https://acpica.org/downloads/binary-tools",target:"_blank",rel:"noopener noreferrer"}},[a._v("iasl.exe"),t("OutboundLink")],1),a._v(" and Command Prompt:")]),a._v(" "),t("div",{staticClass:"language- extra-class"},[t("pre",{pre:!0,attrs:{class:"language-text"}},[t("code",[a._v("path/to/iasl.exe path/to/DSDT.aml\n")])])]),t("p",[t("img",{attrs:{src:i(369),alt:""}})]),a._v(" "),t("ul",[t("li",[a._v("If compiled .aml file is provided, a decompiled .dsl file will be given and vice versa.")])]),a._v(" "),t("h2",{attrs:{id:"linux"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#linux"}},[a._v("#")]),a._v(" Linux")]),a._v(" "),t("p",[a._v("Compiling and decompiling with Linux is just as simple, you will need a copy of iasl. You can get it here ("),t("a",{attrs:{href:"http://amdosx.kellynet.nl/iasl.zip",target:"_blank",rel:"noopener noreferrer"}},[a._v("iasl"),t("OutboundLink")],1),a._v(") or through the "),t("code",[a._v("iasl")]),a._v(" package in your package manager. iasl can be used as such:")]),a._v(" "),t("div",{staticClass:"language- extra-class"},[t("pre",{pre:!0,attrs:{class:"language-text"}},[t("code",[a._v("path/to/iasl path/to/DSDT.aml\n")])])]),t("ul",[t("li",[a._v("If compiled .aml file is provided, a decompiled .dsl file will be given and vice versa.")])])])}),[],!1,null,null,null);e.default=l.exports}}]); \ No newline at end of file diff --git a/assets/js/15.0fe52b37.js b/assets/js/15.0fe52b37.js new file mode 100644 index 0000000..247c312 --- /dev/null +++ b/assets/js/15.0fe52b37.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{313:function(e,t,a){e.exports=a.p+"assets/img/nvidia.672e8e16.png"},328:function(e,t,a){e.exports=a.p+"assets/img/amd.acf5492b.png"},440:function(e,t,a){"use strict";a.r(t);var s=a(25),i=Object(s.a)({},(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[s("h1",{attrs:{id:"renaming-gpus-ssdt-gpu-spoof"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#renaming-gpus-ssdt-gpu-spoof"}},[e._v("#")]),e._v(" Renaming GPUs (SSDT-GPU-SPOOF)")]),e._v(" "),s("p",[e._v("So this is mainly needed for GPUs that are not natively supported out of the box due to their names, most commonly:")]),e._v(" "),s("ul",[s("li",[e._v("R9 290/390")]),e._v(" "),s("li",[e._v("R9 280/380")]),e._v(" "),s("li",[e._v("R7 270/370")]),e._v(" "),s("li",[e._v("R9 260/360")]),e._v(" "),s("li",[e._v("R7 250")]),e._v(" "),s("li",[e._v("R7 240")])]),e._v(" "),s("p",[e._v('Instead, these GPUs need to be "spoofed" or faked into a model that closely matches theirs, generally this will be the "X" variant of the card. For some reason Apple never bothered adding the PCI IDs for these other cards even though their GPU cores are supported by the driver.')]),e._v(" "),s("p",[e._v("So to spoof the GPU, we need to find a couple things:")]),e._v(" "),s("ul",[s("li",[e._v("Suitable PCI ID for the GPU")]),e._v(" "),s("li",[e._v("ACPI Path of the GPU")]),e._v(" "),s("li",[s("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/decompiled/SSDT-GPU-SPOOF.dsl.zip",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDT-GPU-SPOOF"),s("OutboundLink")],1)])]),e._v(" "),s("h2",{attrs:{id:"finding-a-suitable-pci-id"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#finding-a-suitable-pci-id"}},[e._v("#")]),e._v(" Finding a suitable PCI ID")]),e._v(" "),s("p",[e._v("To find a suitable PCI ID, we'll be using "),s("a",{attrs:{href:"https://pci-ids.ucw.cz/read/PC/1002",target:"_blank",rel:"noopener noreferrer"}},[e._v("PCI ID Repository"),s("OutboundLink")],1),e._v(" which has a full database of all AMD GPUs. For this example, we'll be creating a Spoof SSDT for the R9 390. For a full list of supported GPUs, please see the "),s("a",{attrs:{href:"https://dortania.github.io/GPU-Buyers-Guide/",target:"_blank",rel:"noopener noreferrer"}},[e._v("GPU Buyers Guide"),s("OutboundLink")],1),e._v(". The closest match to this GPU would be the 390X, and looking on that site near the top gives us this:")]),e._v(" "),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v("Vendor 1002 -> Device 1002:67b0\n")])])]),s("p",[e._v("Now lets break this down into a device ID we can use:")]),e._v(" "),s("ul",[s("li",[s("code",[e._v("1002")]),e._v(": The vendor ID, all AMD devices have this ID")]),e._v(" "),s("li",[s("code",[e._v("67B0")]),e._v(": The device ID, this is what we care about")])]),e._v(" "),s("p",[e._v("So how do we convert this to a fake ID? Well the format of a fake ID:")]),e._v(" "),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v('"device-id",\nBuffer (0x04)\n{\n 0xB0, 0x67, 0x00, 0x00\n},\n')])])]),s("p",[e._v("As you can see, the bytes are swapped in pairs. Keep this in mind when we make our SSDT")]),e._v(" "),s("p",[e._v("The specifics are due to "),s("a",{attrs:{href:"https://en.wikipedia.org/wiki/Endianness",target:"_blank",rel:"noopener noreferrer"}},[e._v("Endianness"),s("OutboundLink")],1),e._v(" for those who are curious")]),e._v(" "),s("h2",{attrs:{id:"finding-the-acpi-path-of-the-gpu"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#finding-the-acpi-path-of-the-gpu"}},[e._v("#")]),e._v(" Finding the ACPI Path of the GPU")]),e._v(" "),s("p",[e._v("To find the PCI path of a GPU is fairly simple, best way to find it is running Windows:")]),e._v(" "),s("ul",[s("li",[e._v("Open Device Manager")]),e._v(" "),s("li",[e._v("Select Display Adapters, then right click your GPU and select Properties")]),e._v(" "),s("li",[e._v('Under the Details Tab, search for "Location Paths"\n'),s("ul",[s("li",[e._v('Note some GPUs may be hiding under "BIOS device name"')])])])]),e._v(" "),s("p",[s("img",{attrs:{src:a(328),alt:""}})]),e._v(" "),s("p",[s("img",{attrs:{src:a(313),alt:"Credit to 1Revenger1 for the image"}})]),e._v(" "),s("p",[e._v('The second "ACPI" is what we care about:')]),e._v(" "),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v("ACPI(_SB_)#ACPI(PC02)#ACPI(BR2A)#ACPI(PEGP)#PCI(0000)#PCI(0000)\n")])])]),s("p",[e._v("Now converting this to an ACPI path is quite simple, remove the "),s("code",[e._v("#ACPI")]),e._v(" and "),s("code",[e._v("#PCI(0000)")]),e._v(":")]),e._v(" "),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v("`_SB_.PC02.BR2A.PEGP\n")])])]),s("p",[e._v("And voila! We've found our ACPI path, now that we have everything we're ready to get cooking")]),e._v(" "),s("h2",{attrs:{id:"making-the-ssdt"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#making-the-ssdt"}},[e._v("#")]),e._v(" Making the SSDT")]),e._v(" "),s("p",[e._v("To start grab our "),s("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/decompiled/SSDT-GPU-SPOOF.dsl.zip",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDT-GPU-SPOOF"),s("OutboundLink")],1),e._v(" and open it up. Here there's a couple things to change:")]),e._v(" "),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v("External (_SB_.PCI0, DeviceObj)\nExternal (_SB_.PCI0.PEG0.PEGP, DeviceObj)\n")])])]),s("p",[e._v("For our example, we'll change all mentions of :")]),e._v(" "),s("ul",[s("li",[s("code",[e._v("PCI0")]),e._v(" with "),s("code",[e._v("PC02")])]),e._v(" "),s("li",[s("code",[e._v("PEG0")]),e._v(" with "),s("code",[e._v("BR2A")])])]),e._v(" "),s("p",[e._v("Hint: If your ACPI path is a bit shorter than the example, this is fine. Just make sure the ACPI paths are correct to your device.")]),e._v(" "),s("p",[e._v("Now that the ACPI pathing is correct, we can finally apply our fake ID!!!")]),e._v(" "),s("p",[e._v("So the 2 parts we want to change:")]),e._v(" "),s("p",[s("strong",[e._v("device ID")]),e._v(":")]),e._v(" "),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v('"device-id",\nBuffer (0x04)\n{\n 0xB0, 0x67, 0x00, 0x00\n},\n')])])]),s("p",[s("strong",[e._v("Model")]),e._v(":")]),e._v(" "),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v('"model",\nBuffer ()\n{\n "AMD Radeon R9 390"\n}\n')])])]),s("p",[s("code",[e._v('"device-id"')]),e._v(' will be set to our PCI ID that we found in "Finding a suitable PCI ID" and '),s("code",[e._v('"model"')]),e._v(" is mainly cosmetic")]),e._v(" "),s("h2",{attrs:{id:"now-you-re-ready-to-compile-the-ssdt"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#now-you-re-ready-to-compile-the-ssdt"}},[e._v("#")]),e._v(" "),s("RouterLink",{attrs:{to:"/Manual/compile.html"}},[e._v("Now you're ready to compile the SSDT!")])],1)])}),[],!1,null,null,null);t.default=i.exports}}]); \ No newline at end of file diff --git a/assets/js/16.93d5f9da.js b/assets/js/16.93d5f9da.js new file mode 100644 index 0000000..d3a3b4b --- /dev/null +++ b/assets/js/16.93d5f9da.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{313:function(e,t,a){e.exports=a.p+"assets/img/nvidia.672e8e16.png"},411:function(e,t,a){"use strict";a.r(t);var s=a(25),o=Object(s.a)({},(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[s("h1",{attrs:{id:"disabling-laptop-dgpus-ssdt-dgpu-off-nohybgfx"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#disabling-laptop-dgpus-ssdt-dgpu-off-nohybgfx"}},[e._v("#")]),e._v(" Disabling laptop dGPUs (SSDT-dGPU-Off/NoHybGfx)")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#what-this-ssdt-does"}},[e._v("What this SSDT does")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#methods-to-make-this-ssdt"}},[e._v("Methods to make this SSDT")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#prebuilts"}},[e._v("Prebuilt")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#ssdttime"}},[e._v("SSDTTime")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#manual"}},[e._v("Manual")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#finding-the-acpi-path"}},[e._v("Finding the ACPI path")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#edits-to-the-sample-ssdt"}},[e._v("Edits to the sample SSDT")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#compiling-the-ssdt"}},[e._v("Compiling the SSDT")])])])])])])]),e._v(" "),s("p",[e._v("So with laptops, we can hide the dGPU from macOS with the little boot-arg called "),s("code",[e._v("-wegnoegpu")]),e._v(" from WhateverGreen. But one small problem, the dGPU is still pulling power draining your battery slowly. We'll be going over 2 methods for disabling the dGPU in a laptop:")]),e._v(" "),s("ul",[s("li",[s("RouterLink",{attrs:{to:"/Laptops/laptop-disable.html#optimus-method"}},[e._v("Optimus Method")])],1),e._v(" "),s("li",[s("RouterLink",{attrs:{to:"/Laptops/laptop-disable.html#bumblebee-method"}},[e._v("Bumblebee Method")])],1)]),e._v(" "),s("p",[e._v("Note that this is not needed for install, but recommended for post-install")]),e._v(" "),s("h2",{attrs:{id:"optimus-method"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#optimus-method"}},[e._v("#")]),e._v(" Optimus Method")]),e._v(" "),s("p",[e._v("How this works is that we call the "),s("code",[e._v(".off")]),e._v(" method found on Optimus GPUs, this is the expected way to power off a GPU but some may find their dGPU will power back up later on. Mainly seen in Lenovo's, the Optimus method should work for most users:")]),e._v(" "),s("p",[e._v("To start, grab "),s("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/decompiled/SSDT-dGPU-Off.dsl.zip",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDT-dGPU-Off.dsl"),s("OutboundLink")],1)]),e._v(" "),s("p",[e._v("Next we need to get on Windows, and head to the following:")]),e._v(" "),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v("Device Manager -> Display Adapters -> dGPU -> Properties -> Details > BIOS device name\n")])])]),s("ul",[s("li",[e._v('Note some GPUs may be hiding under "BIOS device name"')])]),e._v(" "),s("p",[e._v("This should provided you with an ACPI path for your dGPU, most commonly:")]),e._v(" "),s("ul",[s("li",[e._v("Nvidia dGPU: "),s("code",[e._v("\\_SB.PCI0.PEG0.PEGP")])]),e._v(" "),s("li",[e._v("AMD dGPU: "),s("code",[e._v("\\_SB.PCI0.PEGP.DGFX")])])]),e._v(" "),s("p",[s("img",{attrs:{src:a(313),alt:"Credit to 1Revenger1 for the image"}})]),e._v(" "),s("p",[e._v("Now with that, we'll need to change the ACPI path in the SSDT. Main sections:")]),e._v(" "),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v("External(_SB.PCI0.PEG0.PEGP._OFF, MethodObj)\n")])])]),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v("If (CondRefOf(\\_SB.PCI0.PEG0.PEGP._OFF)) { \\_SB.PCI0.PEG0.PEGP._OFF() }\n")])])]),s("p",[e._v("Once adapted to your config, head to the compile section")]),e._v(" "),s("ul",[s("li",[e._v("For those with sleep issues, you can refer to the original "),s("a",{attrs:{href:"https://www.tonymacx86.com/threads/guide-disabling-discrete-graphics-in-dual-gpu-laptops.163772/",target:"_blank",rel:"noopener noreferrer"}},[e._v("Rehabman thread"),s("OutboundLink")],1)])]),e._v(" "),s("h2",{attrs:{id:"bumblebee-method"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#bumblebee-method"}},[e._v("#")]),e._v(" Bumblebee Method")]),e._v(" "),s("p",[e._v("With some machines, the simple "),s("code",[e._v(".off")]),e._v(" call won't keep the card off properly, that's where the Bumblebee method comes in. This SSDT will actually send the dGPU into D3 state being the lowest power state a device can support. Credit to Mameo for the original adaptation.")]),e._v(" "),s("p",[e._v("To start, grab "),s("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/decompiled/SSDT-NoHybGfx.dsl.zip",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDT-NoHybGfx.dsl"),s("OutboundLink")],1)]),e._v(" "),s("p",[e._v("Next we need to get on Windows, and head to the following:")]),e._v(" "),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v("Device Manager -> Display Adapters -> dGPU -> Properties -> Details > BIOS device name\n")])])]),s("p",[e._v("This should provided you with an ACPI path for your dGPU, most commonly:")]),e._v(" "),s("ul",[s("li",[e._v("Nvidia dGPU: "),s("code",[e._v("\\_SB.PCI0.PEG0.PEGP")])]),e._v(" "),s("li",[e._v("AMD dGPU: "),s("code",[e._v("\\_SB.PCI0.PEGP.DGFX")])])]),e._v(" "),s("p",[e._v("Now with that, we'll need to change the ACPI path in the SSDT. Main sections:")]),e._v(" "),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v("External (_SB_.PCI0.PEG0.PEGP._DSM, MethodObj) // dGPU ACPI Path\nExternal (_SB_.PCI0.PEG0.PEGP._PS3, MethodObj) // dGPU ACPI Path\n")])])]),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v("If ((CondRefOf (\\_SB.PCI0.PEG0.PEGP._DSM) && CondRefOf (\\_SB.PCI0.PEG0.PEGP._PS3)))\n")])])]),s("div",{staticClass:"language-text extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v(' // Card Off Request\n \\_SB.PCI0.PEG0.PEGP._DSM (ToUUID ("a486d8f8-0bda-471b-a72b-6042a6b5bee0"), 0x0100, 0x1A, Buffer (0x04)\n')])])]),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v(" // Card Off\n\\_SB.PCI0.PEG0.PEGP._PS3 ()\n")])])]),s("p",[e._v("Once adapted to your config, head to the compile section")]),e._v(" "),s("h2",{attrs:{id:"now-you-re-ready-to-compile-the-ssdt"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#now-you-re-ready-to-compile-the-ssdt"}},[e._v("#")]),e._v(" "),s("RouterLink",{attrs:{to:"/Manual/compile.html"}},[e._v("Now you're ready to compile the SSDT!")])],1)])}),[],!1,null,null,null);t.default=o.exports}}]); \ No newline at end of file diff --git a/assets/js/17.cf39e23d.js b/assets/js/17.cf39e23d.js new file mode 100644 index 0000000..1edc3fc --- /dev/null +++ b/assets/js/17.cf39e23d.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{370:function(e,t,o){e.exports=o.p+"assets/img/sysreport.8d1d1d0e.png"},417:function(e,t,o){"use strict";o.r(t);var r=o(25),a=Object(r.a)({},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[r("h1",{attrs:{id:"getting-a-copy-of-our-dsdt"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#getting-a-copy-of-our-dsdt"}},[e._v("#")]),e._v(" Getting a copy of our DSDT")]),e._v(" "),r("p",[e._v("So to start, we'll need to get a copy of your DSDT from your firmware. The easiest way is grabbing the DSDT.aml SSDTTime dumped for us earlier but here are some other options:")]),e._v(" "),r("h2",{attrs:{id:"from-windows"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#from-windows"}},[e._v("#")]),e._v(" From Windows")]),e._v(" "),r("ul",[r("li",[r("p",[r("a",{attrs:{href:"https://github.com/corpnewt/SSDTTime",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDTTime"),r("OutboundLink")],1)]),e._v(" "),r("ul",[r("li",[e._v("Supports both Windows and Linux for DSDT dumping")]),e._v(" "),r("li",[r("code",[e._v("4. Dump DSDT - Automatically dump the system DSDT")])])])]),e._v(" "),r("li",[r("p",[r("a",{attrs:{href:"https://acpica.org/downloads/binary-tools",target:"_blank",rel:"noopener noreferrer"}},[e._v("acpidump.exe"),r("OutboundLink")],1)]),e._v(" "),r("ul",[r("li",[e._v("In command prompt run "),r("code",[e._v("path/to/acpidump.exe -b -n DSDT -z")]),e._v(", this will dump your DSDT as a .dat file. Rename this to DSDT.aml")])])]),e._v(" "),r("li",[r("p",[e._v("Do note that all ACPI patches from clover/OpenCore will be applied to the DSDT with the above 2 methods")])])]),e._v(" "),r("h2",{attrs:{id:"from-linux"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#from-linux"}},[e._v("#")]),e._v(" From Linux")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"https://github.com/corpnewt/SSDTTime",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDTTime"),r("OutboundLink")],1),e._v(" "),r("ul",[r("li",[e._v("Supports both Windows and Linux for DSDT dumping")]),e._v(" "),r("li",[r("code",[e._v("4. Dump DSDT - Automatically dump the system DSDT")])])])]),e._v(" "),r("li",[e._v("Do note that all ACPI patches from clover/OpenCore will be applied to the DSDT with the above method")])]),e._v(" "),r("h2",{attrs:{id:"from-clover"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#from-clover"}},[e._v("#")]),e._v(" From Clover")]),e._v(" "),r("p",[e._v("For those with Clover installed previously, this is a simple way to get your ACPI tables:")]),e._v(" "),r("ul",[r("li",[e._v("F4 in Clover Boot menu\n"),r("ul",[r("li",[e._v("DSDT can be found in "),r("code",[e._v("EFI/CLOVER/ACPI/origin")]),e._v(", the folder "),r("strong",[e._v("must")]),e._v(" exist before dumping")])])])]),e._v(" "),r("h2",{attrs:{id:"from-opencore"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#from-opencore"}},[e._v("#")]),e._v(" From OpenCore")]),e._v(" "),r("p",[e._v("With OpenCore, we have 2 options:")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#sysreport-quirk"}},[e._v("SysReport Quirk")])]),e._v(" "),r("li",[r("a",{attrs:{href:"#uefi-shell"}},[e._v("UEFI Shell")])])]),e._v(" "),r("h3",{attrs:{id:"sysreport-quirk"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#sysreport-quirk"}},[e._v("#")]),e._v(" SysReport Quirk")]),e._v(" "),r("p",[e._v("With OpenCore 0.5.9, we have a new quirk called SysReport which will actually dump our DSDT automatically when hitting the boot screen. The main issues are:")]),e._v(" "),r("ul",[r("li",[e._v("You already need a bootable OpenCore USB to get this dump")]),e._v(" "),r("li",[e._v("This also requires a DEBUG version of 0.5.9")])]),e._v(" "),r("p",[e._v("For the latter, you just need to replace the following files with "),r("a",{attrs:{href:"https://github.com/acidanthera/OpenCorePkg/releases",target:"_blank",rel:"noopener noreferrer"}},[e._v("DEBUG version"),r("OutboundLink")],1),e._v(":")]),e._v(" "),r("ul",[r("li",[e._v("EFI/BOOT/\n"),r("ul",[r("li",[r("code",[e._v("BOOTx64.efi")])])])]),e._v(" "),r("li",[e._v("EFI/OC/Bootstrap/\n"),r("ul",[r("li",[r("code",[e._v("Bootstrap.efi")])])])]),e._v(" "),r("li",[e._v("EFI/OC/Drivers/\n"),r("ul",[r("li",[r("code",[e._v("OpenRuntime.efi")])])])]),e._v(" "),r("li",[e._v("EFI/OC/\n"),r("ul",[r("li",[r("code",[e._v("OpenCore.efi")])])])])]),e._v(" "),r("p",[e._v("For the former, you can actually skip the ACPI section, return to the "),r("a",{attrs:{href:"https://dortania.github.io/OpenCore-Install-Guide/",target:"_blank",rel:"noopener noreferrer"}},[e._v("OpenCore guide"),r("OutboundLink")],1),e._v(" and finish making the USB. Once booted to the picker, you can shut off the PC and check your USB:")]),e._v(" "),r("p",[r("img",{attrs:{src:o(370),alt:""}})]),e._v(" "),r("p",[e._v("And voila! You have a DSDT! Now you can continue on with making SSDTs")]),e._v(" "),r("h3",{attrs:{id:"uefi-shell"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#uefi-shell"}},[e._v("#")]),e._v(" UEFI Shell")]),e._v(" "),r("p",[e._v("For this, we'll want ti grab "),r("a",{attrs:{href:"https://github.com/dortania/OpenCore-Install-Guide/tree/master/extra-files/acpidump.efi.zip",target:"_blank",rel:"noopener noreferrer"}},[r("code",[e._v("acpidump.efi")]),r("OutboundLink")],1),e._v(" and add this to "),r("code",[e._v("EFI/OC/Tools")]),e._v(" and in your config under "),r("code",[e._v("Misc -> Tools")]),e._v(" with the argument: "),r("code",[e._v("-b -n DSDT -z")]),e._v(" and select this option in OpenCore's picker.")]),e._v(" "),r("p",[e._v("If OpenCore is having issues running acpidump.efi from the boot picker, you can call it from the shell with "),r("a",{attrs:{href:"https://github.com/acidanthera/OpenCorePkg/releases",target:"_blank",rel:"noopener noreferrer"}},[e._v("OpenShell"),r("OutboundLink")],1),e._v("(reminder to add to both "),r("code",[e._v("EFI/OC/Tools")]),e._v(" and in your config under "),r("code",[e._v("Misc -> Tools")]),e._v(" ):")]),e._v(" "),r("div",{staticClass:"language- extra-class"},[r("pre",{pre:!0,attrs:{class:"language-text"}},[r("code",[e._v("shell> fs0: // replace with proper drive\nfs0:\\> dir // to verify this is the right directory\n Directory of fs0:\\\n 01/01/01 3:30p EFI\nfs0:\\> cd EFI\\OC\\Tools\nfs0:\\EFI\\OC\\Tools> acpidump.efi -b -n DSDT -z\t\t\n")])])]),r("p",[e._v("Once done, you should find your DSDT in the EFI/OC/Tools folder with a "),r("code",[e._v(".dat")]),e._v(" extension. Rename this DSDT.dat file to DSDT.aml to help us down the line")])])}),[],!1,null,null,null);t.default=a.exports}}]); \ No newline at end of file diff --git a/assets/js/18.8f16e3a6.js b/assets/js/18.8f16e3a6.js new file mode 100644 index 0000000..987ca1b --- /dev/null +++ b/assets/js/18.8f16e3a6.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{397:function(e,t,o){e.exports=o.p+"assets/img/ssdttime.54f2ba0d.png"},442:function(e,t,o){"use strict";o.r(t);var r=o(25),i=Object(r.a)({},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[r("h1",{attrs:{id:"ssdts-the-easy-way"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#ssdts-the-easy-way"}},[e._v("#")]),e._v(" SSDTs: The easy way")]),e._v(" "),r("p",[e._v("So here we'll be using a super simple tool made by CorpNewt: "),r("a",{attrs:{href:"https://github.com/corpnewt/SSDTTime",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDTTime"),r("OutboundLink")],1)]),e._v(" "),r("p",[e._v("What this tool does is, it dumps your DSDT from your firmware, and then creates SSDTs based off your DSDT. "),r("strong",[e._v("This must be done on the target machine running either Windows or Linux")])]),e._v(" "),r("h2",{attrs:{id:"so-what-can-t-ssdttime-do"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#so-what-can-t-ssdttime-do"}},[e._v("#")]),e._v(" So what "),r("strong",[e._v("CAN'T")]),e._v(" SSDTTime do")]),e._v(" "),r("ul",[r("li",[r("strong",[e._v("HEDT SSDTs")]),e._v(":\n"),r("ul",[r("li",[e._v("The ACPI is odd on these platforms so manual work is required")]),e._v(" "),r("li",[e._v("This includes X79, X99 and X299 systems")]),e._v(" "),r("li",[e._v("Prebuilt can be found here: "),r("RouterLink",{attrs:{to:"/Universal/ec-fix.html"}},[e._v("Embedded Controller")])],1)])]),e._v(" "),r("li",[r("strong",[e._v("Laptop EC fix")]),e._v(":\n"),r("ul",[r("li",[e._v("This is because you do not want the EC powered off")]),e._v(" "),r("li",[e._v("Prebuilt can be found here: "),r("RouterLink",{attrs:{to:"/Universal/ec-fix.html"}},[e._v("Embedded Controller")])],1)])]),e._v(" "),r("li",[r("strong",[e._v("SSDT-PNLF")]),e._v(":\n"),r("ul",[r("li",[e._v("Need to be configured to your system")])])]),e._v(" "),r("li",[r("strong",[e._v("SSDT-GPI0")]),e._v(":\n"),r("ul",[r("li",[e._v("Need to be configured to your system")])])]),e._v(" "),r("li",[r("strong",[e._v("AWAC and RTC0 SSDTs")]),e._v(":\n"),r("ul",[r("li",[e._v("300 series Intel boards will also need to figure this out (Z390 systems are most common for requiring this but some Gigabyte Z370 do as well)")])])]),e._v(" "),r("li",[r("strong",[e._v("PMC SSDT")]),e._v(":\n"),r("ul",[r("li",[e._v("For fixing 300 series Intel NVRAM")]),e._v(" "),r("li",[e._v("Prebuilt can be found here: "),r("RouterLink",{attrs:{to:"/Universal/nvram.html"}},[e._v("NVRAM PMC")])],1)])]),e._v(" "),r("li",[r("strong",[e._v("USBX SSDT")]),e._v(":\n"),r("ul",[r("li",[e._v("This is included on sample SSDTs but SSDTTime only makes the SSDT-EC part, Skylake and newer users can grab a pre-built here: "),r("a",{attrs:{href:"https://github.com/dortania/USB-Map-Guide/blob/master/extra-files/SSDT-USBX.aml",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDT-USBX.aml"),r("OutboundLink")],1)])])]),e._v(" "),r("li",[r("strong",[e._v("RHUB SSDT")]),e._v(":\n"),r("ul",[r("li",[e._v("if you have a 10th gen CPU, you'll need to either use the prebuilt or manually create it.")])])])]),e._v(" "),r("p",[e._v('For users who don\'t have all the options available to them in SSDTTime, you can follow the "SSDTs: The long way" section. You can still use SSDTTime for SSDTs it does support.')]),e._v(" "),r("h2",{attrs:{id:"running-ssdttime"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#running-ssdttime"}},[e._v("#")]),e._v(" Running SSDTTime")]),e._v(" "),r("p",[e._v("Run the "),r("code",[e._v("SSDTTime.bat")]),e._v(" file as Admin on the target machine and you should see something like this:")]),e._v(" "),r("p",[r("img",{attrs:{src:o(397),alt:""}})]),e._v(" "),r("p",[e._v("What are all these options?:")]),e._v(" "),r("ul",[r("li",[r("code",[e._v("1. FixHPET - Patch out IRQ Conflicts")]),e._v(" "),r("ul",[r("li",[e._v("IRQ patching, mainly needed for X79, X99 and laptop users(use option "),r("code",[e._v("C")]),e._v(" to omit conflicting legacy IRQs)")])])]),e._v(" "),r("li",[r("code",[e._v("2. FakeEC - OS-aware Fake EC")]),e._v(" "),r("ul",[r("li",[e._v("This is the SSDT-EC, required for Catalina users")])])]),e._v(" "),r("li",[r("code",[e._v("3. PluginType - Sets plugin-type = 1 on CPU0/PR00")]),e._v(" "),r("ul",[r("li",[e._v("This is the SSDT-PLUG, for Intel only")])])]),e._v(" "),r("li",[r("code",[e._v("4. Dump DSDT - Automatically dump the system DSDT")]),e._v(" "),r("ul",[r("li",[e._v("Dumps your DSDT from your firmware")])])])]),e._v(" "),r("p",[e._v("What we want to do is select option "),r("code",[e._v("4. Dump DSDT")]),e._v(" first, then select the appropriate option(s) for your system.")]),e._v(" "),r("blockquote",[r("p",[e._v("What about USBX?")])]),e._v(" "),r("p",[e._v("For Skylake and newer plus AMD, you can grab a pre-built file here: "),r("a",{attrs:{href:"https://github.com/dortania/USB-Map-Guide/blob/master/extra-files/SSDT-USBX.aml",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDT-USBX.aml"),r("OutboundLink")],1),e._v(". This file is plug and play and requires no device configuration, "),r("strong",[e._v("do not use on Broadwell and older")]),e._v(".")]),e._v(" "),r("p",[r("strong",[e._v("Troubleshooting note")]),e._v(": See "),r("a",{attrs:{href:"https://dortania.github.io/OpenCore-Install-Guide/troubleshooting/troubleshooting.html",target:"_blank",rel:"noopener noreferrer"}},[e._v("General Troubleshooting"),r("OutboundLink")],1),e._v(" if you're having issues running SSDTTime")]),e._v(" "),r("h2",{attrs:{id:"adding-to-opencore"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#adding-to-opencore"}},[e._v("#")]),e._v(" Adding to OpenCore")]),e._v(" "),r("p",[e._v("Don't forget that SSDTs need to be added to Opencore, reminder that .aml is complied, .dsl is code. "),r("strong",[e._v("Add only the .aml file")]),e._v(":")]),e._v(" "),r("ul",[r("li",[e._v("EFI/OC/ACPI")]),e._v(" "),r("li",[e._v("config.plist -> ACPI -> Add")])]),e._v(" "),r("p",[e._v("Reminder that Cmd/Crtl+R with ProperTree pointed at your OC folder will add all your SSDTs, kexts and .efi drivers to the config for you. "),r("strong",[e._v("Do not add your DSDT to OpenCore, its already in your firmware")]),e._v(". If you are unsure what this is referring to, go back to the OpenCore guide and select your config based of the architecture of your CPU.")]),e._v(" "),r("p",[e._v("For those who do not yet have a config.plist, you'll want to next head back to your respective OpenCore guides and create the config.plist:")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"https://dortania.github.io/OpenCore-Install-Guide/",target:"_blank",rel:"noopener noreferrer"}},[e._v("OpenCore Install guide"),r("OutboundLink")],1)])]),e._v(" "),r("p",[e._v("Users of "),r("code",[e._v("FixHPET")]),e._v(" will also need to merge oc_patches.plist into their config.plist")]),e._v(" "),r("p",[e._v("Steps to do this:")]),e._v(" "),r("ul",[r("li",[e._v("Open both files,")]),e._v(" "),r("li",[e._v("Delete the "),r("code",[e._v("ACPI -> Patch")]),e._v(" section from config.plist")]),e._v(" "),r("li",[e._v("Copy the "),r("code",[e._v("ACPI -> Patch")]),e._v(" section from patches.plist")]),e._v(" "),r("li",[e._v("Paste into where old patches were in config.plist")])])])}),[],!1,null,null,null);t.default=i.exports}}]); \ No newline at end of file diff --git a/assets/js/19.48e1648f.js b/assets/js/19.48e1648f.js new file mode 100644 index 0000000..8010819 --- /dev/null +++ b/assets/js/19.48e1648f.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{403:function(t,s,n){"use strict";n.r(s);var e={data:function(){return{msg:"Hello this is "}}},i=n(25),a=Object(i.a)(e,(function(){var t=this.$createElement;return(this._self._c||t)("p",{staticClass:"demo"},[this._v("\n "+this._s(this.msg)+"\n")])}),[],!1,null,null,null);s.default=a.exports}}]); \ No newline at end of file diff --git a/assets/js/2.83c34eea.js b/assets/js/2.83c34eea.js new file mode 100644 index 0000000..2e9c778 --- /dev/null +++ b/assets/js/2.83c34eea.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{312:function(t,e,n){"use strict";n.d(e,"d",(function(){return i})),n.d(e,"a",(function(){return a})),n.d(e,"i",(function(){return s})),n.d(e,"f",(function(){return u})),n.d(e,"g",(function(){return l})),n.d(e,"h",(function(){return c})),n.d(e,"b",(function(){return h})),n.d(e,"e",(function(){return f})),n.d(e,"k",(function(){return p})),n.d(e,"l",(function(){return d})),n.d(e,"c",(function(){return v})),n.d(e,"j",(function(){return m}));n(26),n(103),n(169),n(98),n(174),n(68),n(44),n(314),n(69),n(333),n(106);var i=/#.*$/,r=/\.(md|html)$/,a=/\/$/,s=/^[a-z]+:/i;function o(t){return decodeURI(t).replace(i,"").replace(r,"")}function u(t){return s.test(t)}function l(t){return/^mailto:/.test(t)}function c(t){return/^tel:/.test(t)}function h(t){if(u(t))return t;var e=t.match(i),n=e?e[0]:"",r=o(t);return a.test(r)?t:r+".html"+n}function f(t,e){var n=decodeURIComponent(t.hash),r=function(t){var e=t.match(i);if(e)return e[0]}(e);return(!r||n===r)&&o(t.path)===o(e)}function p(t,e,n){if(u(e))return{type:"external",path:e};n&&(e=function(t,e,n){var i=t.charAt(0);if("/"===i)return t;if("?"===i||"#"===i)return e+t;var r=e.split("/");n&&r[r.length-1]||r.pop();for(var a=t.replace(/^\//,"").split("/"),s=0;s3&&void 0!==arguments[3]?arguments[3]:1;if("string"==typeof e)return p(n,e,i);if(Array.isArray(e))return Object.assign(p(n,e[0],i),{title:e[1]});var a=e.children||[];return 0===a.length&&e.path?Object.assign(p(n,e.path,i),{title:e.title}):{type:"group",path:e.path,title:e.title,sidebarDepth:e.sidebarDepth,children:a.map((function(e){return t(e,n,i,r+1)})),collapsable:!1!==e.collapsable}}(t,r,l)})):[]}return[]}function g(t){var e=v(t.headers||[]);return[{type:"group",collapsable:!1,title:t.title,path:null,children:e.map((function(e){return{type:"auto",title:e.title,basePath:t.path,path:t.path+"#"+e.slug,children:e.children||[]}}))}]}function v(t){var e;return(t=t.map((function(t){return Object.assign({},t)}))).forEach((function(t){2===t.level?e=t:e&&(e.children||(e.children=[])).push(t)})),t.filter((function(t){return 2===t.level}))}function m(t){return Object.assign(t,{type:t.items&&t.items.length?"links":"link"})}},314:function(t,e,n){"use strict";var i=n(171),r=n(7),a=n(13),s=n(20),o=n(172),u=n(173);i("match",1,(function(t,e,n){return[function(e){var n=s(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,n):new RegExp(e)[t](String(n))},function(t){var i=n(e,t,this);if(i.done)return i.value;var s=r(t),l=String(this);if(!s.global)return u(s,l);var c=s.unicode;s.lastIndex=0;for(var h,f=[],p=0;null!==(h=u(s,l));){var d=String(h[0]);f[p]=d,""===d&&(s.lastIndex=o(l,a(s.lastIndex),c)),p++}return 0===p?null:f}]}))},315:function(t,e,n){},316:function(t,e,n){},317:function(t,e,n){},318:function(t,e,n){},319:function(t,e,n){},320:function(t,e,n){},321:function(t,e,n){},322:function(t,e,n){},323:function(t,e,n){},324:function(t,e,n){},325:function(t,e,n){},326:function(t,e,n){},327:function(t,e,n){},333:function(t,e,n){"use strict";var i=n(171),r=n(170),a=n(7),s=n(20),o=n(101),u=n(172),l=n(13),c=n(173),h=n(71),f=n(1),p=[].push,d=Math.min,g=!f((function(){return!RegExp(4294967295,"y")}));i("split",2,(function(t,e,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var i=String(s(this)),a=void 0===n?4294967295:n>>>0;if(0===a)return[];if(void 0===t)return[i];if(!r(t))return e.call(i,t,a);for(var o,u,l,c=[],f=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,g=new RegExp(t.source,f+"g");(o=h.call(g,i))&&!((u=g.lastIndex)>d&&(c.push(i.slice(d,o.index)),o.length>1&&o.index=a));)g.lastIndex===o.index&&g.lastIndex++;return d===i.length?!l&&g.test("")||c.push(""):c.push(i.slice(d)),c.length>a?c.slice(0,a):c}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var r=s(this),a=null==e?void 0:e[t];return void 0!==a?a.call(e,r,n):i.call(String(r),e,n)},function(t,r){var s=n(i,t,this,r,i!==e);if(s.done)return s.value;var h=a(t),f=String(this),p=o(h,RegExp),v=h.unicode,m=(h.ignoreCase?"i":"")+(h.multiline?"m":"")+(h.unicode?"u":"")+(g?"y":"g"),b=new p(g?h:"^(?:"+h.source+")",m),k=void 0===r?4294967295:r>>>0;if(0===k)return[];if(0===f.length)return null===c(b,f)?[f]:[];for(var _=0,x=0,C=[];x-1)&&(e=e.replace(/y/g,""));var o=s(x?new m(t,e):m(t,e),i?this:b,$);return C&&n&&d(o,{sticky:n}),o},y=function(t){t in $||o($,t,{configurable:!0,get:function(){return m[t]},set:function(e){m[t]=e}})},L=u(m),w=0;L.length>w;)y(L[w++]);b.constructor=$,$.prototype=b,f(r,"RegExp",$)}g("RegExp")},336:function(t,e){t.exports=function(t){return null==t}},337:function(t,e,n){"use strict";n.r(e);n(168);var i=n(312),r={name:"SidebarGroup",components:{DropdownTransition:n(338).a},props:["item","open","collapsable","depth"],beforeCreate:function(){this.$options.components.SidebarLinks=n(337).default},methods:{isActive:i.e}},a=(n(357),n(25)),s=Object(a.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"sidebar-group",class:[{collapsable:t.collapsable,"is-sub-group":0!==t.depth},"depth-"+t.depth]},[t.item.path?n("RouterLink",{staticClass:"sidebar-heading clickable",class:{open:t.open,active:t.isActive(t.$route,t.item.path)},attrs:{to:t.item.path},nativeOn:{click:function(e){return t.$emit("toggle")}}},[n("span",[t._v(t._s(t.item.title))]),t._v(" "),t.collapsable?n("span",{staticClass:"arrow",class:t.open?"down":"right"}):t._e()]):n("p",{staticClass:"sidebar-heading",class:{open:t.open},on:{click:function(e){return t.$emit("toggle")}}},[n("span",[t._v(t._s(t.item.title))]),t._v(" "),t.collapsable?n("span",{staticClass:"arrow",class:t.open?"down":"right"}):t._e()]),t._v(" "),n("DropdownTransition",[t.open||!t.collapsable?n("SidebarLinks",{staticClass:"sidebar-group-items",attrs:{items:t.item.children,"sidebar-depth":t.item.sidebarDepth,depth:t.depth+1}}):t._e()],1)],1)}),[],!1,null,null,null).exports;n(358),n(68);function o(t,e,n,i,r){var a={props:{to:e,activeClass:"",exactActiveClass:""},class:{active:i,"sidebar-link":!0}};return r>2&&(a.style={"padding-left":r+"rem"}),t("RouterLink",a,n)}function u(t,e,n,r,a){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1;return!e||s>a?null:t("ul",{class:"sidebar-sub-headers"},e.map((function(e){var l=Object(i.e)(r,n+"#"+e.slug);return t("li",{class:"sidebar-sub-header"},[o(t,n+"#"+e.slug,e.title,l,e.level-1),u(t,e.children,n,r,a,s+1)])})))}var l={functional:!0,props:["item","sidebarDepth"],render:function(t,e){var n=e.parent,r=n.$page,a=(n.$site,n.$route),s=n.$themeConfig,l=n.$themeLocaleConfig,c=e.props,h=c.item,f=c.sidebarDepth,p=Object(i.e)(a,h.path),d="auto"===h.type?p||h.children.some((function(t){return Object(i.e)(a,h.basePath+"#"+t.slug)})):p,g="external"===h.type?function(t,e,n){return t("a",{attrs:{href:e,target:"_blank",rel:"noopener noreferrer"},class:{"sidebar-link":!0}},[n,t("OutboundLink")])}(t,h.path,h.title||h.path):o(t,h.path,h.title||h.path,d),v=[r.frontmatter.sidebarDepth,f,l.sidebarDepth,s.sidebarDepth,1].find((function(t){return void 0!==t})),m=l.displayAllHeaders||s.displayAllHeaders;return"auto"===h.type?[g,u(t,h.children,h.basePath,a,v)]:(d||m)&&h.headers&&!i.d.test(h.path)?[g,u(t,Object(i.c)(h.headers),h.path,a,v)]:g}};n(359);function c(t,e){return"group"===e.type&&e.children.some((function(e){return"group"===e.type?c(t,e):"page"===e.type&&Object(i.e)(t,e.path)}))}var h={name:"SidebarLinks",components:{SidebarGroup:s,SidebarLink:Object(a.a)(l,void 0,void 0,!1,null,null,null).exports},props:["items","depth","sidebarDepth"],data:function(){return{openGroupIndex:0}},watch:{$route:function(){this.refreshIndex()}},created:function(){this.refreshIndex()},methods:{refreshIndex:function(){var t=function(t,e){for(var n=0;n-1&&(this.openGroupIndex=t)},toggleGroup:function(t){this.openGroupIndex=t===this.openGroupIndex?-1:t},isActive:function(t){return Object(i.e)(this.$route,t.regularPath)}}},f=Object(a.a)(h,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.items.length?n("ul",{staticClass:"sidebar-links"},t._l(t.items,(function(e,i){return n("li",{key:i},["group"===e.type?n("SidebarGroup",{attrs:{item:e,open:i===t.openGroupIndex,collapsable:e.collapsable||e.collapsible,depth:t.depth},on:{toggle:function(e){return t.toggleGroup(i)}}}):n("SidebarLink",{attrs:{"sidebar-depth":t.sidebarDepth,item:e}})],1)})),0):t._e()}),[],!1,null,null,null);e.default=f.exports},338:function(t,e,n){"use strict";var i={name:"DropdownTransition",methods:{setHeight:function(t){t.style.height=t.scrollHeight+"px"},unsetHeight:function(t){t.style.height=""}}},r=(n(349),n(25)),a=Object(r.a)(i,(function(){var t=this.$createElement;return(this._self._c||t)("transition",{attrs:{name:"dropdown"},on:{enter:this.setHeight,"after-enter":this.unsetHeight,"before-leave":this.setHeight}},[this._t("default")],2)}),[],!1,null,null,null);e.a=a.exports},339:function(t,e,n){"use strict";var i=n(0),r=n(340);i({target:"String",proto:!0,forced:n(341)("link")},{link:function(t){return r(this,"a","href",t)}})},340:function(t,e,n){var i=n(20),r=/"/g;t.exports=function(t,e,n,a){var s=String(i(t)),o="<"+e;return""!==n&&(o+=" "+n+'="'+String(a).replace(r,""")+'"'),o+">"+s+""}},341:function(t,e,n){var i=n(1);t.exports=function(t){return i((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},342:function(t,e,n){"use strict";var i=n(315);n.n(i).a},343:function(t,e,n){var i=n(0),r=n(344);i({global:!0,forced:parseInt!=r},{parseInt:r})},344:function(t,e,n){var i=n(2),r=n(175).trim,a=n(176),s=i.parseInt,o=/^[+-]?0[Xx]/,u=8!==s(a+"08")||22!==s(a+"0x16");t.exports=u?function(t,e){var n=r(String(t));return s(n,e>>>0||(o.test(n)?16:10))}:s},345:function(t,e,n){var i=n(1),r=n(176);t.exports=function(t){return i((function(){return!!r[t]()||"​…᠎"!="​…᠎"[t]()||r[t].name!==t}))}},346:function(t,e,n){"use strict";var i,r=n(0),a=n(22).f,s=n(13),o=n(104),u=n(20),l=n(105),c=n(21),h="".endsWith,f=Math.min,p=l("endsWith");r({target:"String",proto:!0,forced:!!(c||p||(i=a(String.prototype,"endsWith"),!i||i.writable))&&!p},{endsWith:function(t){var e=String(u(this));o(t);var n=arguments.length>1?arguments[1]:void 0,i=s(e.length),r=void 0===n?i:f(s(n),i),a=String(t);return h?h.call(e,a,r):e.slice(r-a.length,r)===a}})},347:function(t,e,n){"use strict";var i=n(316);n.n(i).a},348:function(t,e,n){"use strict";var i=n(317);n.n(i).a},349:function(t,e,n){"use strict";var i=n(318);n.n(i).a},350:function(t,e,n){"use strict";var i=n(319);n.n(i).a},351:function(t,e,n){"use strict";var i=n(320);n.n(i).a},352:function(t,e,n){"use strict";var i=n(321);n.n(i).a},353:function(t,e,n){"use strict";var i=n(322);n.n(i).a},354:function(t,e,n){var i=n(32),r=n(14),a=n(27);t.exports=function(t){return"string"==typeof t||!r(t)&&a(t)&&"[object String]"==i(t)}},355:function(t,e,n){"use strict";var i=n(323);n.n(i).a},356:function(t,e,n){"use strict";var i=n(324);n.n(i).a},357:function(t,e,n){"use strict";var i=n(325);n.n(i).a},358:function(t,e,n){"use strict";var i=n(0),r=n(31).find,a=n(100),s=n(18),o=!0,u=s("find");"find"in[]&&Array(1).find((function(){o=!1})),i({target:"Array",proto:!0,forced:o||!u},{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),a("find")},359:function(t,e,n){"use strict";var i=n(326);n.n(i).a},360:function(t,e,n){"use strict";var i=n(327);n.n(i).a},400:function(t,e,n){"use strict";n.r(e);n(168),n(97),n(339);var i=n(312),r={name:"NavLink",props:{item:{required:!0}},computed:{link:function(){return Object(i.b)(this.item.link)},exact:function(){var t=this;return this.$site.locales?Object.keys(this.$site.locales).some((function(e){return e===t.link})):"/"===this.link},isNonHttpURI:function(){return Object(i.g)(this.link)||Object(i.h)(this.link)},isBlankTarget:function(){return"_blank"===this.target},isInternal:function(){return!Object(i.f)(this.link)&&!this.isBlankTarget},target:function(){return this.isNonHttpURI?null:this.item.target?this.item.target:Object(i.f)(this.link)?"_blank":""},rel:function(){return this.isNonHttpURI?null:this.item.rel?this.item.rel:this.isBlankTarget?"noopener noreferrer":""}},methods:{focusoutAction:function(){this.$emit("focusout")}}},a=n(25),s=Object(a.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isInternal?n("RouterLink",{staticClass:"nav-link",attrs:{to:t.link,exact:t.exact},nativeOn:{focusout:function(e){return t.focusoutAction(e)}}},[t._v("\n "+t._s(t.item.text)+"\n")]):n("a",{staticClass:"nav-link external",attrs:{href:t.link,target:t.target,rel:t.rel},on:{focusout:t.focusoutAction}},[t._v("\n "+t._s(t.item.text)+"\n "),t.isBlankTarget?n("OutboundLink"):t._e()],1)}),[],!1,null,null,null).exports,o={name:"Home",components:{NavLink:s},computed:{data:function(){return this.$page.frontmatter},actionLink:function(){return{link:this.data.actionLink,text:this.data.actionText}}}},u=(n(342),Object(a.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("main",{staticClass:"home",attrs:{"aria-labelledby":"main-title"}},[n("header",{staticClass:"hero"},[t.data.heroImage?n("img",{attrs:{src:t.$withBase(t.data.heroImage),alt:t.data.heroAlt||"hero"}}):t._e(),t._v(" "),null!==t.data.heroText?n("h1",{attrs:{id:"main-title"}},[t._v("\n "+t._s(t.data.heroText||t.$title||"Hello")+"\n ")]):t._e(),t._v(" "),null!==t.data.tagline?n("p",{staticClass:"description"},[t._v("\n "+t._s(t.data.tagline||t.$description||"Welcome to your VuePress site")+"\n ")]):t._e(),t._v(" "),t.data.actionText&&t.data.actionLink?n("p",{staticClass:"action"},[n("NavLink",{staticClass:"action-button",attrs:{item:t.actionLink}})],1):t._e()]),t._v(" "),t.data.features&&t.data.features.length?n("div",{staticClass:"features"},t._l(t.data.features,(function(e,i){return n("div",{key:i,staticClass:"feature"},[n("h2",[t._v(t._s(e.title))]),t._v(" "),n("p",[t._v(t._s(e.details))])])})),0):t._e(),t._v(" "),n("Content",{staticClass:"theme-succinct-content custom"}),t._v(" "),t.data.footer?n("div",{staticClass:"footer"},[t._v("\n "+t._s(t.data.footer)+"\n ")]):t._e()],1)}),[],!1,null,null,null).exports),l=(n(343),n(26),n(178),n(169),n(98),n(44),n(180),n(314),n(334),n(174),n(68),n(335),n(99),n(346),n(69),n(333),n(182)),c=n.n(l),h=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=c()(e,"title","");return c()(e,"frontmatter.tags")&&(i+=" ".concat(e.frontmatter.tags.join(" "))),n&&(i+=" ".concat(n)),f(t,i)},f=function(t,e){var n=function(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")},i=new RegExp("[^\0-]"),r=t.split(/\s+/g).map((function(t){return t.trim()})).filter((function(t){return!!t}));if(i.test(t))return r.some((function(t){return e.toLowerCase().indexOf(t)>-1}));var a=t.endsWith(" ");return new RegExp(r.map((function(t,e){return r.length!==e+1||a?"(?=.*\\b".concat(n(t),"\\b)"):"(?=.*\\b".concat(n(t),")")})).join("")+".+","gi").test(e)},p={name:"SearchBox",data:function(){return{query:"",focused:!1,focusIndex:0,placeholder:void 0}},computed:{showSuggestions:function(){return this.focused&&this.suggestions&&this.suggestions.length},suggestions:function(){var t=this.query.trim().toLowerCase();if(t){for(var e=this.$site.pages,n=this.$site.themeConfig.searchMaxSuggestions||5,i=this.$localePath,r=[],a=0;a=n);a++){var s=e[a];if(this.getPageLocalePath(s)===i&&this.isSearchable(s))if(h(t,s))r.push(s);else if(s.headers)for(var o=0;o=n);o++){var u=s.headers[o];u.title&&h(t,s,u.title)&&r.push(Object.assign({},s,{path:s.path+"#"+u.slug,header:u}))}}return r}},alignRight:function(){return(this.$site.themeConfig.nav||[]).length+(this.$site.repo?1:0)<=2}},mounted:function(){this.placeholder=this.$site.themeConfig.searchPlaceholder||"",document.addEventListener("keydown",this.onHotkey)},beforeDestroy:function(){document.removeEventListener("keydown",this.onHotkey)},methods:{getPageLocalePath:function(t){for(var e in this.$site.locales||{})if("/"!==e&&0===t.path.indexOf(e))return e;return"/"},isSearchable:function(t){var e=null;return null===e||(e=Array.isArray(e)?e:new Array(e)).filter((function(e){return t.path.match(e)})).length>0},onHotkey:function(t){t.srcElement===document.body&&["s","/"].includes(t.key)&&(this.$refs.input.focus(),t.preventDefault())},onUp:function(){this.showSuggestions&&(this.focusIndex>0?this.focusIndex--:this.focusIndex=this.suggestions.length-1)},onDown:function(){this.showSuggestions&&(this.focusIndex "+t._s(e.header.title))]):t._e()])])})),0):t._e()])}),[],!1,null,null,null).exports),g=(n(348),Object(a.a)({},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"sidebar-button",on:{click:function(e){return t.$emit("toggle-sidebar")}}},[n("svg",{staticClass:"icon",attrs:{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",viewBox:"0 0 448 512"}},[n("path",{attrs:{fill:"currentColor",d:"M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"}})])])}),[],!1,null,null,null).exports),v=(n(181),n(42)),m=n(338),b=n(183),k=n.n(b),_={name:"DropdownLink",components:{NavLink:s,DropdownTransition:m.a},props:{item:{required:!0}},data:function(){return{open:!1}},computed:{dropdownAriaLabel:function(){return this.item.ariaLabel||this.item.text}},watch:{$route:function(){this.open=!1}},methods:{setOpen:function(t){this.open=t},isLastItemOfArray:function(t,e){return k()(e)===t}}},x=(n(350),Object(a.a)(_,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dropdown-wrapper",class:{open:t.open}},[n("button",{staticClass:"dropdown-title",attrs:{type:"button","aria-label":t.dropdownAriaLabel},on:{click:function(e){return t.setOpen(!t.open)}}},[n("span",{staticClass:"title"},[t._v(t._s(t.item.text))]),t._v(" "),n("span",{staticClass:"arrow",class:t.open?"down":"right"})]),t._v(" "),n("DropdownTransition",[n("ul",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],staticClass:"nav-dropdown"},t._l(t.item.items,(function(e,i){return n("li",{key:e.link||i,staticClass:"dropdown-item"},["links"===e.type?n("h4",[t._v("\n "+t._s(e.text)+"\n ")]):t._e(),t._v(" "),"links"===e.type?n("ul",{staticClass:"dropdown-subitem-wrapper"},t._l(e.items,(function(i){return n("li",{key:i.link,staticClass:"dropdown-subitem"},[n("NavLink",{attrs:{item:i},on:{focusout:function(n){t.isLastItemOfArray(i,e.items)&&t.isLastItemOfArray(e,t.item.items)&&t.setOpen(!1)}}})],1)})),0):n("NavLink",{attrs:{item:e},on:{focusout:function(n){t.isLastItemOfArray(e,t.item.items)&&t.setOpen(!1)}}})],1)})),0)])],1)}),[],!1,null,null,null).exports),C=(n(102),n(62)),$=["light","dark"],y={name:"ThemeSwitcher",data:function(){return{theme:""}},computed:{nextTheme:function(){var t=($.indexOf(this.theme)+1)%$.length;return $[t]}},methods:{switchTheme:function(){var t=($.indexOf(this.theme)+1)%$.length;window.__setPreferredTheme($[t]),this.theme=$[t]}},mounted:function(){var t=this;return Object(C.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:void 0!==window.__theme&&(t.theme=window.__theme);case 1:case"end":return e.stop()}}),e)})))()}},L={name:"NavLinks",components:{NavLink:s,DropdownLink:x,ThemeSwitcher:Object(a.a)(y,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("a",{staticClass:"nav-link",attrs:{role:"button","aria-label":"Switch to "+t.nextTheme+" mode"},on:{click:function(e){return e.preventDefault(),t.switchTheme()}}},["dark"===t.theme?n("span",{key:"dark"},[t._v("Switch to light mode")]):"light"===t.theme?n("span",{key:"light"},[t._v("Switch to dark mode")]):n("span",{key:"light"},[t._v("Switch theme")])])}),[],!1,null,null,null).exports},computed:{userNav:function(){return this.$themeLocaleConfig.nav||this.$site.themeConfig.nav||[]},nav:function(){var t=this,e=this.$site.locales;if(e&&Object.keys(e).length>1){var n=this.$page.path,i=this.$router.options.routes,r=this.$site.themeConfig.locales||{},a={text:this.$themeLocaleConfig.selectText||"Languages",ariaLabel:this.$themeLocaleConfig.ariaLabel||"Select language",items:Object.keys(e).map((function(a){var s,o=e[a],u=r[a]&&r[a].label||o.lang;return o.lang===t.$lang?s=n:(s=n.replace(t.$localeConfig.path,a),i.some((function(t){return t.path===s}))||(s=a)),{text:u,link:s}}))};return[].concat(Object(v.a)(this.userNav),[a])}return this.userNav},userLinks:function(){return(this.nav||[]).map((function(t){return Object.assign(Object(i.j)(t),{items:(t.items||[]).map(i.j)})}))},repoLink:function(){var t=this.$site.themeConfig.repo;return t?/^https?:/.test(t)?t:"https://github.com/".concat(t):null},repoLabel:function(){if(this.repoLink){if(this.$site.themeConfig.repoLabel)return this.$site.themeConfig.repoLabel;for(var t=this.repoLink.match(/^https?:\/\/[^/]+/)[0],e=["GitHub","GitLab","Bitbucket"],n=0;nMath.abs(n)&&Math.abs(e)>40&&(e>0&&this.touchStart.x<=80?this.toggleSidebar(!0):this.toggleSidebar(!1))}}}),z=Object(a.a)(q,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"theme-container",class:t.pageClasses,on:{touchstart:t.onTouchStart,touchend:t.onTouchEnd}},[t.shouldShowNavbar?n("Navbar",{on:{"toggle-sidebar":t.toggleSidebar}}):t._e(),t._v(" "),n("div",{staticClass:"sidebar-mask",on:{click:function(e){return t.toggleSidebar(!1)}}}),t._v(" "),n("Sidebar",{attrs:{items:t.sidebarItems},on:{"toggle-sidebar":t.toggleSidebar},scopedSlots:t._u([{key:"top",fn:function(){return[t._t("sidebar-top")]},proxy:!0},{key:"bottom",fn:function(){return[t._t("sidebar-bottom")]},proxy:!0}],null,!0)}),t._v(" "),t.$page.frontmatter.home?n("Home"):n("Page",{attrs:{"sidebar-items":t.sidebarItems},scopedSlots:t._u([{key:"top",fn:function(){return[t._t("page-top")]},proxy:!0},{key:"bottom",fn:function(){return[t._t("page-bottom")]},proxy:!0}],null,!0)})],1)}),[],!1,null,null,null);e.default=z.exports}}]); \ No newline at end of file diff --git a/assets/js/20.3c35a8ab.js b/assets/js/20.3c35a8ab.js new file mode 100644 index 0000000..d87e72d --- /dev/null +++ b/assets/js/20.3c35a8ab.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{448:function(t,n,e){"use strict";e.r(n);var s=e(25),i=Object(s.a)({},(function(){var t=this.$createElement;return(this._self._c||t)("p",{staticClass:"demo"},[this._v("This is another component")])}),[],!1,null,null,null);n.default=i.exports}}]); \ No newline at end of file diff --git a/assets/js/21.58b5af1b.js b/assets/js/21.58b5af1b.js new file mode 100644 index 0000000..95597f5 --- /dev/null +++ b/assets/js/21.58b5af1b.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{402:function(t,n,s){"use strict";s.r(n);var e={data:function(){return{msg:"Hello this is "}}},i=s(25),o=Object(i.a)(e,(function(){var t=this.$createElement;return(this._self._c||t)("p",{staticClass:"demo"},[this._v("\n "+this._s(this.msg)+"\n")])}),[],!1,null,null,null);n.default=o.exports}}]); \ No newline at end of file diff --git a/assets/js/22.1c7d4144.js b/assets/js/22.1c7d4144.js new file mode 100644 index 0000000..8eebf7b --- /dev/null +++ b/assets/js/22.1c7d4144.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{404:function(e,t,n){"use strict";n.r(t);var a={name:"ThemeManager",beforeMount:function(){function e(e){window.__theme=e,t=e,document.body.setAttribute("data-theme",e),window.__onThemeChange(e)}var t;window.__onThemeChange=function(){};try{t=localStorage.getItem("theme")}catch(e){}window.__setPreferredTheme=function(t){e(t);try{localStorage.setItem("theme",t)}catch(e){}};var n=window.matchMedia("(prefers-color-scheme: dark)");n.addListener((function(e){window.__setPreferredTheme(e.matches?"dark":"light")})),e(t||(n.matches?"dark":"light"))}},i=n(25),o=Object(i.a)(a,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticStyle:{visibility:"hidden",display:"none"}})}),[],!1,null,null,null);t.default=o.exports}}]); \ No newline at end of file diff --git a/assets/js/23.0e0b8798.js b/assets/js/23.0e0b8798.js new file mode 100644 index 0000000..93e3582 --- /dev/null +++ b/assets/js/23.0e0b8798.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{401:function(t,e,s){"use strict";s.r(e);var n=["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."],o={methods:{getMsg:function(){return n[Math.floor(Math.random()*n.length)]}}},i=s(25),h=Object(i.a)(o,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"theme-container"},[e("div",{staticClass:"theme-succinct-content"},[e("h1",[this._v("404")]),this._v(" "),e("blockquote",[this._v(this._s(this.getMsg()))]),this._v(" "),e("RouterLink",{attrs:{to:"/"}},[this._v("\n Take me home.\n ")])],1)])}),[],!1,null,null,null);e.default=h.exports}}]); \ No newline at end of file diff --git a/assets/js/24.f2e7943c.js b/assets/js/24.f2e7943c.js new file mode 100644 index 0000000..cb76f3b --- /dev/null +++ b/assets/js/24.f2e7943c.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{405:function(e,t,i){"use strict";i.r(t);var o=i(25),n=Object(o.a)({},(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[i("h1",{attrs:{id:"supporting-the-guides"}},[i("a",{staticClass:"header-anchor",attrs:{href:"#supporting-the-guides"}},[e._v("#")]),e._v(" Supporting the guides")]),e._v(" "),i("p",[i("strong",[e._v("Note")]),e._v(": This is a community run guide which is not officially endorsed by Acidanthera. Please do not bug Acidanthera with issues about this guide.")]),e._v(" "),i("p",[e._v("Want to help support the guide? Well there's some ways you can help!")]),e._v(" "),i("ul",[i("li",[i("RouterLink",{attrs:{to:"/CONTRIBUTING.html#contributing-via-issues"}},[e._v("Contributing via Issues")])],1),e._v(" "),i("li",[i("RouterLink",{attrs:{to:"/CONTRIBUTING.html#contributing-via-prs"}},[e._v("Contributing via PRs")])],1)]),e._v(" "),i("p",[e._v("Note: For those wanting to contribute financially, we seriously appreciate it but we're a non-profit organization. We do this to teach, not to make money. If you have some money left over we highly recommend donating it to a charity. "),i("a",{attrs:{href:"https://crohnsandcolitis.donorportal.ca/Donation/DonationDetails.aspx?L=en-CA&G=159&F=1097&T=GENER",target:"_blank",rel:"noopener noreferrer"}},[e._v("Crohn's and Colitis Canada"),i("OutboundLink")],1),e._v(" is one we recommend if you have none on mind.")]),e._v(" "),i("h2",{attrs:{id:"contributing-via-issues"}},[i("a",{staticClass:"header-anchor",attrs:{href:"#contributing-via-issues"}},[e._v("#")]),e._v(" Contributing via Issues")]),e._v(" "),i("p",[e._v("Contributing via Issues is pretty simple but there are some rules:")]),e._v(" "),i("ul",[i("li",[e._v("Keep issues tab dedicated to guides issues only, "),i("strong",[e._v("no personal hackintosh issues")]),e._v(". It is not a place to discuss installation issues.")]),e._v(" "),i("li",[e._v("If for a typo or better clarification, please indicate what page it was on. Would appreciate not going for a scavenger hunt on where these issues are.")])]),e._v(" "),i("p",[e._v("You can find the issues tab here: "),i("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/issues",target:"_blank",rel:"noopener noreferrer"}},[e._v("Getting Started With ACPI Issues"),i("OutboundLink")],1)]),e._v(" "),i("h2",{attrs:{id:"contributing-via-prs"}},[i("a",{staticClass:"header-anchor",attrs:{href:"#contributing-via-prs"}},[e._v("#")]),e._v(" Contributing via PRs")]),e._v(" "),i("p",[e._v("Some guidelines when contributing via PRs:")]),e._v(" "),i("ul",[i("li",[e._v("Use your brain (please).")]),e._v(" "),i("li",[e._v("Proofread your submissions.")]),e._v(" "),i("li",[e._v("Pull Requests can be denied if we feel it does not fit or has inaccurate information. We will generally tell you why it is rejected though or ask for revisions.\n"),i("ul",[i("li",[e._v("We would also appreciate sources for any bigger commits to make it easier on us to verify the info your provide is valid")])])]),e._v(" "),i("li",[e._v("Images must be hosted locally in the repo under the "),i("code",[e._v("/images/")]),e._v(" folder")]),e._v(" "),i("li",[e._v("Your PR must be run through a markdown lint and have all issues fixed.")]),e._v(" "),i("li",[e._v('In general, try to avoid using "non-Acidanthera" tools when possible. Generally we want to avoid use of third-party tools - though if it\'s impossible otherwise, then you can link it.\n'),i("ul",[i("li",[e._v("Tools explicitly banned:\n"),i("ul",[i("li",[e._v("UniBeast, MultiBeast and KextBeast\n"),i("ul",[i("li",[e._v("More info can be found here: "),i("a",{attrs:{href:"https://github.com/khronokernel/Tonymcx86-stance",target:"_blank",rel:"noopener noreferrer"}},[e._v("Tonymacx86-stance"),i("OutboundLink")],1)])])]),e._v(" "),i("li",[e._v("Transmac\n"),i("ul",[i("li",[e._v("Know for creating borked USB drives")])])]),e._v(" "),i("li",[e._v("Niresh Installers\n"),i("ul",[i("li",[e._v("We'd like to avoid piracy with the guides")])])])])])])])]),e._v(" "),i("h3",{attrs:{id:"how-to-contribute"}},[i("a",{staticClass:"header-anchor",attrs:{href:"#how-to-contribute"}},[e._v("#")]),e._v(" How to Contribute")]),e._v(" "),i("p",[e._v("Best way to test your commits and make sure they are formatted correctly is downloading "),i("code",[e._v("nodejs")]),e._v(" and "),i("code",[e._v("yarn")]),e._v(" then getting the VuePress and "),i("a",{attrs:{href:"https://github.com/igorshubovych/markdownlint-cli",target:"_blank",rel:"noopener noreferrer"}},[e._v("markdownlint-cli"),i("OutboundLink")],1),e._v(" tools. When you run "),i("code",[e._v("yarn dev")]),e._v(", it will set up a local webserver which you can connect to view the changes you made. "),i("code",[e._v("markdownlint *")]),e._v(" will throw any errors at you about formatting as well, and "),i("code",[e._v("markdownlint -f *")]),e._v(" will attempt to fix these.")]),e._v(" "),i("ul",[i("li",[i("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/fork/",target:"_blank",rel:"noopener noreferrer"}},[e._v("Fork this repo"),i("OutboundLink")],1)]),e._v(" "),i("li",[e._v("Install the required tools:\n"),i("ul",[i("li",[i("code",[e._v("brew install yarn")])]),e._v(" "),i("li",[i("code",[e._v("npm install -g markdownlint-cli")])])])]),e._v(" "),i("li",[e._v("Make your changes.")]),e._v(" "),i("li",[e._v("Build the site:\n"),i("ul",[i("li",[i("code",[e._v("yarn install")]),e._v(" (To install all the required plugins)")]),e._v(" "),i("li",[i("code",[e._v("yarn dev")]),e._v(" (Preview the site)\n"),i("ul",[i("li",[e._v("Can be found at "),i("code",[e._v("http://localhost:8080")])])])])])]),e._v(" "),i("li",[e._v("Check markdown format:\n"),i("ul",[i("li",[i("code",[e._v("markdownlint -f *")]),e._v(" (To fix any potential issues)")])])])]),e._v(" "),i("h3",{attrs:{id:"tips"}},[i("a",{staticClass:"header-anchor",attrs:{href:"#tips"}},[e._v("#")]),e._v(" Tips")]),e._v(" "),i("p",[e._v("Some tools that make contributing a bit easier:")]),e._v(" "),i("ul",[i("li",[i("a",{attrs:{href:"https://typora.io",target:"_blank",rel:"noopener noreferrer"}},[e._v("Typora"),i("OutboundLink")],1),e._v(" for real time markdown rendering.")]),e._v(" "),i("li",[i("a",{attrs:{href:"https://macromates.com",target:"_blank",rel:"noopener noreferrer"}},[e._v("TextMate"),i("OutboundLink")],1),e._v(" for easy and powerful mass find/replace.")]),e._v(" "),i("li",[i("a",{attrs:{href:"https://desktop.github.com",target:"_blank",rel:"noopener noreferrer"}},[e._v("Github Desktop"),i("OutboundLink")],1),e._v(" for more user friendly GUI.")])])])}),[],!1,null,null,null);t.default=n.exports}}]); \ No newline at end of file diff --git a/assets/js/25.f0cc4e02.js b/assets/js/25.f0cc4e02.js new file mode 100644 index 0000000..958b988 --- /dev/null +++ b/assets/js/25.f0cc4e02.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[25],{407:function(t,e,o){"use strict";o.r(e);var r=o(25),s=Object(r.a)({},(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[o("h1",{attrs:{id:"fixing-embedded-controller-desktop"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#fixing-embedded-controller-desktop"}},[t._v("#")]),t._v(" Fixing Embedded Controller (Desktop)")]),t._v(" "),o("h2",{attrs:{id:"you-ll-want-to-go-to-ssdt-ec-under-the-universal-tab-for-the-new-ssdt-ec-page"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#you-ll-want-to-go-to-ssdt-ec-under-the-universal-tab-for-the-new-ssdt-ec-page"}},[t._v("#")]),t._v(" You'll want to go to "),o("RouterLink",{attrs:{to:"/Universal/desktop-ec.html"}},[t._v("SSDT-EC under the Universal tab")]),t._v(" for the new SSDT-EC page")],1)])}),[],!1,null,null,null);e.default=s.exports}}]); \ No newline at end of file diff --git a/assets/js/26.463dbace.js b/assets/js/26.463dbace.js new file mode 100644 index 0000000..59f7ac9 --- /dev/null +++ b/assets/js/26.463dbace.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[26],{409:function(t,e,i){"use strict";i.r(e);var o=i(25),a=Object(o.a)({},(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[i("h1",{attrs:{id:"fixing-backlight-prebuilt"}},[i("a",{staticClass:"header-anchor",attrs:{href:"#fixing-backlight-prebuilt"}},[t._v("#")]),t._v(" Fixing Backlight: Prebuilt")]),t._v(" "),i("p",[t._v("By far the easiest method, all you need to do is download the following file:")]),t._v(" "),i("ul",[i("li",[i("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/compiled/SSDT-PNLF.aml",target:"_blank",rel:"noopener noreferrer"}},[t._v("SSDT-PNLF.aml"),i("OutboundLink")],1),t._v(" "),i("ul",[i("li",[t._v("For most users")])])]),t._v(" "),i("li",[i("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/compiled/SSDT-PNLF-CFL.aml",target:"_blank",rel:"noopener noreferrer"}},[t._v("SSDT-PNLF-CFL.aml"),i("OutboundLink")],1),t._v(" "),i("ul",[i("li",[t._v("For Coffee Lake and newer")])])])]),t._v(" "),i("p",[t._v("Main things to note with this method:")]),t._v(" "),i("ul",[i("li",[t._v("Assumes GPU pathing, works great for 99% of devices but if you're having issues controlling backlight this may be something to look at")]),t._v(" "),i("li",[t._v("Doesn't really teach you anything\n"),i("ul",[i("li",[t._v("For most, this doesn't matter. But to some knowing what makes your hackintosh tick is part of the journey")])])])])])}),[],!1,null,null,null);e.default=a.exports}}]); \ No newline at end of file diff --git a/assets/js/27.f1ee2064.js b/assets/js/27.f1ee2064.js new file mode 100644 index 0000000..357a10d --- /dev/null +++ b/assets/js/27.f1ee2064.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[27],{410:function(t,s,e){"use strict";e.r(s);var a=e(25),h=Object(a.a)({},(function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"fixing-backlight-ssdt-pnlf"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#fixing-backlight-ssdt-pnlf"}},[t._v("#")]),t._v(" Fixing Backlight (SSDT-PNLF)")]),t._v(" "),e("ul",[e("li",[e("a",{attrs:{href:"#what-this-ssdt-does"}},[t._v("What this SSDT does")])]),t._v(" "),e("li",[e("a",{attrs:{href:"#methods-to-make-this-ssdt"}},[t._v("Methods to make this SSDT")])])]),t._v(" "),e("h2",{attrs:{id:"what-this-ssdt-does"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#what-this-ssdt-does"}},[t._v("#")]),t._v(" What this SSDT does")]),t._v(" "),e("p",[t._v("The purpose of this SSDT is to create a PNLF device for macOS to play with, specifically one with a hardware ID of "),e("code",[t._v("APP0002")]),t._v(". Luckily WhateverGreen will handle the rest of the work for us.")]),t._v(" "),e("h2",{attrs:{id:"methods-to-make-this-ssdt"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#methods-to-make-this-ssdt"}},[t._v("#")]),t._v(" Methods to make this SSDT")]),t._v(" "),e("p",[t._v("For the backlight fix, there are 2 methods you can choose from:")]),t._v(" "),e("ul",[e("li",[e("RouterLink",{attrs:{to:"/Laptops/backlight-methods/prebuilt.html"}},[t._v("Prebuilt")])],1),t._v(" "),e("li",[e("RouterLink",{attrs:{to:"/Laptops/backlight-methods/manual.html"}},[t._v("Manual")])],1)])])}),[],!1,null,null,null);s.default=h.exports}}]); \ No newline at end of file diff --git a/assets/js/28.71ad72d1.js b/assets/js/28.71ad72d1.js new file mode 100644 index 0000000..836f231 --- /dev/null +++ b/assets/js/28.71ad72d1.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[28],{412:function(t,e,o){"use strict";o.r(e);var a=o(25),r=Object(a.a)({},(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[o("h1",{attrs:{id:"fixing-embedded-controller-laptop"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#fixing-embedded-controller-laptop"}},[t._v("#")]),t._v(" Fixing Embedded Controller (Laptop)")]),t._v(" "),o("h2",{attrs:{id:"you-ll-want-to-go-to-ssdt-ec-under-the-universal-tab-for-the-new-ssdt-ec-page"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#you-ll-want-to-go-to-ssdt-ec-under-the-universal-tab-for-the-new-ssdt-ec-page"}},[t._v("#")]),t._v(" You'll want to go to "),o("RouterLink",{attrs:{to:"/Universal/desktop-ec.html"}},[t._v("SSDT-EC under the Universal tab")]),t._v(" for the new SSDT-EC page")],1)])}),[],!1,null,null,null);e.default=r.exports}}]); \ No newline at end of file diff --git a/assets/js/29.523c6d21.js b/assets/js/29.523c6d21.js new file mode 100644 index 0000000..f48f884 --- /dev/null +++ b/assets/js/29.523c6d21.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[29],{414:function(t,e,i){"use strict";i.r(e);var l=i(25),a=Object(l.a)({},(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[i("h1",{attrs:{id:"fixing-trackpads-prebuilt"}},[i("a",{staticClass:"header-anchor",attrs:{href:"#fixing-trackpads-prebuilt"}},[t._v("#")]),t._v(" Fixing Trackpads: Prebuilt")]),t._v(" "),i("p",[t._v("This is a one-size fits all solution where we basically trick our hardware into thinking it's booting Windows. The problem with this method is that it's common to break Windows booting so avoid unless troubleshooting.")]),t._v(" "),i("ul",[i("li",[i("p",[i("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/compiled/SSDT-XOSI.aml",target:"_blank",rel:"noopener noreferrer"}},[t._v("SSDT-XOSI"),i("OutboundLink")],1)])]),t._v(" "),i("li",[i("p",[t._v("XOSI Rename(add this under config.plist -> ACPI -> Patch):")])])]),t._v(" "),i("table",[i("thead",[i("tr",[i("th",{staticStyle:{"text-align":"left"}},[t._v("Comment")]),t._v(" "),i("th",{staticStyle:{"text-align":"left"}},[t._v("String")]),t._v(" "),i("th",{staticStyle:{"text-align":"left"}},[t._v("Change _OSI to XOSI")])])]),t._v(" "),i("tbody",[i("tr",[i("td",{staticStyle:{"text-align":"left"}},[t._v("Enabled")]),t._v(" "),i("td",{staticStyle:{"text-align":"left"}},[t._v("Boolean")]),t._v(" "),i("td",{staticStyle:{"text-align":"left"}},[t._v("YES")])]),t._v(" "),i("tr",[i("td",{staticStyle:{"text-align":"left"}},[t._v("Count")]),t._v(" "),i("td",{staticStyle:{"text-align":"left"}},[t._v("Number")]),t._v(" "),i("td",{staticStyle:{"text-align":"left"}},[t._v("0")])]),t._v(" "),i("tr",[i("td",{staticStyle:{"text-align":"left"}},[t._v("Limit")]),t._v(" "),i("td",{staticStyle:{"text-align":"left"}},[t._v("Number")]),t._v(" "),i("td",{staticStyle:{"text-align":"left"}},[t._v("0")])]),t._v(" "),i("tr",[i("td",{staticStyle:{"text-align":"left"}},[t._v("Find")]),t._v(" "),i("td",{staticStyle:{"text-align":"left"}},[t._v("Data")]),t._v(" "),i("td",{staticStyle:{"text-align":"left"}},[t._v("5f4f5349")])]),t._v(" "),i("tr",[i("td",{staticStyle:{"text-align":"left"}},[t._v("Replace")]),t._v(" "),i("td",{staticStyle:{"text-align":"left"}},[t._v("Data")]),t._v(" "),i("td",{staticStyle:{"text-align":"left"}},[t._v("584f5349")])])])])])}),[],!1,null,null,null);e.default=a.exports}}]); \ No newline at end of file diff --git a/assets/js/3.1ae2f26d.js b/assets/js/3.1ae2f26d.js new file mode 100644 index 0000000..c5df991 --- /dev/null +++ b/assets/js/3.1ae2f26d.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{382:function(t,e,a){t.exports=a.p+"assets/img/processor.38dc34ad.png"},383:function(t,e,a){t.exports=a.p+"assets/img/processor-2.8af8c8dd.png"},384:function(t,e,a){t.exports=a.p+"assets/img/cp00.d25cad0f.png"},385:function(t,e,a){t.exports=a.p+"assets/img/plug-bios.1b527198.png"},386:function(t,e,a){t.exports=a.p+"assets/img/plug-x299.8123a653.png"},387:function(t,e,a){t.exports=a.p+"assets/img/ssdt-mess.8323e4a6.png"},388:function(t,e,a){t.exports=a.p+"assets/img/ssdt-clean.b241b36e.png"},431:function(t,e,a){"use strict";a.r(e);var s=a(25),i=Object(s.a)({},(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[s("h1",{attrs:{id:"fixing-power-management-manual"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#fixing-power-management-manual"}},[t._v("#")]),t._v(" Fixing Power Management: Manual")]),t._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#finding-the-acpi-path"}},[t._v("Finding the ACPI path")]),t._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#DSDT"}},[t._v("DSDT")])]),t._v(" "),s("li",[s("a",{attrs:{href:"#devicemanager"}},[t._v("DeviceManager")])])])]),t._v(" "),s("li",[s("a",{attrs:{href:"#edits-to-the-sample-ssdt"}},[t._v("Edits to the sample SSDT")])]),t._v(" "),s("li",[s("a",{attrs:{href:"#compiling-the-ssdt"}},[t._v("Compiling the SSDT")])]),t._v(" "),s("li",[s("a",{attrs:{href:"#wrapping-up"}},[t._v("Wrapping up")])])]),t._v(" "),s("h2",{attrs:{id:"finding-the-acpi-path"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#finding-the-acpi-path"}},[t._v("#")]),t._v(" Finding the ACPI path")]),t._v(" "),s("p",[t._v("To find the ACPI pathing, you have 2 methods:")]),t._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#DSDT"}},[t._v("DSDT")])]),t._v(" "),s("li",[s("a",{attrs:{href:"#devicemanager"}},[t._v("DeviceManager")])])]),t._v(" "),s("h3",{attrs:{id:"dsdt"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#dsdt"}},[t._v("#")]),t._v(" DSDT")]),t._v(" "),s("p",[t._v("CPU naming is fairly easy to figure out, first open your decompiled DSDT you got from "),s("RouterLink",{attrs:{to:"/Manual/dump.html"}},[t._v("Dumping the DSDT")]),t._v(" and "),s("RouterLink",{attrs:{to:"/Manual/compile.html"}},[t._v("Decompiling and Compiling")]),t._v(" with either maciASL(if in macOS) or any other text editor if in Windows or Linux(VSCode has an "),s("a",{attrs:{href:"https://marketplace.visualstudio.com/items?itemName=Thog.vscode-asl",target:"_blank",rel:"noopener noreferrer"}},[t._v("ACPI extension"),s("OutboundLink")],1),t._v(" that can also help).")],1),t._v(" "),s("p",[t._v("Next search for "),s("code",[t._v("Processor")]),t._v(". This should give you a result like this:")]),t._v(" "),s("p",[s("img",{attrs:{src:a(382),alt:""}})]),t._v(" "),s("p",[t._v("As we can see, the first processor in our list is "),s("code",[t._v("SB.PR00")]),t._v(". This is what we'll be applying the "),s("code",[t._v("plugin-type=1")]),t._v(" property too.")]),t._v(" "),s("p",[s("strong",[t._v("X99 and X299 note")]),t._v(":")]),t._v(" "),s("p",[t._v("Due to the different DSDT structure of these systems, you'll need to to actually check in multiple places as the pathing isn't as obvious:")]),t._v(" "),s("p",[s("img",{attrs:{src:a(383),alt:""}})]),t._v(" "),s("p",[t._v("If we then search for instances of "),s("code",[t._v("CP00")]),t._v(" we find that its full ACPI pathing is "),s("code",[t._v("SB.SCK0.CP00")]),t._v(":")]),t._v(" "),s("p",[s("img",{attrs:{src:a(384),alt:""}})]),t._v(" "),s("p",[t._v("Now with the pathing, you can head here: "),s("a",{attrs:{href:"#edits-to-the-sample-ssdt"}},[t._v("Edits to the sample SSDT")])]),t._v(" "),s("h5",{attrs:{id:"devicemanager"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#devicemanager"}},[t._v("#")]),t._v(" DeviceManager")]),t._v(" "),s("p",[t._v("If you already have Windows installed on this machine, finding the CPU pathing is fairly easy.")]),t._v(" "),s("p",[t._v("Start by opening up Device Manager in Windows and looking for a device named "),s("code",[t._v("Processor")]),t._v(". Once found, click on it and select the "),s("code",[t._v("BIOS device Name")]),t._v(" entry. You should get something like this:")]),t._v(" "),s("p",[s("img",{attrs:{src:a(385),alt:""}})]),t._v(" "),s("p",[t._v("From the above, we can see that our pathing is "),s("code",[t._v("PR.CPU0")]),t._v(". Pay close attention to the start as "),s("code",[t._v("PR")]),t._v(" is important for creating the SSDT")]),t._v(" "),s("p",[s("strong",[t._v("X99 and X299 note")]),t._v(":")]),t._v(" "),s("p",[t._v("Odd quirk of DeviceManager in Windows is that the Processor's order does not actually match the ACPI path, instead giving something like "),s("code",[t._v("SB.SCK0.CP10")]),t._v(":")]),t._v(" "),s("p",[s("img",{attrs:{src:a(386),alt:""}})]),t._v(" "),s("p",[t._v("When this happens, you can either:")]),t._v(" "),s("ul",[s("li",[t._v("Look through and find the lowest value")]),t._v(" "),s("li",[t._v("Assume the lowest(commonly being "),s("code",[t._v("PR00")]),t._v(" or "),s("code",[t._v("CP00")]),t._v(")")])]),t._v(" "),s("p",[t._v("So with the above X299 example, our CPU pathing would be "),s("code",[t._v("SB.SCK0.CP00")])]),t._v(" "),s("p",[t._v("Now with the pathing, you can head here: "),s("a",{attrs:{href:"#edits-to-the-sample-ssdt"}},[t._v("Edits to the sample SSDT")])]),t._v(" "),s("h2",{attrs:{id:"edits-to-the-sample-ssdt"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#edits-to-the-sample-ssdt"}},[t._v("#")]),t._v(" Edits to the sample SSDT")]),t._v(" "),s("p",[t._v("Now that we have our ACPI path, lets grab our SSDT and get to work:")]),t._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/AcpiSamples/SSDT-PLUG.dsl",target:"_blank",rel:"noopener noreferrer"}},[t._v("SSDT-PLUG.dsl"),s("OutboundLink")],1)])]),t._v(" "),s("p",[t._v("From the above SSDT, it's very likely your processor is already there. If so, you can delete all the other entries other than yours and the "),s("code",[t._v("Method PMPM")]),t._v(" as this is what injects the "),s("code",[t._v("plugin-type=1")]),t._v(" property into our system.")]),t._v(" "),s("ul",[s("li",[s("strong",[t._v("Reminder")]),t._v(": We only need to apply "),s("code",[t._v("plugin-type=1")]),t._v(" to the first thread")])]),t._v(" "),s("p",[t._v("For the below example, we'll be using the X299 example("),s("code",[t._v("SB.SCK0.CP00")]),t._v(")")]),t._v(" "),s("table",[s("thead",[s("tr",[s("th",{staticStyle:{"text-align":"center"}},[t._v("Original")]),t._v(" "),s("th",{staticStyle:{"text-align":"center"}},[t._v("Cleaned Up")])])]),t._v(" "),s("tbody",[s("tr",[s("td",{staticStyle:{"text-align":"center"}},[s("img",{attrs:{src:a(387),alt:""}})]),t._v(" "),s("td",{staticStyle:{"text-align":"center"}},[s("img",{attrs:{src:a(388),alt:""}})])])])]),t._v(" "),s("h2",{attrs:{id:"compiling-the-ssdt"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#compiling-the-ssdt"}},[t._v("#")]),t._v(" Compiling the SSDT")]),t._v(" "),s("p",[t._v("With the SSDT done, you're now "),s("RouterLink",{attrs:{to:"/Manual/compile.html"}},[t._v("ready to compile the SSDT!")])],1),t._v(" "),s("h2",{attrs:{id:"wrapping-up"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#wrapping-up"}},[t._v("#")]),t._v(" Wrapping up")]),t._v(" "),s("p",[t._v("Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:")]),t._v(" "),s("ul",[s("li",[s("RouterLink",{attrs:{to:"/cleanup.html"}},[s("strong",[t._v("Cleanup")])])],1)])])}),[],!1,null,null,null);e.default=i.exports}}]); \ No newline at end of file diff --git a/assets/js/30.e5aa9ce4.js b/assets/js/30.e5aa9ce4.js new file mode 100644 index 0000000..708ffdf --- /dev/null +++ b/assets/js/30.e5aa9ce4.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[30],{415:function(t,s,e){"use strict";e.r(s);var a=e(25),o=Object(a.a)({},(function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"fixing-trackpads-ssdt-gpi0-xosi"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#fixing-trackpads-ssdt-gpi0-xosi"}},[t._v("#")]),t._v(" Fixing Trackpads (SSDT-GPI0/XOSI)")]),t._v(" "),e("ul",[e("li",[e("a",{attrs:{href:"#what-this-ssdt-does"}},[t._v("What this SSDT does")])]),t._v(" "),e("li",[e("a",{attrs:{href:"#methods-to-make-this-ssdt"}},[t._v("Methods to make this SSDT")])])]),t._v(" "),e("h2",{attrs:{id:"what-this-ssdt-does"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#what-this-ssdt-does"}},[t._v("#")]),t._v(" What this SSDT does")]),t._v(" "),e("p",[t._v("This SSDT is used to force enable our GPI0 for VoodooI2C to connect onto.")]),t._v(" "),e("p",[t._v("With most modern laptop DSDTs, there's a variable called "),e("code",[t._v("GPEN")]),t._v(" or "),e("code",[t._v("GPHD")]),t._v(" which are used for setting the status of the GPI0 device. For us, we want to enable the device.")]),t._v(" "),e("h2",{attrs:{id:"methods-to-make-this-ssdt"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#methods-to-make-this-ssdt"}},[t._v("#")]),t._v(" Methods to make this SSDT")]),t._v(" "),e("p",[t._v("For the trackpad fix, there are 2 methods you can choose from:")]),t._v(" "),e("ul",[e("li",[e("RouterLink",{attrs:{to:"/Laptops/trackpad-methods/prebuilt.html"}},[t._v("Prebuilt")])],1),t._v(" "),e("li",[e("RouterLink",{attrs:{to:"/Laptops/trackpad-methods/manual.html"}},[t._v("Manual")])],1)])])}),[],!1,null,null,null);s.default=o.exports}}]); \ No newline at end of file diff --git a/assets/js/31.1f0591e4.js b/assets/js/31.1f0591e4.js new file mode 100644 index 0000000..c8b7de1 --- /dev/null +++ b/assets/js/31.1f0591e4.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[31],{418:function(e,t,o){"use strict";o.r(t);var a=o(25),s=Object(a.a)({},(function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[o("h1",{attrs:{id:"getting-started-with-acpi"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#getting-started-with-acpi"}},[e._v("#")]),e._v(" Getting started with ACPI")]),e._v(" "),o("img",{attrs:{src:"acpi-logo.png",width:"512"}}),e._v(" "),o("h2",{attrs:{id:"a-quick-explainer-on-acpi"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#a-quick-explainer-on-acpi"}},[e._v("#")]),e._v(" A quick explainer on ACPI")]),e._v(" "),o("p",[e._v("So what are DSDTs and SSDTs? Well, these are tables present in your firmware that outline hardware devices like USB controllers, CPU threads, embedded controllers, system clocks and such. A DSDT(Differentiated System Description Table) can be seen as the body holding most of the info with smaller bits of info being passed by the SSDT(Secondary System Description Table). You can think of the DSDT as the building blueprints with SSDTs being sticky notes outlining extra details to the project")]),e._v(" "),o("p",[e._v("You can read more about ACPI and it's spec here: "),o("a",{attrs:{href:"https://uefi.org/sites/default/files/resources/ACPI_6_3_May16.pdf",target:"_blank",rel:"noopener noreferrer"}},[e._v("ACPI 6.3 Manual"),o("OutboundLink")],1)]),e._v(" "),o("blockquote",[o("p",[e._v("So why do we care about these tables?")])]),e._v(" "),o("p",[e._v("macOS can be very picky about the devices present in the DSDT and so our job is to correct it. The main devices that need to be corrected for macOS to work properly:")]),e._v(" "),o("ul",[o("li",[e._v("Embedded controllers(EC)\n"),o("ul",[o("li",[e._v("All semi-modern intel machines have an EC (usually called H_EC, ECDV, EC0, etc...) exposed in their DSDT, with many AMD systems also having it exposed. These controllers are generally not compatible with macOS and can cause panics, so then need to be hidden from macOS. macOS Catalina requires a device named "),o("code",[e._v("EC")]),e._v(" to be present though, so a dummy EC is created.")]),e._v(" "),o("li",[e._v("With laptops, the actual embedded controller still needs to be enabled for battery and hotkeys to work, and renaming the EC can additionally cause issues with windows, so creating a fake EC without disabling the real embedded controller is preferable.")])])]),e._v(" "),o("li",[e._v("Plugin type\n"),o("ul",[o("li",[e._v("This allows the use of XCPM providing native CPU power management on "),o("strong",[e._v("Intel")]),e._v(" Haswell and newer CPUs, the SSDT will connect to the first thread of the CPU. Not meant for AMD")])])]),e._v(" "),o("li",[e._v("AWAC system clock.\n"),o("ul",[o("li",[e._v("This applies to all 300 series motherboards including many Z370 boards, the specific issue is that newer boards ship with AWAC clock enabled. This is a problem because macOS cannot communicate with AWAC clocks, so this requires us to either force on the legacy RTC clock or if unavailable create a fake one for macOS to play with")])])]),e._v(" "),o("li",[e._v("NVRAM SSDT\n"),o("ul",[o("li",[e._v("True 300 series motherboards(non-Z370) don't declare the FW chip as MMIO in ACPI and so the kernel ignores the MMIO region declared by the UEFI memory map. This SSDT brings back NVRAM support")])])]),e._v(" "),o("li",[e._v("Backlight SSDT\n"),o("ul",[o("li",[e._v("Used for fixing backlight control support on laptops")])])]),e._v(" "),o("li",[e._v("GPIO SSDT\n"),o("ul",[o("li",[e._v("Used for creating a stub to allow VoodooI2C to connect onto, for laptops only")])])]),e._v(" "),o("li",[e._v("XOSI SSDT\n"),o("ul",[o("li",[e._v("Used for rerouting OSI calls to this SSDT, mainly used for tricking our hardware into thinking its booting Windows so we get better trackpad support. This is a very hacky solution known for breaking Windows boot, use the GPIO SSDT instead. Usage of XOSI will not be covered in this guide")])])]),e._v(" "),o("li",[e._v("IRQ SSDT and ACPI patches\n"),o("ul",[o("li",[e._v("Needed for fixing IRQ conflicts within the DSDT, for laptops mainly. SSDTTime exclusive")]),e._v(" "),o("li",[e._v("Note Skylake and newer systems rarely have IRQ conflicts, this is mainly prevalent on Broadwell and older")])])])]),e._v(" "),o("p",[e._v("Now head to the next page on what SSDTs do your systems need:")]),e._v(" "),o("h2",{attrs:{id:"choosing-the-ssdts"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#choosing-the-ssdts"}},[e._v("#")]),e._v(" "),o("RouterLink",{attrs:{to:"/ssdt-platform.html"}},[e._v("Choosing the SSDTs")])],1)])}),[],!1,null,null,null);t.default=s.exports}}]); \ No newline at end of file diff --git a/assets/js/32.4eacdc3c.js b/assets/js/32.4eacdc3c.js new file mode 100644 index 0000000..2a849b0 --- /dev/null +++ b/assets/js/32.4eacdc3c.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[32],{419:function(t,a,l){"use strict";l.r(a);var s=l(25),r=Object(s.a)({},(function(){var t=this,a=t.$createElement,l=t._self._c||a;return l("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[l("h1",{attrs:{id:"table-of-contents"}},[l("a",{staticClass:"header-anchor",attrs:{href:"#table-of-contents"}},[t._v("#")]),t._v(" Table of contents")]),t._v(" "),l("ul",[l("li",[l("RouterLink",{attrs:{to:"/"}},[t._v("Getting Started With ACPI")])],1),t._v(" "),l("li",[l("RouterLink",{attrs:{to:"/ssdt-platform.html"}},[t._v("Choosing the SSDTs")])],1)]),t._v(" "),l("h2",{attrs:{id:"methods"}},[l("a",{staticClass:"header-anchor",attrs:{href:"#methods"}},[t._v("#")]),t._v(" Methods")]),t._v(" "),l("ul",[l("li",[l("RouterLink",{attrs:{to:"/ssdt-methods/ssdt-methods.html"}},[t._v("How to create SSDTs")]),t._v(" "),l("ul",[l("li",[l("RouterLink",{attrs:{to:"/ssdt-methods/ssdt-prebuilt.html"}},[t._v("SSDTs: Prebuilt")])],1),t._v(" "),l("li",[l("RouterLink",{attrs:{to:"/ssdt-methods/ssdt-easy.html"}},[t._v("SSDTs: Easy Way")])],1),t._v(" "),l("li",[l("RouterLink",{attrs:{to:"/ssdt-methods/ssdt-long.html"}},[t._v("SSDTs: Long Way")])],1)])],1)]),t._v(" "),l("h2",{attrs:{id:"manual"}},[l("a",{staticClass:"header-anchor",attrs:{href:"#manual"}},[t._v("#")]),t._v(" Manual")]),t._v(" "),l("ul",[l("li",[l("RouterLink",{attrs:{to:"/Manual/dump.html"}},[t._v("Dumping the DSDT")])],1),t._v(" "),l("li",[l("RouterLink",{attrs:{to:"/Manual/compile.html"}},[t._v("Decompiling and Compiling")])],1)]),t._v(" "),l("h2",{attrs:{id:"desktop"}},[l("a",{staticClass:"header-anchor",attrs:{href:"#desktop"}},[t._v("#")]),t._v(" Desktop")]),t._v(" "),l("ul",[l("li",[l("RouterLink",{attrs:{to:"/Desktops/desktop-disable.html"}},[t._v("Disabling desktop dGPUs")])],1)]),t._v(" "),l("h2",{attrs:{id:"laptop"}},[l("a",{staticClass:"header-anchor",attrs:{href:"#laptop"}},[t._v("#")]),t._v(" Laptop")]),t._v(" "),l("ul",[l("li",[l("RouterLink",{attrs:{to:"/Laptops/backlight.html"}},[t._v("Backlight PNLF")]),t._v(" "),l("ul",[l("li",[l("RouterLink",{attrs:{to:"/Laptops/backlight-methods/prebuilt.html"}},[t._v("Prebuilt")])],1),t._v(" "),l("li",[l("RouterLink",{attrs:{to:"/Laptops/backlight-methods/manual.html"}},[t._v("Manual")])],1)])],1),t._v(" "),l("li",[l("RouterLink",{attrs:{to:"/Laptops/trackpad.html"}},[t._v("Trackpad GPI0")]),t._v(" "),l("ul",[l("li",[l("RouterLink",{attrs:{to:"/Laptops/trackpad-methods/prebuilt.html"}},[t._v("Prebuilt")])],1),t._v(" "),l("li",[l("RouterLink",{attrs:{to:"/Laptops/trackpad-methods/manual.html"}},[t._v("Manual")])],1)])],1),t._v(" "),l("li",[l("RouterLink",{attrs:{to:"/Laptops/laptop-disable.html"}},[t._v("Disabling laptop dGPUs")])],1)]),t._v(" "),l("h2",{attrs:{id:"universal"}},[l("a",{staticClass:"header-anchor",attrs:{href:"#universal"}},[t._v("#")]),t._v(" Universal")]),t._v(" "),l("ul",[l("li",[l("RouterLink",{attrs:{to:"/Universal/ec-fix.html"}},[t._v("Embedded Controller")]),t._v(" "),l("ul",[l("li",[l("RouterLink",{attrs:{to:"/Universal/ec-methods/prebuilt.html"}},[t._v("Prebuilt")])],1),t._v(" "),l("li",[l("RouterLink",{attrs:{to:"/Universal/ec-methods/ssdttime.html"}},[t._v("SSDTTime")])],1),t._v(" "),l("li",[l("RouterLink",{attrs:{to:"/Universal/ec-methods/manual.html"}},[t._v("Manual")])],1)])],1),t._v(" "),l("li",[l("RouterLink",{attrs:{to:"/Universal/plug.html"}},[t._v("CPU Power Management")]),t._v(" "),l("ul",[l("li",[l("RouterLink",{attrs:{to:"/Universal/plug-methods/prebuilt.html"}},[t._v("Prebuilt")])],1),t._v(" "),l("li",[l("RouterLink",{attrs:{to:"/Universal/plug-methods/ssdttime.html"}},[t._v("SSDTTime")])],1),t._v(" "),l("li",[l("RouterLink",{attrs:{to:"/Universal/plug-methods/manual.html"}},[t._v("Manual")])],1)])],1),t._v(" "),l("li",[l("RouterLink",{attrs:{to:"/Universal/awac.html"}},[t._v("AWAC vs RTC")]),t._v(" "),l("ul",[l("li",[l("RouterLink",{attrs:{to:"/Universal/awac-methods/prebuilt.html"}},[t._v("Prebuilt")])],1),t._v(" "),l("li",[l("RouterLink",{attrs:{to:"/Universal/awac-methods/manual.html"}},[t._v("Manual")])],1)])],1),t._v(" "),l("li",[l("RouterLink",{attrs:{to:"/Universal/nvram.html"}},[t._v("NVRAM PMC")]),t._v(" "),l("ul",[l("li",[l("RouterLink",{attrs:{to:"/Universal/nvram-methods/prebuilt.html"}},[t._v("Prebuilt")])],1),t._v(" "),l("li",[l("RouterLink",{attrs:{to:"/Universal/nvram-methods/manual.html"}},[t._v("Manual")])],1)])],1),t._v(" "),l("li",[l("RouterLink",{attrs:{to:"/Universal/rhub.html"}},[t._v("USB RHUB")]),t._v(" "),l("ul",[l("li",[l("RouterLink",{attrs:{to:"/Universal/rhub-methods/prebuilt.html"}},[t._v("Prebuilt")])],1),t._v(" "),l("li",[l("RouterLink",{attrs:{to:"/Universal/rhub-methods/manual.html"}},[t._v("Manual")])],1)])],1),t._v(" "),l("li",[l("RouterLink",{attrs:{to:"/Universal/irq.html"}},[t._v("IRQ Fix")])],1),t._v(" "),l("li",[l("RouterLink",{attrs:{to:"/Universal/spoof.html"}},[t._v("GPU Spoof")])],1),t._v(" "),l("li",[l("RouterLink",{attrs:{to:"/Universal/smbus.html"}},[t._v("Fixing SMBus Support")]),t._v(" "),l("ul",[l("li",[l("RouterLink",{attrs:{to:"/Universal/smbus-methods/manual.html"}},[t._v("Manual")])],1)])],1)]),t._v(" "),l("h2",{attrs:{id:"cleanup"}},[l("a",{staticClass:"header-anchor",attrs:{href:"#cleanup"}},[t._v("#")]),t._v(" Cleanup")]),t._v(" "),l("ul",[l("li",[l("RouterLink",{attrs:{to:"/cleanup.html"}},[t._v("Cleanup")])],1)]),t._v(" "),l("h2",{attrs:{id:"misc"}},[l("a",{staticClass:"header-anchor",attrs:{href:"#misc"}},[t._v("#")]),t._v(" Misc")]),t._v(" "),l("ul",[l("li",[l("RouterLink",{attrs:{to:"/troubleshooting.html"}},[t._v("Troubleshooting")])],1),t._v(" "),l("li",[l("RouterLink",{attrs:{to:"/CONTRIBUTING.html"}},[t._v("Contributing")])],1)])])}),[],!1,null,null,null);a.default=r.exports}}]); \ No newline at end of file diff --git a/assets/js/33.cb8e0ba9.js b/assets/js/33.cb8e0ba9.js new file mode 100644 index 0000000..1942760 --- /dev/null +++ b/assets/js/33.cb8e0ba9.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[33],{421:function(t,e,a){"use strict";a.r(e);var o=a(25),r=Object(o.a)({},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"fixing-system-clocks-prebuilt"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#fixing-system-clocks-prebuilt"}},[t._v("#")]),t._v(" Fixing System Clocks: Prebuilt")]),t._v(" "),a("p",[t._v("By far the easiest method, all you need to do is download the following file:")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/compiled/SSDT-AWAC.aml",target:"_blank",rel:"noopener noreferrer"}},[t._v("SSDT-AWAC.aml"),a("OutboundLink")],1)])]),t._v(" "),a("p",[t._v("Main things to note with this method:")]),t._v(" "),a("ul",[a("li",[t._v("Assumes you both have an AWAC clock and it can be easily turned off with the RTC replacing it, "),a("strong",[t._v("this may not always work")])]),t._v(" "),a("li",[t._v("Doesn't really teach you anything\n"),a("ul",[a("li",[t._v("For most, this doesn't matter. But to some knowing what makes your hackintosh tick is part of the journey")])])])]),t._v(" "),a("h2",{attrs:{id:"wrapping-up"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#wrapping-up"}},[t._v("#")]),t._v(" Wrapping up")]),t._v(" "),a("p",[t._v("Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:")]),t._v(" "),a("ul",[a("li",[a("RouterLink",{attrs:{to:"/cleanup.html"}},[a("strong",[t._v("Cleanup")])])],1)])])}),[],!1,null,null,null);e.default=r.exports}}]); \ No newline at end of file diff --git a/assets/js/34.d81f54d4.js b/assets/js/34.d81f54d4.js new file mode 100644 index 0000000..4d3f208 --- /dev/null +++ b/assets/js/34.d81f54d4.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[34],{422:function(t,e,s){"use strict";s.r(e);var a=s(25),i=Object(a.a)({},(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[s("h1",{attrs:{id:"fixing-system-clocks-ssdt-awac-rtc0"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#fixing-system-clocks-ssdt-awac-rtc0"}},[t._v("#")]),t._v(" Fixing System Clocks (SSDT-AWAC/RTC0)")]),t._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#what-this-ssdt-does"}},[t._v("What this SSDT does")])]),t._v(" "),s("li",[s("a",{attrs:{href:"#methods-to-make-this-ssdt"}},[t._v("Methods to make this SSDT")])])]),t._v(" "),s("h2",{attrs:{id:"what-this-ssdt-does"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#what-this-ssdt-does"}},[t._v("#")]),t._v(" What this SSDT does")]),t._v(" "),s("p",[t._v("The purpose of SSDT-AWAC/RTC0 is to fix the system clocks found on newer hardware, maily found in the following:")]),t._v(" "),s("ul",[s("li",[t._v("B360")]),t._v(" "),s("li",[t._v("B365")]),t._v(" "),s("li",[t._v("H310")]),t._v(" "),s("li",[t._v("H370")]),t._v(" "),s("li",[t._v("Z370 (Gigabyte and AsRock boards with newer BIOS versions)")]),t._v(" "),s("li",[t._v("Z390")]),t._v(" "),s("li",[t._v("B460")]),t._v(" "),s("li",[t._v("Z490")]),t._v(" "),s("li",[t._v("400 series (Comet Lake, including Z490)")]),t._v(" "),s("li",[t._v("495 series (Icelake)")]),t._v(" "),s("li",[t._v("X299X (10th Gen refresh, AsRock and Asus don't use the -x naming so you'll need to double check)")])]),t._v(" "),s("p",[t._v('SSDT-AWAC tries to re-enable the old RTC clock that is compatible with macOS, while SSDT-RTC0 will instead create a "fake" RTC clock if there is no legacy one to enable.')]),t._v(" "),s("h2",{attrs:{id:"methods-to-make-this-ssdt"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#methods-to-make-this-ssdt"}},[t._v("#")]),t._v(" Methods to make this SSDT")]),t._v(" "),s("p",[t._v("For the RTC fix, there are 2 methods you can choose from:")]),t._v(" "),s("ul",[s("li",[s("RouterLink",{attrs:{to:"/Universal/awac-methods/prebuilt.html"}},[t._v("Prebuilt")])],1),t._v(" "),s("li",[s("RouterLink",{attrs:{to:"/Universal/awac-methods/manual.html"}},[t._v("Manual")])],1)])])}),[],!1,null,null,null);e.default=i.exports}}]); \ No newline at end of file diff --git a/assets/js/35.9794b789.js b/assets/js/35.9794b789.js new file mode 100644 index 0000000..1a9345d --- /dev/null +++ b/assets/js/35.9794b789.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[35],{423:function(e,t,s){"use strict";s.r(t);var o=s(25),l=Object(o.a)({},(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[s("h1",{attrs:{id:"fixing-embedded-controller-ssdt-ec-usbx"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#fixing-embedded-controller-ssdt-ec-usbx"}},[e._v("#")]),e._v(" Fixing Embedded Controller (SSDT-EC/USBX)")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#fixing-embedded-controller-ssdt-ecusbx"}},[e._v("Fixing Embedded Controller (SSDT-EC/USBX)")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#what-this-ssdt-does"}},[e._v("What this SSDT does")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#methods-to-make-this-ssdt"}},[e._v("Methods to make this SSDT")])])])])]),e._v(" "),s("h2",{attrs:{id:"what-this-ssdt-does"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#what-this-ssdt-does"}},[e._v("#")]),e._v(" What this SSDT does")]),e._v(" "),s("p",[e._v("The purpose of SSDT-EC/UBX is a couple things:")]),e._v(" "),s("ul",[s("li",[e._v("On desktops, the EC(or better known as the embedded controller) isn't compatible with AppleACPIEC driver, to get around this we disable this device when running macOS")]),e._v(" "),s("li",[e._v("AppleBusPowerController will look for a device named "),s("code",[e._v("EC")]),e._v(", so we will want to create a fake device for this kext to load onto\n"),s("ul",[s("li",[e._v("AppleBusPowerController also requires a USBX device to supply USB power properties for Skylake and newer, so we will bundle this device in with the EC fix")])])]),e._v(" "),s("li",[e._v("On laptops, the EC is used for hotkeys and battery so disabling this isn't all too ideal. Problem is our EC's name isn't compatible, so we will create a simple \"fake\" EC device that will satisfy Apple")])]),e._v(" "),s("p",[e._v("So TL;DR:")]),e._v(" "),s("ul",[s("li",[e._v("EC is embedded controller")]),e._v(" "),s("li",[e._v("Desktops will want real EC off, and a fake EC created")]),e._v(" "),s("li",[e._v("Laptops will just want an additional fake EC present")]),e._v(" "),s("li",[e._v("Skylake and newer devices will want USBX as well")])]),e._v(" "),s("h2",{attrs:{id:"methods-to-make-this-ssdt"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#methods-to-make-this-ssdt"}},[e._v("#")]),e._v(" Methods to make this SSDT")]),e._v(" "),s("p",[e._v("For the EC fix, there are 3 methods you can choose from:")]),e._v(" "),s("ul",[s("li",[s("RouterLink",{attrs:{to:"/Universal/ec-methods/prebuilt.html"}},[e._v("Prebuilt")]),e._v(" "),s("ul",[s("li",[e._v("The prebuilt for desktops are very bloated. It's recommended to use the two methods below.")]),e._v(" "),s("li",[e._v("The Laptop prebuilts are easily usable.")])])],1),e._v(" "),s("li",[s("RouterLink",{attrs:{to:"/Universal/ec-methods/ssdttime.html"}},[e._v("SSDTTime")]),e._v(" "),s("ul",[s("li",[e._v("Note this method does not support "),s("strong",[e._v("laptops")]),e._v(", "),s("strong",[e._v("servers")]),e._v(" or "),s("strong",[e._v("HEDT systems")])])])],1),e._v(" "),s("li",[s("RouterLink",{attrs:{to:"/Universal/ec-methods/manual.html"}},[e._v("Manual")])],1)])])}),[],!1,null,null,null);t.default=l.exports}}]); \ No newline at end of file diff --git a/assets/js/36.09211179.js b/assets/js/36.09211179.js new file mode 100644 index 0000000..3fe0d06 --- /dev/null +++ b/assets/js/36.09211179.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[36],{425:function(e,t,r){"use strict";r.r(t);var a=r(25),o=Object(a.a)({},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[r("h1",{attrs:{id:"fixing-embedded-controllers-prebuilt"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#fixing-embedded-controllers-prebuilt"}},[e._v("#")]),e._v(" Fixing Embedded Controllers: Prebuilt")]),e._v(" "),r("p",[e._v("By far the easiest way to fix your Embedded Controller is just downloading one of the files below:")]),e._v(" "),r("p",[r("strong",[e._v("Desktop")]),e._v(":")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/compiled/SSDT-EC-USBX-DESKTOP.aml",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDT-EC-USBX-DESKTOP"),r("OutboundLink")],1),e._v(" "),r("ul",[r("li",[e._v("For Skylake desktops and newer and AMD CPU based systems")])])]),e._v(" "),r("li",[r("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/compiled/SSDT-EC-DESKTOP.aml",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDT-EC-DESKTOP"),r("OutboundLink")],1),e._v(" "),r("ul",[r("li",[e._v("For Broadwell desktops and older")])])])]),e._v(" "),r("p",[r("strong",[e._v("Laptops")]),e._v(":")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/compiled/SSDT-EC-USBX-LAPTOP.aml",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDT-EC-USBX-LAPTOP.aml"),r("OutboundLink")],1),e._v(" "),r("ul",[r("li",[e._v("For Skylake laptops and newer")])])]),e._v(" "),r("li",[r("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/compiled/SSDT-EC-LAPTOP.aml",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDT-EC-LAPTOP.aml"),r("OutboundLink")],1),e._v(" "),r("ul",[r("li",[e._v("For Broadwell laptops and older")])])])]),e._v(" "),r("p",[e._v("The main things to note with this method:")]),e._v(" "),r("ul",[r("li",[e._v("Quite Bloated\n"),r("ul",[r("li",[e._v("There's ACPI naming for every type, this means there's added delays in boot times")])])]),e._v(" "),r("li",[e._v("Doesn't really teach you anything\n"),r("ul",[r("li",[e._v("For most, this doesn't matter. But to some knowing what makes your hackintosh tick is part of the journey")])])])]),e._v(" "),r("h2",{attrs:{id:"wrapping-up"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#wrapping-up"}},[e._v("#")]),e._v(" Wrapping up")]),e._v(" "),r("p",[e._v("Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:")]),e._v(" "),r("ul",[r("li",[r("RouterLink",{attrs:{to:"/cleanup.html"}},[r("strong",[e._v("Cleanup")])])],1)])])}),[],!1,null,null,null);t.default=o.exports}}]); \ No newline at end of file diff --git a/assets/js/37.22b66477.js b/assets/js/37.22b66477.js new file mode 100644 index 0000000..25da9c6 --- /dev/null +++ b/assets/js/37.22b66477.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[37],{426:function(e,t,o){"use strict";o.r(t);var r=o(25),i=Object(r.a)({},(function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[o("h1",{attrs:{id:"fixing-embedded-controllers-ssdttime"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#fixing-embedded-controllers-ssdttime"}},[e._v("#")]),e._v(" Fixing Embedded Controllers: SSDTTime")]),e._v(" "),o("p",[e._v("The second involves using SSDTTime which automates most of the process. See here on how to use it: "),o("RouterLink",{attrs:{to:"/ssdt-methods/ssdt-easy.html"}},[e._v("SSDTs: Easy Way")])],1),e._v(" "),o("p",[e._v("To get the SSDT-PLUG, run the following:")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("4. Dump DSDT")]),e._v(" then run "),o("code",[e._v("2. FakeEC")])])]),e._v(" "),o("p",[e._v("This will provide you with some files, the main one you care about is SSDT-EC**.aml**. The DSDT and .dsl are only left for referencing or verification.")]),e._v(" "),o("p",[e._v("The main things to note with this method:")]),e._v(" "),o("ul",[o("li",[e._v("Doesn't work on HEDT and server hardware(ie. X99 and X299)\n"),o("ul",[o("li",[e._v("While the majority following this guide are likely on consumer hardware, those with fancier hardware will need to either use the "),o("a",{attrs:{href:"#prebuilts"}},[e._v("Prebuilt")]),e._v(" or "),o("a",{attrs:{href:"#manual"}},[e._v("Manual")]),e._v(" method")])])]),e._v(" "),o("li",[e._v("Doesn't work on Laptops\n"),o("ul",[o("li",[e._v("Just like with HEDT, you will need to either use the "),o("a",{attrs:{href:"#prebuilts"}},[e._v("Prebuilt")]),e._v(" or "),o("a",{attrs:{href:"#manual"}},[e._v("Manual")]),e._v(" method")])])]),e._v(" "),o("li",[e._v("Doesn't provide you the USBX property to fix power\n"),o("ul",[o("li",[e._v("This can easily be fixed by using this prebuilt file in addition to SSDT-EC: "),o("a",{attrs:{href:"https://github.com/dortania/USB-Map-Guide/blob/master/extra-files/SSDT-USBX.aml",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDT-USBX.aml"),o("OutboundLink")],1)]),e._v(" "),o("li",[e._v("Note USBX is only needed for Skylake and newer")])])]),e._v(" "),o("li",[e._v("Doesn't really teach you anything\n"),o("ul",[o("li",[e._v("For most, this doesn't matter. But to some knowing what makes your hackintosh tick is part of the journey")])])])]),e._v(" "),o("h2",{attrs:{id:"wrapping-up"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#wrapping-up"}},[e._v("#")]),e._v(" Wrapping up")]),e._v(" "),o("p",[e._v("Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:")]),e._v(" "),o("ul",[o("li",[o("RouterLink",{attrs:{to:"/cleanup.html"}},[o("strong",[e._v("Cleanup")])])],1)])])}),[],!1,null,null,null);t.default=i.exports}}]); \ No newline at end of file diff --git a/assets/js/38.d450ac47.js b/assets/js/38.d450ac47.js new file mode 100644 index 0000000..6a2398d --- /dev/null +++ b/assets/js/38.d450ac47.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[38],{427:function(t,s,e){"use strict";e.r(s);var i=e(25),o=Object(i.a)({},(function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"fixing-irq-conflicts-ssdt-hpet-oc-patches-plist"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#fixing-irq-conflicts-ssdt-hpet-oc-patches-plist"}},[t._v("#")]),t._v(" Fixing IRQ Conflicts (SSDT-HPET + OC_Patches.plist)")]),t._v(" "),e("p",[t._v("So you miss having those fancy hot-patches from Clover like FixIPIC, FixTMR, FixRTC, FixHPET, etc")]),t._v(" "),e("p",[t._v("Well 1 very small problem, figuring out IRQ patching is a massive headache. "),e("strong",[t._v("I highly recommend you use SSDTTime")]),t._v(". So head over to "),e("RouterLink",{attrs:{to:"/ssdt-methods/ssdt-easy.html"}},[t._v("SSDT: Easy Way")]),t._v(" on how to make it.(use option "),e("code",[t._v("C")]),t._v(" to omit conflicting legacy IRQs)")],1)])}),[],!1,null,null,null);s.default=o.exports}}]); \ No newline at end of file diff --git a/assets/js/39.adb1ffd1.js b/assets/js/39.adb1ffd1.js new file mode 100644 index 0000000..b534a01 --- /dev/null +++ b/assets/js/39.adb1ffd1.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[39],{429:function(t,e,a){"use strict";a.r(e);var n=a(25),o=Object(n.a)({},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"fixing-nvram-prebuilt"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#fixing-nvram-prebuilt"}},[t._v("#")]),t._v(" Fixing NVRAM: Prebuilt")]),t._v(" "),a("p",[t._v("By far the easiest method, all you need to do is download the following file:")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/compiled/SSDT-PMC.aml",target:"_blank",rel:"noopener noreferrer"}},[t._v("SSDT-PMC.aml"),a("OutboundLink")],1)])]),t._v(" "),a("p",[t._v("Main things to note with this method:")]),t._v(" "),a("ul",[a("li",[t._v("Bit Bloated\n"),a("ul",[a("li",[t._v("There's ACPI naming for most common paths, this means there's added delays in boot times(though unnoticeable to most as it's generally less than 0.5 seconds longer)")])])]),t._v(" "),a("li",[t._v("Doesn't really teach you anything\n"),a("ul",[a("li",[t._v("For most, this doesn't matter. But to some knowing what makes your hackintosh tick is part of the journey")])])])]),t._v(" "),a("h2",{attrs:{id:"wrapping-up"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#wrapping-up"}},[t._v("#")]),t._v(" Wrapping up")]),t._v(" "),a("p",[t._v("Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:")]),t._v(" "),a("ul",[a("li",[a("RouterLink",{attrs:{to:"/cleanup.html"}},[a("strong",[t._v("Cleanup")])])],1)])])}),[],!1,null,null,null);e.default=o.exports}}]); \ No newline at end of file diff --git a/assets/js/4.7080bedd.js b/assets/js/4.7080bedd.js new file mode 100644 index 0000000..90b5acb --- /dev/null +++ b/assets/js/4.7080bedd.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{329:function(e,t,a){e.exports=a.p+"assets/img/lpc.bfa9cf23.png"},330:function(e,t,a){e.exports=a.p+"assets/img/pci0.4477f361.png"},371:function(e,t,a){e.exports=a.p+"assets/img/ACPI000E.f11d4625.png"},372:function(e,t,a){e.exports=a.p+"assets/img/PNP0B00.cd0c5876.png"},373:function(e,t,a){e.exports=a.p+"assets/img/ssdt-before.b9b19f9b.png"},374:function(e,t,a){e.exports=a.p+"assets/img/ssdt-after.3d0ae705.png"},420:function(e,t,a){"use strict";a.r(t);var s=a(25),n=Object(s.a)({},(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[s("h1",{attrs:{id:"fixing-system-clocks-manual"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#fixing-system-clocks-manual"}},[e._v("#")]),e._v(" Fixing System Clocks: Manual")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#determining-which-ssdt-you-need"}},[e._v("Determining which SSDT you need")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#rtc0-method"}},[e._v("RTC0 Method")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#finding-the-acpi-path"}},[e._v("Finding the ACPI path")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#edits-to-the-sample-ssdt"}},[e._v("Edits to the sample SSDT")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#compiling-the-ssdt"}},[e._v("Compiling the SSDT")])])])]),e._v(" "),s("li",[s("a",{attrs:{href:"#wrapping-up"}},[e._v("Wrapping up")])])]),e._v(" "),s("h2",{attrs:{id:"determining-which-ssdt-you-need"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#determining-which-ssdt-you-need"}},[e._v("#")]),e._v(" Determining which SSDT you need")]),e._v(" "),s("p",[e._v("Finding which SSDT you need is quite easy actually, first open your decompiled DSDT you got from "),s("RouterLink",{attrs:{to:"/Manual/dump.html"}},[e._v("Dumping the DSDT")]),e._v(" and "),s("RouterLink",{attrs:{to:"/Manual/compile.html"}},[e._v("Decompiling and Compiling")]),e._v(" with either maciASL(if in macOS) or any other text editor if in Windows or Linux(VSCode has an "),s("a",{attrs:{href:"https://marketplace.visualstudio.com/items?itemName=Thog.vscode-asl",target:"_blank",rel:"noopener noreferrer"}},[e._v("ACPI extension"),s("OutboundLink")],1),e._v(" that can also help).")],1),e._v(" "),s("p",[e._v("Next search for "),s("code",[e._v("ACPI000E")]),e._v(". You should get something similar:")]),e._v(" "),s("p",[s("img",{attrs:{src:a(371),alt:""}})]),e._v(" "),s("p",[e._v("The above tells us a few things:")]),e._v(" "),s("ul",[s("li",[e._v("We in fact do have an AWAC clock\n"),s("ul",[s("li",[e._v("If nothing shows up, you don't need to do anything for AWAC or RTC")])])]),e._v(" "),s("li",[e._v("It can be easily disabled with STAS(if not, you can skip to here: "),s("a",{attrs:{href:"#rtc0-method"}},[e._v("RTC0 Method")]),e._v(")\n"),s("ul",[s("li",[s("code",[e._v("_STA")]),e._v(" is the device status, with "),s("code",[e._v("Zero")]),e._v(" meaning it won't show up")])])])]),e._v(" "),s("p",[e._v("But to double check, next search for "),s("code",[e._v("PNP0B00")]),e._v(":")]),e._v(" "),s("p",[s("img",{attrs:{src:a(372),alt:""}})]),e._v(" "),s("p",[e._v("And looks at that, we can in fact disable our AWAC and enable the RTC! If not skip to here: "),s("a",{attrs:{href:"#rtc0-method"}},[e._v("RTC0 Method")])]),e._v(" "),s("p",[e._v("Now it's as simple as grabbing "),s("a",{attrs:{href:"https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/AcpiSamples/SSDT-AWAC.dsl",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDT-AWAC.dsl"),s("OutboundLink")],1),e._v(" and "),s("a",{attrs:{href:"#compiling-the-ssdt"}},[e._v("compile")]),e._v(", no changes needed You can also use the below SSDT to the same effect:")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/compiled/SSDT-AWAC.aml",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDT-AWAC.aml"),s("OutboundLink")],1)])]),e._v(" "),s("h3",{attrs:{id:"ini-edge-cases"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#ini-edge-cases"}},[e._v("#")]),e._v(" _INI Edge Cases")]),e._v(" "),s("p",[e._v("Mainly seen on X299 refresh boards, there's already a "),s("code",[e._v("Scope (_SB) { Method (_INI...")]),e._v(" in your DSDT. This means our SSDT-AWAC will conflict with the one found in our DSDT. For these situations, you'll want to remove "),s("code",[e._v("Method (_INI, 0, NotSerialized) {}")]),e._v(" from the SSDT. You'll be left this this in the end:")]),e._v(" "),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v('DefinitionBlock ("", "SSDT", 2, "DRTNIA", "AWAC", 0x00000000)\n{\n External (STAS, IntObj)\n\n Scope (_SB)\n {\n If (_OSI ("Darwin"))\n {\n STAS = One\n }\n }\n}\n')])])]),s("h2",{attrs:{id:"rtc0-method"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#rtc0-method"}},[e._v("#")]),e._v(" RTC0 Method")]),e._v(" "),s("p",[e._v("This method is for those who either don't have a "),s("code",[e._v("PNP0B00")]),e._v(" device to re-enable or have no easy way(via STAS variable).")]),e._v(" "),s("h3",{attrs:{id:"finding-the-acpi-path"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#finding-the-acpi-path"}},[e._v("#")]),e._v(" Finding the ACPI path")]),e._v(" "),s("p",[e._v("Assuming you've gotten your DSDT already opened from earlier, search for the following:")]),e._v(" "),s("ul",[s("li",[e._v("Finding the LowPinCount path:\n"),s("ul",[s("li",[e._v("Search "),s("code",[e._v("Name (_ADR, 0x001F0000)")])])])]),e._v(" "),s("li",[e._v("Finding the PCI path:\n"),s("ul",[s("li",[e._v("Search "),s("code",[e._v("PNP0A08")]),e._v(" (If multiple show up, use the first one)")])])])]),e._v(" "),s("p",[e._v("You should get something like the following show up:")]),e._v(" "),s("table",[s("thead",[s("tr",[s("th",{staticStyle:{"text-align":"center"}},[e._v("LPC Pathing")]),e._v(" "),s("th",{staticStyle:{"text-align":"center"}},[e._v("PCI Pathing")])])]),e._v(" "),s("tbody",[s("tr",[s("td",{staticStyle:{"text-align":"center"}},[s("img",{attrs:{src:a(329),alt:""}})]),e._v(" "),s("td",{staticStyle:{"text-align":"center"}},[s("img",{attrs:{src:a(330),alt:""}})])])])]),e._v(" "),s("p",[e._v("From the above, we can see we have both "),s("code",[e._v("PCI0")]),e._v(" and "),s("code",[e._v("LPC")]),e._v(". Now we can head to the next stage")]),e._v(" "),s("h3",{attrs:{id:"edits-to-the-sample-ssdt"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#edits-to-the-sample-ssdt"}},[e._v("#")]),e._v(" Edits to the sample SSDT")]),e._v(" "),s("p",[e._v("Now that we have our ACPI path, lets grab our SSDT and get to work:")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/AcpiSamples/SSDT-RTC0.dsl",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDT-RTC0.dsl"),s("OutboundLink")],1)])]),e._v(" "),s("p",[e._v("By default, this uses "),s("code",[e._v("PCI0.LPCB")]),e._v(" for the pathing. you'll want to rename accordingly.")]),e._v(" "),s("p",[e._v("Following the example from above, we'll be renaming it to "),s("code",[e._v("PCI0.LPC")]),e._v(":")]),e._v(" "),s("p",[s("strong",[e._v("Before")]),e._v(":")]),e._v(" "),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v("External (_SB_.PCI0.LPCB, DeviceObj) <- Rename this\n\nScope (_SB.PCI0.LPCB) <- Rename this\n")])])]),s("p",[s("img",{attrs:{src:a(373),alt:""}})]),e._v(" "),s("p",[e._v("Following the example pathing we found, the SSDT should look something like this:")]),e._v(" "),s("p",[s("strong",[e._v("After")]),e._v(":")]),e._v(" "),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v("External (_SB_.PCI0.LPC, DeviceObj) <- Renamed\n\nScope (_SB.PCI0.LPC) <- Renamed\n")])])]),s("p",[s("img",{attrs:{src:a(374),alt:""}})]),e._v(" "),s("h3",{attrs:{id:"compiling-the-ssdt"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#compiling-the-ssdt"}},[e._v("#")]),e._v(" Compiling the SSDT")]),e._v(" "),s("p",[e._v("With the SSDT done, you're now "),s("RouterLink",{attrs:{to:"/Manual/compile.html"}},[e._v("ready to compile the SSDT!")])],1),e._v(" "),s("h2",{attrs:{id:"wrapping-up"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#wrapping-up"}},[e._v("#")]),e._v(" Wrapping up")]),e._v(" "),s("p",[e._v("Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:")]),e._v(" "),s("ul",[s("li",[s("RouterLink",{attrs:{to:"/cleanup.html"}},[s("strong",[e._v("Cleanup")])])],1)])])}),[],!1,null,null,null);t.default=n.exports}}]); \ No newline at end of file diff --git a/assets/js/40.841e8a37.js b/assets/js/40.841e8a37.js new file mode 100644 index 0000000..b00ff7f --- /dev/null +++ b/assets/js/40.841e8a37.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[40],{430:function(t,s,e){"use strict";e.r(s);var a=e(25),i=Object(a.a)({},(function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"fixing-nvram-ssdt-pmc"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#fixing-nvram-ssdt-pmc"}},[t._v("#")]),t._v(" Fixing NVRAM (SSDT-PMC)")]),t._v(" "),e("ul",[e("li",[e("a",{attrs:{href:"#what-this-ssdt-does"}},[t._v("What this SSDT does")])]),t._v(" "),e("li",[e("a",{attrs:{href:"#methods-to-make-this-ssdt"}},[t._v("Methods to make this SSDT")])])]),t._v(" "),e("h2",{attrs:{id:"what-this-ssdt-does"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#what-this-ssdt-does"}},[t._v("#")]),t._v(" What this SSDT does")]),t._v(" "),e("p",[t._v('This SSDT is required for all "true" 300 series motherboards(Z370 is excluded), it specifically brings back NVRAM support and requires very little configuration for the end user.')]),t._v(" "),e("ul",[e("li",[t._v("B360")]),t._v(" "),e("li",[t._v("B365")]),t._v(" "),e("li",[t._v("H310")]),t._v(" "),e("li",[t._v("H370")]),t._v(" "),e("li",[t._v("Z390")])]),t._v(" "),e("p",[t._v("10th gen motherboards "),e("strong",[t._v("do not")]),t._v(" need this SSDT, NVRAM's native on these platforms.")]),t._v(" "),e("h2",{attrs:{id:"methods-to-make-this-ssdt"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#methods-to-make-this-ssdt"}},[t._v("#")]),t._v(" Methods to make this SSDT")]),t._v(" "),e("p",[t._v("The main ways to make this SSDT:")]),t._v(" "),e("ul",[e("li",[e("RouterLink",{attrs:{to:"/Universal/nvram-methods/prebuilt.html"}},[t._v("Prebuilt")])],1),t._v(" "),e("li",[e("RouterLink",{attrs:{to:"/Universal/nvram-methods/manual.html"}},[t._v("Manual")])],1)])])}),[],!1,null,null,null);s.default=i.exports}}]); \ No newline at end of file diff --git a/assets/js/41.582faaa6.js b/assets/js/41.582faaa6.js new file mode 100644 index 0000000..12b44bc --- /dev/null +++ b/assets/js/41.582faaa6.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[41],{432:function(e,t,r){"use strict";r.r(t);var a=r(25),n=Object(a.a)({},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[r("h1",{attrs:{id:"fixing-power-management-prebuilt"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#fixing-power-management-prebuilt"}},[e._v("#")]),e._v(" Fixing Power Management: Prebuilt")]),e._v(" "),r("p",[e._v("By far the easiest way to get SSDT-PLUG is just downloading the below file:")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/compiled/SSDT-PLUG-DRTNIA.aml",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDT-PLUG-DRTNIA.aml"),r("OutboundLink")],1)])]),e._v(" "),r("p",[e._v("This prebuilt file is just a precompiled version of "),r("a",{attrs:{href:"https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/AcpiSamples/SSDT-PLUG.dsl",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDT-PLUG"),r("OutboundLink")],1),e._v(" provided by Acidanthera.")]),e._v(" "),r("p",[e._v("The main things to note with this method:")]),e._v(" "),r("ul",[r("li",[e._v("Quite Bloated\n"),r("ul",[r("li",[e._v("There's ACPI naming for every type, this means there's added delays in boot times(though unnoticeable to most as it's generally 0.5 seconds longer)")])])]),e._v(" "),r("li",[e._v("Doesn't really teach you anything\n"),r("ul",[r("li",[e._v("For most, this doesn't matter. But to some knowing what makes your hackintosh tick is part of the journey")])])])]),e._v(" "),r("h2",{attrs:{id:"wrapping-up"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#wrapping-up"}},[e._v("#")]),e._v(" Wrapping up")]),e._v(" "),r("p",[e._v("Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:")]),e._v(" "),r("ul",[r("li",[r("RouterLink",{attrs:{to:"/cleanup.html"}},[r("strong",[e._v("Cleanup")])])],1)])])}),[],!1,null,null,null);t.default=n.exports}}]); \ No newline at end of file diff --git a/assets/js/42.ed0e6ae5.js b/assets/js/42.ed0e6ae5.js new file mode 100644 index 0000000..e5b3754 --- /dev/null +++ b/assets/js/42.ed0e6ae5.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[42],{433:function(e,t,o){"use strict";o.r(t);var a=o(25),r=Object(a.a)({},(function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[o("h1",{attrs:{id:"fixing-power-management-ssdttime"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#fixing-power-management-ssdttime"}},[e._v("#")]),e._v(" Fixing Power Management: SSDTTime")]),e._v(" "),o("p",[e._v("The second involves using SSDTTime which automates most of the process. See here on how to use it: "),o("RouterLink",{attrs:{to:"/ssdt-methods/ssdt-easy.html"}},[e._v("SSDTs: Easy Way")])],1),e._v(" "),o("p",[e._v("To get the SSDT-PLUG, run the following:")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("4. Dump DSDT")]),e._v(" then run "),o("code",[e._v("3. PluginType")])])]),e._v(" "),o("p",[e._v("This will provide you with some files, the main one you care about is SSDT-PLUG**.aml**. The DSDT and .dsl are only left for referencing or verification.")]),e._v(" "),o("p",[e._v("The main things to note with this method:")]),e._v(" "),o("ul",[o("li",[e._v("Doesn't work on HEDT and server hardware(ie. X99 and X299)\n"),o("ul",[o("li",[e._v("While the majority following this guide are likely on consumer hardware, those with fancier hardware will need to either use the "),o("a",{attrs:{href:"#prebuilts"}},[e._v("Prebuilt")]),e._v(" or "),o("a",{attrs:{href:"#manual"}},[e._v("Manual")]),e._v(" method")])])]),e._v(" "),o("li",[e._v("Doesn't really teach you anything\n"),o("ul",[o("li",[e._v("For most, this doesn't matter. But to some knowing what makes your hackintosh tick is part of the journey")])])])]),e._v(" "),o("h2",{attrs:{id:"wrapping-up"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#wrapping-up"}},[e._v("#")]),e._v(" Wrapping up")]),e._v(" "),o("p",[e._v("Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:")]),e._v(" "),o("ul",[o("li",[o("RouterLink",{attrs:{to:"/cleanup.html"}},[o("strong",[e._v("Cleanup")])])],1)])])}),[],!1,null,null,null);t.default=r.exports}}]); \ No newline at end of file diff --git a/assets/js/43.8c05d7f3.js b/assets/js/43.8c05d7f3.js new file mode 100644 index 0000000..e283c97 --- /dev/null +++ b/assets/js/43.8c05d7f3.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[43],{434:function(t,e,s){"use strict";s.r(e);var a=s(25),o=Object(a.a)({},(function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[s("h1",{attrs:{id:"fixing-power-management-ssdt-plug"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#fixing-power-management-ssdt-plug"}},[t._v("#")]),t._v(" Fixing Power Management (SSDT-PLUG)")]),t._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#fixing-power-management-ssdt-plug"}},[t._v("Fixing Power Management (SSDT-PLUG)")]),t._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#what-this-ssdt-does"}},[t._v("What this SSDT does")])]),t._v(" "),s("li",[s("a",{attrs:{href:"#methods-to-make-this-ssdt"}},[t._v("Methods to make this SSDT")])])])])]),t._v(" "),s("h2",{attrs:{id:"what-this-ssdt-does"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#what-this-ssdt-does"}},[t._v("#")]),t._v(" What this SSDT does")]),t._v(" "),s("p",[t._v("The purpose of SSDT-PLUG is to allow the kernel's XCPM(XNU's CPU Power Management) to manage our CPU's power management. It's pretty self explanatory why you'd want this.")]),t._v(" "),s("p",[s("strong",[t._v("Note")]),t._v(": SSDT-PLUG is only compatible with Intel's Haswell and newer CPUs, Sandy Bridge and Ivy Bridge will need to follow the "),s("a",{attrs:{href:"https://dortania.github.io/OpenCore-Post-Install/universal/pm.html#sandy-and-ivy-bridge-power-management",target:"_blank",rel:"noopener noreferrer"}},[t._v("ssdtPRgen method"),s("OutboundLink")],1),t._v("(in post-install) while AMD users should not use this(unless attempting to attach AGPM which is outside the scope of Dortania's guides)")]),t._v(" "),s("h2",{attrs:{id:"methods-to-make-this-ssdt"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#methods-to-make-this-ssdt"}},[t._v("#")]),t._v(" Methods to make this SSDT")]),t._v(" "),s("p",[t._v("For SSDT-PLUG, there are 3 methods you can choose from:")]),t._v(" "),s("ul",[s("li",[s("RouterLink",{attrs:{to:"/Universal/plug-methods/prebuilt.html"}},[t._v("Prebuilt")])],1),t._v(" "),s("li",[s("RouterLink",{attrs:{to:"/Universal/plug-methods/ssdttime.html"}},[t._v("SSDTTime")]),t._v(" "),s("ul",[s("li",[t._v("Note this method does not support "),s("strong",[t._v("servers")]),t._v(" or "),s("strong",[t._v("HEDT systems")])])])],1),t._v(" "),s("li",[s("RouterLink",{attrs:{to:"/Universal/plug-methods/manual.html"}},[t._v("Manual")])],1)])])}),[],!1,null,null,null);e.default=o.exports}}]); \ No newline at end of file diff --git a/assets/js/44.40f02ba5.js b/assets/js/44.40f02ba5.js new file mode 100644 index 0000000..2c5b0d5 --- /dev/null +++ b/assets/js/44.40f02ba5.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[44],{436:function(t,e,r){"use strict";r.r(e);var a=r(25),n=Object(a.a)({},(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[r("h1",{attrs:{id:"fixing-usb-prebuilt"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#fixing-usb-prebuilt"}},[t._v("#")]),t._v(" Fixing USB: Prebuilt")]),t._v(" "),r("p",[t._v("By far the easiest method, all you need to do is download the following file:")]),t._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/compiled/SSDT-RHUB.aml",target:"_blank",rel:"noopener noreferrer"}},[t._v("SSDT-RHUB.aml"),r("OutboundLink")],1)])]),t._v(" "),r("h2",{attrs:{id:"wrapping-up"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#wrapping-up"}},[t._v("#")]),t._v(" Wrapping up")]),t._v(" "),r("p",[t._v("Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:")]),t._v(" "),r("ul",[r("li",[r("RouterLink",{attrs:{to:"/cleanup.html"}},[r("strong",[t._v("Cleanup")])])],1)])])}),[],!1,null,null,null);e.default=n.exports}}]); \ No newline at end of file diff --git a/assets/js/45.1da8bea8.js b/assets/js/45.1da8bea8.js new file mode 100644 index 0000000..4871a1d --- /dev/null +++ b/assets/js/45.1da8bea8.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[45],{437:function(t,s,e){"use strict";e.r(s);var a=e(25),i=Object(a.a)({},(function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"fixing-usb"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#fixing-usb"}},[t._v("#")]),t._v(" Fixing USB")]),t._v(" "),e("ul",[e("li",[e("a",{attrs:{href:"#what-this-ssdt-does"}},[t._v("What this SSDT does")])]),t._v(" "),e("li",[e("a",{attrs:{href:"#methods-to-make-this-ssdt"}},[t._v("Methods to make this SSDT")])])]),t._v(" "),e("h2",{attrs:{id:"what-this-ssdt-does"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#what-this-ssdt-does"}},[t._v("#")]),t._v(" What this SSDT does")]),t._v(" "),e("p",[t._v("So on 400 series motherboards, certain OEMs have broken the ACPI spec and this results in issues when booting into macOS. To fix this, we'll want to turn off the RHUB device and force macOS to manually rebuild the ports.")]),t._v(" "),e("p",[t._v("The following platforms will require fixing:")]),t._v(" "),e("ul",[e("li",[t._v("Mobile Icelake(currently Dell and Lenovo are the 2 known with this issue)")]),t._v(" "),e("li",[t._v("Asus Z490 (Gigabyte and AsRock users are fine, whether MSI currently this is unknown)")])]),t._v(" "),e("h2",{attrs:{id:"methods-to-make-this-ssdt"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#methods-to-make-this-ssdt"}},[t._v("#")]),t._v(" Methods to make this SSDT")]),t._v(" "),e("p",[t._v("For the RTC fix, there are 2 methods you can choose from:")]),t._v(" "),e("ul",[e("li",[e("RouterLink",{attrs:{to:"/Universal/rhub-methods/prebuilt.html"}},[t._v("Prebuilt")])],1),t._v(" "),e("li",[e("RouterLink",{attrs:{to:"/Universal/rhub-methods/manual.html"}},[t._v("Manual")])],1)])])}),[],!1,null,null,null);s.default=i.exports}}]); \ No newline at end of file diff --git a/assets/js/46.337c251a.js b/assets/js/46.337c251a.js new file mode 100644 index 0000000..dbfc01d --- /dev/null +++ b/assets/js/46.337c251a.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[46],{439:function(t,s,e){"use strict";e.r(s);var i=e(25),a=Object(i.a)({},(function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"fixing-smbus-support-ssdt-sbus-mchc"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#fixing-smbus-support-ssdt-sbus-mchc"}},[t._v("#")]),t._v(" Fixing SMBus support (SSDT-SBUS-MCHC)")]),t._v(" "),e("ul",[e("li",[e("a",{attrs:{href:"#what-this-ssdt-does"}},[t._v("What this SSDT does")])]),t._v(" "),e("li",[e("a",{attrs:{href:"#methods-to-make-this-ssdt"}},[t._v("Methods to make this SSDT")])])]),t._v(" "),e("h2",{attrs:{id:"what-this-ssdt-does"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#what-this-ssdt-does"}},[t._v("#")]),t._v(" What this SSDT does")]),t._v(" "),e("p",[t._v("This section of the guide refers to fixing AppleSMBus support in macOS, what is AppleSMBus? Well this mainly handles the System Management Bus, which has many functions like:")]),t._v(" "),e("ul",[e("li",[t._v("AppleSMBusController\n"),e("ul",[e("li",[t._v("Aids with correct temperature, fan, voltage, ICH, etc readings")])])]),t._v(" "),e("li",[t._v("AppleSMBusPCI\n"),e("ul",[e("li",[t._v("Same idea as AppleSMBusController except for low bandwidth PCI devices")])])]),t._v(" "),e("li",[t._v("Memory Reporting\n"),e("ul",[e("li",[t._v("Aids in proper memory reporting and can aid in getting better kernel panic details if memory related")])])]),t._v(" "),e("li",[t._v("Other things SMBus does: "),e("a",{attrs:{href:"https://en.wikipedia.org/wiki/System_Management_Bus",target:"_blank",rel:"noopener noreferrer"}},[t._v("SMBus wiki"),e("OutboundLink")],1)])]),t._v(" "),e("p",[t._v("For install purposes, this SSDT isn't needed but for post-install it's recommended to put the final touches on your hack.")]),t._v(" "),e("h2",{attrs:{id:"methods-to-make-this-ssdt"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#methods-to-make-this-ssdt"}},[t._v("#")]),t._v(" Methods to make this SSDT")]),t._v(" "),e("p",[t._v("To make this SSDT, you only got 1 method: Doing it manually")]),t._v(" "),e("ul",[e("li",[e("RouterLink",{attrs:{to:"/Universal/smbus-methods/manual.html"}},[t._v("Manual")])],1)])])}),[],!1,null,null,null);s.default=a.exports}}]); \ No newline at end of file diff --git a/assets/js/47.4677ceb1.js b/assets/js/47.4677ceb1.js new file mode 100644 index 0000000..dcd0efc --- /dev/null +++ b/assets/js/47.4677ceb1.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[47],{441:function(e,t,o){"use strict";o.r(t);var n=o(25),i=Object(n.a)({},(function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[o("h1",{attrs:{id:"cleanup"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#cleanup"}},[e._v("#")]),e._v(" Cleanup")]),e._v(" "),o("p",[e._v("So you've made all your SSDTs but now there's one thing left: Adding them to Opencore")]),e._v(" "),o("p",[e._v("The 2 main locations:")]),e._v(" "),o("ul",[o("li",[e._v("EFI/OC/ACPI (Only "),o("strong",[e._v(".aml")]),e._v(" files, reminder to "),o("RouterLink",{attrs:{to:"/Manual/compile.html"}},[e._v("compile your SSDTs")]),e._v(")")],1),e._v(" "),o("li",[e._v("config.plist -> ACPI -> Add")])]),e._v(" "),o("p",[e._v("You can save yourself some work with the config.plist by running Cmd/Ctrl+R in ProperTree. "),o("strong",[e._v("Reminder do not add your DSDT.aml to your EFI")])]),e._v(" "),o("p",[e._v("For those who do not yet have a config.plist, you'll want to next head back to your respective OpenCore guides and create the config.plist:")]),e._v(" "),o("ul",[o("li",[o("a",{attrs:{href:"https://dortania.github.io/OpenCore-Install-Guide/",target:"_blank",rel:"noopener noreferrer"}},[e._v("OpenCore Install guide"),o("OutboundLink")],1)])]),e._v(" "),o("p",[e._v("Users of "),o("code",[e._v("FixHPET")]),e._v(" will also need to merge oc_patches.plist into their config.plist")]),e._v(" "),o("p",[e._v("Steps to do this:")]),e._v(" "),o("ul",[o("li",[e._v("Open both files,")]),e._v(" "),o("li",[e._v("Delete the "),o("code",[e._v("ACPI -> Patch")]),e._v(" section from config.plist")]),e._v(" "),o("li",[e._v("Copy the "),o("code",[e._v("ACPI -> Patch")]),e._v(" section from patches.plist")]),e._v(" "),o("li",[e._v("Paste into where old patches were in config.plist")])])])}),[],!1,null,null,null);t.default=i.exports}}]); \ No newline at end of file diff --git a/assets/js/48.a66fecfb.js b/assets/js/48.a66fecfb.js new file mode 100644 index 0000000..a3ec1db --- /dev/null +++ b/assets/js/48.a66fecfb.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[48],{443:function(e,t,s){"use strict";s.r(t);var a=s(25),o=Object(a.a)({},(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[s("h1",{attrs:{id:"ssdts-the-long-way"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#ssdts-the-long-way"}},[e._v("#")]),e._v(" SSDTs: The long way")]),e._v(" "),s("p",[e._v("Well sadly some things are not handled by SSDTTime, well have no fear as making SSDTs is super easy. The basic process:")]),e._v(" "),s("ul",[s("li",[e._v("Dump DSDT(the one SSDTTime did for use will work)")]),e._v(" "),s("li",[e._v("Decompile DSDT")]),e._v(" "),s("li",[e._v("Make SSDTs based of of it(You'll need either MaciASL or a text editor for this)")]),e._v(" "),s("li",[e._v("Compile SSDTs")])]),e._v(" "),s("p",[e._v("Now continue forth and master the ways of ACPI!")])])}),[],!1,null,null,null);t.default=o.exports}}]); \ No newline at end of file diff --git a/assets/js/49.6d09c6c3.js b/assets/js/49.6d09c6c3.js new file mode 100644 index 0000000..5b881b4 --- /dev/null +++ b/assets/js/49.6d09c6c3.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[49],{444:function(t,e,l){"use strict";l.r(e);var a=l(25),s=Object(a.a)({},(function(){var t=this,e=t.$createElement,l=t._self._c||e;return l("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[l("h1",{attrs:{id:"how-to-create-ssdts"}},[l("a",{staticClass:"header-anchor",attrs:{href:"#how-to-create-ssdts"}},[t._v("#")]),t._v(" How to create SSDTs")]),t._v(" "),l("p",[t._v("Creating SSDTs mainly fall into 3 camps:")]),t._v(" "),l("ul",[l("li",[t._v("Prebuilt SSDTs\n"),l("ul",[l("li",[t._v("They work but not perfect")])])]),t._v(" "),l("li",[t._v("Automated tools\n"),l("ul",[l("li",[t._v("Mainly seen with SSDTTime, work much better though can't cover all situations")])])]),t._v(" "),l("li",[t._v("Manually creating them\n"),l("ul",[l("li",[t._v("Will always work, be much cleaner and get to learn about the process")])])])])])}),[],!1,null,null,null);e.default=s.exports}}]); \ No newline at end of file diff --git a/assets/js/5.700830ef.js b/assets/js/5.700830ef.js new file mode 100644 index 0000000..78596fc --- /dev/null +++ b/assets/js/5.700830ef.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{375:function(e,t,a){e.exports=a.p+"assets/img/pnp.8c2387eb.png"},376:function(e,t,a){e.exports=a.p+"assets/img/ec.dd4b7c64.png"},377:function(e,t,a){e.exports=a.p+"assets/img/ssdt-before.b846f355.png"},378:function(e,t,a){e.exports=a.p+"assets/img/ssdt-after.7996c4b7.png"},379:function(e,t,a){e.exports=a.p+"assets/img/sta.e2d0aed0.png"},424:function(e,t,a){"use strict";a.r(t);var s=a(25),r=Object(s.a)({},(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[s("h1",{attrs:{id:"fixing-embedded-controllers-manual"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#fixing-embedded-controllers-manual"}},[e._v("#")]),e._v(" Fixing Embedded Controllers: Manual")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#fixing-embedded-controllers-manual"}},[e._v("Fixing Embedded Controllers: Manual")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#finding-the-acpi-path"}},[e._v("Finding the ACPI path")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#dsdt"}},[e._v("DSDT")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#devicemanager"}},[e._v("DeviceManager")])])])]),e._v(" "),s("li",[s("a",{attrs:{href:"#edits-to-the-sample-ssdt"}},[e._v("Edits to the sample SSDT")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#edge-cases"}},[e._v("Edge Cases")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#multiple-pnp0c09s-show-up"}},[e._v("Multiple PNP0C09's show up")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#no-pnp0c09-show-up"}},[e._v("No PNP0C09 show up")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#pnp0c09-already-named-ec"}},[e._v("PNP0C09 already named "),s("code",[e._v("EC")])])]),e._v(" "),s("li",[s("a",{attrs:{href:"#pnp0c09-already-has-an-_sta-method"}},[e._v("PNP0C09 already has an "),s("code",[e._v("_STA")]),e._v(" method")])])])]),e._v(" "),s("li",[s("a",{attrs:{href:"#compiling-the-ssdt"}},[e._v("Compiling the SSDT")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#wrapping-up"}},[e._v("Wrapping up")])])])])]),e._v(" "),s("p",[e._v("TO-DO:")]),e._v(" "),s("ul",[s("li",[e._v("Finish Edge cases and sample SSDT edits")])]),e._v(" "),s("h2",{attrs:{id:"finding-the-acpi-path"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#finding-the-acpi-path"}},[e._v("#")]),e._v(" Finding the ACPI path")]),e._v(" "),s("p",[e._v("To find the ACPI pathing, you have 2 methods:")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#DSDT"}},[e._v("DSDT")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#devicemanager"}},[e._v("DeviceManager")])])]),e._v(" "),s("h3",{attrs:{id:"dsdt"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#dsdt"}},[e._v("#")]),e._v(" DSDT")]),e._v(" "),s("p",[e._v("Finding the ACPI pathing is quite easy actually, first open your decompiled DSDT you got from "),s("RouterLink",{attrs:{to:"/Manual/dump.html"}},[e._v("Dumping the DSDT")]),e._v(" and "),s("RouterLink",{attrs:{to:"/Manual/compile.html"}},[e._v("Decompiling and Compiling")]),e._v(" with either maciASL(if in macOS) or any other text editor if in Windows or Linux(VSCode has an "),s("a",{attrs:{href:"https://marketplace.visualstudio.com/items?itemName=Thog.vscode-asl",target:"_blank",rel:"noopener noreferrer"}},[e._v("ACPI extension"),s("OutboundLink")],1),e._v(" that can also help).")],1),e._v(" "),s("p",[e._v("Next, search for "),s("code",[e._v("PNP0C09")]),e._v(". You should get something similar:")]),e._v(" "),s("p",[s("img",{attrs:{src:a(375),alt:""}})]),e._v(" "),s("p",[e._v("From the above example we see 2 main things:")]),e._v(" "),s("ul",[s("li",[e._v("Name of our embedded controller\n"),s("ul",[s("li",[e._v("In this case being "),s("code",[e._v("EC0")])])])]),e._v(" "),s("li",[e._v("Pathing of our embedded controller\n"),s("ul",[s("li",[s("code",[e._v("PC00.LPC0")])])])])]),e._v(" "),s("p",[e._v("But now we get into edge case territory, what fun!")]),e._v(" "),s("p",[e._v("The main ones to check for are:")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#fixing-embedded-controllers-manual"}},[e._v("Fixing Embedded Controllers: Manual")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#finding-the-acpi-path"}},[e._v("Finding the ACPI path")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#dsdt"}},[e._v("DSDT")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#devicemanager"}},[e._v("DeviceManager")])])])]),e._v(" "),s("li",[s("a",{attrs:{href:"#edits-to-the-sample-ssdt"}},[e._v("Edits to the sample SSDT")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#edge-cases"}},[e._v("Edge Cases")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#multiple-pnp0c09s-show-up"}},[e._v("Multiple PNP0C09's show up")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#no-pnp0c09-show-up"}},[e._v("No PNP0C09 show up")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#pnp0c09-already-named-ec"}},[e._v("PNP0C09 already named "),s("code",[e._v("EC")])])]),e._v(" "),s("li",[s("a",{attrs:{href:"#pnp0c09-already-has-an-_sta-method"}},[e._v("PNP0C09 already has an "),s("code",[e._v("_STA")]),e._v(" method")])])])]),e._v(" "),s("li",[s("a",{attrs:{href:"#compiling-the-ssdt"}},[e._v("Compiling the SSDT")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#wrapping-up"}},[e._v("Wrapping up")])])])])]),e._v(" "),s("p",[e._v("If none of the above apply to you, you're ready for the next section:")]),e._v(" "),s("h3",{attrs:{id:"devicemanager"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#devicemanager"}},[e._v("#")]),e._v(" DeviceManager")]),e._v(" "),s("p",[e._v("If you already have Windows installed on this machine, finding the EC pathing is fairly easy.")]),e._v(" "),s("p",[e._v("Start by opening up Device Manager in Windows and looking for a device named "),s("code",[e._v("Embedded Controller")]),e._v(". Once found, click on it and select the "),s("code",[e._v("BIOS device Name")]),e._v(" entry. You should get something like this:")]),e._v(" "),s("p",[s("img",{attrs:{src:a(376),alt:""}})]),e._v(" "),s("p",[e._v("From the above, we can see that our pathing is "),s("code",[e._v("SB.PC00.LPC0.EC0")])]),e._v(" "),s("p",[e._v("Now with the pathing, you can head here: "),s("a",{attrs:{href:"#edits-to-the-sample-ssdt"}},[e._v("Edits to the sample SSDT")])]),e._v(" "),s("h2",{attrs:{id:"edits-to-the-sample-ssdt"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#edits-to-the-sample-ssdt"}},[e._v("#")]),e._v(" Edits to the sample SSDT")]),e._v(" "),s("p",[e._v("Now that we have our ACPI path, lets grab our SSDT and get to work:")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/AcpiSamples/SSDT-EC-USBX.dsl",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDT-EC-USBX"),s("OutboundLink")],1),e._v(" "),s("ul",[s("li",[e._v("For Skylake and newer and all AMD systems")])])]),e._v(" "),s("li",[s("a",{attrs:{href:"https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/AcpiSamples/SSDT-EC.dsl",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDT-EC"),s("OutboundLink")],1),e._v(" "),s("ul",[s("li",[e._v("For Broadwell and older")])])])]),e._v(" "),s("p",[e._v("Now when opening this SSDT, you'll notice a few things. Mainly:")]),e._v(" "),s("ul",[s("li",[e._v("Some code is commented out\n"),s("ul",[s("li",[e._v("This is code for disabling our EC")]),e._v(" "),s("li",[e._v("Laptops users "),s("strong",[e._v("SHOULD NOT")]),e._v(" uncomment this")])])]),e._v(" "),s("li",[e._v("There's a new EC called "),s("code",[e._v("Device (EC)")]),e._v(" "),s("ul",[s("li",[s("strong",[e._v("DO NOT RENAME THIS")]),e._v(", this will be the EC we give to macOS")])])])]),e._v(" "),s("p",[s("strong",[e._v("Before")]),e._v(":")]),e._v(" "),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v("External (_SB_.PCI0.LPCB, DeviceObj) <- Rename this\n\nScope (_SB.PCI0.LPCB) <- Rename this\n")])])]),s("p",[s("img",{attrs:{src:a(377),alt:""}})]),e._v(" "),s("p",[e._v("Following the example pathing we found, the SSDT should look something like this:")]),e._v(" "),s("p",[s("strong",[e._v("After")]),e._v(":")]),e._v(" "),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v("External (_SB_.PC00.LPC0, DeviceObj) <- Renamed\n\nScope (_SB.PC00.LPC0) <- Renamed\n")])])]),s("p",[s("img",{attrs:{src:a(378),alt:""}})]),e._v(" "),s("h2",{attrs:{id:"edge-cases"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#edge-cases"}},[e._v("#")]),e._v(" Edge Cases")]),e._v(" "),s("h3",{attrs:{id:"multiple-pnp0c09-s-show-up"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#multiple-pnp0c09-s-show-up"}},[e._v("#")]),e._v(" Multiple PNP0C09's show up")]),e._v(" "),s("p",[e._v("When multiple PNP0C09 show up, we need to next check for the following properties:")]),e._v(" "),s("ul",[s("li",[s("code",[e._v("_HID")]),e._v(" (Hardware ID)")]),e._v(" "),s("li",[s("code",[e._v("_CRS")]),e._v(" (Current Resource Settings)")]),e._v(" "),s("li",[s("code",[e._v("_GPE")]),e._v(" (General Purpose Events)")])]),e._v(" "),s("p",[e._v("What these signify is whether this PNP0C09 device is real or not, as per the "),s("a",{attrs:{href:"https://uefi.org/sites/default/files/resources/ACPI_6_3_final_Jan30.pdf",target:"_blank",rel:"noopener noreferrer"}},[e._v("ACPI spec"),s("OutboundLink")],1),e._v(". So one's matching the above criteria are the one's we want to disable.")]),e._v(" "),s("ul",[s("li",[e._v("Note: If _STA shows up as well, you'll need to go here: "),s("a",{attrs:{href:"#pnp0c09-already-has-an-sta-method"}},[e._v("PNP0C09 already has an "),s("code",[e._v("_STA")]),e._v(" method")])])]),e._v(" "),s("h3",{attrs:{id:"no-pnp0c09-show-up"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#no-pnp0c09-show-up"}},[e._v("#")]),e._v(" No PNP0C09 show up")]),e._v(" "),s("p",[e._v("When this happens, you'll only need to create a \"dummy\" EC for macOS. You'll still want to find the PCI and LPC pathing for this device. So follow the guide as if you were creating a laptop SSDT-EC/USBX.")]),e._v(" "),s("h3",{attrs:{id:"pnp0c09-already-named-ec"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#pnp0c09-already-named-ec"}},[e._v("#")]),e._v(" PNP0C09 already named "),s("code",[e._v("EC")])]),e._v(" "),s("p",[e._v("Congrats! No need to create an SSDT-EC! However you will still want USBX if you're skylake or newer.")]),e._v(" "),s("p",[e._v("Prebuilt can be grabbed here: "),s("a",{attrs:{href:"https://github.com/dortania/USB-Map-Guide/blob/master/extra-files/SSDT-USBX.aml",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDT-USBX.aml"),s("OutboundLink")],1)]),e._v(" "),s("h3",{attrs:{id:"pnp0c09-already-has-an-sta-method"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#pnp0c09-already-has-an-sta-method"}},[e._v("#")]),e._v(" PNP0C09 already has an "),s("code",[e._v("_STA")]),e._v(" method")]),e._v(" "),s("p",[e._v("This is the equivalent of not having an EC as we can't control it with our SSDT-EC, instead we'll need to create a \"dummy\" EC for macOS. You'll still want to find the PCI and LPC pathing for this device. So follow the guide as if you were creating a laptop SSDT-EC/USBX.")]),e._v(" "),s("p",[e._v("Example of an EC with STA already:")]),e._v(" "),s("p",[s("img",{attrs:{src:a(379),alt:"Credit to rottenpants466"}})]),e._v(" "),s("h2",{attrs:{id:"compiling-the-ssdt"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#compiling-the-ssdt"}},[e._v("#")]),e._v(" Compiling the SSDT")]),e._v(" "),s("p",[e._v("With the SSDT done, you're now "),s("RouterLink",{attrs:{to:"/Manual/compile.html"}},[e._v("ready to compile the SSDT!")])],1),e._v(" "),s("h2",{attrs:{id:"wrapping-up"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#wrapping-up"}},[e._v("#")]),e._v(" Wrapping up")]),e._v(" "),s("p",[e._v("Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:")]),e._v(" "),s("ul",[s("li",[s("RouterLink",{attrs:{to:"/cleanup.html"}},[s("strong",[e._v("Cleanup")])])],1)])])}),[],!1,null,null,null);t.default=r.exports}}]); \ No newline at end of file diff --git a/assets/js/50.c06a254a.js b/assets/js/50.c06a254a.js new file mode 100644 index 0000000..0d6e07b --- /dev/null +++ b/assets/js/50.c06a254a.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[50],{445:function(t,e,a){"use strict";a.r(e);var r=a(25),l=Object(r.a)({},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"pre-built-ssdts"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#pre-built-ssdts"}},[t._v("#")]),t._v(" Pre-Built SSDTs")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#power-management"}},[t._v("Power Management")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#embedded-controllers"}},[t._v("Embedded Controllers")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#trackpad"}},[t._v("Trackpad")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#backlight"}},[t._v("Backlight")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#system-clockawac"}},[t._v("System Clock(AWAC)")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#nvrampmc"}},[t._v("NVRAM(PMC)")])])]),t._v(" "),a("p",[t._v("This is mainly for users who are having troubles either compiling, decompiling or understanding the overal process of ACPI. The main reasons you'd want to avoid is for the following:")]),t._v(" "),a("ul",[a("li",[t._v("Slowing down the boot process\n"),a("ul",[a("li",[t._v("Mainly because these SSDTs have to go through every possible pathing")]),t._v(" "),a("li",[t._v("Fun fact: the prebuilt SSDT-EC-DESKTOP is 42 times larger than making the file yourself")])])]),t._v(" "),a("li",[t._v("Doesn't always work\n"),a("ul",[a("li",[t._v("The SSDTs provided can only handle so many situations, and some may in fact not work")]),t._v(" "),a("li",[t._v("Mainly seen with SSDT-AWAC, as it assumes there is a way the RTC can be easily enabled")])])]),t._v(" "),a("li",[t._v("Teaches nothing\n"),a("ul",[a("li",[t._v("This is the "),a("strong",[t._v("biggest")]),t._v(" issue as you have no real idea on how to troubleshoot or how to make these files down the line")])])])]),t._v(" "),a("p",[t._v("Please refer to "),a("RouterLink",{attrs:{to:"/ssdt-platform.html"}},[t._v("Choosing the SSDTs")]),t._v(" page for which your system needs.")],1),t._v(" "),a("h2",{attrs:{id:"power-management"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#power-management"}},[t._v("#")]),t._v(" Power Management")]),t._v(" "),a("p",[t._v("For Haswell and newer:")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/compiled/SSDT-PLUG-DRTNIA.aml",target:"_blank",rel:"noopener noreferrer"}},[t._v("SSDT-PLUG-DRTNIA"),a("OutboundLink")],1)])]),t._v(" "),a("p",[t._v("For Ivy Bridge and older, see the "),a("a",{attrs:{href:"https://dortania.github.io/OpenCore-Post-Install/universal/pm.html",target:"_blank",rel:"noopener noreferrer"}},[t._v("Optimizing Power Management page"),a("OutboundLink")],1),t._v(". This will be done "),a("em",[t._v("after")]),t._v(" install. AMD CPU users "),a("strong",[t._v("do not")]),t._v(" need any SSDTs for power management.")]),t._v(" "),a("h2",{attrs:{id:"embedded-controllers"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#embedded-controllers"}},[t._v("#")]),t._v(" Embedded Controllers")]),t._v(" "),a("p",[t._v("For desktops:")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/compiled/SSDT-EC-USBX-DESKTOP.aml",target:"_blank",rel:"noopener noreferrer"}},[t._v("SSDT-EC-USBX-DESKTOP"),a("OutboundLink")],1),t._v(" "),a("ul",[a("li",[t._v("For Skylake and newer and all AMD systems.")])])]),t._v(" "),a("li",[a("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/compiled/SSDT-EC-DESKTOP.aml",target:"_blank",rel:"noopener noreferrer"}},[t._v("SSDT-EC-DESKTOP"),a("OutboundLink")],1),t._v(" "),a("ul",[a("li",[t._v("For Broadwell and older.")])])])]),t._v(" "),a("p",[t._v("For laptops:")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/compiled/SSDT-EC-USBX-LAPTOP.aml",target:"_blank",rel:"noopener noreferrer"}},[t._v("SSDT-EC-USBX-LAPTOP"),a("OutboundLink")],1),t._v(" "),a("ul",[a("li",[t._v("For Skylake and newer.")])])]),t._v(" "),a("li",[a("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/compiled/SSDT-EC-LAPTOP.aml",target:"_blank",rel:"noopener noreferrer"}},[t._v("SSDT-EC-LAPTOP"),a("OutboundLink")],1),t._v(" "),a("ul",[a("li",[t._v("For Broadwell and older.")])])])]),t._v(" "),a("h2",{attrs:{id:"trackpad"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#trackpad"}},[t._v("#")]),t._v(" Trackpad")]),t._v(" "),a("p",[t._v("Used for enabling Windows only features in macOS, do note that the below patches will more than likely break Windows booting via OpenCore. I "),a("strong",[t._v("highly")]),t._v(" encourage you to make one yourself to prevent any issues down the line: "),a("RouterLink",{attrs:{to:"/Laptops/trackpad.html"}},[t._v("Trackpad GPI0")])],1),t._v(" "),a("ul",[a("li",[a("p",[a("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/compiled/SSDT-XOSI.aml",target:"_blank",rel:"noopener noreferrer"}},[t._v("SSDT-XOSI"),a("OutboundLink")],1)])]),t._v(" "),a("li",[a("p",[a("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/XOSI-Rename.plist",target:"_blank",rel:"noopener noreferrer"}},[t._v("XOSI-Rename.plist"),a("OutboundLink")],1)]),t._v(" "),a("ul",[a("li",[t._v("Note you'll need to add this into your config.plist under "),a("code",[t._v("ACPI -> Patch")]),t._v(":")])])])]),t._v(" "),a("table",[a("thead",[a("tr",[a("th",{staticStyle:{"text-align":"left"}},[t._v("Comment")]),t._v(" "),a("th",{staticStyle:{"text-align":"left"}},[t._v("String")]),t._v(" "),a("th",{staticStyle:{"text-align":"left"}},[t._v("Change _OSI to XOSI")])])]),t._v(" "),a("tbody",[a("tr",[a("td",{staticStyle:{"text-align":"left"}},[t._v("Enabled")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("Boolean")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("YES")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"left"}},[t._v("Count")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("Number")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("0")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"left"}},[t._v("Limit")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("Number")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("0")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"left"}},[t._v("Find")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("Data")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("5f4f5349")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"left"}},[t._v("Replace")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("Data")]),t._v(" "),a("td",{staticStyle:{"text-align":"left"}},[t._v("584f5349")])])])]),t._v(" "),a("h2",{attrs:{id:"backlight"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#backlight"}},[t._v("#")]),t._v(" Backlight")]),t._v(" "),a("p",[t._v("For laptops and all-in-one desktops, fixies brightness control support")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/compiled/SSDT-PNLF.aml",target:"_blank",rel:"noopener noreferrer"}},[t._v("SSDT-PNLF"),a("OutboundLink")],1),t._v(" "),a("ul",[a("li",[t._v("For most users.")])])]),t._v(" "),a("li",[a("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/compiled/SSDT-PNLF-CFL.aml",target:"_blank",rel:"noopener noreferrer"}},[t._v("SSDT-PNLF-CFL"),a("OutboundLink")],1),t._v(" "),a("ul",[a("li",[t._v("For Coffee Lake and newer.")])])])]),t._v(" "),a("h2",{attrs:{id:"system-clock-awac"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#system-clock-awac"}},[t._v("#")]),t._v(" System Clock(AWAC)")]),t._v(" "),a("p",[t._v("Mainly needed for newer systems running AWAC based system clocks, mainly relavant for Z390 and newer(Gigabyte and AsRock however did backport it to Z370 with a BIOS update)")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/compiled/SSDT-AWAC.aml",target:"_blank",rel:"noopener noreferrer"}},[t._v("SSDT-AWAC"),a("OutboundLink")],1)])]),t._v(" "),a("p",[t._v("The biggest issue with this prebuilt is that we're just guessing you both have an AWAC clock and that it can be turned off, I "),a("strong",[t._v("highly")]),t._v(" encourage you to make one yourself to really know whether you both need this and if it's going to work: "),a("RouterLink",{attrs:{to:"/Universal/awac.html"}},[t._v("AWAC vs RTC")])],1),t._v(" "),a("h2",{attrs:{id:"nvram-pmc"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#nvram-pmc"}},[t._v("#")]),t._v(" NVRAM(PMC)")]),t._v(" "),a("p",[t._v("Needed to bring back NVRAM support for Z390 and newer, "),a("strong",[t._v("DO NOT USE ON Z370 or older")])]),t._v(" "),a("p",[t._v("Note: Desktop Z490 boards seem to not need this, though if you're having NVRAM issues you can try this SSDT.")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/compiled/SSDT-PMC.aml",target:"_blank",rel:"noopener noreferrer"}},[t._v("SSDT-PMC"),a("OutboundLink")],1)])]),t._v(" "),a("p",[t._v("Reminder only the following need this SSDT:")]),t._v(" "),a("ul",[a("li",[t._v("B360")]),t._v(" "),a("li",[t._v("B365")]),t._v(" "),a("li",[t._v("H310")]),t._v(" "),a("li",[t._v("H370")]),t._v(" "),a("li",[t._v("Z390")]),t._v(" "),a("li",[t._v("400 series (Comet Lake)")]),t._v(" "),a("li",[t._v("495 series (Icelake)")])]),t._v(" "),a("h2",{attrs:{id:"usb-rhub"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#usb-rhub"}},[t._v("#")]),t._v(" USB(RHUB)")]),t._v(" "),a("p",[t._v("Needed for 10th gen CPUs, Gigabyte and AsRock motherboards don't need this")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/compiled/SSDT-RHUB.aml",target:"_blank",rel:"noopener noreferrer"}},[t._v("SSDT-RHUB.aml"),a("OutboundLink")],1)])])])}),[],!1,null,null,null);e.default=l.exports}}]); \ No newline at end of file diff --git a/assets/js/51.933dc5b9.js b/assets/js/51.933dc5b9.js new file mode 100644 index 0000000..b85120b --- /dev/null +++ b/assets/js/51.933dc5b9.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[51],{446:function(t,e,a){"use strict";a.r(e);var r=a(25),n=Object(r.a)({},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"what-ssdts-do-each-platform-need"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#what-ssdts-do-each-platform-need"}},[t._v("#")]),t._v(" What SSDTs do each platform need")]),t._v(" "),a("p",[t._v("Please see the "),a("strong",[t._v("specific ACPI section of your config.plist")]),t._v(", all SSDTs needed are covered there with a brief explainer. But here's a very quick TL;DR:")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#what-ssdts-do-each-platform-need"}},[t._v("What SSDTs do each platform need")]),t._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"#desktop"}},[t._v("Desktop")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#laptop"}},[t._v("Laptop")])]),t._v(" "),a("li",[a("a",{attrs:{href:"#ssdt-creation"}},[t._v("SSDT Creation")])])])])]),t._v(" "),a("h2",{attrs:{id:"desktop"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#desktop"}},[t._v("#")]),t._v(" Desktop")]),t._v(" "),a("table",[a("thead",[a("tr",[a("th",{staticStyle:{"text-align":"center"}},[t._v("Platforms")]),t._v(" "),a("th",{staticStyle:{"text-align":"center"}},[a("strong",[t._v("CPU")])]),t._v(" "),a("th",{staticStyle:{"text-align":"center"}},[a("strong",[t._v("EC")])]),t._v(" "),a("th",{staticStyle:{"text-align":"center"}},[a("strong",[t._v("AWAC")])]),t._v(" "),a("th",{staticStyle:{"text-align":"center"}},[a("strong",[t._v("NVRAM")])]),t._v(" "),a("th",{staticStyle:{"text-align":"center"}},[a("strong",[t._v("USB")])])])]),t._v(" "),a("tbody",[a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("SandyBridge")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"},attrs:{rowspan:"2"}},[a("a",{attrs:{href:"https://dortania.github.io/OpenCore-Post-Install/universal/pm.html#sandy-and-ivy-bridge-power-management",target:"_blank",rel:"noopener noreferrer"}},[t._v("CPU-PM"),a("OutboundLink")],1),t._v(" (Run in Post-Install)")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"},attrs:{rowspan:"4"}},[a("RouterLink",{attrs:{to:"/Universal/ec-fix.html"}},[t._v("SSDT-EC")])],1),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("N/A")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("N/A")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("N/A")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("Ivy Bridge")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"},attrs:{rowspan:"5"}},[t._v("N/A")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"},attrs:{rowspan:"5"}},[t._v("N/A")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"},attrs:{rowspan:"6"}},[t._v("N/A")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("Haswell")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"},attrs:{rowspan:"6"}},[a("RouterLink",{attrs:{to:"/Universal/plug.html"}},[t._v("SSDT-PLUG")])],1)]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("Broadwell")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("Skylake")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"},attrs:{rowspan:"5"}},[a("RouterLink",{attrs:{to:"/Universal/ec-fix.html"}},[t._v("SSDT-EC-USBX")])],1)]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("Kaby Lake")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("Coffee Lake")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"},attrs:{rowspan:"2"}},[a("RouterLink",{attrs:{to:"/Universal/awac.html"}},[t._v("SSDT-AWAC")])],1),t._v(" "),a("td",{staticStyle:{"text-align":"center"},attrs:{rowspan:"2"}},[a("RouterLink",{attrs:{to:"/Universal/nvram.html"}},[t._v("SSDT-PMC")])],1)]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("Comet Lake")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[a("RouterLink",{attrs:{to:"/Universal/rhub.html"}},[t._v("SSDT-RHUB")])],1)]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("AMD (15/16/17h)")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("N/A")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("N/A")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("N/A")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[t._v("N/A")])])])]),t._v(" "),a("h2",{attrs:{id:"high-end-desktop"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#high-end-desktop"}},[t._v("#")]),t._v(" High End Desktop")]),t._v(" "),a("table",[a("thead",[a("tr",[a("th",{staticStyle:{"text-align":"center"}},[t._v("Platforms")]),t._v(" "),a("th",{staticStyle:{"text-align":"center"}},[a("strong",[t._v("CPU")])]),t._v(" "),a("th",{staticStyle:{"text-align":"center"}},[a("strong",[t._v("EC")])]),t._v(" "),a("th",{staticStyle:{"text-align":"center"}},[a("strong",[t._v("AWAC")])])])]),t._v(" "),a("tbody",[a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("Ivy Bridge-E")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"},attrs:{rowspan:"4"}},[a("RouterLink",{attrs:{to:"/Universal/plug.html"}},[t._v("SSDT-PLUG")])],1),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[a("RouterLink",{attrs:{to:"/Universal/ec-fix.html"}},[t._v("SSDT-EC")])],1),t._v(" "),a("td",{staticStyle:{"text-align":"center"},attrs:{rowspan:"3"}},[t._v("N/A")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("Haswell-E")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"},attrs:{rowspan:"3"}},[a("RouterLink",{attrs:{to:"/Universal/ec-fix.html"}},[t._v("SSDT-EC-USBX")])],1)]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("Broadwell-E")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("Skylake-X")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[a("RouterLink",{attrs:{to:"/Universal/awac.html"}},[t._v("SSDT-AWAC")])],1)])])]),t._v(" "),a("h2",{attrs:{id:"laptop"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#laptop"}},[t._v("#")]),t._v(" Laptop")]),t._v(" "),a("table",[a("thead",[a("tr",[a("th",{staticStyle:{"text-align":"center"}},[t._v("Platforms")]),t._v(" "),a("th",{staticStyle:{"text-align":"center"}},[a("strong",[t._v("CPU")])]),t._v(" "),a("th",{staticStyle:{"text-align":"center"}},[a("strong",[t._v("EC")])]),t._v(" "),a("th",{staticStyle:{"text-align":"center"}},[a("strong",[t._v("Backlight")])]),t._v(" "),a("th",{staticStyle:{"text-align":"center"}},[a("strong",[t._v("I2C Trackpad")])]),t._v(" "),a("th",{staticStyle:{"text-align":"center"}},[a("strong",[t._v("AWAC")])]),t._v(" "),a("th",{staticStyle:{"text-align":"center"}},[a("strong",[t._v("USB")])]),t._v(" "),a("th",{staticStyle:{"text-align":"center"}},[a("strong",[t._v("IRQ")])])])]),t._v(" "),a("tbody",[a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("SandyBridge")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"},attrs:{rowspan:"2"}},[a("a",{attrs:{href:"https://dortania.github.io/OpenCore-Post-Install/universal/pm.html#sandy-and-ivy-bridge-power-management",target:"_blank",rel:"noopener noreferrer"}},[t._v("CPU-PM"),a("OutboundLink")],1),t._v(" (Run in Post-Install)")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"},attrs:{rowspan:"4"}},[a("RouterLink",{attrs:{to:"/Universal/ec-fix.html"}},[t._v("SSDT-EC")])],1),t._v(" "),a("td",{staticStyle:{"text-align":"center"},attrs:{rowspan:"6"}},[a("RouterLink",{attrs:{to:"/Laptops/backlight.html"}},[t._v("SSDT-PNLF")])],1),t._v(" "),a("td",{staticStyle:{"text-align":"center"},attrs:{rowspan:"10"}},[a("RouterLink",{attrs:{to:"/Laptops/trackpad.html"}},[t._v("SSDT-GPI0")])],1),t._v(" "),a("td",{staticStyle:{"text-align":"center"},attrs:{rowspan:"7"}},[t._v("N/A")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"},attrs:{rowspan:"9"}},[t._v("N/A")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"},attrs:{rowspan:"4"}},[a("RouterLink",{attrs:{to:"/Universal/irq.html"}},[t._v("IRQ SSDT")])],1)]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("Ivy Bridge")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("Haswell")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"},attrs:{rowspan:"8"}},[a("RouterLink",{attrs:{to:"/Universal/plug.html"}},[t._v("SSDT-PLUG")])],1)]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("Broadwell")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("Skylake")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"},attrs:{rowspan:"6"}},[a("RouterLink",{attrs:{to:"/Universal/ec-fix.html"}},[t._v("SSDT-EC-USBX")])],1),t._v(" "),a("td",{staticStyle:{"text-align":"center"},attrs:{rowspan:"6"}},[t._v("N/A")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("Kaby Lake")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("Coffee Lake (8th Gen)")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"},attrs:{rowspan:"4"}},[a("RouterLink",{attrs:{to:"/Laptops/backlight.html"}},[t._v("SSDT-PNLF-CFL")])],1)]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("Coffee Lake (9th Gen)")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"},attrs:{rowspan:"3"}},[a("RouterLink",{attrs:{to:"/Universal/awac.html"}},[t._v("SSDT-AWAC")])],1)]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("Comet Lake")])]),t._v(" "),a("tr",[a("td",{staticStyle:{"text-align":"center"}},[t._v("Ice Lake")]),t._v(" "),a("td",{staticStyle:{"text-align":"center"}},[a("RouterLink",{attrs:{to:"/Universal/rhub.html"}},[t._v("SSDT-RHUB")])],1)])])]),t._v(" "),a("h2",{attrs:{id:"ssdt-creation"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#ssdt-creation"}},[t._v("#")]),t._v(" "),a("RouterLink",{attrs:{to:"/ssdt-methods/ssdt-methods.html"}},[t._v("SSDT Creation")])],1)])}),[],!1,null,null,null);e.default=n.exports}}]); \ No newline at end of file diff --git a/assets/js/52.a7bafb3a.js b/assets/js/52.a7bafb3a.js new file mode 100644 index 0000000..1cbf0f7 --- /dev/null +++ b/assets/js/52.a7bafb3a.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[52],{447:function(e,r,t){"use strict";t.r(r);var a=t(25),o=Object(a.a)({},(function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"troubleshooting"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#troubleshooting"}},[e._v("#")]),e._v(" Troubleshooting")]),e._v(" "),t("ul",[t("li",[t("RouterLink",{attrs:{to:"/troubleshooting.html#fixing-ssdttime-could-not-locate-or-download-iasl"}},[e._v("Fixing SSDTTime: "),t("code",[e._v("Could not locate or download iasl!")])])],1),e._v(" "),t("li",[t("RouterLink",{attrs:{to:"/troubleshooting.html#cant-run-acpidumpefi-from-opencore"}},[e._v("Can't run "),t("code",[e._v("acpidump.efi")])])],1),e._v(" "),t("li",[t("RouterLink",{attrs:{to:"/troubleshooting.html#iasl-warning--unresolved"}},[e._v("iASL warning, # unresolved")])],1),e._v(" "),t("li",[t("RouterLink",{attrs:{to:"/troubleshooting.html#decompiling-error"}},[e._v("Decompiling Error")])],1),e._v(" "),t("li",[t("RouterLink",{attrs:{to:"/troubleshooting.html#invalid-character-0x3d-expecting-asl-keyword-or-name"}},[e._v("Invalid character (0x3D), expecting ASL keyword or name")])],1),e._v(" "),t("li",[t("RouterLink",{attrs:{to:"/troubleshooting.html#syntax-error-unexpected-parseopone-expecting-"}},[e._v("Syntax error, unexpected PARSEOP_ONE, expecting '('")])],1)]),e._v(" "),t("h2",{attrs:{id:"fixing-ssdttime-could-not-locate-or-download-iasl"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#fixing-ssdttime-could-not-locate-or-download-iasl"}},[e._v("#")]),e._v(" Fixing SSDTTime: "),t("code",[e._v("Could not locate or download iasl!")])]),e._v(" "),t("p",[e._v("This is usually due to an outdated version of Python, try either updating Python or add iasl to the scripts folder for SSDTTime:")]),e._v(" "),t("ul",[t("li",[t("a",{attrs:{href:"https://bitbucket.org/RehabMan/acpica/downloads/iasl.zip",target:"_blank",rel:"noopener noreferrer"}},[e._v("iasl macOS version"),t("OutboundLink")],1)]),e._v(" "),t("li",[t("a",{attrs:{href:"https://acpica.org/downloads/binary-tools",target:"_blank",rel:"noopener noreferrer"}},[e._v("iasl Windows version"),t("OutboundLink")],1)]),e._v(" "),t("li",[t("a",{attrs:{href:"http://amdosx.kellynet.nl/iasl.zip",target:"_blank",rel:"noopener noreferrer"}},[e._v("iasl Linux version"),t("OutboundLink")],1)])]),e._v(" "),t("h2",{attrs:{id:"can-t-run-acpidump-efi-from-opencore"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#can-t-run-acpidump-efi-from-opencore"}},[e._v("#")]),e._v(" Can't run "),t("code",[e._v("acpidump.efi")]),e._v(" from OpenCore")]),e._v(" "),t("p",[e._v("Grab "),t("a",{attrs:{href:"https://github.com/acidanthera/OpenCorePkg/releases",target:"_blank",rel:"noopener noreferrer"}},[e._v("OpenShell"),t("OutboundLink")],1),e._v(" and add it to EFI/OC/Tools and config.plist -> Misc -> Tools.")]),e._v(" "),t("p",[e._v("Next, call upon OpenCore shell and enter the following:")]),e._v(" "),t("div",{staticClass:"language- extra-class"},[t("pre",{pre:!0,attrs:{class:"language-text"}},[t("code",[e._v("shell> fs0: //replace with proper drive\n\nfs0:\\> dir //to verify this is the right directory\n\n Directory of fs0:\\\n\n 01/01/01 3:30p EFI\n\nfs0:\\> cd EFI\\OC\\Tools //note that its with forward slashes\n\nfs0:\\EFI\\OC\\Tools> acpidump.efi -b -n DSDT -z\n")])])]),t("h2",{attrs:{id:"iasl-warning-unresolved"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#iasl-warning-unresolved"}},[e._v("#")]),e._v(" iASL warning, # unresolved")]),e._v(" "),t("p",[e._v("If you try to decompile your DSDT and get an error similar to this:")]),e._v(" "),t("div",{staticClass:"language- extra-class"},[t("pre",{pre:!0,attrs:{class:"language-text"}},[t("code",[e._v("iASL Warning: There were 19 external control methods found during disassembly, but only 0 were resolved (19 unresolved)\n")])])]),t("p",[e._v("This happens when one ACPI table requires the rest for proper referencing, it does not accept the creation of DSDTs as we're only using it for creating a select few SSDTs. For those who are worried, you can run the following:")]),e._v(" "),t("div",{staticClass:"language- extra-class"},[t("pre",{pre:!0,attrs:{class:"language-text"}},[t("code",[e._v("iasl * [insert all ACPI files here]\n")])])]),t("h2",{attrs:{id:"decompiling-error"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#decompiling-error"}},[e._v("#")]),e._v(" Decompiling Error")]),e._v(" "),t("p",[t("img",{attrs:{src:"/troubleshooting-md/decompile-error.png",alt:""}})]),e._v(" "),t("div",{staticClass:"language- extra-class"},[t("pre",{pre:!0,attrs:{class:"language-text"}},[t("code",[e._v("Loading Acpi table from file iASLAwjHrs.aml\nAcpi table [DSDT] successfully installed and loaded\nPass 1 parse of [DSDT]\n")])])]),t("p",[e._v("This is a common error on DSDTs that have methods that aren't supported by maciASL, the easiest way is to delete maciASL and make sure you grab it from Acidanthera's repo: "),t("a",{attrs:{href:"https://github.com/acidanthera/MaciASL/releases",target:"_blank",rel:"noopener noreferrer"}},[e._v("maciASL"),t("OutboundLink")],1)]),e._v(" "),t("h2",{attrs:{id:"invalid-character-0x3d-expecting-asl-keyword-or-name"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#invalid-character-0x3d-expecting-asl-keyword-or-name"}},[e._v("#")]),e._v(" Invalid character (0x3D), expecting ASL keyword or name")]),e._v(" "),t("p",[t("img",{attrs:{src:"/troubleshooting-md/invalid-parse.png",alt:""}})]),e._v(" "),t("p",[e._v("Similar to the above error, you're running an outdated copy of maciASL. Make sure you're using the latest from Acidanthera's repo: "),t("a",{attrs:{href:"https://github.com/acidanthera/MaciASL/releases",target:"_blank",rel:"noopener noreferrer"}},[e._v("maciASL"),t("OutboundLink")],1)]),e._v(" "),t("h2",{attrs:{id:"syntax-error-unexpected-parseop-one-expecting"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#syntax-error-unexpected-parseop-one-expecting"}},[e._v("#")]),e._v(" Syntax error, unexpected PARSEOP_ONE, expecting '('")]),e._v(" "),t("p",[t("img",{attrs:{src:"/troubleshooting-md/invalid-parse.png",alt:""}})]),e._v(" "),t("p",[e._v("Similar to the above 2 errors, you're running an outdated copy of maciASL. Make sure you're using the latest from Acidanthera's repo: "),t("a",{attrs:{href:"https://github.com/acidanthera/MaciASL/releases",target:"_blank",rel:"noopener noreferrer"}},[e._v("maciASL"),t("OutboundLink")],1)])])}),[],!1,null,null,null);r.default=o.exports}}]); \ No newline at end of file diff --git a/assets/js/6.68cd5bf6.js b/assets/js/6.68cd5bf6.js new file mode 100644 index 0000000..600d7ab --- /dev/null +++ b/assets/js/6.68cd5bf6.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{392:function(e,t,a){e.exports=a.p+"assets/img/pci.81a3ae52.png"},393:function(e,t,a){e.exports=a.p+"assets/img/smbus.d9dd6044.png"},394:function(e,t,a){e.exports=a.p+"assets/img/before-rename.c0ccc637.png"},395:function(e,t,a){e.exports=a.p+"assets/img/after-rename.48bf32ad.png"},396:function(e,t,a){e.exports=a.p+"assets/img/verify.58363d4d.png"},438:function(e,t,a){"use strict";a.r(t);var s=a(25),n=Object(s.a)({},(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[s("h1",{attrs:{id:"fixing-smbus-support-manual"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#fixing-smbus-support-manual"}},[e._v("#")]),e._v(" Fixing SMBus support: Manual")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#finding-the-acpi-path"}},[e._v("Finding the ACPI path")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#hackintool"}},[e._v("Hackintool")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#devicemanager"}},[e._v("DeviceManager")])])])]),e._v(" "),s("li",[s("a",{attrs:{href:"#edits-to-the-sample-ssdt"}},[e._v("Edits to the sample SSDT")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#compiling-the-ssdt"}},[e._v("Compiling the SSDT")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#wrapping-up"}},[e._v("Wrapping up")])])]),e._v(" "),s("h2",{attrs:{id:"finding-the-acpi-path"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#finding-the-acpi-path"}},[e._v("#")]),e._v(" Finding the ACPI path")]),e._v(" "),s("p",[e._v("So to find the ACPI pathing of our SMBus, we've got 2 methods:")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#hackintool"}},[e._v("Hackintool")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#devicemanager"}},[e._v("DeviceManager")])])]),e._v(" "),s("h3",{attrs:{id:"hackintool"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#hackintool"}},[e._v("#")]),e._v(" Hackintool")]),e._v(" "),s("p",[e._v("To find the correct pathing for your devices, grab "),s("a",{attrs:{href:"https://www.tonymacx86.com/threads/release-hackintool-v3-x-x.254559/",target:"_blank",rel:"noopener noreferrer"}},[e._v("Hackintool"),s("OutboundLink")],1),e._v(" ("),s("a",{attrs:{href:"https://github.com/headkaze/Hackintool",target:"_blank",rel:"noopener noreferrer"}},[e._v("Github link"),s("OutboundLink")],1),e._v(") and head to the PCI tab:")]),e._v(" "),s("p",[s("img",{attrs:{src:a(392),alt:""}})]),e._v(" "),s("p",[e._v("Look for the SMBus device under Subclass, then look beside and you'll see the ACPI path(under IOReg Name). To convert , omit "),s("code",[e._v("@...")])]),e._v(" "),s("ul",[s("li",[s("code",[e._v("/PC00@0/SMBS@1F,4")]),e._v(" -> "),s("code",[e._v("PC00.SMBS")])])]),e._v(" "),s("p",[e._v("With the ACPI pathing, you can now head here: "),s("a",{attrs:{href:"#edits-to-the-sample-ssdt"}},[e._v("Edits to the sample SSDT")])]),e._v(" "),s("h3",{attrs:{id:"devicemanager"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#devicemanager"}},[e._v("#")]),e._v(" DeviceManager")]),e._v(" "),s("p",[e._v("If you already have Windows installed on this machine, finding the SMBus pathing is fairly easy.")]),e._v(" "),s("p",[e._v("Start by opening up Device Manager in Windows and looking for a device named "),s("code",[e._v("SMBUS")]),e._v(". Once found, click on it and select the "),s("code",[e._v("BIOS device Name")]),e._v(" entry. You should get something like this:")]),e._v(" "),s("p",[s("img",{attrs:{src:a(393),alt:""}})]),e._v(" "),s("p",[e._v("From the above example, we can see the SMBus is located at:")]),e._v(" "),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v("PC00.SMBS\n")])])]),s("p",[e._v("With the ACPI pathing, you can now head here: "),s("a",{attrs:{href:"#edits-to-the-sample-ssdt"}},[e._v("Edits to the sample SSDT")])]),e._v(" "),s("h2",{attrs:{id:"edits-to-the-sample-ssdt"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#edits-to-the-sample-ssdt"}},[e._v("#")]),e._v(" Edits to the sample SSDT")]),e._v(" "),s("p",[e._v("Now that we know the ACPI pathing of the SMBus, we can finally start editing the our SSDT.")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/AcpiSamples/SSDT-SBUS-MCHC.dsl",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDT-SBUS-MCHC.dsl"),s("OutboundLink")],1)])]),e._v(" "),s("p",[e._v("So the important parts we care about are:")]),e._v(" "),s("p",[s("strong",[e._v("Before")]),e._v(":")]),e._v(" "),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v("External (_SB_.PCI0, DeviceObj) <- Rename this\nExternal (_SB_.PCI0.SBUS.BUS0, DeviceObj) <- Rename this\n\nScope (_SB.PCI0) <- Rename this\n{\n Device (MCHC)\n {\n Name (_ADR, Zero) // _ADR: Address\n }\n}\n\nDevice (_SB.PCI0.SBUS.BUS0) <- Rename this\n")])])]),s("p",[s("img",{attrs:{src:a(394),alt:""}})]),e._v(" "),s("p",[e._v("Following the example SMBus pathing we found, the SSDT should look something like this:")]),e._v(" "),s("p",[s("strong",[e._v("After")]),e._v(":")]),e._v(" "),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v("External (_SB_.PC00, DeviceObj) <- Renamed\nExternal (_SB_.PC00.SMBS.BUS0, DeviceObj) <- Renamed\n\nScope (_SB.PC00) <- Renamed\n{\n Device (MCHC)\n {\n Name (_ADR, Zero) // _ADR: Address\n }\n}\n\nDevice (_SB.PC00.SMBS.BUS0) <- Renamed\n")])])]),s("p",[s("img",{attrs:{src:a(395),alt:""}})]),e._v(" "),s("h1",{attrs:{id:"compiling-the-ssdt"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#compiling-the-ssdt"}},[e._v("#")]),e._v(" Compiling the SSDT")]),e._v(" "),s("p",[e._v("With the SSDT done, you're now "),s("RouterLink",{attrs:{to:"/Manual/compile.html"}},[e._v("ready to compile the SSDT!")])],1),e._v(" "),s("h1",{attrs:{id:"wrapping-up"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#wrapping-up"}},[e._v("#")]),e._v(" Wrapping up")]),e._v(" "),s("p",[e._v("Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:")]),e._v(" "),s("ul",[s("li",[s("RouterLink",{attrs:{to:"/cleanup.html"}},[s("strong",[e._v("Cleanup")])])],1)]),e._v(" "),s("h1",{attrs:{id:"verify-it-s-working"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#verify-it-s-working"}},[e._v("#")]),e._v(" Verify it's working")]),e._v(" "),s("p",[e._v("Once you've installed macOS, you can actually check whether your SSDT-SBUS-MCHC is working or not in terminal:")]),e._v(" "),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v('kextstat | grep -E "AppleSMBusController|AppleSMBusPCI"\n')])])]),s("p",[s("img",{attrs:{src:a(396),alt:""}})])])}),[],!1,null,null,null);t.default=n.exports}}]); \ No newline at end of file diff --git a/assets/js/7.78dd85ec.js b/assets/js/7.78dd85ec.js new file mode 100644 index 0000000..0da8c00 --- /dev/null +++ b/assets/js/7.78dd85ec.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{364:function(t,e,a){t.exports=a.p+"assets/img/gpi0.b0e0b8d8.png"},365:function(t,e,a){t.exports=a.p+"assets/img/gpi0-2.8c3726d3.png"},366:function(t,e,a){t.exports=a.p+"assets/img/ssdt-before.b64846c1.png"},367:function(t,e,a){t.exports=a.p+"assets/img/ssdt-after.9ea3604d.png"},413:function(t,e,a){"use strict";a.r(e);var n=a(25),s=Object(n.a)({},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[n("h1",{attrs:{id:"fixing-trackpads-manual"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#fixing-trackpads-manual"}},[t._v("#")]),t._v(" Fixing Trackpads: Manual")]),t._v(" "),n("ul",[n("li",[n("a",{attrs:{href:"#finding-the-acpi-path"}},[t._v("Finding the ACPI path")])]),t._v(" "),n("li",[n("a",{attrs:{href:"#edits-to-the-sample-ssdt"}},[t._v("Edits to the sample SSDT")])]),t._v(" "),n("li",[n("a",{attrs:{href:"#compiling-the-ssdt"}},[t._v("Compiling the SSDT")])]),t._v(" "),n("li",[n("a",{attrs:{href:"#wrapping-up"}},[t._v("Wrapping up")])])]),t._v(" "),n("h2",{attrs:{id:"finding-the-acpi-path"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#finding-the-acpi-path"}},[t._v("#")]),t._v(" Finding the ACPI path")]),t._v(" "),n("p",[t._v("Finding the ACPI pathing is quite easy actually, first open your decompiled DSDT you got from "),n("RouterLink",{attrs:{to:"/Manual/dump.html"}},[t._v("Dumping the DSDT")]),t._v(" and "),n("RouterLink",{attrs:{to:"/Manual/compile.html"}},[t._v("Decompiling and Compiling")]),t._v(" with either maciASL(if in macOS) or any other text editor if in Windows or Linux(VSCode has an "),n("a",{attrs:{href:"https://marketplace.visualstudio.com/items?itemName=Thog.vscode-asl",target:"_blank",rel:"noopener noreferrer"}},[t._v("ACPI extension"),n("OutboundLink")],1),t._v(" that can also help).")],1),t._v(" "),n("p",[t._v("Next search for "),n("code",[t._v("Device (GPI0)")]),t._v(". Should give you a result similar to this:")]),t._v(" "),n("p",[n("img",{attrs:{src:a(364),alt:""}})]),t._v(" "),n("p",[t._v("What we care about from this is the "),n("code",[t._v("_STA")]),t._v(" method:")]),t._v(" "),n("div",{staticClass:"language- extra-class"},[n("pre",{pre:!0,attrs:{class:"language-text"}},[n("code",[t._v("Method (_STA, 0, NotSerialized)\n{\n If ((GPHD == One))\n {\n Return (0x03)\n }\n\n Return (0x0F)\n}\n")])])]),n("p",[t._v("What we want is for this to always return "),n("code",[t._v("0x0F")]),t._v(" when booting macOS, so we want to make an SSDT that will return "),n("code",[t._v("GPHD == Zero")]),t._v(" in macOS.")]),t._v(" "),n("p",[n("strong",[t._v("NOTE that you may have the other way around where GPHD needs to be set as "),n("code",[t._v("One")]),t._v(" to return "),n("code",[t._v("0x0F")])]),t._v(". And your device name may also be different, don't throw random SSDTs in thinking it'll work")]),t._v(" "),n("p",[t._v("Here's some more examples:")]),t._v(" "),n("p",[n("img",{attrs:{src:a(365),alt:""}})]),t._v(" "),n("p",[t._v("With this example, we can see that we need both "),n("code",[t._v("SBRG")]),t._v(" and "),n("code",[t._v("GPEN")]),t._v(" to return "),n("code",[t._v("One")]),t._v(". If only one is present, it'll create some issues so in our SSDT we'll want to have both of them return "),n("code",[t._v("One")]),t._v(":")]),t._v(" "),n("h2",{attrs:{id:"edits-to-the-sample-ssdt"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#edits-to-the-sample-ssdt"}},[t._v("#")]),t._v(" Edits to the sample SSDT")]),t._v(" "),n("p",[t._v("Now that we have our ACPI path, lets grab our SSDT and get to work:")]),t._v(" "),n("ul",[n("li",[n("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/decompiled/SSDT-GPI0.dsl",target:"_blank",rel:"noopener noreferrer"}},[t._v("SSDT-GPI0.dsl"),n("OutboundLink")],1)])]),t._v(" "),n("p",[t._v("From the second example, we'll want to set both GPEN and SBRG to "),n("code",[t._v("One")]),t._v(" to allow it to operate in macOS:")]),t._v(" "),n("p",[n("strong",[t._v("Before")]),t._v(":")]),t._v(" "),n("div",{staticClass:"language- extra-class"},[n("pre",{pre:!0,attrs:{class:"language-text"}},[n("code",[t._v('If (_OSI ("Darwin"))\n {\n GPEN = One <- Change to the right variables\n SBRG = One <- Change to the right variables\n\t}\n')])])]),n("p",[n("img",{attrs:{src:a(366),alt:""}})]),t._v(" "),n("p",[t._v("Following the example pathing we found, the SSDT should look something like this:")]),t._v(" "),n("p",[n("strong",[t._v("After")]),t._v(":")]),t._v(" "),n("div",{staticClass:"language- extra-class"},[n("pre",{pre:!0,attrs:{class:"language-text"}},[n("code",[t._v('If (_OSI ("Darwin"))\n {\n GPEN = One <- Proper variables\n }\n')])])]),n("p",[n("img",{attrs:{src:a(367),alt:""}})]),t._v(" "),n("h2",{attrs:{id:"compiling-the-ssdt"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#compiling-the-ssdt"}},[t._v("#")]),t._v(" Compiling the SSDT")]),t._v(" "),n("p",[t._v("With the SSDT done, you're now "),n("RouterLink",{attrs:{to:"/Manual/compile.html"}},[t._v("ready to compile the SSDT!")])],1),t._v(" "),n("h2",{attrs:{id:"wrapping-up"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#wrapping-up"}},[t._v("#")]),t._v(" Wrapping up")]),t._v(" "),n("p",[t._v("Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:")]),t._v(" "),n("ul",[n("li",[n("RouterLink",{attrs:{to:"/cleanup.html"}},[n("strong",[t._v("Cleanup")])])],1)])])}),[],!1,null,null,null);e.default=s.exports}}]); \ No newline at end of file diff --git a/assets/js/8.fc471e91.js b/assets/js/8.fc471e91.js new file mode 100644 index 0000000..e4fa2e6 --- /dev/null +++ b/assets/js/8.fc471e91.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{329:function(t,e,a){t.exports=a.p+"assets/img/lpc.bfa9cf23.png"},330:function(t,e,a){t.exports=a.p+"assets/img/pci0.4477f361.png"},380:function(t,e,a){t.exports=a.p+"assets/img/ssdt-before.6ddf7dfa.png"},381:function(t,e,a){t.exports=a.p+"assets/img/ssdt-after.971e8c4d.png"},428:function(t,e,a){"use strict";a.r(e);var i=a(25),s=Object(i.a)({},(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[i("h1",{attrs:{id:"fixing-nvram-manual"}},[i("a",{staticClass:"header-anchor",attrs:{href:"#fixing-nvram-manual"}},[t._v("#")]),t._v(" Fixing NVRAM: Manual")]),t._v(" "),i("ul",[i("li",[i("a",{attrs:{href:"#finding-the-acpi-path"}},[t._v("Finding the ACPI path")])]),t._v(" "),i("li",[i("a",{attrs:{href:"#edits-to-the-sample-ssdt"}},[t._v("Edits to the sample SSDT")])]),t._v(" "),i("li",[i("a",{attrs:{href:"#compiling-the-ssdt"}},[t._v("Compiling the SSDT")])]),t._v(" "),i("li",[i("a",{attrs:{href:"#wrapping-up"}},[t._v("Wrapping up")])])]),t._v(" "),i("h2",{attrs:{id:"finding-the-acpi-path"}},[i("a",{staticClass:"header-anchor",attrs:{href:"#finding-the-acpi-path"}},[t._v("#")]),t._v(" Finding the ACPI path")]),t._v(" "),i("p",[t._v("Finding the ACPI pathing is quite easy actually, first open your decompiled DSDT you got from "),i("RouterLink",{attrs:{to:"/Manual/dump.html"}},[t._v("Dumping the DSDT")]),t._v(" and "),i("RouterLink",{attrs:{to:"/Manual/compile.html"}},[t._v("Decompiling and Compiling")]),t._v(" with either maciASL(if in macOS) or any other text editor if in Windows or Linux(VSCode has an "),i("a",{attrs:{href:"https://marketplace.visualstudio.com/items?itemName=Thog.vscode-asl",target:"_blank",rel:"noopener noreferrer"}},[t._v("ACPI extension"),i("OutboundLink")],1),t._v(" that can also help).")],1),t._v(" "),i("p",[t._v("Next, search for the following:")]),t._v(" "),i("ul",[i("li",[t._v("Finding the LowPinCount path:\n"),i("ul",[i("li",[t._v("Search "),i("code",[t._v("Name (_ADR, 0x001F0000)")])])])]),t._v(" "),i("li",[t._v("Finding the PCI path:\n"),i("ul",[i("li",[t._v("Search "),i("code",[t._v("PNP0A08")]),t._v(" (If multiple show up, use the first one)")])])])]),t._v(" "),i("p",[t._v("You should get something like the following show up:")]),t._v(" "),i("table",[i("thead",[i("tr",[i("th",{staticStyle:{"text-align":"center"}},[t._v("LPC Pathing")]),t._v(" "),i("th",{staticStyle:{"text-align":"center"}},[t._v("PCI Pathing")])])]),t._v(" "),i("tbody",[i("tr",[i("td",{staticStyle:{"text-align":"center"}},[i("img",{attrs:{src:a(329),alt:""}})]),t._v(" "),i("td",{staticStyle:{"text-align":"center"}},[i("img",{attrs:{src:a(330),alt:""}})])])])]),t._v(" "),i("p",[t._v("Now with the pathing, you can head here: "),i("a",{attrs:{href:"#edits-to-the-sample-ssdt"}},[t._v("Edits to the sample SSDT")])]),t._v(" "),i("h2",{attrs:{id:"edits-to-the-sample-ssdt"}},[i("a",{staticClass:"header-anchor",attrs:{href:"#edits-to-the-sample-ssdt"}},[t._v("#")]),t._v(" Edits to the sample SSDT")]),t._v(" "),i("p",[t._v("Now that we have our ACPI path, lets grab our SSDT and get to work:")]),t._v(" "),i("ul",[i("li",[i("a",{attrs:{href:"https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/AcpiSamples/SSDT-PMC.dsl",target:"_blank",rel:"noopener noreferrer"}},[t._v("SSDT-PMC.dsl"),i("OutboundLink")],1)])]),t._v(" "),i("p",[t._v("By default, this uses "),i("code",[t._v("PCI0.LPCB")]),t._v(" for the pathing. you'll want to rename accordingly.")]),t._v(" "),i("p",[t._v("Following the example from above, we'll be renaming it to "),i("code",[t._v("PCI0.LPC")]),t._v(":")]),t._v(" "),i("p",[i("strong",[t._v("Before")]),t._v(":")]),t._v(" "),i("div",{staticClass:"language- extra-class"},[i("pre",{pre:!0,attrs:{class:"language-text"}},[i("code",[t._v("External (_SB_.PCI0.LPCB, DeviceObj) <- Rename this\n\nScope (_SB.PCI0.LPCB) <- Rename this\n")])])]),i("p",[i("img",{attrs:{src:a(380),alt:""}})]),t._v(" "),i("p",[t._v("Following the example pathing we found, the SSDT should look something like this:")]),t._v(" "),i("p",[i("strong",[t._v("After")]),t._v(":")]),t._v(" "),i("div",{staticClass:"language- extra-class"},[i("pre",{pre:!0,attrs:{class:"language-text"}},[i("code",[t._v("External (_SB_.PCI0.LPC, DeviceObj) <- Renamed\n\nScope (_SB.PCI0.LPC) <- Renamed\n")])])]),i("p",[i("img",{attrs:{src:a(381),alt:""}})]),t._v(" "),i("h2",{attrs:{id:"compiling-the-ssdt"}},[i("a",{staticClass:"header-anchor",attrs:{href:"#compiling-the-ssdt"}},[t._v("#")]),t._v(" Compiling the SSDT")]),t._v(" "),i("p",[t._v("With the SSDT done, you're now "),i("RouterLink",{attrs:{to:"/Manual/compile.html"}},[t._v("ready to compile the SSDT!")])],1),t._v(" "),i("h2",{attrs:{id:"wrapping-up"}},[i("a",{staticClass:"header-anchor",attrs:{href:"#wrapping-up"}},[t._v("#")]),t._v(" Wrapping up")]),t._v(" "),i("p",[t._v("Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:")]),t._v(" "),i("ul",[i("li",[i("RouterLink",{attrs:{to:"/cleanup.html"}},[i("strong",[t._v("Cleanup")])])],1)])])}),[],!1,null,null,null);e.default=s.exports}}]); \ No newline at end of file diff --git a/assets/js/9.9de7acea.js b/assets/js/9.9de7acea.js new file mode 100644 index 0000000..f5a8e42 --- /dev/null +++ b/assets/js/9.9de7acea.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{361:function(e,t,a){e.exports=a.p+"assets/img/devicemanager.770a10fc.png"},362:function(e,t,a){e.exports=a.p+"assets/img/ssdt-before.f71c9e04.png"},363:function(e,t,a){e.exports=a.p+"assets/img/ssdt-after.28584bc4.png"},408:function(e,t,a){"use strict";a.r(t);var s=a(25),i=Object(s.a)({},(function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[s("h1",{attrs:{id:"fixing-backlight-manual"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#fixing-backlight-manual"}},[e._v("#")]),e._v(" Fixing Backlight: Manual")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"#finding-the-acpi-path"}},[e._v("Finding the ACPI path")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#edits-to-the-sample-ssdt"}},[e._v("Edits to the sample SSDT")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#compiling-the-ssdt"}},[e._v("Compiling the SSDT")])]),e._v(" "),s("li",[s("a",{attrs:{href:"#wrapping-up"}},[e._v("Wrapping up")])])]),e._v(" "),s("h2",{attrs:{id:"finding-the-acpi-path"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#finding-the-acpi-path"}},[e._v("#")]),e._v(" Finding the ACPI path")]),e._v(" "),s("p",[e._v("For this guide, we're gonna assume Windows is already on this laptop, as otherwise creating this SSDT is a bit more difficult.")]),e._v(" "),s("p",[e._v("Now open DeviceManager, and head to the following:")]),e._v(" "),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v("Device Manager -> Display Adapters -> Properties -> Details > BIOS device name\n")])])]),s("ul",[s("li",[e._v('Note some GPU ACPI pathing may be hiding under "BIOS device name"')])]),e._v(" "),s("p",[s("img",{attrs:{src:a(361),alt:"Credit to 1Revenger1 for the image"}})]),e._v(" "),s("p",[e._v("From the above example, we can see our display is hooked up to "),s("code",[e._v("PCI0.GFX0")])]),e._v(" "),s("h2",{attrs:{id:"edits-to-the-sample-ssdt"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#edits-to-the-sample-ssdt"}},[e._v("#")]),e._v(" Edits to the sample SSDT")]),e._v(" "),s("p",[e._v("Now that we have our ACPI path, lets grab our SSDT and get to work:")]),e._v(" "),s("ul",[s("li",[s("a",{attrs:{href:"https://github.com/acidanthera/WhateverGreen/blob/master/Manual/SSDT-PNLF.dsl",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDT-PNLF.dsl"),s("OutboundLink")],1)]),e._v(" "),s("li",[s("a",{attrs:{href:"https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/decompiled/SSDT-PNLF-CFL.dsl.zip",target:"_blank",rel:"noopener noreferrer"}},[e._v("SSDT-PNLF-CFL.dsl"),s("OutboundLink")],1),e._v(" "),s("ul",[s("li",[e._v("For Coffee Lake and newer")])])])]),e._v(" "),s("p",[e._v("By default, this uses "),s("code",[e._v("PCI0.GFX0")]),e._v(" for the pathing. you'll want to rename accordingly. For this example, we'll assume your pathing is "),s("code",[e._v("PCI0.GPU0")]),e._v(":")]),e._v(" "),s("p",[s("strong",[e._v("Before")]),e._v(":")]),e._v(" "),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v("External (_SB_.PCI0.GFX0, DeviceObj) <- Rename this\n\nScope (_SB.PCI0.GFX0) <- Rename this\n\nDevice(_SB.PCI0.GFX0.PNLF) <- Rename this\n")])])]),s("p",[s("img",{attrs:{src:a(362),alt:""}})]),e._v(" "),s("p",[e._v("Following the example pathing we found, the SSDT should look something like this:")]),e._v(" "),s("p",[s("strong",[e._v("After")]),e._v(":")]),e._v(" "),s("div",{staticClass:"language- extra-class"},[s("pre",{pre:!0,attrs:{class:"language-text"}},[s("code",[e._v("External (_SB_.PCI0.GPU0, DeviceObj) <- Renamed\n\nScope (_SB.PCI0.GPU0) <- Renamed\n\nDevice(_SB.PCI0.GPU0.PNLF) <- Renamed\n")])])]),s("p",[s("img",{attrs:{src:a(363),alt:""}})]),e._v(" "),s("h2",{attrs:{id:"compiling-the-ssdt"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#compiling-the-ssdt"}},[e._v("#")]),e._v(" Compiling the SSDT")]),e._v(" "),s("p",[e._v("With the SSDT done, you're now "),s("RouterLink",{attrs:{to:"/Manual/compile.html"}},[e._v("ready to compile the SSDT!")])],1),e._v(" "),s("h2",{attrs:{id:"wrapping-up"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#wrapping-up"}},[e._v("#")]),e._v(" Wrapping up")]),e._v(" "),s("p",[e._v("Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up:")]),e._v(" "),s("ul",[s("li",[s("RouterLink",{attrs:{to:"/cleanup.html"}},[s("strong",[e._v("Cleanup")])])],1)])])}),[],!1,null,null,null);t.default=i.exports}}]); \ No newline at end of file diff --git a/assets/js/app.c97779b2.js b/assets/js/app.c97779b2.js new file mode 100644 index 0000000..7df5d6e --- /dev/null +++ b/assets/js/app.c97779b2.js @@ -0,0 +1,9 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[0],[]]);!function(t){function e(e){for(var r,a,s=e[0],u=e[1],c=e[2],f=0,p=[];f0?o(r(t),9007199254740991):0}},function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){var r=n(33),o=n(20);t.exports=function(t){return r(o(t))}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(143),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,e,n){var r=n(5),o=n(1),i=n(6),a=Object.defineProperty,s={},u=function(t){throw t};t.exports=function(t,e){if(i(s,t))return s[t];e||(e={});var n=[][t],c=!!i(e,"ACCESSORS")&&e.ACCESSORS,l=i(e,0)?e[0]:u,f=i(e,1)?e[1]:void 0;return s[t]=!!n&&!o((function(){if(c&&!r)return!0;var t={length:-1};c?a(t,1,{enumerable:!0,get:u}):t[1]=1,n.call(t,l,f)}))}},function(t,e,n){var r=n(115),o=n(2),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][e]||o[t]&&o[t][e]}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports=!1},function(t,e,n){var r=n(5),o=n(79),i=n(35),a=n(15),s=n(34),u=n(6),c=n(110),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=a(t),e=s(e,!0),c)try{return l(t,e)}catch(t){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,n){var r=n(227),o=n(230);t.exports=function(t,e){var n=o(t,e);return r(n)?n:void 0}},function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,s){var u,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),a?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=u):o&&(u=s?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(t,e){return u.call(e),l(t,e)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,u):[u]}return{exports:t,options:c}}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(0),o=n(31).filter,i=n(52),a=n(18),s=i("filter"),u=a("filter");r({target:"Array",proto:!0,forced:!s||!u},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,n){var r,o=n(7),i=n(186),a=n(77),s=n(36),u=n(114),c=n(74),l=n(49),f=l("IE_PROTO"),p=function(){},d=function(t){return" - - - - -
                                                                  -
                                                                  - - - - - - - - -
                                                                  - -
                                                                  - -
                                                                  - - - - - - - - -
                                                                  -
                                                                  - -
                                                                  -
                                                                  - -
                                                                  - -
                                                                  -

                                                                  Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                                                                  -
                                                                  -

                                                                  Cleanup

                                                                  -

                                                                  So you've made all your SSDTs but now there's one thing left: Adding them to Opencore

                                                                  -

                                                                  The 2 main locations:

                                                                  -
                                                                    -
                                                                  • EFI/OC/ACPI (Only .aml files, reminder to compile your SSDTs)
                                                                  • -
                                                                  • config.plist -> ACPI -> Add
                                                                  • -
                                                                  -

                                                                  You can save yourself some work with the config.plist by running Cmd/Ctrl+R in ProperTree. Reminder do not add your DSDT.aml to your EFI

                                                                  -

                                                                  For those who do not yet have a config.plist, you'll want to next head back to your respective OpenCore guides and create the config.plist:

                                                                  - -

                                                                  Users of FixHPET will also need to merge oc_patches.plist into their config.plist

                                                                  -

                                                                  Steps to do this:

                                                                  -
                                                                    -
                                                                  • Open both files,
                                                                  • -
                                                                  • Delete the ACPI -> Patch section from config.plist
                                                                  • -
                                                                  • Copy the ACPI -> Patch section from patches.plist
                                                                  • -
                                                                  • Paste into where old patches were in config.plist
                                                                  • -
                                                                  - - -
                                                                  - -
                                                                  -
                                                                  -
                                                                  - -

                                                                  results matching ""

                                                                  -
                                                                    - -
                                                                    -
                                                                    - -

                                                                    No results matching ""

                                                                    - -
                                                                    -
                                                                    -
                                                                    - -
                                                                    -
                                                                    - -
                                                                    - - - - - - - - - - - - - - -
                                                                    - - -
                                                                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +

                                                                    # Cleanup

                                                                    So you've made all your SSDTs but now there's one thing left: Adding them to Opencore

                                                                    The 2 main locations:

                                                                    You can save yourself some work with the config.plist by running Cmd/Ctrl+R in ProperTree. Reminder do not add your DSDT.aml to your EFI

                                                                    For those who do not yet have a config.plist, you'll want to next head back to your respective OpenCore guides and create the config.plist:

                                                                    Users of FixHPET will also need to merge oc_patches.plist into their config.plist

                                                                    Steps to do this:

                                                                    • Open both files,
                                                                    • Delete the ACPI -> Patch section from config.plist
                                                                    • Copy the ACPI -> Patch section from patches.plist
                                                                    • Paste into where old patches were in config.plist
                                                                    Last Updated: 7/17/2020, 11:04:23 PM
                                                                    + + - diff --git a/dortania-logo-clear.png b/dortania-logo-clear.png new file mode 100644 index 0000000..90844f4 Binary files /dev/null and b/dortania-logo-clear.png differ diff --git a/extra-files/compiled/SSDT-AWAC.aml b/extra-files/compiled/SSDT-AWAC.aml deleted file mode 100644 index 5189bf4..0000000 Binary files a/extra-files/compiled/SSDT-AWAC.aml and /dev/null differ diff --git a/extra-files/compiled/SSDT-EC-DESKTOP.aml b/extra-files/compiled/SSDT-EC-DESKTOP.aml deleted file mode 100644 index d201219..0000000 Binary files a/extra-files/compiled/SSDT-EC-DESKTOP.aml and /dev/null differ diff --git a/extra-files/compiled/SSDT-EC-LAPTOP.aml b/extra-files/compiled/SSDT-EC-LAPTOP.aml deleted file mode 100644 index bbc0dd3..0000000 Binary files a/extra-files/compiled/SSDT-EC-LAPTOP.aml and /dev/null differ diff --git a/extra-files/compiled/SSDT-EC-USBX-DESKTOP.aml b/extra-files/compiled/SSDT-EC-USBX-DESKTOP.aml deleted file mode 100644 index ea5bd3b..0000000 Binary files a/extra-files/compiled/SSDT-EC-USBX-DESKTOP.aml and /dev/null differ diff --git a/extra-files/compiled/SSDT-EC-USBX-LAPTOP.aml b/extra-files/compiled/SSDT-EC-USBX-LAPTOP.aml deleted file mode 100644 index 4d17b7c..0000000 Binary files a/extra-files/compiled/SSDT-EC-USBX-LAPTOP.aml and /dev/null differ diff --git a/extra-files/compiled/SSDT-PLUG-DRTNIA.aml b/extra-files/compiled/SSDT-PLUG-DRTNIA.aml deleted file mode 100644 index baafa9c..0000000 Binary files a/extra-files/compiled/SSDT-PLUG-DRTNIA.aml and /dev/null differ diff --git a/extra-files/compiled/SSDT-PMC.aml b/extra-files/compiled/SSDT-PMC.aml deleted file mode 100644 index c0eb2a9..0000000 Binary files a/extra-files/compiled/SSDT-PMC.aml and /dev/null differ diff --git a/extra-files/compiled/SSDT-PNLF-CFL.aml b/extra-files/compiled/SSDT-PNLF-CFL.aml deleted file mode 100644 index 2fee814..0000000 Binary files a/extra-files/compiled/SSDT-PNLF-CFL.aml and /dev/null differ diff --git a/extra-files/compiled/SSDT-PNLF.aml b/extra-files/compiled/SSDT-PNLF.aml deleted file mode 100644 index 7e5701e..0000000 Binary files a/extra-files/compiled/SSDT-PNLF.aml and /dev/null differ diff --git a/extra-files/compiled/SSDT-RHUB.aml b/extra-files/compiled/SSDT-RHUB.aml deleted file mode 100644 index a6c36ce..0000000 Binary files a/extra-files/compiled/SSDT-RHUB.aml and /dev/null differ diff --git a/extra-files/compiled/SSDT-XOSI.aml b/extra-files/compiled/SSDT-XOSI.aml deleted file mode 100644 index a6458fb..0000000 Binary files a/extra-files/compiled/SSDT-XOSI.aml and /dev/null differ diff --git a/extra-files/decompiled/SSDT-AWAC.dsl b/extra-files/decompiled/SSDT-AWAC.dsl deleted file mode 100644 index 3b0b750..0000000 --- a/extra-files/decompiled/SSDT-AWAC.dsl +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Forces enables legacy RTC clock, also gets arond INI conflict found on X299X boards - */ -DefinitionBlock ("", "SSDT", 2, "DRTNIA", "AWAC", 0x00000000) -{ - External (STAS, IntObj) - - Scope (_SB) - { - If (_OSI ("Darwin")) - { - STAS = One - } - } -} - diff --git a/extra-files/decompiled/SSDT-EC-DESKTOP.dsl b/extra-files/decompiled/SSDT-EC-DESKTOP.dsl deleted file mode 100644 index e9916da..0000000 --- a/extra-files/decompiled/SSDT-EC-DESKTOP.dsl +++ /dev/null @@ -1,759 +0,0 @@ -/* - * What this mess of an SSDT tries to accomplish is this: - * - Disable valid ECs, they will have the following properties: - * - _HID - * - _CRS - * - _GPE - * - Check for _STA to avoid conflicts - * - Create a new fake EC to let macOS play with - * - Create a USBX device for Skylake and newer - */ -DefinitionBlock ("", "SSDT", 2, "DRTNIA", "SsdtEC", 0x00001000) -{ - // AMD Trash and glorious Core2 hardware - - External (_SB_.PCI0.SBRG, DeviceObj) - External (_SB_.PCI0.SBRG.EC, DeviceObj) - External (_SB_.PCI0.SBRG.EC0, DeviceObj) - External (_SB_.PCI0.SBRG.H_EC, DeviceObj) - External (_SB_.PCI0.SBRG.ECDV, DeviceObj) - External (_SB_.PCI0.SBRG.PGEC, DeviceObj) - - // Consumer Desktop - - External (_SB_.PCI0.LPCB, DeviceObj) - External (_SB_.PCI0.LPCB.EC, DeviceObj) - External (_SB_.PCI0.LPCB.EC0, DeviceObj) - External (_SB_.PCI0.LPCB.H_EC, DeviceObj) - External (_SB_.PCI0.LPCB.ECDV, DeviceObj) - External (_SB_.PCI0.LPCB.PGEC, DeviceObj) - - // Other laptop variations(I'm sure Lenovo uses it in some weird desktop) - - External (_SB_.PCI0.LPC, DeviceObj) - External (_SB_.PCI0.LPC.EC, DeviceObj) - External (_SB_.PCI0.LPC.EC0, DeviceObj) - External (_SB_.PCI0.LPC.H_EC, DeviceObj) - External (_SB_.PCI0.LPC.ECDV, DeviceObj) - External (_SB_.PCI0.LPC.PGEC, DeviceObj) - - // Cursed X58 - - External (_SB_.PCI0.PX40, DeviceObj) - External (_SB_.PCI0.PX40.EC, DeviceObj) - External (_SB_.PCI0.PX40.EC0, DeviceObj) - External (_SB_.PCI0.PX40.H_EC, DeviceObj) - External (_SB_.PCI0.PX40.ECDV, DeviceObj) - External (_SB_.PCI0.PX40.PGEC, DeviceObj) - - // Cursed X79 and X99 - - External (_SB_.PCI0.LPC0, DeviceObj) - External (_SB_.PCI0.LPC0.EC, DeviceObj) - External (_SB_.PCI0.LPC0.EC0, DeviceObj) - External (_SB_.PCI0.LPC0.H_EC, DeviceObj) - External (_SB_.PCI0.LPC0.ECDV, DeviceObj) - External (_SB_.PCI0.LPC0.PGEC, DeviceObj) - - // Even more cursed X299 - - External (_SB_.PC00.LPC0, DeviceObj) - External (_SB_.PC00.LPC0.EC, DeviceObj) - External (_SB_.PC00.LPC0.EC0, DeviceObj) - External (_SB_.PC00.LPC0.H_EC, DeviceObj) - External (_SB_.PC00.LPC0.ECDV, DeviceObj) - External (_SB_.PC00.LPC0.PGEC, DeviceObj) - - - - - // Let the AMD Trash being(and glorious Core2) - If ((CondRefOf (\_SB.PCI0.SBRG.EC))) - { - If ((((CondRefOf (\_SB.PCI0.SBRG.EC._HID) && CondRefOf (\_SB.PCI0.SBRG.EC._CRS)) && CondRefOf (\_SB.PCI0.SBRG.EC._GPE - )) && !CondRefOf (\_SB.PCI0.SBRG.EC._STA))) - { - Scope (\_SB.PCI0.SBRG.EC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.SBRG.EC0))) - { - If ((((CondRefOf (\_SB.PCI0.SBRG.EC0._HID) && CondRefOf (\_SB.PCI0.SBRG.EC0._CRS)) && CondRefOf (\_SB.PCI0.SBRG.EC0._GPE - )) && !CondRefOf (\_SB.PCI0.SBRG.EC0._STA))) - { - Scope (\_SB.PCI0.SBRG.EC0) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.SBRG.H_EC))) - { - If ((((CondRefOf (\_SB.PCI0.SBRG.H_EC._HID) && CondRefOf (\_SB.PCI0.SBRG.H_EC._CRS)) && CondRefOf (\_SB.PCI0.SBRG.H_EC._GPE - )) && !CondRefOf (\_SB.PCI0.SBRG.H_EC._STA))) - { - Scope (\_SB.PCI0.SBRG.H_EC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.SBRG.ECDV))) - { - If ((((CondRefOf (\_SB.PCI0.SBRG.ECDV._HID) && CondRefOf (\_SB.PCI0.SBRG.ECDV._CRS)) && CondRefOf (\_SB.PCI0.SBRG.ECDV._GPE - )) && !CondRefOf (\_SB.PCI0.SBRG.ECDV._STA))) - { - Scope (\_SB.PCI0.SBRG.ECDV) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.SBRG.PGEC))) - { - If (((((CondRefOf (\_SB.PCI0.SBRG.PGEC._HID)) && CondRefOf ( - \_SB.PCI0.SBRG.PGEC._CRS)) && CondRefOf (\_SB.PCI0.SBRG.PGEC._GPE)) && !CondRefOf (\_SB.PCI0.SBRG.PGEC._STA))) - { - Scope (\_SB.PCI0.SBRG.PGEC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - // Now we go to consumer - - If ((CondRefOf (\_SB.PCI0.LPCB.EC))) - { - If ((((CondRefOf (\_SB.PCI0.LPCB.EC._HID) && CondRefOf (\_SB.PCI0.LPCB.EC._CRS)) && CondRefOf (\_SB.PCI0.LPCB.EC._GPE - )) && !CondRefOf (\_SB.PCI0.LPCB.EC._STA))) - { - Scope (\_SB.PCI0.LPCB.EC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.LPCB.EC0))) - { - If ((((CondRefOf (\_SB.PCI0.LPCB.EC0._HID) && CondRefOf (\_SB.PCI0.LPCB.EC0._CRS)) && CondRefOf (\_SB.PCI0.LPCB.EC0._GPE - )) && !CondRefOf (\_SB.PCI0.LPCB.EC0._STA))) - { - Scope (\_SB.PCI0.LPCB.EC0) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.LPCB.H_EC))) - { - If ((((CondRefOf (\_SB.PCI0.LPCB.H_EC._HID) && CondRefOf (\_SB.PCI0.LPCB.H_EC._CRS)) && CondRefOf (\_SB.PCI0.LPCB.H_EC._GPE - )) && !CondRefOf (\_SB.PCI0.LPCB.H_EC._STA))) - { - Scope (\_SB.PCI0.LPCB.H_EC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.LPCB.ECDV))) - { - If ((((CondRefOf (\_SB.PCI0.LPCB.ECDV._HID) && CondRefOf (\_SB.PCI0.LPCB.ECDV._CRS)) && CondRefOf (\_SB.PCI0.LPCB.ECDV._GPE - )) && !CondRefOf (\_SB.PCI0.LPCB.ECDV._STA))) - { - Scope (\_SB.PCI0.LPCB.ECDV) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.LPCB.PGEC))) - { - If (((((CondRefOf (\_SB.PCI0.LPCB.PGEC._HID)) && CondRefOf ( - \_SB.PCI0.LPCB.PGEC._CRS)) && CondRefOf (\_SB.PCI0.LPCB.PGEC._GPE)) && !CondRefOf (\_SB.PCI0.LPCB.PGEC._STA))) - { - Scope (\_SB.PCI0.LPCB.PGEC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - // Laptop trash - - If ((CondRefOf (\_SB.PCI0.LPC.EC))) - { - If ((((CondRefOf (\_SB.PCI0.LPC.EC._HID) && CondRefOf (\_SB.PCI0.LPC.EC._CRS)) && CondRefOf (\_SB.PCI0.LPC.EC._GPE - )) && !CondRefOf (\_SB.PCI0.LPC.EC._STA))) - { - Scope (\_SB.PCI0.LPC.EC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.LPC.EC0))) - { - If ((((CondRefOf (\_SB.PCI0.LPC.EC0._HID) && CondRefOf (\_SB.PCI0.LPC.EC0._CRS)) && CondRefOf (\_SB.PCI0.LPC.EC0._GPE - )) && !CondRefOf (\_SB.PCI0.LPC.EC0._STA))) - { - Scope (\_SB.PCI0.LPC.EC0) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.LPC.H_EC))) - { - If ((((CondRefOf (\_SB.PCI0.LPC.H_EC._HID) && CondRefOf (\_SB.PCI0.LPC.H_EC._CRS)) && CondRefOf (\_SB.PCI0.LPC.H_EC._GPE - )) && !CondRefOf (\_SB.PCI0.LPC.H_EC._STA))) - { - Scope (\_SB.PCI0.LPC.H_EC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.LPC.ECDV))) - { - If ((((CondRefOf (\_SB.PCI0.LPC.ECDV._HID) && CondRefOf (\_SB.PCI0.LPC.ECDV._CRS)) && CondRefOf (\_SB.PCI0.LPC.ECDV._GPE - )) && !CondRefOf (\_SB.PCI0.LPC.ECDV._STA))) - { - Scope (\_SB.PCI0.LPC.ECDV) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.LPC.PGEC))) - { - If (((((CondRefOf (\_SB.PCI0.LPC.PGEC._HID)) && CondRefOf ( - \_SB.PCI0.LPC.PGEC._CRS)) && CondRefOf (\_SB.PCI0.LPC.PGEC._GPE)) && !CondRefOf (\_SB.PCI0.LPC.PGEC._STA))) - { - Scope (\_SB.PCI0.LPC.PGEC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - // X58 trash - - If ((CondRefOf (\_SB.PCI0.PX40.EC))) - { - If ((((CondRefOf (\_SB.PCI0.PX40.EC._HID) && CondRefOf (\_SB.PCI0.PX40.EC._CRS)) && CondRefOf (\_SB.PCI0.PX40.EC._GPE - )) && !CondRefOf (\_SB.PCI0.PX40.EC._STA))) - { - Scope (\_SB.PCI0.PX40.EC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.PX40.EC0))) - { - If ((((CondRefOf (\_SB.PCI0.PX40.EC0._HID) && CondRefOf (\_SB.PCI0.PX40.EC0._CRS)) && CondRefOf (\_SB.PCI0.PX40.EC0._GPE - )) && !CondRefOf (\_SB.PCI0.PX40.EC0._STA))) - { - Scope (\_SB.PCI0.PX40.EC0) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.PX40.H_EC))) - { - If ((((CondRefOf (\_SB.PCI0.PX40.H_EC._HID) && CondRefOf (\_SB.PCI0.PX40.H_EC._CRS)) && CondRefOf (\_SB.PCI0.PX40.H_EC._GPE - )) && !CondRefOf (\_SB.PCI0.PX40.H_EC._STA))) - { - Scope (\_SB.PCI0.PX40.H_EC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.PX40.ECDV))) - { - If ((((CondRefOf (\_SB.PCI0.PX40.ECDV._HID) && CondRefOf (\_SB.PCI0.PX40.ECDV._CRS)) && CondRefOf (\_SB.PCI0.PX40.ECDV._GPE - )) && !CondRefOf (\_SB.PCI0.PX40.ECDV._STA))) - { - Scope (\_SB.PCI0.PX40.ECDV) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.PX40.PGEC))) - { - If (((((CondRefOf (\_SB.PCI0.PX40.PGEC._HID)) && CondRefOf ( - \_SB.PCI0.PX40.PGEC._CRS)) && CondRefOf (\_SB.PCI0.PX40.PGEC._GPE)) && !CondRefOf (\_SB.PCI0.PX40.PGEC._STA))) - { - Scope (\_SB.PCI0.PX40.PGEC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - // X79 and X99 trash - - If ((CondRefOf (\_SB.PCI0.LPC0.EC))) - { - If ((((CondRefOf (\_SB.PCI0.LPC0.EC._HID) && CondRefOf (\_SB.PCI0.LPC0.EC._CRS)) && CondRefOf (\_SB.PCI0.LPC0.EC._GPE - )) && !CondRefOf (\_SB.PCI0.LPC0.EC._STA))) - { - Scope (\_SB.PCI0.LPC0.EC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.LPC0.EC0))) - { - If ((((CondRefOf (\_SB.PCI0.LPC0.EC0._HID) && CondRefOf (\_SB.PCI0.LPC0.EC0._CRS)) && CondRefOf (\_SB.PCI0.LPC0.EC0._GPE - )) && !CondRefOf (\_SB.PCI0.LPC0.EC0._STA))) - { - Scope (\_SB.PCI0.LPC0.EC0) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.LPC0.H_EC))) - { - If ((((CondRefOf (\_SB.PCI0.LPC0.H_EC._HID) && CondRefOf (\_SB.PCI0.LPC0.H_EC._CRS)) && CondRefOf (\_SB.PCI0.LPC0.H_EC._GPE - )) && !CondRefOf (\_SB.PCI0.LPC0.H_EC._STA))) - { - Scope (\_SB.PCI0.LPC0.H_EC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.LPC0.ECDV))) - { - If ((((CondRefOf (\_SB.PCI0.LPC0.ECDV._HID) && CondRefOf (\_SB.PCI0.LPC0.ECDV._CRS)) && CondRefOf (\_SB.PCI0.LPC0.ECDV._GPE - )) && !CondRefOf (\_SB.PCI0.LPC0.ECDV._STA))) - { - Scope (\_SB.PCI0.LPC0.ECDV) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.LPC0.PGEC))) - { - If (((((CondRefOf (\_SB.PCI0.LPC0.PGEC._HID)) && CondRefOf ( - \_SB.PCI0.LPC0.PGEC._CRS)) && CondRefOf (\_SB.PCI0.LPC0.PGEC._GPE)) && !CondRefOf (\_SB.PCI0.LPC0.PGEC._STA))) - { - Scope (\_SB.PCI0.LPC0.PGEC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - // Cursed X299 - - If ((CondRefOf (\_SB.PC00.LPC0.EC))) - { - If ((((CondRefOf (\_SB.PC00.LPC0.EC._HID) && CondRefOf (\_SB.PC00.LPC0.EC._CRS)) && CondRefOf (\_SB.PC00.LPC0.EC._GPE - )) && !CondRefOf (\_SB.PC00.LPC0.EC._STA))) - { - Scope (\_SB.PC00.LPC0.EC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PC00.LPC0.EC0))) - { - If ((((CondRefOf (\_SB.PC00.LPC0.EC0._HID) && CondRefOf (\_SB.PC00.LPC0.EC0._CRS)) && CondRefOf (\_SB.PC00.LPC0.EC0._GPE - )) && !CondRefOf (\_SB.PC00.LPC0.EC0._STA))) - { - Scope (\_SB.PC00.LPC0.EC0) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PC00.LPC0.H_EC))) - { - If ((((CondRefOf (\_SB.PC00.LPC0.H_EC._HID) && CondRefOf (\_SB.PC00.LPC0.H_EC._CRS)) && CondRefOf (\_SB.PC00.LPC0.H_EC._GPE - )) && !CondRefOf (\_SB.PC00.LPC0.H_EC._STA))) - { - Scope (\_SB.PC00.LPC0.H_EC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PC00.LPC0.ECDV))) - { - If ((((CondRefOf (\_SB.PC00.LPC0.ECDV._HID) && CondRefOf (\_SB.PC00.LPC0.ECDV._CRS)) && CondRefOf (\_SB.PC00.LPC0.ECDV._GPE - )) && !CondRefOf (\_SB.PC00.LPC0.ECDV._STA))) - { - Scope (\_SB.PC00.LPC0.ECDV) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PC00.LPC0.PGEC))) - { - If (((((CondRefOf (\_SB.PC00.LPC0.PGEC._HID)) && CondRefOf ( - \_SB.PC00.LPC0.PGEC._CRS)) && CondRefOf (\_SB.PC00.LPC0.PGEC._GPE)) && !CondRefOf (\_SB.PC00.LPC0.PGEC._STA))) - { - Scope (\_SB.PC00.LPC0.PGEC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - // And finally, create our fake EC and USBX - Scope (\_SB) - { - Device (EC) // The EC is supposed to be located after the LPC device but doesn't actually matter since this is just a dummy device - { - Name (_HID, "ACID0001") // _HID: Hardware ID - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (0x0F) - } - Else - { - Return (Zero) - } - } - } - } -} diff --git a/extra-files/decompiled/SSDT-EC-LAPTOP.dsl b/extra-files/decompiled/SSDT-EC-LAPTOP.dsl deleted file mode 100644 index a66d859..0000000 --- a/extra-files/decompiled/SSDT-EC-LAPTOP.dsl +++ /dev/null @@ -1,36 +0,0 @@ -/* Purpose of this SSDT is to: - * - * - Find references of devices named EC__ - * - If none are found, only then create a new EC - * - * Reason for this is to avoid having multiple EC__ in devices - * like Lenovo who already use the name EC__ - */ -DefinitionBlock ("", "SSDT", 2, "DRTNIA", "SsdtEC", 0x00001000) -{ - External (_SB_.PCI0.LPC_.EC__, DeviceObj) - External (_SB_.PCI0.LPCB.EC__, DeviceObj) - - If ((!CondRefOf (\_SB.PCI0.LPCB.EC) && !CondRefOf (\_SB.PCI0.LPC.EC))) - { - Scope (\_SB) - { - Device (EC) - { - Name (_HID, "ACID0001") // _HID: Hardware ID - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (0x0F) - } - Else - { - Return (Zero) - } - } - } - } - } -} - diff --git a/extra-files/decompiled/SSDT-EC-USBX-DESKTOP.dsl b/extra-files/decompiled/SSDT-EC-USBX-DESKTOP.dsl deleted file mode 100644 index 2be0602..0000000 --- a/extra-files/decompiled/SSDT-EC-USBX-DESKTOP.dsl +++ /dev/null @@ -1,785 +0,0 @@ -/* - * What this mess of an SSDT tries to accomplish is this: - * - Disable valid ECs, they will have the following properties: - * - _HID - * - _CRS - * - _GPE - * - Check for _STA to avoid conflicts - * - Create a new fake EC to let macOS play with - * - Create a USBX device for Skylake and newer - */ -DefinitionBlock ("", "SSDT", 2, "DRTNIA", "SsdtEC", 0x00001000) -{ - // AMD Trash and glorious Core2 hardware - - External (_SB_.PCI0.SBRG, DeviceObj) - External (_SB_.PCI0.SBRG.EC, DeviceObj) - External (_SB_.PCI0.SBRG.EC0, DeviceObj) - External (_SB_.PCI0.SBRG.H_EC, DeviceObj) - External (_SB_.PCI0.SBRG.ECDV, DeviceObj) - External (_SB_.PCI0.SBRG.PGEC, DeviceObj) - - // Consumer Desktop - - External (_SB_.PCI0.LPCB, DeviceObj) - External (_SB_.PCI0.LPCB.EC, DeviceObj) - External (_SB_.PCI0.LPCB.EC0, DeviceObj) - External (_SB_.PCI0.LPCB.H_EC, DeviceObj) - External (_SB_.PCI0.LPCB.ECDV, DeviceObj) - External (_SB_.PCI0.LPCB.PGEC, DeviceObj) - - // Other laptop variations(I'm sure Lenovo uses it in some weird desktop) - - External (_SB_.PCI0.LPC, DeviceObj) - External (_SB_.PCI0.LPC.EC, DeviceObj) - External (_SB_.PCI0.LPC.EC0, DeviceObj) - External (_SB_.PCI0.LPC.H_EC, DeviceObj) - External (_SB_.PCI0.LPC.ECDV, DeviceObj) - External (_SB_.PCI0.LPC.PGEC, DeviceObj) - - // Cursed X58 - - External (_SB_.PCI0.PX40, DeviceObj) - External (_SB_.PCI0.PX40.EC, DeviceObj) - External (_SB_.PCI0.PX40.EC0, DeviceObj) - External (_SB_.PCI0.PX40.H_EC, DeviceObj) - External (_SB_.PCI0.PX40.ECDV, DeviceObj) - External (_SB_.PCI0.PX40.PGEC, DeviceObj) - - // Cursed X79 and X99 - - External (_SB_.PCI0.LPC0, DeviceObj) - External (_SB_.PCI0.LPC0.EC, DeviceObj) - External (_SB_.PCI0.LPC0.EC0, DeviceObj) - External (_SB_.PCI0.LPC0.H_EC, DeviceObj) - External (_SB_.PCI0.LPC0.ECDV, DeviceObj) - External (_SB_.PCI0.LPC0.PGEC, DeviceObj) - - // Even more cursed X299 - - External (_SB_.PC00.LPC0, DeviceObj) - External (_SB_.PC00.LPC0.EC, DeviceObj) - External (_SB_.PC00.LPC0.EC0, DeviceObj) - External (_SB_.PC00.LPC0.H_EC, DeviceObj) - External (_SB_.PC00.LPC0.ECDV, DeviceObj) - External (_SB_.PC00.LPC0.PGEC, DeviceObj) - - - - - // Let the AMD Trash being(and glorious Core2) - If ((CondRefOf (\_SB.PCI0.SBRG.EC))) - { - If ((((CondRefOf (\_SB.PCI0.SBRG.EC._HID) && CondRefOf (\_SB.PCI0.SBRG.EC._CRS)) && CondRefOf (\_SB.PCI0.SBRG.EC._GPE - )) && !CondRefOf (\_SB.PCI0.SBRG.EC._STA))) - { - Scope (\_SB.PCI0.SBRG.EC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.SBRG.EC0))) - { - If ((((CondRefOf (\_SB.PCI0.SBRG.EC0._HID) && CondRefOf (\_SB.PCI0.SBRG.EC0._CRS)) && CondRefOf (\_SB.PCI0.SBRG.EC0._GPE - )) && !CondRefOf (\_SB.PCI0.SBRG.EC0._STA))) - { - Scope (\_SB.PCI0.SBRG.EC0) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.SBRG.H_EC))) - { - If ((((CondRefOf (\_SB.PCI0.SBRG.H_EC._HID) && CondRefOf (\_SB.PCI0.SBRG.H_EC._CRS)) && CondRefOf (\_SB.PCI0.SBRG.H_EC._GPE - )) && !CondRefOf (\_SB.PCI0.SBRG.H_EC._STA))) - { - Scope (\_SB.PCI0.SBRG.H_EC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.SBRG.ECDV))) - { - If ((((CondRefOf (\_SB.PCI0.SBRG.ECDV._HID) && CondRefOf (\_SB.PCI0.SBRG.ECDV._CRS)) && CondRefOf (\_SB.PCI0.SBRG.ECDV._GPE - )) && !CondRefOf (\_SB.PCI0.SBRG.ECDV._STA))) - { - Scope (\_SB.PCI0.SBRG.ECDV) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.SBRG.PGEC))) - { - If (((((CondRefOf (\_SB.PCI0.SBRG.PGEC._HID)) && CondRefOf ( - \_SB.PCI0.SBRG.PGEC._CRS)) && CondRefOf (\_SB.PCI0.SBRG.PGEC._GPE)) && !CondRefOf (\_SB.PCI0.SBRG.PGEC._STA))) - { - Scope (\_SB.PCI0.SBRG.PGEC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - // Now we go to consumer - - If ((CondRefOf (\_SB.PCI0.LPCB.EC))) - { - If ((((CondRefOf (\_SB.PCI0.LPCB.EC._HID) && CondRefOf (\_SB.PCI0.LPCB.EC._CRS)) && CondRefOf (\_SB.PCI0.LPCB.EC._GPE - )) && !CondRefOf (\_SB.PCI0.LPCB.EC._STA))) - { - Scope (\_SB.PCI0.LPCB.EC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.LPCB.EC0))) - { - If ((((CondRefOf (\_SB.PCI0.LPCB.EC0._HID) && CondRefOf (\_SB.PCI0.LPCB.EC0._CRS)) && CondRefOf (\_SB.PCI0.LPCB.EC0._GPE - )) && !CondRefOf (\_SB.PCI0.LPCB.EC0._STA))) - { - Scope (\_SB.PCI0.LPCB.EC0) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.LPCB.H_EC))) - { - If ((((CondRefOf (\_SB.PCI0.LPCB.H_EC._HID) && CondRefOf (\_SB.PCI0.LPCB.H_EC._CRS)) && CondRefOf (\_SB.PCI0.LPCB.H_EC._GPE - )) && !CondRefOf (\_SB.PCI0.LPCB.H_EC._STA))) - { - Scope (\_SB.PCI0.LPCB.H_EC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.LPCB.ECDV))) - { - If ((((CondRefOf (\_SB.PCI0.LPCB.ECDV._HID) && CondRefOf (\_SB.PCI0.LPCB.ECDV._CRS)) && CondRefOf (\_SB.PCI0.LPCB.ECDV._GPE - )) && !CondRefOf (\_SB.PCI0.LPCB.ECDV._STA))) - { - Scope (\_SB.PCI0.LPCB.ECDV) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.LPCB.PGEC))) - { - If (((((CondRefOf (\_SB.PCI0.LPCB.PGEC._HID)) && CondRefOf ( - \_SB.PCI0.LPCB.PGEC._CRS)) && CondRefOf (\_SB.PCI0.LPCB.PGEC._GPE)) && !CondRefOf (\_SB.PCI0.LPCB.PGEC._STA))) - { - Scope (\_SB.PCI0.LPCB.PGEC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - // Laptop trash - - If ((CondRefOf (\_SB.PCI0.LPC.EC))) - { - If ((((CondRefOf (\_SB.PCI0.LPC.EC._HID) && CondRefOf (\_SB.PCI0.LPC.EC._CRS)) && CondRefOf (\_SB.PCI0.LPC.EC._GPE - )) && !CondRefOf (\_SB.PCI0.LPC.EC._STA))) - { - Scope (\_SB.PCI0.LPC.EC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.LPC.EC0))) - { - If ((((CondRefOf (\_SB.PCI0.LPC.EC0._HID) && CondRefOf (\_SB.PCI0.LPC.EC0._CRS)) && CondRefOf (\_SB.PCI0.LPC.EC0._GPE - )) && !CondRefOf (\_SB.PCI0.LPC.EC0._STA))) - { - Scope (\_SB.PCI0.LPC.EC0) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.LPC.H_EC))) - { - If ((((CondRefOf (\_SB.PCI0.LPC.H_EC._HID) && CondRefOf (\_SB.PCI0.LPC.H_EC._CRS)) && CondRefOf (\_SB.PCI0.LPC.H_EC._GPE - )) && !CondRefOf (\_SB.PCI0.LPC.H_EC._STA))) - { - Scope (\_SB.PCI0.LPC.H_EC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.LPC.ECDV))) - { - If ((((CondRefOf (\_SB.PCI0.LPC.ECDV._HID) && CondRefOf (\_SB.PCI0.LPC.ECDV._CRS)) && CondRefOf (\_SB.PCI0.LPC.ECDV._GPE - )) && !CondRefOf (\_SB.PCI0.LPC.ECDV._STA))) - { - Scope (\_SB.PCI0.LPC.ECDV) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.LPC.PGEC))) - { - If (((((CondRefOf (\_SB.PCI0.LPC.PGEC._HID)) && CondRefOf ( - \_SB.PCI0.LPC.PGEC._CRS)) && CondRefOf (\_SB.PCI0.LPC.PGEC._GPE)) && !CondRefOf (\_SB.PCI0.LPC.PGEC._STA))) - { - Scope (\_SB.PCI0.LPC.PGEC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - // X58 trash - - If ((CondRefOf (\_SB.PCI0.PX40.EC))) - { - If ((((CondRefOf (\_SB.PCI0.PX40.EC._HID) && CondRefOf (\_SB.PCI0.PX40.EC._CRS)) && CondRefOf (\_SB.PCI0.PX40.EC._GPE - )) && !CondRefOf (\_SB.PCI0.PX40.EC._STA))) - { - Scope (\_SB.PCI0.PX40.EC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.PX40.EC0))) - { - If ((((CondRefOf (\_SB.PCI0.PX40.EC0._HID) && CondRefOf (\_SB.PCI0.PX40.EC0._CRS)) && CondRefOf (\_SB.PCI0.PX40.EC0._GPE - )) && !CondRefOf (\_SB.PCI0.PX40.EC0._STA))) - { - Scope (\_SB.PCI0.PX40.EC0) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.PX40.H_EC))) - { - If ((((CondRefOf (\_SB.PCI0.PX40.H_EC._HID) && CondRefOf (\_SB.PCI0.PX40.H_EC._CRS)) && CondRefOf (\_SB.PCI0.PX40.H_EC._GPE - )) && !CondRefOf (\_SB.PCI0.PX40.H_EC._STA))) - { - Scope (\_SB.PCI0.PX40.H_EC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.PX40.ECDV))) - { - If ((((CondRefOf (\_SB.PCI0.PX40.ECDV._HID) && CondRefOf (\_SB.PCI0.PX40.ECDV._CRS)) && CondRefOf (\_SB.PCI0.PX40.ECDV._GPE - )) && !CondRefOf (\_SB.PCI0.PX40.ECDV._STA))) - { - Scope (\_SB.PCI0.PX40.ECDV) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.PX40.PGEC))) - { - If (((((CondRefOf (\_SB.PCI0.PX40.PGEC._HID)) && CondRefOf ( - \_SB.PCI0.PX40.PGEC._CRS)) && CondRefOf (\_SB.PCI0.PX40.PGEC._GPE)) && !CondRefOf (\_SB.PCI0.PX40.PGEC._STA))) - { - Scope (\_SB.PCI0.PX40.PGEC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - // X79 and X99 trash - - If ((CondRefOf (\_SB.PCI0.LPC0.EC))) - { - If ((((CondRefOf (\_SB.PCI0.LPC0.EC._HID) && CondRefOf (\_SB.PCI0.LPC0.EC._CRS)) && CondRefOf (\_SB.PCI0.LPC0.EC._GPE - )) && !CondRefOf (\_SB.PCI0.LPC0.EC._STA))) - { - Scope (\_SB.PCI0.LPC0.EC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.LPC0.EC0))) - { - If ((((CondRefOf (\_SB.PCI0.LPC0.EC0._HID) && CondRefOf (\_SB.PCI0.LPC0.EC0._CRS)) && CondRefOf (\_SB.PCI0.LPC0.EC0._GPE - )) && !CondRefOf (\_SB.PCI0.LPC0.EC0._STA))) - { - Scope (\_SB.PCI0.LPC0.EC0) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.LPC0.H_EC))) - { - If ((((CondRefOf (\_SB.PCI0.LPC0.H_EC._HID) && CondRefOf (\_SB.PCI0.LPC0.H_EC._CRS)) && CondRefOf (\_SB.PCI0.LPC0.H_EC._GPE - )) && !CondRefOf (\_SB.PCI0.LPC0.H_EC._STA))) - { - Scope (\_SB.PCI0.LPC0.H_EC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.LPC0.ECDV))) - { - If ((((CondRefOf (\_SB.PCI0.LPC0.ECDV._HID) && CondRefOf (\_SB.PCI0.LPC0.ECDV._CRS)) && CondRefOf (\_SB.PCI0.LPC0.ECDV._GPE - )) && !CondRefOf (\_SB.PCI0.LPC0.ECDV._STA))) - { - Scope (\_SB.PCI0.LPC0.ECDV) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PCI0.LPC0.PGEC))) - { - If (((((CondRefOf (\_SB.PCI0.LPC0.PGEC._HID)) && CondRefOf ( - \_SB.PCI0.LPC0.PGEC._CRS)) && CondRefOf (\_SB.PCI0.LPC0.PGEC._GPE)) && !CondRefOf (\_SB.PCI0.LPC0.PGEC._STA))) - { - Scope (\_SB.PCI0.LPC0.PGEC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - // Cursed X299 - - If ((CondRefOf (\_SB.PC00.LPC0.EC))) - { - If ((((CondRefOf (\_SB.PC00.LPC0.EC._HID) && CondRefOf (\_SB.PC00.LPC0.EC._CRS)) && CondRefOf (\_SB.PC00.LPC0.EC._GPE - )) && !CondRefOf (\_SB.PC00.LPC0.EC._STA))) - { - Scope (\_SB.PC00.LPC0.EC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PC00.LPC0.EC0))) - { - If ((((CondRefOf (\_SB.PC00.LPC0.EC0._HID) && CondRefOf (\_SB.PC00.LPC0.EC0._CRS)) && CondRefOf (\_SB.PC00.LPC0.EC0._GPE - )) && !CondRefOf (\_SB.PC00.LPC0.EC0._STA))) - { - Scope (\_SB.PC00.LPC0.EC0) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PC00.LPC0.H_EC))) - { - If ((((CondRefOf (\_SB.PC00.LPC0.H_EC._HID) && CondRefOf (\_SB.PC00.LPC0.H_EC._CRS)) && CondRefOf (\_SB.PC00.LPC0.H_EC._GPE - )) && !CondRefOf (\_SB.PC00.LPC0.H_EC._STA))) - { - Scope (\_SB.PC00.LPC0.H_EC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PC00.LPC0.ECDV))) - { - If ((((CondRefOf (\_SB.PC00.LPC0.ECDV._HID) && CondRefOf (\_SB.PC00.LPC0.ECDV._CRS)) && CondRefOf (\_SB.PC00.LPC0.ECDV._GPE - )) && !CondRefOf (\_SB.PC00.LPC0.ECDV._STA))) - { - Scope (\_SB.PC00.LPC0.ECDV) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - If ((CondRefOf (\_SB.PC00.LPC0.PGEC))) - { - If (((((CondRefOf (\_SB.PC00.LPC0.PGEC._HID)) && CondRefOf ( - \_SB.PC00.LPC0.PGEC._CRS)) && CondRefOf (\_SB.PC00.LPC0.PGEC._GPE)) && !CondRefOf (\_SB.PC00.LPC0.PGEC._STA))) - { - Scope (\_SB.PC00.LPC0.PGEC) - { - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (Zero) - } - Else - { - Return (0x0F) - } - } - } - } - } - - // And finally, create our fake EC and USBX - Scope (\_SB) - { - Device (EC) // The EC is supposed to be located after the LPC device but doesn't actually matter since this is just a dummy device - { - Name (_HID, "ACID0001") // _HID: Hardware ID - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (0x0F) - } - Else - { - Return (Zero) - } - } - } - Device (USBX) - { - Name (_ADR, Zero) // _ADR: Address - Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method - { - If ((Arg2 == Zero)) - { - Return (Buffer (One) - { - 0x03 // . - }) - } - - Return (Package (0x08) - { - "kUSBSleepPowerSupply", - 0x13EC, - "kUSBSleepPortCurrentLimit", - 0x0834, - "kUSBWakePowerSupply", - 0x13EC, - "kUSBWakePortCurrentLimit", - 0x0834 - }) - } - } - } -} diff --git a/extra-files/decompiled/SSDT-EC-USBX-LAPTOP.dsl b/extra-files/decompiled/SSDT-EC-USBX-LAPTOP.dsl deleted file mode 100644 index 50d5a04..0000000 --- a/extra-files/decompiled/SSDT-EC-USBX-LAPTOP.dsl +++ /dev/null @@ -1,62 +0,0 @@ -/* Purpose of this SSDT is to: - * - * - Find references of devices named EC__ - * - If none are found, only then create a new EC - * - * Reason for this is to avoid having multiple EC__ in devices - * like Lenovo who already use the name EC__ - */ -DefinitionBlock ("", "SSDT", 2, "DRTNIA", "SsdtEC", 0x00001000) -{ - External (_SB_.PCI0.LPC_.EC__, DeviceObj) - External (_SB_.PCI0.LPCB.EC__, DeviceObj) - - If ((!CondRefOf (\_SB.PCI0.LPCB.EC) && !CondRefOf (\_SB.PCI0.LPC.EC))) - { - Scope (\_SB) - { - Device (EC) - { - Name (_HID, "ACID0001") // _HID: Hardware ID - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (0x0F) - } - Else - { - Return (Zero) - } - } - } - } - } - - Device (USBX) - { - Name (_ADR, Zero) // _ADR: Address - Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method - { - If ((Arg2 == Zero)) - { - Return (Buffer (One) - { - 0x03 // . - }) - } - - Return (Package (0x08) - { - "kUSBSleepPowerSupply", - 0x13EC, - "kUSBSleepPortCurrentLimit", - 0x0834, - "kUSBWakePowerSupply", - 0x13EC, - "kUSBWakePortCurrentLimit", - 0x0834 - }) - } - } -} \ No newline at end of file diff --git a/extra-files/decompiled/SSDT-GPI0.dsl b/extra-files/decompiled/SSDT-GPI0.dsl deleted file mode 100644 index 331541c..0000000 --- a/extra-files/decompiled/SSDT-GPI0.dsl +++ /dev/null @@ -1,19 +0,0 @@ -// Source: https://github.com/daliansky/OC-little -DefinitionBlock("", "SSDT", 2, "DRTNIA", "GPI0", 0) -{ - External(GPEN, FieldUnitObj) - External(SBRG, FieldUnitObj) - - Scope (\) - { - If (_OSI ("Darwin")) - { - GPEN = One - SBRG = One - } - Else - { - - } - } -} diff --git a/extra-files/decompiled/SSDT-GPI0.dsl.zip b/extra-files/decompiled/SSDT-GPI0.dsl.zip deleted file mode 100644 index 75bed0c..0000000 Binary files a/extra-files/decompiled/SSDT-GPI0.dsl.zip and /dev/null differ diff --git a/extra-files/decompiled/SSDT-GPU-DISABLE.dsl b/extra-files/decompiled/SSDT-GPU-DISABLE.dsl deleted file mode 100644 index a81eff8..0000000 --- a/extra-files/decompiled/SSDT-GPU-DISABLE.dsl +++ /dev/null @@ -1,46 +0,0 @@ -// Used for disabling unsupported GPUs in macOS -DefinitionBlock ("", "SSDT", 2, "DRTNIA", "spoof", 0x00000000) -{ - External (_SB_.PCI0.PEG0.PEGP, DeviceObj) - - Method (_SB.PCI0.PEG0.PEGP._DSM, 4, NotSerialized) // _DSM: Device-Specific Method - { - If ((!Arg2 || (_OSI ("Darwin") == Zero))) - { - Return (Buffer (One) - { - 0x03 // . - }) - } - - Return (Package (0x0A) - { - "name", - Buffer (0x09) - { - "#display" - }, - - "IOName", - "#display", - "class-code", - Buffer (0x04) - { - 0xFF, 0xFF, 0xFF, 0xFF // .... - }, - - "vendor-id", - Buffer (0x04) - { - 0xFF, 0xFF, 0x00, 0x00 // .... - }, - - "device-id", - Buffer (0x04) - { - 0xFF, 0xFF, 0x00, 0x00 // .... - } - }) - } -} - diff --git a/extra-files/decompiled/SSDT-GPU-DISABLE.dsl.zip b/extra-files/decompiled/SSDT-GPU-DISABLE.dsl.zip deleted file mode 100644 index c3b3409..0000000 Binary files a/extra-files/decompiled/SSDT-GPU-DISABLE.dsl.zip and /dev/null differ diff --git a/extra-files/decompiled/SSDT-GPU-SPOOF.dsl b/extra-files/decompiled/SSDT-GPU-SPOOF.dsl deleted file mode 100644 index ce4057f..0000000 --- a/extra-files/decompiled/SSDT-GPU-SPOOF.dsl +++ /dev/null @@ -1,69 +0,0 @@ -// Based off of WhateverGreen's sample.dsl -// https://github.com/acidanthera/WhateverGreen/blob/master/Manual/Sample.dsl -DefinitionBlock ("", "SSDT", 2, "DRTNIA", "AMDGPU", 0x00001000) -{ - External (_SB_.PCI0, DeviceObj) - External (_SB_.PCI0.PEG0.PEGP, DeviceObj) - - - Scope (\_SB_.PCI0.PEG0.PEGP) - { - if (_OSI ("Darwin")) - { - Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method - { - Local0 = Package (0x04) - { - // Where we shove our FakeID - "device-id", - Buffer (0x04) - { - 0xB0, 0x67, 0x00, 0x00 - }, - - // Changing the name of the GPU reported, mainly cosmetic - "model", - Buffer () - { - "AMD Radeon R9 390" - } - } - DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) - Return (Local0) - } - } - } - Scope (\_SB.PCI0) - { - Method (DTGP, 5, NotSerialized) - { - If (LEqual (Arg0, ToUUID ("a0b5b7c6-1318-441c-b0c9-fe695eaf949b"))) - { - If (LEqual (Arg1, One)) - { - If (LEqual (Arg2, Zero)) - { - Store (Buffer (One) - { - 0x03 - }, Arg4) - Return (One) - } - - If (LEqual (Arg2, One)) - { - Return (One) - } - } - } - - Store (Buffer (One) - { - 0x00 - }, Arg4) - Return (Zero) - } - - } - -} \ No newline at end of file diff --git a/extra-files/decompiled/SSDT-GPU-SPOOF.dsl.zip b/extra-files/decompiled/SSDT-GPU-SPOOF.dsl.zip deleted file mode 100644 index d80b762..0000000 Binary files a/extra-files/decompiled/SSDT-GPU-SPOOF.dsl.zip and /dev/null differ diff --git a/extra-files/decompiled/SSDT-NoHybGfx.dsl b/extra-files/decompiled/SSDT-NoHybGfx.dsl deleted file mode 100644 index 8396626..0000000 --- a/extra-files/decompiled/SSDT-NoHybGfx.dsl +++ /dev/null @@ -1,50 +0,0 @@ -/* -* Disable discrete graphics (c) Bumblebee-Project -* >> https://github.com/Bumblebee-Project/Bumblebee/wiki/ACPI-for-Developers#acpi-and-the-nvidia-card -* --- -* Important: Change all ACPI paths accordingly. -* Credit to Maemo for original idea and the SSDT -*/ -DefinitionBlock ("", "SSDT", 2, "DRTNIA", "NoHybGfx", 0x00000000) -{ - External (_SB_.PCI0.PEG0.PEGP._DSM, MethodObj) // dGPU ACPI Path - External (_SB_.PCI0.PEG0.PEGP._PS3, MethodObj) // dGPU ACPI Path - - Device (NHG1) - { - Name (_HID, "NHG10000") // _HID: Hardware ID - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (0x0F) - } - Else - { - Return (Zero) - } - } - - Method (_INI, 0, NotSerialized) // _INI: Initialize - { - If (_OSI ("Darwin")) - { - // If conditional methods reference creation successful - If ((CondRefOf (\_SB.PCI0.PEG0.PEGP._DSM) && CondRefOf (\_SB.PCI0.PEG0.PEGP._PS3))) - { - // Card Off Request - \_SB.PCI0.PEG0.PEGP._DSM (ToUUID ("a486d8f8-0bda-471b-a72b-6042a6b5bee0"), 0x0100, 0x1A, Buffer (0x04) - { - 0x01, 0x00, 0x00, 0x03 - }) - // Card Off - \_SB.PCI0.PEG0.PEGP._PS3 () - } - } - Else - { - } - } - } -} - diff --git a/extra-files/decompiled/SSDT-NoHybGfx.dsl.zip b/extra-files/decompiled/SSDT-NoHybGfx.dsl.zip deleted file mode 100644 index 1e0e0a2..0000000 Binary files a/extra-files/decompiled/SSDT-NoHybGfx.dsl.zip and /dev/null differ diff --git a/extra-files/decompiled/SSDT-PLUG-DRTNIA.dsl b/extra-files/decompiled/SSDT-PLUG-DRTNIA.dsl deleted file mode 100644 index b42ca69..0000000 --- a/extra-files/decompiled/SSDT-PLUG-DRTNIA.dsl +++ /dev/null @@ -1,145 +0,0 @@ -/* - * Adds plugin-type property to the furst thread of your CPU, this is just a mirror - * from OpenCorePkg - */ -DefinitionBlock ("", "SSDT", 2, "DRTNIA", "CpuPlug", 0x00003000) -{ - External (_SB_.CPU0, ProcessorObj) - External (_PR_.CPU0, ProcessorObj) - External (_PR_.CP00, ProcessorObj) - External (_PR_.C000, ProcessorObj) - External (_PR_.P000, ProcessorObj) - External (_SB_.PR00, ProcessorObj) - External (_PR_.PR00, ProcessorObj) - External (_SB_.SCK0.CP00, ProcessorObj) - External (_SB_.SCK0.PR00, ProcessorObj) - Method (PMPM, 4, NotSerialized) - { - If ((Arg2 == Zero)) - { - Return (Buffer (One) - { - 0x03 // . - }) - } - - Return (Package (0x02) - { - "plugin-type", - One - }) - } - - If (CondRefOf (\_SB.CPU0)) - { - If ((ObjectType (\_SB.CPU0) == 0x0C)) - { - Scope (\_SB.CPU0) - { - Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method - { - Return (PMPM (Arg0, Arg1, Arg2, Arg3)) - } - } - } - } - - If (CondRefOf (\_PR.CPU0)) - { - If ((ObjectType (\_PR.CPU0) == 0x0C)) - { - Scope (\_PR.CPU0) - { - Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method - { - Return (PMPM (Arg0, Arg1, Arg2, Arg3)) - } - } - } - } - - If (CondRefOf (\_SB.PR00)) - { - If ((ObjectType (\_SB.PR00) == 0x0C)) - { - Scope (\_SB.PR00) - { - Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method - { - Return (PMPM (Arg0, Arg1, Arg2, Arg3)) - } - } - } - } - - If (CondRefOf (\_PR.C000)) - { - If ((ObjectType (\_PR.C000) == 0x0C)) - { - Scope (\_PR.C000) - { - Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method - { - Return (PMPM (Arg0, Arg1, Arg2, Arg3)) - } - } - } - } - - If (CondRefOf (\_PR.P000)) - { - If ((ObjectType (\_PR.P000) == 0x0C)) - { - Scope (\_PR.P000) - { - Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method - { - Return (PMPM (Arg0, Arg1, Arg2, Arg3)) - } - } - } - } - - If (CondRefOf (\_PR.PR00)) - { - If ((ObjectType (\_PR.PR00) == 0x0C)) - { - Scope (\_PR.PR00) - { - Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method - { - Return (PMPM (Arg0, Arg1, Arg2, Arg3)) - } - } - } - } - - If (CondRefOf (\_SB.SCK0.CP00)) - { - If ((ObjectType (\_SB.SCK0.CP00) == 0x0C)) - { - Scope (\_SB.SCK0.CP00) - { - Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method - { - Return (PMPM (Arg0, Arg1, Arg2, Arg3)) - } - } - } - } - - If (CondRefOf (\_SB.SCK0.PR00)) - { - If ((ObjectType (\_SB.SCK0.PR00) == 0x0C)) - { - Scope (\_SB.SCK0.PR00) - { - Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method - { - Return (PMPM (Arg0, Arg1, Arg2, Arg3)) - } - } - } - } -} - diff --git a/extra-files/decompiled/SSDT-PLUG.dsl b/extra-files/decompiled/SSDT-PLUG.dsl deleted file mode 100644 index 31da829..0000000 --- a/extra-files/decompiled/SSDT-PLUG.dsl +++ /dev/null @@ -1,50 +0,0 @@ -/* - * XCPM power management compatibility table. - */ -DefinitionBlock ("", "SSDT", 2, "DRTNIA", "CpuPlug", 0x00003000) -{ - External (_PR_.CPU0, ProcessorObj) // Rename this - - Scope (\_PR.CPU0) // Rename this - { - Method (DTGP, 5, NotSerialized) - { - If ((Arg0 == ToUUID ("a0b5b7c6-1318-441c-b0c9-fe695eaf949b"))) - { - If ((Arg1 == One)) - { - If ((Arg2 == Zero)) - { - Arg4 = Buffer (One) - { - 0x03 // . - } - Return (One) - } - - If ((Arg2 == One)) - { - Return (One) - } - } - } - - Arg4 = Buffer (One) - { - 0x00 // . - } - Return (Zero) - } - - Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method - { - Local0 = Package (0x02) - { - "plugin-type", - One - } - DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) - Return (Local0) - } - } -} diff --git a/extra-files/decompiled/SSDT-PLUG.dsl.zip b/extra-files/decompiled/SSDT-PLUG.dsl.zip deleted file mode 100644 index 407ab37..0000000 Binary files a/extra-files/decompiled/SSDT-PLUG.dsl.zip and /dev/null differ diff --git a/extra-files/decompiled/SSDT-PMC-prebuilt.dsl b/extra-files/decompiled/SSDT-PMC-prebuilt.dsl deleted file mode 100644 index 457cb9f..0000000 --- a/extra-files/decompiled/SSDT-PMC-prebuilt.dsl +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Goal of this SSDT is to check for all LPC edge cases, as laptops are known for naming variation - */ -DefinitionBlock ("", "SSDT", 2, "DRTNIA", "PMCR", 0x00001000) -{ - External (_SB_.PCI0.LPCB, DeviceObj) - External (_SB_.PCI0.LPC0, DeviceObj) - External (_SB_.PCI0.LPC, DeviceObj) - - - If (CondRefOf (\_SB.PCI0.LPCB)) - { - Scope (_SB.PCI0.LPCB) - { - Device (PMCR) - { - Name (_HID, EisaId ("APP9876")) // _HID: Hardware ID - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (0x0B) - } - Else - { - Return (Zero) - } - } - - Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings - { - Memory32Fixed (ReadWrite, - 0xFE000000, // Address Base - 0x00010000, // Address Length - ) - }) - } - } - } - If (CondRefOf (\_SB.PCI0.LPC0)) - { - Scope (_SB.PCI0.LPC0) - { - Device (PMCR) - { - Name (_HID, EisaId ("APP9876")) // _HID: Hardware ID - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (0x0B) - } - Else - { - Return (Zero) - } - } - - Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings - { - Memory32Fixed (ReadWrite, - 0xFE000000, // Address Base - 0x00010000, // Address Length - ) - }) - } - } - } - If (CondRefOf (\_SB.PCI0.LPC)) - { - Scope (_SB.PCI0.LPC) - { - Device (PMCR) - { - Name (_HID, EisaId ("APP9876")) // _HID: Hardware ID - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (0x0B) - } - Else - { - Return (Zero) - } - } - - Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings - { - Memory32Fixed (ReadWrite, - 0xFE000000, // Address Base - 0x00010000, // Address Length - ) - }) - } - } - } - -} - diff --git a/extra-files/decompiled/SSDT-PNLF-CFL.dsl b/extra-files/decompiled/SSDT-PNLF-CFL.dsl deleted file mode 100644 index 1452d60..0000000 --- a/extra-files/decompiled/SSDT-PNLF-CFL.dsl +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Pulled from AppleLife's Intel WEG manual - */ -DefinitionBlock ("", "SSDT", 2, "DRTNIA", "PNLFCFL", 0x00000000) -{ - External (_SB_.PCI0.GFX0, DeviceObj) - - Device (_SB.PCI0.GFX0.PNLF) - { - Name (_ADR, Zero) // _ADR: Address - Name (_HID, EisaId ("APP0002")) // _HID: Hardware ID - Name (_CID, "backlight") // _CID: Compatible ID - Name (_UID, 0x13) // _UID: Unique ID - Name (_STA, 0x0B) // _STA: Status - } -} - diff --git a/extra-files/decompiled/SSDT-PNLF-CFL.dsl.zip b/extra-files/decompiled/SSDT-PNLF-CFL.dsl.zip deleted file mode 100644 index 478a47d..0000000 Binary files a/extra-files/decompiled/SSDT-PNLF-CFL.dsl.zip and /dev/null differ diff --git a/extra-files/decompiled/SSDT-RHUB-prebuilt.dsl b/extra-files/decompiled/SSDT-RHUB-prebuilt.dsl deleted file mode 100644 index c2a7c4d..0000000 --- a/extra-files/decompiled/SSDT-RHUB-prebuilt.dsl +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Goal of this SSDT is to shut off the RHUb to force macOS into - * manually building ports when the ACPI is screwed up - */ -DefinitionBlock ("", "SSDT", 2, "DRTNIA", "RhubOff", 0x00001000) -{ - // Handle 99% of XHCI naming variations - - External (_SB_.PCI0.XHC_.RHUB, DeviceObj) - External (_SB_.PCI0.XHCI.RHUB, DeviceObj) - External (_SB_.PCI0.XHC1.RHUB, DeviceObj) - - - If (CondRefOf (\_SB.PCI0.XHC_.RHUB)) - { - Scope (_SB.PCI0.XHC_.RHUB) - { - - Method (_STA, 0, NotSerialized) - { - If (_OSI ("Darwin")) - { - Return (Zero) // This disables the device only in macOS - } - Else - { - } - } - } - } - - If (CondRefOf (\_SB.PCI0.XHCI.RHUB)) - { - Scope (_SB.PCI0.XHCI.RHUB) - { - - Method (_STA, 0, NotSerialized) - { - If (_OSI ("Darwin")) - { - Return (Zero) // This disables the device only in macOS - } - Else - { - } - } - } - } - - If (CondRefOf (\_SB.PCI0.XHC1.RHUB)) - { - Scope (_SB.PCI0.XHC1.RHUB) - { - - Method (_STA, 0, NotSerialized) - { - If (_OSI ("Darwin")) - { - Return (Zero) // This disables the device only in macOS - } - Else - { - } - } - } - } - -} - diff --git a/extra-files/decompiled/SSDT-RHUB.dsl b/extra-files/decompiled/SSDT-RHUB.dsl deleted file mode 100644 index 5848a1c..0000000 --- a/extra-files/decompiled/SSDT-RHUB.dsl +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Goal of this SSDT is to shut off the RHUB to force macOS into - * manually building ports when the ACPI is screwed up - */ -DefinitionBlock ("", "SSDT", 2, "DRTNIA", "RhubOff", 0x00001000) -{ - External (_SB_.PCI0.XHC1.RHUB, DeviceObj) // Full pathing to RHUB, change to yours - - - Scope (_SB.PCI0.XHC1.RHUB) // Full pathing to RHUB, change to yours - { - Method (_STA, 0, NotSerialized) - { - If (_OSI ("Darwin")) - { - Return (Zero) // This disables the device only in macOS - } - Else - { - } - } - } -} - diff --git a/extra-files/decompiled/SSDT-XOSI.dsl b/extra-files/decompiled/SSDT-XOSI.dsl deleted file mode 100644 index e8a4a0b..0000000 --- a/extra-files/decompiled/SSDT-XOSI.dsl +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Intel ACPI Component Architecture - * AML/ASL+ Disassembler version 20190509 (64-bit version) - * Copyright (c) 2000 - 2019 Intel Corporation - * - * Disassembling to symbolic ASL+ operators - * - * Disassembly of iASLYWTc6v.aml, Thu May 28 19:06:11 2020 - * - * Original Table Header: - * Signature "SSDT" - * Length 0x00000143 (323) - * Revision 0x02 - * Checksum 0x6C - * OEM ID "DRTNIA" - * OEM Table ID "XOSI" - * OEM Revision 0x00001000 (4096) - * Compiler ID "INTL" - * Compiler Version 0x20190509 (538510601) - */ -DefinitionBlock ("", "SSDT", 2, "DRTNIA", "XOSI", 0x00001000) -{ - Method (XOSI, 1, NotSerialized) - { - Local0 = Package (0x11) - { - "Windows 2001", - "Windows 2001.1", - "Windows 2001 SP1", - "Windows 2001 SP2", - "Windows 2001 SP3", - "Windows 2006", - "Windows 2006 SP1", - "Windows 2009", - "Windows 2012", - "Windows 2013", - "Microsoft Windows NT", - "Microsoft Windows", - "Microsoft WindowsME: Millennium Edition" - } - If (_OSI ("Darwin")) - { - Return ((Ones != Match (Local0, MEQ, Arg0, MTR, Zero, Zero))) - } - Else - { - Return (_OSI (Arg0)) - } - } -} - diff --git a/extra-files/decompiled/SSDT-dGPU-Off.dsl b/extra-files/decompiled/SSDT-dGPU-Off.dsl deleted file mode 100644 index 0bb7744..0000000 --- a/extra-files/decompiled/SSDT-dGPU-Off.dsl +++ /dev/null @@ -1,35 +0,0 @@ -/* Based off of Rebaman's work: -* https://github.com/RehabMan/OS-X-Clover-Laptop-Config/blob/master/hotpatch/SSDT-DDGPU.dsl -*/ -DefinitionBlock("", "SSDT", 2, "DRTNIA", "dGPU-Off", 0) -{ -External(_SB.PCI0.PEG0.PEGP._OFF, MethodObj) // ACPI Path of dGPU - - Device(RMD1) - { - Name(_HID, "RMD10000") // _HID: Hardware ID - Method (_STA, 0, NotSerialized) // _STA: Status - { - If (_OSI ("Darwin")) - { - Return (0x0F) - } - Else - { - Return (Zero) - } - } - - Method(_INI) - { - If (_OSI ("Darwin")) - { - // disable discrete graphics (Nvidia/Radeon) if it is present - If (CondRefOf(\_SB.PCI0.PEG0.PEGP._OFF)) { \_SB.PCI0.PEG0.PEGP._OFF() } - } - Else - { - } - } - } -} \ No newline at end of file diff --git a/extra-files/decompiled/SSDT-dGPU-Off.dsl.zip b/extra-files/decompiled/SSDT-dGPU-Off.dsl.zip deleted file mode 100644 index b7182e5..0000000 Binary files a/extra-files/decompiled/SSDT-dGPU-Off.dsl.zip and /dev/null differ diff --git a/gitbook/images/favicon.ico b/favicon.ico similarity index 100% rename from gitbook/images/favicon.ico rename to favicon.ico diff --git a/gitbook/fonts/fontawesome/FontAwesome.otf b/gitbook/fonts/fontawesome/FontAwesome.otf deleted file mode 100644 index d4de13e..0000000 Binary files a/gitbook/fonts/fontawesome/FontAwesome.otf and /dev/null differ diff --git a/gitbook/fonts/fontawesome/fontawesome-webfont.eot b/gitbook/fonts/fontawesome/fontawesome-webfont.eot deleted file mode 100644 index c7b00d2..0000000 Binary files a/gitbook/fonts/fontawesome/fontawesome-webfont.eot and /dev/null differ diff --git a/gitbook/fonts/fontawesome/fontawesome-webfont.svg b/gitbook/fonts/fontawesome/fontawesome-webfont.svg deleted file mode 100644 index 8b66187..0000000 --- a/gitbook/fonts/fontawesome/fontawesome-webfont.svg +++ /dev/null @@ -1,685 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/gitbook/fonts/fontawesome/fontawesome-webfont.ttf b/gitbook/fonts/fontawesome/fontawesome-webfont.ttf deleted file mode 100644 index f221e50..0000000 Binary files a/gitbook/fonts/fontawesome/fontawesome-webfont.ttf and /dev/null differ diff --git a/gitbook/fonts/fontawesome/fontawesome-webfont.woff b/gitbook/fonts/fontawesome/fontawesome-webfont.woff deleted file mode 100644 index 6e7483c..0000000 Binary files a/gitbook/fonts/fontawesome/fontawesome-webfont.woff and /dev/null differ diff --git a/gitbook/fonts/fontawesome/fontawesome-webfont.woff2 b/gitbook/fonts/fontawesome/fontawesome-webfont.woff2 deleted file mode 100644 index 7eb74fd..0000000 Binary files a/gitbook/fonts/fontawesome/fontawesome-webfont.woff2 and /dev/null differ diff --git a/gitbook/gitbook-plugin-anchors/plugin.css b/gitbook/gitbook-plugin-anchors/plugin.css deleted file mode 100644 index adf3e9e..0000000 --- a/gitbook/gitbook-plugin-anchors/plugin.css +++ /dev/null @@ -1,30 +0,0 @@ - -a.plugin-anchor { - color: inherit !important; - display: none; - margin-left: -30px; - padding-left: 40px; - cursor: pointer; - position: absolute; - top: 0; - left: 0; - bottom: 0; -} - -a.plugin-anchor i { - margin-left: -30px; - font-size: 15px !important; -} - -h1, h2, h3, h4, h5, h6 { - position: relative; -} - -h1:hover a.plugin-anchor, h2:hover a.plugin-anchor, h3:hover a.plugin-anchor, -h4:hover a.plugin-anchor, h5:hover a.plugin-anchor, h6:hover a.plugin-anchor { - display: inline-block; -} - -.book .book-body .page-wrapper .page-inner section.normal { - overflow: visible; -} diff --git a/gitbook/gitbook-plugin-fontsettings/fontsettings.js b/gitbook/gitbook-plugin-fontsettings/fontsettings.js deleted file mode 100644 index ff7be71..0000000 --- a/gitbook/gitbook-plugin-fontsettings/fontsettings.js +++ /dev/null @@ -1,240 +0,0 @@ -require(['gitbook', 'jquery'], function(gitbook, $) { - // Configuration - var MAX_SIZE = 4, - MIN_SIZE = 0, - BUTTON_ID; - - // Current fontsettings state - var fontState; - - // Default themes - var THEMES = [ - { - config: 'white', - text: 'White', - id: 0 - }, - { - config: 'sepia', - text: 'Sepia', - id: 1 - }, - { - config: 'night', - text: 'Night', - id: 2 - } - ]; - - // Default font families - var FAMILIES = [ - { - config: 'serif', - text: 'Serif', - id: 0 - }, - { - config: 'sans', - text: 'Sans', - id: 1 - } - ]; - - // Return configured themes - function getThemes() { - return THEMES; - } - - // Modify configured themes - function setThemes(themes) { - THEMES = themes; - updateButtons(); - } - - // Return configured font families - function getFamilies() { - return FAMILIES; - } - - // Modify configured font families - function setFamilies(families) { - FAMILIES = families; - updateButtons(); - } - - // Save current font settings - function saveFontSettings() { - gitbook.storage.set('fontState', fontState); - update(); - } - - // Increase font size - function enlargeFontSize(e) { - e.preventDefault(); - if (fontState.size >= MAX_SIZE) return; - - fontState.size++; - saveFontSettings(); - } - - // Decrease font size - function reduceFontSize(e) { - e.preventDefault(); - if (fontState.size <= MIN_SIZE) return; - - fontState.size--; - saveFontSettings(); - } - - // Change font family - function changeFontFamily(configName, e) { - if (e && e instanceof Event) { - e.preventDefault(); - } - - var familyId = getFontFamilyId(configName); - fontState.family = familyId; - saveFontSettings(); - } - - // Change type of color theme - function changeColorTheme(configName, e) { - if (e && e instanceof Event) { - e.preventDefault(); - } - - var $book = gitbook.state.$book; - - // Remove currently applied color theme - if (fontState.theme !== 0) - $book.removeClass('color-theme-'+fontState.theme); - - // Set new color theme - var themeId = getThemeId(configName); - fontState.theme = themeId; - if (fontState.theme !== 0) - $book.addClass('color-theme-'+fontState.theme); - - saveFontSettings(); - } - - // Return the correct id for a font-family config key - // Default to first font-family - function getFontFamilyId(configName) { - // Search for plugin configured font family - var configFamily = $.grep(FAMILIES, function(family) { - return family.config == configName; - })[0]; - // Fallback to default font family - return (!!configFamily)? configFamily.id : 0; - } - - // Return the correct id for a theme config key - // Default to first theme - function getThemeId(configName) { - // Search for plugin configured theme - var configTheme = $.grep(THEMES, function(theme) { - return theme.config == configName; - })[0]; - // Fallback to default theme - return (!!configTheme)? configTheme.id : 0; - } - - function update() { - var $book = gitbook.state.$book; - - $('.font-settings .font-family-list li').removeClass('active'); - $('.font-settings .font-family-list li:nth-child('+(fontState.family+1)+')').addClass('active'); - - $book[0].className = $book[0].className.replace(/\bfont-\S+/g, ''); - $book.addClass('font-size-'+fontState.size); - $book.addClass('font-family-'+fontState.family); - - if(fontState.theme !== 0) { - $book[0].className = $book[0].className.replace(/\bcolor-theme-\S+/g, ''); - $book.addClass('color-theme-'+fontState.theme); - } - } - - function init(config) { - // Search for plugin configured font family - var configFamily = getFontFamilyId(config.family), - configTheme = getThemeId(config.theme); - - // Instantiate font state object - fontState = gitbook.storage.get('fontState', { - size: config.size || 2, - family: configFamily, - theme: configTheme - }); - - update(); - } - - function updateButtons() { - // Remove existing fontsettings buttons - if (!!BUTTON_ID) { - gitbook.toolbar.removeButton(BUTTON_ID); - } - - // Create buttons in toolbar - BUTTON_ID = gitbook.toolbar.createButton({ - icon: 'fa fa-font', - label: 'Font Settings', - className: 'font-settings', - dropdown: [ - [ - { - text: 'A', - className: 'font-reduce', - onClick: reduceFontSize - }, - { - text: 'A', - className: 'font-enlarge', - onClick: enlargeFontSize - } - ], - $.map(FAMILIES, function(family) { - family.onClick = function(e) { - return changeFontFamily(family.config, e); - }; - - return family; - }), - $.map(THEMES, function(theme) { - theme.onClick = function(e) { - return changeColorTheme(theme.config, e); - }; - - return theme; - }) - ] - }); - } - - // Init configuration at start - gitbook.events.bind('start', function(e, config) { - var opts = config.fontsettings; - - // Generate buttons at start - updateButtons(); - - // Init current settings - init(opts); - }); - - // Expose API - gitbook.fontsettings = { - enlargeFontSize: enlargeFontSize, - reduceFontSize: reduceFontSize, - setTheme: changeColorTheme, - setFamily: changeFontFamily, - getThemes: getThemes, - setThemes: setThemes, - getFamilies: getFamilies, - setFamilies: setFamilies - }; -}); - - diff --git a/gitbook/gitbook-plugin-fontsettings/website.css b/gitbook/gitbook-plugin-fontsettings/website.css deleted file mode 100644 index 26591fe..0000000 --- a/gitbook/gitbook-plugin-fontsettings/website.css +++ /dev/null @@ -1,291 +0,0 @@ -/* - * Theme 1 - */ -.color-theme-1 .dropdown-menu { - background-color: #111111; - border-color: #7e888b; -} -.color-theme-1 .dropdown-menu .dropdown-caret .caret-inner { - border-bottom: 9px solid #111111; -} -.color-theme-1 .dropdown-menu .buttons { - border-color: #7e888b; -} -.color-theme-1 .dropdown-menu .button { - color: #afa790; -} -.color-theme-1 .dropdown-menu .button:hover { - color: #73553c; -} -/* - * Theme 2 - */ -.color-theme-2 .dropdown-menu { - background-color: #2d3143; - border-color: #272a3a; -} -.color-theme-2 .dropdown-menu .dropdown-caret .caret-inner { - border-bottom: 9px solid #2d3143; -} -.color-theme-2 .dropdown-menu .buttons { - border-color: #272a3a; -} -.color-theme-2 .dropdown-menu .button { - color: #62677f; -} -.color-theme-2 .dropdown-menu .button:hover { - color: #f4f4f5; -} -.book .book-header .font-settings .font-enlarge { - line-height: 30px; - font-size: 1.4em; -} -.book .book-header .font-settings .font-reduce { - line-height: 30px; - font-size: 1em; -} -.book.color-theme-1 .book-body { - color: #704214; - background: #f3eacb; -} -.book.color-theme-1 .book-body .page-wrapper .page-inner section { - background: #f3eacb; -} -.book.color-theme-2 .book-body { - color: #bdcadb; - background: #1c1f2b; -} -.book.color-theme-2 .book-body .page-wrapper .page-inner section { - background: #1c1f2b; -} -.book.font-size-0 .book-body .page-inner section { - font-size: 1.2rem; -} -.book.font-size-1 .book-body .page-inner section { - font-size: 1.4rem; -} -.book.font-size-2 .book-body .page-inner section { - font-size: 1.6rem; -} -.book.font-size-3 .book-body .page-inner section { - font-size: 2.2rem; -} -.book.font-size-4 .book-body .page-inner section { - font-size: 4rem; -} -.book.font-family-0 { - font-family: Georgia, serif; -} -.book.font-family-1 { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; -} -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal { - color: #704214; -} -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal a { - color: inherit; -} -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h1, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h2, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h3, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h4, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h5, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h6 { - color: inherit; -} -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h1, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h2 { - border-color: inherit; -} -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal h6 { - color: inherit; -} -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal hr { - background-color: inherit; -} -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal blockquote { - border-color: inherit; -} -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code { - background: #fdf6e3; - color: #657b83; - border-color: #f8df9c; -} -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal .highlight { - background-color: inherit; -} -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal table th, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal table td { - border-color: #f5d06c; -} -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal table tr { - color: inherit; - background-color: #fdf6e3; - border-color: #444444; -} -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal table tr:nth-child(2n) { - background-color: #fbeecb; -} -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal { - color: #bdcadb; -} -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal a { - color: #3eb1d0; -} -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h1, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h2, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h3, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h4, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h5, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h6 { - color: #fffffa; -} -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h1, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h2 { - border-color: #373b4e; -} -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal h6 { - color: #373b4e; -} -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal hr { - background-color: #373b4e; -} -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal blockquote { - border-color: #373b4e; -} -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code { - color: #9dbed8; - background: #2d3143; - border-color: #2d3143; -} -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal .highlight { - background-color: #282a39; -} -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal table th, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal table td { - border-color: #3b3f54; -} -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal table tr { - color: #b6c2d2; - background-color: #2d3143; - border-color: #3b3f54; -} -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal table tr:nth-child(2n) { - background-color: #35394b; -} -.book.color-theme-1 .book-header { - color: #afa790; - background: transparent; -} -.book.color-theme-1 .book-header .btn { - color: #afa790; -} -.book.color-theme-1 .book-header .btn:hover { - color: #73553c; - background: none; -} -.book.color-theme-1 .book-header h1 { - color: #704214; -} -.book.color-theme-2 .book-header { - color: #7e888b; - background: transparent; -} -.book.color-theme-2 .book-header .btn { - color: #3b3f54; -} -.book.color-theme-2 .book-header .btn:hover { - color: #fffff5; - background: none; -} -.book.color-theme-2 .book-header h1 { - color: #bdcadb; -} -.book.color-theme-1 .book-body .navigation { - color: #afa790; -} -.book.color-theme-1 .book-body .navigation:hover { - color: #73553c; -} -.book.color-theme-2 .book-body .navigation { - color: #383f52; -} -.book.color-theme-2 .book-body .navigation:hover { - color: #fffff5; -} -/* - * Theme 1 - */ -.book.color-theme-1 .book-summary { - color: #afa790; - background: #111111; - border-right: 1px solid rgba(0, 0, 0, 0.07); -} -.book.color-theme-1 .book-summary .book-search { - background: transparent; -} -.book.color-theme-1 .book-summary .book-search input, -.book.color-theme-1 .book-summary .book-search input:focus { - border: 1px solid transparent; -} -.book.color-theme-1 .book-summary ul.summary li.divider { - background: #7e888b; - box-shadow: none; -} -.book.color-theme-1 .book-summary ul.summary li i.fa-check { - color: #33cc33; -} -.book.color-theme-1 .book-summary ul.summary li.done > a { - color: #877f6a; -} -.book.color-theme-1 .book-summary ul.summary li a, -.book.color-theme-1 .book-summary ul.summary li span { - color: #877f6a; - background: transparent; - font-weight: normal; -} -.book.color-theme-1 .book-summary ul.summary li.active > a, -.book.color-theme-1 .book-summary ul.summary li a:hover { - color: #704214; - background: transparent; - font-weight: normal; -} -/* - * Theme 2 - */ -.book.color-theme-2 .book-summary { - color: #bcc1d2; - background: #2d3143; - border-right: none; -} -.book.color-theme-2 .book-summary .book-search { - background: transparent; -} -.book.color-theme-2 .book-summary .book-search input, -.book.color-theme-2 .book-summary .book-search input:focus { - border: 1px solid transparent; -} -.book.color-theme-2 .book-summary ul.summary li.divider { - background: #272a3a; - box-shadow: none; -} -.book.color-theme-2 .book-summary ul.summary li i.fa-check { - color: #33cc33; -} -.book.color-theme-2 .book-summary ul.summary li.done > a { - color: #62687f; -} -.book.color-theme-2 .book-summary ul.summary li a, -.book.color-theme-2 .book-summary ul.summary li span { - color: #c1c6d7; - background: transparent; - font-weight: 600; -} -.book.color-theme-2 .book-summary ul.summary li.active > a, -.book.color-theme-2 .book-summary ul.summary li a:hover { - color: #f4f4f5; - background: #252737; - font-weight: 600; -} diff --git a/gitbook/gitbook-plugin-github-buttons/plugin.js b/gitbook/gitbook-plugin-github-buttons/plugin.js deleted file mode 100644 index 8022e14..0000000 --- a/gitbook/gitbook-plugin-github-buttons/plugin.js +++ /dev/null @@ -1,85 +0,0 @@ -// LICENSE : MIT -"use strict"; -require(['gitbook'], function (gitbook) { - function addBeforeHeader(element) { - jQuery('.book-header > h1').before(element); - } - - function createButton(_ref) { - var user = _ref.user; - var repo = _ref.repo; - var type = _ref.type; - var size = _ref.size; - var width = _ref.width; - var height = _ref.height; - var count = _ref.count; - - var extraParam = type === "watch" ? "&v=2" : ""; - return '\n \n '; - } - - function createUserButton(_ref2) { - var user = _ref2.user; - var size = _ref2.size; - var width = _ref2.width; - var height = _ref2.height; - var count = _ref2.count; - - return '\n \n '; - } - - function insertGitHubLink(button) { - var user = button.user; - var repo = button.repo; - var type = button.type; - var size = button.size; - var width = button.width; - var height = button.height; - var count = button.count; - - var size = size || "large"; - var width = width || (size === "large" ? "150" : "100"); - var height = height || (size === "large" ? "30" : "20"); - var count = typeof count === "boolean" ? count : false; - - if (type === 'follow') { - var elementString = createUserButton({ - user: user, - size: size, - width: width, - height: height, - count: count - }); - } else { - var elementString = createButton({ - user: user, - repo: repo, - type: type, - size: size, - width: width, - height: height, - count: count - }); - } - addBeforeHeader(elementString); - } - - function init(config) { - config.buttons.forEach(insertGitHubLink); - } - - // injected by html hook - function getPluginConfig() { - return window["gitbook-plugin-github-buttons"]; - } - - // make sure configuration gets injected - gitbook.events.bind('start', function (e, config) { - window["gitbook-plugin-github-buttons"] = config["github-buttons"]; - }); - - gitbook.events.bind('page.change', function () { - init(getPluginConfig()); - }); -}); -//# sourceMappingURL=plugin.js.map \ No newline at end of file diff --git a/gitbook/gitbook-plugin-github-buttons/plugin.js.map b/gitbook/gitbook-plugin-github-buttons/plugin.js.map deleted file mode 100644 index 13e8f7d..0000000 --- a/gitbook/gitbook-plugin-github-buttons/plugin.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../src/plugin.js"],"names":[],"mappings":";AACA,YAAY,CAAC;AACb,OAAO,CAAC,CAAC,SAAS,CAAC,EAAE,UAAU,OAAO,EAAE;AACpC,aAAS,eAAe,CAAC,OAAO,EAAE;AAC9B,cAAM,CAAC,mBAAmB,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;KAC9C;;AAED,aAAS,YAAY,CAAC,IAQjB,EAAE;YAPH,IAAI,GADc,IAQjB,CAPD,IAAI;YACJ,IAAI,GAFc,IAQjB,CAND,IAAI;YACJ,IAAI,GAHc,IAQjB,CALD,IAAI;YACJ,IAAI,GAJc,IAQjB,CAJD,IAAI;YACJ,KAAK,GALa,IAQjB,CAHD,KAAK;YACL,MAAM,GANY,IAQjB,CAFD,MAAM;YACN,KAAK,GAPa,IAQjB,CADD,KAAK;;AAEL,YAAI,UAAU,GAAG,IAAI,KAAK,OAAO,GAAG,MAAM,GAAG,EAAE,CAAC;AAChD,yOAGuD,IAAI,cAAS,IAAI,cAAS,IAAI,eAAU,KAAK,cAAS,IAAI,GAAG,UAAU,kGAG7G,KAAK,qCACJ,MAAM,+CAElB;KACT;;AAED,aAAS,gBAAgB,CAAC,KAMrB,EAAE;YALH,IAAI,GADkB,KAMrB,CALD,IAAI;YACJ,IAAI,GAFkB,KAMrB,CAJD,IAAI;YACJ,KAAK,GAHiB,KAMrB,CAHD,KAAK;YACL,MAAM,GAJgB,KAMrB,CAFD,MAAM;YACN,KAAK,GALiB,KAMrB,CADD,KAAK;;AAEL,yOAGuD,IAAI,2BAAsB,KAAK,cAAS,IAAI,kGAGlF,KAAK,qCACJ,MAAM,+CAElB;KACT;;AAED,aAAS,gBAAgB,CAAC,MAAM,EAAE;YAE1B,IAAI,GAOJ,MAAM,CAPN,IAAI;YACJ,IAAI,GAMJ,MAAM,CANN,IAAI;YACJ,IAAI,GAKJ,MAAM,CALN,IAAI;YACJ,IAAI,GAIJ,MAAM,CAJN,IAAI;YACJ,KAAK,GAGL,MAAM,CAHN,KAAK;YACL,MAAM,GAEN,MAAM,CAFN,MAAM;YACN,KAAK,GACL,MAAM,CADN,KAAK;;AAGT,YAAI,IAAI,GAAG,IAAI,IAAI,OAAO,CAAC;AAC3B,YAAI,KAAK,GAAG,KAAK,KAAK,IAAI,KAAK,OAAO,GAAG,KAAK,GAAG,KAAK,CAAA,AAAC,CAAC;AACxD,YAAI,MAAM,GAAG,MAAM,KAAK,IAAI,KAAK,OAAO,GAAG,IAAI,GAAG,IAAI,CAAA,AAAC,CAAC;AACxD,YAAI,KAAK,GAAG,OAAO,KAAK,KAAK,SAAS,GAAG,KAAK,GAAG,KAAK,CAAC;;AAEvD,YAAI,IAAI,KAAK,QAAQ,EAAE;AACnB,gBAAI,aAAa,GAAG,gBAAgB,CAAC;AACjC,oBAAI,EAAJ,IAAI;AACJ,oBAAI,EAAJ,IAAI;AACJ,qBAAK,EAAL,KAAK;AACL,sBAAM,EAAN,MAAM;AACN,qBAAK,EAAL,KAAK;aACR,CAAC,CAAC;SACN,MAAM;AACH,gBAAI,aAAa,GAAG,YAAY,CAAC;AAC7B,oBAAI,EAAJ,IAAI;AACJ,oBAAI,EAAJ,IAAI;AACJ,oBAAI,EAAJ,IAAI;AACJ,oBAAI,EAAJ,IAAI;AACJ,qBAAK,EAAL,KAAK;AACL,sBAAM,EAAN,MAAM;AACN,qBAAK,EAAL,KAAK;aACR,CAAC,CAAC;SACN;AACD,uBAAe,CAAC,aAAa,CAAC,CAAC;KAClC;;AAED,aAAS,IAAI,CAAC,MAAM,EAAE;AAClB,cAAM,CAAC,OAAO,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;KAC5C;;;AAGD,aAAS,eAAe,GAAG;AACvB,eAAO,MAAM,CAAC,+BAA+B,CAAC,CAAC;KAClD;;;AAGD,WAAO,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,UAAU,CAAC,EAAE,MAAM,EAAE;AAC9C,cAAM,CAAC,+BAA+B,CAAC,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC;KACtE,CAAC,CAAC;;AAEH,WAAO,CAAC,MAAM,CAAC,IAAI,CAAC,aAAa,EAAE,YAAY;AAC3C,YAAI,CAAC,eAAe,EAAE,CAAC,CAAC;KAC3B,CAAC,CAAC;CACN,CAAC,CAAC","file":"plugin.js","sourcesContent":["// LICENSE : MIT\n\"use strict\";\nrequire(['gitbook'], function (gitbook) {\n function addBeforeHeader(element) {\n jQuery('.book-header > h1').before(element)\n }\n\n function createButton({\n user,\n repo,\n type,\n size,\n width,\n height,\n count\n }) {\n var extraParam = type === \"watch\" ? \"&v=2\" : \"\";\n return `\n \n `;\n }\n\n function createUserButton({\n user,\n size,\n width,\n height,\n count\n }) {\n return `\n \n `;\n }\n\n function insertGitHubLink(button) {\n var {\n user,\n repo,\n type,\n size,\n width,\n height,\n count\n } = button;\n\n var size = size || \"large\";\n var width = width || (size === \"large\" ? \"150\" : \"100\");\n var height = height || (size === \"large\" ? \"30\" : \"20\");\n var count = typeof count === \"boolean\" ? count : false;\n\n if (type === 'follow') {\n var elementString = createUserButton({\n user,\n size,\n width,\n height,\n count \n });\n } else {\n var elementString = createButton({\n user,\n repo,\n type,\n size,\n width,\n height,\n count\n });\n }\n addBeforeHeader(elementString);\n }\n\n function init(config) {\n config.buttons.forEach(insertGitHubLink);\n }\n\n // injected by html hook\n function getPluginConfig() {\n return window[\"gitbook-plugin-github-buttons\"];\n }\n\n // make sure configuration gets injected\n gitbook.events.bind('start', function (e, config) {\n window[\"gitbook-plugin-github-buttons\"] = config[\"github-buttons\"];\n });\n\n gitbook.events.bind('page.change', function () {\n init(getPluginConfig());\n });\n});\n"]} \ No newline at end of file diff --git a/gitbook/gitbook-plugin-highlight/ebook.css b/gitbook/gitbook-plugin-highlight/ebook.css deleted file mode 100644 index cecaaab..0000000 --- a/gitbook/gitbook-plugin-highlight/ebook.css +++ /dev/null @@ -1,135 +0,0 @@ -pre, -code { - /* http://jmblog.github.io/color-themes-for-highlightjs */ - /* Tomorrow Comment */ - /* Tomorrow Red */ - /* Tomorrow Orange */ - /* Tomorrow Yellow */ - /* Tomorrow Green */ - /* Tomorrow Aqua */ - /* Tomorrow Blue */ - /* Tomorrow Purple */ -} -pre .hljs-comment, -code .hljs-comment, -pre .hljs-title, -code .hljs-title { - color: #8e908c; -} -pre .hljs-variable, -code .hljs-variable, -pre .hljs-attribute, -code .hljs-attribute, -pre .hljs-tag, -code .hljs-tag, -pre .hljs-regexp, -code .hljs-regexp, -pre .hljs-deletion, -code .hljs-deletion, -pre .ruby .hljs-constant, -code .ruby .hljs-constant, -pre .xml .hljs-tag .hljs-title, -code .xml .hljs-tag .hljs-title, -pre .xml .hljs-pi, -code .xml .hljs-pi, -pre .xml .hljs-doctype, -code .xml .hljs-doctype, -pre .html .hljs-doctype, -code .html .hljs-doctype, -pre .css .hljs-id, -code .css .hljs-id, -pre .css .hljs-class, -code .css .hljs-class, -pre .css .hljs-pseudo, -code .css .hljs-pseudo { - color: #c82829; -} -pre .hljs-number, -code .hljs-number, -pre .hljs-preprocessor, -code .hljs-preprocessor, -pre .hljs-pragma, -code .hljs-pragma, -pre .hljs-built_in, -code .hljs-built_in, -pre .hljs-literal, -code .hljs-literal, -pre .hljs-params, -code .hljs-params, -pre .hljs-constant, -code .hljs-constant { - color: #f5871f; -} -pre .ruby .hljs-class .hljs-title, -code .ruby .hljs-class .hljs-title, -pre .css .hljs-rules .hljs-attribute, -code .css .hljs-rules .hljs-attribute { - color: #eab700; -} -pre .hljs-string, -code .hljs-string, -pre .hljs-value, -code .hljs-value, -pre .hljs-inheritance, -code .hljs-inheritance, -pre .hljs-header, -code .hljs-header, -pre .hljs-addition, -code .hljs-addition, -pre .ruby .hljs-symbol, -code .ruby .hljs-symbol, -pre .xml .hljs-cdata, -code .xml .hljs-cdata { - color: #718c00; -} -pre .css .hljs-hexcolor, -code .css .hljs-hexcolor { - color: #3e999f; -} -pre .hljs-function, -code .hljs-function, -pre .python .hljs-decorator, -code .python .hljs-decorator, -pre .python .hljs-title, -code .python .hljs-title, -pre .ruby .hljs-function .hljs-title, -code .ruby .hljs-function .hljs-title, -pre .ruby .hljs-title .hljs-keyword, -code .ruby .hljs-title .hljs-keyword, -pre .perl .hljs-sub, -code .perl .hljs-sub, -pre .javascript .hljs-title, -code .javascript .hljs-title, -pre .coffeescript .hljs-title, -code .coffeescript .hljs-title { - color: #4271ae; -} -pre .hljs-keyword, -code .hljs-keyword, -pre .javascript .hljs-function, -code .javascript .hljs-function { - color: #8959a8; -} -pre .hljs, -code .hljs { - display: block; - background: white; - color: #4d4d4c; - padding: 0.5em; -} -pre .coffeescript .javascript, -code .coffeescript .javascript, -pre .javascript .xml, -code .javascript .xml, -pre .tex .hljs-formula, -code .tex .hljs-formula, -pre .xml .javascript, -code .xml .javascript, -pre .xml .vbscript, -code .xml .vbscript, -pre .xml .css, -code .xml .css, -pre .xml .hljs-cdata, -code .xml .hljs-cdata { - opacity: 0.5; -} diff --git a/gitbook/gitbook-plugin-highlight/website.css b/gitbook/gitbook-plugin-highlight/website.css deleted file mode 100644 index 6674448..0000000 --- a/gitbook/gitbook-plugin-highlight/website.css +++ /dev/null @@ -1,434 +0,0 @@ -.book .book-body .page-wrapper .page-inner section.normal pre, -.book .book-body .page-wrapper .page-inner section.normal code { - /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ - /* Tomorrow Comment */ - /* Tomorrow Red */ - /* Tomorrow Orange */ - /* Tomorrow Yellow */ - /* Tomorrow Green */ - /* Tomorrow Aqua */ - /* Tomorrow Blue */ - /* Tomorrow Purple */ -} -.book .book-body .page-wrapper .page-inner section.normal pre .hljs-comment, -.book .book-body .page-wrapper .page-inner section.normal code .hljs-comment, -.book .book-body .page-wrapper .page-inner section.normal pre .hljs-title, -.book .book-body .page-wrapper .page-inner section.normal code .hljs-title { - color: #8e908c; -} -.book .book-body .page-wrapper .page-inner section.normal pre .hljs-variable, -.book .book-body .page-wrapper .page-inner section.normal code .hljs-variable, -.book .book-body .page-wrapper .page-inner section.normal pre .hljs-attribute, -.book .book-body .page-wrapper .page-inner section.normal code .hljs-attribute, -.book .book-body .page-wrapper .page-inner section.normal pre .hljs-tag, -.book .book-body .page-wrapper .page-inner section.normal code .hljs-tag, -.book .book-body .page-wrapper .page-inner section.normal pre .hljs-regexp, -.book .book-body .page-wrapper .page-inner section.normal code .hljs-regexp, -.book .book-body .page-wrapper .page-inner section.normal pre .hljs-deletion, -.book .book-body .page-wrapper .page-inner section.normal code .hljs-deletion, -.book .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-constant, -.book .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-constant, -.book .book-body .page-wrapper .page-inner section.normal pre .xml .hljs-tag .hljs-title, -.book .book-body .page-wrapper .page-inner section.normal code .xml .hljs-tag .hljs-title, -.book .book-body .page-wrapper .page-inner section.normal pre .xml .hljs-pi, -.book .book-body .page-wrapper .page-inner section.normal code .xml .hljs-pi, -.book .book-body .page-wrapper .page-inner section.normal pre .xml .hljs-doctype, -.book .book-body .page-wrapper .page-inner section.normal code .xml .hljs-doctype, -.book .book-body .page-wrapper .page-inner section.normal pre .html .hljs-doctype, -.book .book-body .page-wrapper .page-inner section.normal code .html .hljs-doctype, -.book .book-body .page-wrapper .page-inner section.normal pre .css .hljs-id, -.book .book-body .page-wrapper .page-inner section.normal code .css .hljs-id, -.book .book-body .page-wrapper .page-inner section.normal pre .css .hljs-class, -.book .book-body .page-wrapper .page-inner section.normal code .css .hljs-class, -.book .book-body .page-wrapper .page-inner section.normal pre .css .hljs-pseudo, -.book .book-body .page-wrapper .page-inner section.normal code .css .hljs-pseudo { - color: #c82829; -} -.book .book-body .page-wrapper .page-inner section.normal pre .hljs-number, -.book .book-body .page-wrapper .page-inner section.normal code .hljs-number, -.book .book-body .page-wrapper .page-inner section.normal pre .hljs-preprocessor, -.book .book-body .page-wrapper .page-inner section.normal code .hljs-preprocessor, -.book .book-body .page-wrapper .page-inner section.normal pre .hljs-pragma, -.book .book-body .page-wrapper .page-inner section.normal code .hljs-pragma, -.book .book-body .page-wrapper .page-inner section.normal pre .hljs-built_in, -.book .book-body .page-wrapper .page-inner section.normal code .hljs-built_in, -.book .book-body .page-wrapper .page-inner section.normal pre .hljs-literal, -.book .book-body .page-wrapper .page-inner section.normal code .hljs-literal, -.book .book-body .page-wrapper .page-inner section.normal pre .hljs-params, -.book .book-body .page-wrapper .page-inner section.normal code .hljs-params, -.book .book-body .page-wrapper .page-inner section.normal pre .hljs-constant, -.book .book-body .page-wrapper .page-inner section.normal code .hljs-constant { - color: #f5871f; -} -.book .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-class .hljs-title, -.book .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-class .hljs-title, -.book .book-body .page-wrapper .page-inner section.normal pre .css .hljs-rules .hljs-attribute, -.book .book-body .page-wrapper .page-inner section.normal code .css .hljs-rules .hljs-attribute { - color: #eab700; -} -.book .book-body .page-wrapper .page-inner section.normal pre .hljs-string, -.book .book-body .page-wrapper .page-inner section.normal code .hljs-string, -.book .book-body .page-wrapper .page-inner section.normal pre .hljs-value, -.book .book-body .page-wrapper .page-inner section.normal code .hljs-value, -.book .book-body .page-wrapper .page-inner section.normal pre .hljs-inheritance, -.book .book-body .page-wrapper .page-inner section.normal code .hljs-inheritance, -.book .book-body .page-wrapper .page-inner section.normal pre .hljs-header, -.book .book-body .page-wrapper .page-inner section.normal code .hljs-header, -.book .book-body .page-wrapper .page-inner section.normal pre .hljs-addition, -.book .book-body .page-wrapper .page-inner section.normal code .hljs-addition, -.book .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-symbol, -.book .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-symbol, -.book .book-body .page-wrapper .page-inner section.normal pre .xml .hljs-cdata, -.book .book-body .page-wrapper .page-inner section.normal code .xml .hljs-cdata { - color: #718c00; -} -.book .book-body .page-wrapper .page-inner section.normal pre .css .hljs-hexcolor, -.book .book-body .page-wrapper .page-inner section.normal code .css .hljs-hexcolor { - color: #3e999f; -} -.book .book-body .page-wrapper .page-inner section.normal pre .hljs-function, -.book .book-body .page-wrapper .page-inner section.normal code .hljs-function, -.book .book-body .page-wrapper .page-inner section.normal pre .python .hljs-decorator, -.book .book-body .page-wrapper .page-inner section.normal code .python .hljs-decorator, -.book .book-body .page-wrapper .page-inner section.normal pre .python .hljs-title, -.book .book-body .page-wrapper .page-inner section.normal code .python .hljs-title, -.book .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-function .hljs-title, -.book .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-function .hljs-title, -.book .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-title .hljs-keyword, -.book .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-title .hljs-keyword, -.book .book-body .page-wrapper .page-inner section.normal pre .perl .hljs-sub, -.book .book-body .page-wrapper .page-inner section.normal code .perl .hljs-sub, -.book .book-body .page-wrapper .page-inner section.normal pre .javascript .hljs-title, -.book .book-body .page-wrapper .page-inner section.normal code .javascript .hljs-title, -.book .book-body .page-wrapper .page-inner section.normal pre .coffeescript .hljs-title, -.book .book-body .page-wrapper .page-inner section.normal code .coffeescript .hljs-title { - color: #4271ae; -} -.book .book-body .page-wrapper .page-inner section.normal pre .hljs-keyword, -.book .book-body .page-wrapper .page-inner section.normal code .hljs-keyword, -.book .book-body .page-wrapper .page-inner section.normal pre .javascript .hljs-function, -.book .book-body .page-wrapper .page-inner section.normal code .javascript .hljs-function { - color: #8959a8; -} -.book .book-body .page-wrapper .page-inner section.normal pre .hljs, -.book .book-body .page-wrapper .page-inner section.normal code .hljs { - display: block; - background: white; - color: #4d4d4c; - padding: 0.5em; -} -.book .book-body .page-wrapper .page-inner section.normal pre .coffeescript .javascript, -.book .book-body .page-wrapper .page-inner section.normal code .coffeescript .javascript, -.book .book-body .page-wrapper .page-inner section.normal pre .javascript .xml, -.book .book-body .page-wrapper .page-inner section.normal code .javascript .xml, -.book .book-body .page-wrapper .page-inner section.normal pre .tex .hljs-formula, -.book .book-body .page-wrapper .page-inner section.normal code .tex .hljs-formula, -.book .book-body .page-wrapper .page-inner section.normal pre .xml .javascript, -.book .book-body .page-wrapper .page-inner section.normal code .xml .javascript, -.book .book-body .page-wrapper .page-inner section.normal pre .xml .vbscript, -.book .book-body .page-wrapper .page-inner section.normal code .xml .vbscript, -.book .book-body .page-wrapper .page-inner section.normal pre .xml .css, -.book .book-body .page-wrapper .page-inner section.normal code .xml .css, -.book .book-body .page-wrapper .page-inner section.normal pre .xml .hljs-cdata, -.book .book-body .page-wrapper .page-inner section.normal code .xml .hljs-cdata { - opacity: 0.5; -} -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code { - /* - -Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull - -*/ - /* Solarized Green */ - /* Solarized Cyan */ - /* Solarized Blue */ - /* Solarized Yellow */ - /* Solarized Orange */ - /* Solarized Red */ - /* Solarized Violet */ -} -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs { - display: block; - padding: 0.5em; - background: #fdf6e3; - color: #657b83; -} -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-comment, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-comment, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-template_comment, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-template_comment, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .diff .hljs-header, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .diff .hljs-header, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-doctype, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-doctype, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-pi, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-pi, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .lisp .hljs-string, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .lisp .hljs-string, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-javadoc, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-javadoc { - color: #93a1a1; -} -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-keyword, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-keyword, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-winutils, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-winutils, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .method, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .method, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-addition, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-addition, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .css .hljs-tag, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .css .hljs-tag, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-request, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-request, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-status, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-status, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .nginx .hljs-title, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .nginx .hljs-title { - color: #859900; -} -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-number, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-number, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-command, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-command, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-string, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-string, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-tag .hljs-value, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-tag .hljs-value, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-rules .hljs-value, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-rules .hljs-value, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-phpdoc, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-phpdoc, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .tex .hljs-formula, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .tex .hljs-formula, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-regexp, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-regexp, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-hexcolor, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-hexcolor, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-link_url, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-link_url { - color: #2aa198; -} -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-title, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-title, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-localvars, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-localvars, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-chunk, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-chunk, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-decorator, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-decorator, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-built_in, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-built_in, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-identifier, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-identifier, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .vhdl .hljs-literal, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .vhdl .hljs-literal, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-id, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-id, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .css .hljs-function, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .css .hljs-function { - color: #268bd2; -} -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-attribute, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-attribute, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-variable, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-variable, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .lisp .hljs-body, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .lisp .hljs-body, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .smalltalk .hljs-number, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .smalltalk .hljs-number, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-constant, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-constant, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-class .hljs-title, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-class .hljs-title, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-parent, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-parent, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .haskell .hljs-type, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .haskell .hljs-type, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-link_reference, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-link_reference { - color: #b58900; -} -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-preprocessor, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-preprocessor, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-preprocessor .hljs-keyword, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-preprocessor .hljs-keyword, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-pragma, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-pragma, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-shebang, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-shebang, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-symbol, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-symbol, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-symbol .hljs-string, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-symbol .hljs-string, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .diff .hljs-change, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .diff .hljs-change, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-special, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-special, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-attr_selector, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-attr_selector, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-subst, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-subst, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-cdata, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-cdata, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .clojure .hljs-title, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .clojure .hljs-title, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .css .hljs-pseudo, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .css .hljs-pseudo, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-header, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-header { - color: #cb4b16; -} -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-deletion, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-deletion, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-important, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-important { - color: #dc322f; -} -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .hljs-link_label, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .hljs-link_label { - color: #6c71c4; -} -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal pre .tex .hljs-formula, -.book.color-theme-1 .book-body .page-wrapper .page-inner section.normal code .tex .hljs-formula { - background: #eee8d5; -} -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code { - /* Tomorrow Night Bright Theme */ - /* Original theme - https://github.com/chriskempson/tomorrow-theme */ - /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ - /* Tomorrow Comment */ - /* Tomorrow Red */ - /* Tomorrow Orange */ - /* Tomorrow Yellow */ - /* Tomorrow Green */ - /* Tomorrow Aqua */ - /* Tomorrow Blue */ - /* Tomorrow Purple */ -} -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-comment, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-comment, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-title, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-title { - color: #969896; -} -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-variable, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-variable, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-attribute, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-attribute, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-tag, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-tag, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-regexp, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-regexp, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-deletion, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-deletion, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-constant, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-constant, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .xml .hljs-tag .hljs-title, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .xml .hljs-tag .hljs-title, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .xml .hljs-pi, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .xml .hljs-pi, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .xml .hljs-doctype, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .xml .hljs-doctype, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .html .hljs-doctype, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .html .hljs-doctype, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .css .hljs-id, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .css .hljs-id, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .css .hljs-class, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .css .hljs-class, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .css .hljs-pseudo, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .css .hljs-pseudo { - color: #d54e53; -} -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-number, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-number, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-preprocessor, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-preprocessor, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-pragma, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-pragma, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-built_in, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-built_in, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-literal, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-literal, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-params, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-params, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-constant, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-constant { - color: #e78c45; -} -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-class .hljs-title, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-class .hljs-title, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .css .hljs-rules .hljs-attribute, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .css .hljs-rules .hljs-attribute { - color: #e7c547; -} -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-string, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-string, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-value, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-value, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-inheritance, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-inheritance, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-header, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-header, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-addition, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-addition, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-symbol, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-symbol, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .xml .hljs-cdata, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .xml .hljs-cdata { - color: #b9ca4a; -} -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .css .hljs-hexcolor, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .css .hljs-hexcolor { - color: #70c0b1; -} -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-function, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-function, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .python .hljs-decorator, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .python .hljs-decorator, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .python .hljs-title, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .python .hljs-title, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-function .hljs-title, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-function .hljs-title, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .ruby .hljs-title .hljs-keyword, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .ruby .hljs-title .hljs-keyword, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .perl .hljs-sub, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .perl .hljs-sub, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .javascript .hljs-title, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .javascript .hljs-title, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .coffeescript .hljs-title, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .coffeescript .hljs-title { - color: #7aa6da; -} -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs-keyword, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs-keyword, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .javascript .hljs-function, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .javascript .hljs-function { - color: #c397d8; -} -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .hljs, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .hljs { - display: block; - background: black; - color: #eaeaea; - padding: 0.5em; -} -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .coffeescript .javascript, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .coffeescript .javascript, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .javascript .xml, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .javascript .xml, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .tex .hljs-formula, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .tex .hljs-formula, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .xml .javascript, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .xml .javascript, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .xml .vbscript, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .xml .vbscript, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .xml .css, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .xml .css, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal pre .xml .hljs-cdata, -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code .xml .hljs-cdata { - opacity: 0.5; -} diff --git a/gitbook/gitbook-plugin-medium-zoom/medium-zoom.min.js b/gitbook/gitbook-plugin-medium-zoom/medium-zoom.min.js deleted file mode 100644 index 277c16e..0000000 --- a/gitbook/gitbook-plugin-medium-zoom/medium-zoom.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! medium-zoom 1.0.4 | MIT License | https://github.com/francoischalifour/medium-zoom */ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.mediumZoom=t()}(this,function(){"use strict";var H=Object.assign||function(e){for(var t=1;tb.scrollOffset&&setTimeout(h,150)}}),window.addEventListener("resize",h);var L={open:d,close:h,toggle:r,update:function(){var e=0-1||d.indexOf("Trident")>-1)&&(this.ie=!0)}return _createClass(c,[{key:"log",value:function a(b){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"debug",a=this.opt.log;this.opt.debug&&"object"===("undefined"==typeof a?"undefined":_typeof(a))&&"function"==typeof a[c]&&a[c]("mark.js: "+b)}},{key:"escapeStr",value:function(a){return a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createRegExp",value:function(a){return a=this.escapeStr(a),Object.keys(this.opt.synonyms).length&&(a=this.createSynonymsRegExp(a)),this.opt.ignoreJoiners&&(a=this.setupIgnoreJoinersRegExp(a)),this.opt.diacritics&&(a=this.createDiacriticsRegExp(a)),a=this.createMergedBlanksRegExp(a),this.opt.ignoreJoiners&&(a=this.createIgnoreJoinersRegExp(a)),a=this.createAccuracyRegExp(a)}},{key:"createSynonymsRegExp",value:function(a){var b=this.opt.synonyms,c=this.opt.caseSensitive?"":"i";for(var d in b)if(b.hasOwnProperty(d)){var e=b[d],f=this.escapeStr(d),g=this.escapeStr(e);a=a.replace(new RegExp("("+f+"|"+g+")","gm"+c),"("+f+"|"+g+")")}return a}},{key:"setupIgnoreJoinersRegExp",value:function(a){return a.replace(/[^(|)\\]/g,function(a,b,c){var d=c.charAt(b+1);return/[(|)\\]/.test(d)||""===d?a:a+"\0"})}},{key:"createIgnoreJoinersRegExp",value:function(a){return a.split("\0").join("[\\u00ad|\\u200b|\\u200c|\\u200d]?")}},{key:"createDiacriticsRegExp",value:function(a){var b=this.opt.caseSensitive?"":"i",c=this.opt.caseSensitive?["aàáâãäåāąă","AÀÁÂÃÄÅĀĄĂ","cçćč","CÇĆČ","dđď","DĐĎ","eèéêëěēę","EÈÉÊËĚĒĘ","iìíîïī","IÌÍÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóôõöøō","OÒÓÔÕÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúûüůū","UÙÚÛÜŮŪ","yÿý","YŸÝ","zžżź","ZŽŻŹ"]:["aÀÁÂÃÄÅàáâãäåĀāąĄăĂ","cÇçćĆčČ","dđĐďĎ","eÈÉÊËèéêëěĚĒēęĘ","iÌÍÎÏìíîïĪī","lłŁ","nÑñňŇńŃ","oÒÓÔÕÖØòóôõöøŌō","rřŘ","sŠšśŚșȘşŞ","tťŤțȚţŢ","uÙÚÛÜùúûüůŮŪū","yŸÿýÝ","zŽžżŻźŹ"],d=[];return a.split("").forEach(function(e){c.every(function(c){if(c.indexOf(e)!==-1){if(d.indexOf(c)>-1)return!1;a=a.replace(new RegExp("["+c+"]","gm"+b),"["+c+"]"),d.push(c)}return!0})}),a}},{key:"createMergedBlanksRegExp",value:function(a){return a.replace(/[\s]+/gim,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(a){var b=this,c=this.opt.accuracy,d="string"==typeof c?c:c.value,e="string"==typeof c?[]:c.limiters,f="";switch(e.forEach(function(a){f+="|"+b.escapeStr(a)}),d){case"partially":default:return"()("+a+")";case"complementary":return"()([^\\s"+f+"]*"+a+"[^\\s"+f+"]*)";case"exactly":return"(^|\\s"+f+")("+a+")(?=$|\\s"+f+")"}}},{key:"getSeparatedKeywords",value:function(a){var b=this,c=[];return a.forEach(function(a){b.opt.separateWordSearch?a.split(" ").forEach(function(a){a.trim()&&c.indexOf(a)===-1&&c.push(a)}):a.trim()&&c.indexOf(a)===-1&&c.push(a)}),{keywords:c.sort(function(a,b){return b.length-a.length}),length:c.length}}},{key:"getTextNodes",value:function(a){var b=this,c="",d=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,function(a){d.push({start:c.length,end:(c+=a.textContent).length,node:a})},function(a){return b.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},function(){a({value:c,nodes:d})})}},{key:"matchesExclude",value:function(a){return e.matches(a,this.opt.exclude.concat(["script","style","title","head","html"]))}},{key:"wrapRangeInTextNode",value:function(a,c,d){var e=this.opt.element?this.opt.element:"mark",f=a.splitText(c),g=f.splitText(d-c),h=b.createElement(e);return h.setAttribute("data-markjs","true"),this.opt.className&&h.setAttribute("class",this.opt.className),h.textContent=f.textContent,f.parentNode.replaceChild(h,f),g}},{key:"wrapRangeInMappedTextNode",value:function(a,b,c,d,e){var f=this;a.nodes.every(function(g,h){var i=a.nodes[h+1];if("undefined"==typeof i||i.start>b){var j=function(){if(!d(g.node))return{v:!1};var i=b-g.start,j=(c>g.end?g.end:c)-g.start,k=a.value.substr(0,g.start),l=a.value.substr(j+g.start);return g.node=f.wrapRangeInTextNode(g.node,i,j),a.value=k+l,a.nodes.forEach(function(b,c){c>=h&&(a.nodes[c].start>0&&c!==h&&(a.nodes[c].start-=j),a.nodes[c].end-=j)}),c-=j,e(g.node.previousSibling,g.start),c>g.end?void(b=g.end):{v:!1}}();if("object"===("undefined"==typeof j?"undefined":_typeof(j)))return j.v}return!0})}},{key:"wrapMatches",value:function(a,b,c,d,e){var f=this,g=0===b?0:b+1;this.getTextNodes(function(b){b.nodes.forEach(function(b){b=b.node;for(var e=void 0;null!==(e=a.exec(b.textContent))&&""!==e[g];)if(c(e[g],b)){var h=e.index;if(0!==g)for(var i=1;i1&&void 0!==arguments[1])||arguments[1],d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],e=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3;_classCallCheck(this,a),this.ctx=b,this.iframes=c,this.exclude=d,this.iframesTimeout=e}return _createClass(a,[{key:"getContexts",value:function(){var a=void 0,c=[];return a="undefined"!=typeof this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(b.querySelectorAll(this.ctx)):[this.ctx]:[],a.forEach(function(a){var b=c.filter(function(b){return b.contains(a)}).length>0;c.indexOf(a)!==-1||b||c.push(a)}),c}},{key:"getIframeContents",value:function(a,b){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},d=void 0;try{var e=a.contentWindow;if(d=e.document,!e||!d)throw new Error("iframe inaccessible")}catch(a){c()}d&&b(d)}},{key:"isIframeBlank",value:function(a){var b="about:blank",c=a.getAttribute("src").trim(),d=a.contentWindow.location.href;return d===b&&c!==b&&c}},{key:"observeIframeLoad",value:function(a,b,c){var d=this,e=!1,f=null,g=function g(){if(!e){e=!0,clearTimeout(f);try{d.isIframeBlank(a)||(a.removeEventListener("load",g),d.getIframeContents(a,b,c))}catch(a){c()}}};a.addEventListener("load",g),f=setTimeout(g,this.iframesTimeout)}},{key:"onIframeReady",value:function(a,b,c){try{"complete"===a.contentWindow.document.readyState?this.isIframeBlank(a)?this.observeIframeLoad(a,b,c):this.getIframeContents(a,b,c):this.observeIframeLoad(a,b,c)}catch(a){c()}}},{key:"waitForIframes",value:function(a,b){var c=this,d=0;this.forEachIframe(a,function(){return!0},function(a){d++,c.waitForIframes(a.querySelector("html"),function(){--d||b()})},function(a){a||b()})}},{key:"forEachIframe",value:function(b,c,d){var e=this,f=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},g=b.querySelectorAll("iframe"),h=g.length,i=0;g=Array.prototype.slice.call(g);var j=function(){--h<=0&&f(i)};h||j(),g.forEach(function(b){a.matches(b,e.exclude)?j():e.onIframeReady(b,function(a){c(b)&&(i++,d(a)),j()},j)})}},{key:"createIterator",value:function(a,c,d){return b.createNodeIterator(a,c,d,!1)}},{key:"createInstanceOnIframe",value:function(b){return new a(b.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(a,b,c){var d=a.compareDocumentPosition(c),e=Node.DOCUMENT_POSITION_PRECEDING;if(d&e){if(null===b)return!0;var f=b.compareDocumentPosition(c),g=Node.DOCUMENT_POSITION_FOLLOWING;if(f&g)return!0}return!1}},{key:"getIteratorNode",value:function(a){var b=a.previousNode(),c=void 0;return c=null===b?a.nextNode():a.nextNode()&&a.nextNode(),{prevNode:b,node:c}}},{key:"checkIframeFilter",value:function(a,b,c,d){var e=!1,f=!1;return d.forEach(function(a,b){a.val===c&&(e=b,f=a.handled)}),this.compareNodeIframe(a,b,c)?(e!==!1||f?e===!1||f||(d[e].handled=!0):d.push({val:c,handled:!0}),!0):(e===!1&&d.push({val:c,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(a,b,c,d){var e=this;a.forEach(function(a){a.handled||e.getIframeContents(a.val,function(a){e.createInstanceOnIframe(a).forEachNode(b,c,d)})})}},{key:"iterateThroughNodes",value:function(a,b,c,d,e){for(var f=this,g=this.createIterator(b,a,d),h=[],i=[],j=void 0,k=void 0,l=function(){var a=f.getIteratorNode(g);return k=a.prevNode,j=a.node};l();)this.iframes&&this.forEachIframe(b,function(a){return f.checkIframeFilter(j,k,a,h)},function(b){f.createInstanceOnIframe(b).forEachNode(a,c,d)}),i.push(j);i.forEach(function(a){c(a)}),this.iframes&&this.handleOpenIframes(h,a,c,d),e()}},{key:"forEachNode",value:function(a,b,c){var d=this,e=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},f=this.getContexts(),g=f.length;g||e(),f.forEach(function(f){var h=function(){d.iterateThroughNodes(a,f,b,c,function(){--g<=0&&e()})};d.iframes?d.waitForIframes(f,h):h()})}}],[{key:"matches",value:function(a,b){var c="string"==typeof b?[b]:b,d=a.matches||a.matchesSelector||a.msMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.webkitMatchesSelector;if(d){var e=!1;return c.every(function(b){return!d.call(a,b)||(e=!0,!1)}),e}return!1}}]),a}();return c.fn.mark=function(a,b){return new d(this.get()).mark(a,b),this},c.fn.markRegExp=function(a,b){return new d(this.get()).markRegExp(a,b),this},c.fn.unmark=function(a){return new d(this.get()).unmark(a),this},c},window,document); \ No newline at end of file diff --git a/gitbook/gitbook-plugin-search-plus/search.css b/gitbook/gitbook-plugin-search-plus/search.css deleted file mode 100644 index f63be12..0000000 --- a/gitbook/gitbook-plugin-search-plus/search.css +++ /dev/null @@ -1,44 +0,0 @@ -/* - This CSS only styled the search results section, not the search input - It defines the basic interraction to hide content when displaying results, etc -*/ -#book-search-input { - background: inherit; -} -#book-search-results .search-results { - display: none; -} -#book-search-results .search-results ul.search-results-list { - list-style-type: none; - padding-left: 0; -} -#book-search-results .search-results ul.search-results-list li { - margin-bottom: 1.5rem; - padding-bottom: 0.5rem; - /* Highlight results */ -} -#book-search-results .search-results ul.search-results-list li p em { - background-color: rgba(255, 220, 0, 0.4); - font-style: normal; -} -#book-search-results .search-results .no-results { - display: none; -} -#book-search-results.open .search-results { - display: block; -} -#book-search-results.open .search-noresults { - display: none; -} -#book-search-results.no-results .search-results .has-results { - display: none; -} -#book-search-results.no-results .search-results .no-results { - display: block; -} -#book-search-results span.search-highlight-keyword { - background: #ff0; -} -#book-search-results.search-plus .search-results .has-results .search-results-item { - color: inherit; -} \ No newline at end of file diff --git a/gitbook/gitbook-plugin-search-plus/search.js b/gitbook/gitbook-plugin-search-plus/search.js deleted file mode 100644 index cbc070d..0000000 --- a/gitbook/gitbook-plugin-search-plus/search.js +++ /dev/null @@ -1,252 +0,0 @@ -require([ - 'gitbook', - 'jquery' -], function (gitbook, $) { - var MAX_DESCRIPTION_SIZE = 500 - var state = gitbook.state - var INDEX_DATA = {} - var usePushState = (typeof window.history.pushState !== 'undefined') - - // DOM Elements - var $body = $('body') - var $bookSearchResults - var $searchList - var $searchTitle - var $searchResultsCount - var $searchQuery - - // Throttle search - function throttle (fn, wait) { - var timeout - - return function () { - var ctx = this - var args = arguments - if (!timeout) { - timeout = setTimeout(function () { - timeout = null - fn.apply(ctx, args) - }, wait) - } - } - } - - function displayResults (res) { - $bookSearchResults = $('#book-search-results') - $searchList = $bookSearchResults.find('.search-results-list') - $searchTitle = $bookSearchResults.find('.search-results-title') - $searchResultsCount = $searchTitle.find('.search-results-count') - $searchQuery = $searchTitle.find('.search-query') - - $bookSearchResults.addClass('open') - - var noResults = res.count == 0 - $bookSearchResults.toggleClass('no-results', noResults) - - // Clear old results - $searchList.empty() - - // Display title for research - $searchResultsCount.text(res.count) - $searchQuery.text(res.query) - - // Create an
                                                                  • element for each result - res.results.forEach(function (item) { - var $li = $('
                                                                  • ', { - 'class': 'search-results-item' - }) - - var $title = $('

                                                                    ') - - var $link = $('', { - 'href': gitbook.state.basePath + '/' + item.url + '?h=' + encodeURIComponent(res.query), - 'text': item.title, - 'data-is-search': 1 - }) - - if ($link[0].href.split('?')[0] === window.location.href.split('?')[0]) { - $link[0].setAttribute('data-need-reload', 1) - } - - var content = item.body.trim() - if (content.length > MAX_DESCRIPTION_SIZE) { - content = content + '...' - } - var $content = $('

                                                                    ').html(content) - - $link.appendTo($title) - $title.appendTo($li) - $content.appendTo($li) - $li.appendTo($searchList) - }) - $('.body-inner').scrollTop(0) - } - - function escapeRegExp (keyword) { - // escape regexp prevserve word - return String(keyword).replace(/([-.*+?^${}()|[\]\/\\])/g, '\\$1') - } - - function query (keyword) { - if (keyword == null || keyword.trim() === '') return - keyword = keyword.toLowerCase() - var results = [] - var index = -1 - for (var page in INDEX_DATA) { - var store = INDEX_DATA[page] - if ( - ~store.keywords.toLowerCase().indexOf(keyword) || - ~(index = store.body.toLowerCase().indexOf(keyword)) - ) { - results.push({ - url: page, - title: store.title, - body: store.body.substr(Math.max(0, index - 50), MAX_DESCRIPTION_SIZE) - .replace(/^[^\s,.]+./, '').replace(/(..*)[\s,.].*/, '$1') // prevent break word - .replace(new RegExp('(' + escapeRegExp(keyword) + ')', 'gi'), '$1') - }) - } - } - displayResults({ - count: results.length, - query: keyword, - results: results - }) - } - - function launchSearch (keyword) { - // Add class for loading - $body.addClass('with-search') - $body.addClass('search-loading') - - function doSearch () { - query(keyword) - $body.removeClass('search-loading') - } - - throttle(doSearch)() - } - - function closeSearch () { - $body.removeClass('with-search') - $('#book-search-results').removeClass('open') - } - - function bindSearch () { - // Bind DOM - var $body = $('body') - - // Launch query based on input content - function handleUpdate () { - var $searchInput = $('#book-search-input input') - var keyword = $searchInput.val() - - if (keyword.length === 0) { - closeSearch() - } else { - launchSearch(keyword) - } - } - - $body.on('keyup', '#book-search-input input', function (e) { - if (e.keyCode === 13) { - if (usePushState) { - var uri = updateQueryString('q', $(this).val()) - window.history.pushState({ - path: uri - }, null, uri) - } - } - handleUpdate() - }) - - // Push to history on blur - $body.on('blur', '#book-search-input input', function (e) { - // Update history state - if (usePushState) { - var uri = updateQueryString('q', $(this).val()) - window.history.pushState({ - path: uri - }, null, uri) - } - }) - } - - gitbook.events.on('start', function () { - bindSearch() - $.getJSON(state.basePath + '/search_plus_index.json').then(function (data) { - INDEX_DATA = data - showResult() - closeSearch() - }) - }) - - // highlight - var highLightPageInner = function (keyword) { - $('.page-inner').mark(keyword, { - 'ignoreJoiners': true, - 'acrossElements': true, - 'separateWordSearch': false - }) - - setTimeout(function () { - var mark = $('mark[data-markjs="true"]') - if (mark.length) { - mark[0].scrollIntoView() - } - }, 100) - } - - function showResult () { - var keyword, type - if (/\b(q|h)=([^&]+)/.test(window.location.search)) { - type = RegExp.$1 - keyword = decodeURIComponent(RegExp.$2) - if (type === 'q') { - launchSearch(keyword) - } else { - highLightPageInner(keyword) - } - $('#book-search-input input').val(keyword) - } - } - - gitbook.events.on('page.change', showResult) - - function updateQueryString (key, value) { - value = encodeURIComponent(value) - - var url = window.location.href.replace(/([?&])(?:q|h)=([^&]+)(&|$)/, function (all, pre, value, end) { - if (end === '&') { - return pre - } - return '' - }) - var re = new RegExp('([?&])' + key + '=.*?(&|#|$)(.*)', 'gi') - var hash - - if (re.test(url)) { - if (typeof value !== 'undefined' && value !== null) { return url.replace(re, '$1' + key + '=' + value + '$2$3') } else { - hash = url.split('#') - url = hash[0].replace(re, '$1$3').replace(/(&|\?)$/, '') - if (typeof hash[1] !== 'undefined' && hash[1] !== null) { url += '#' + hash[1] } - return url - } - } else { - if (typeof value !== 'undefined' && value !== null) { - var separator = url.indexOf('?') !== -1 ? '&' : '?' - hash = url.split('#') - url = hash[0] + separator + key + '=' + value - if (typeof hash[1] !== 'undefined' && hash[1] !== null) { url += '#' + hash[1] } - return url - } else { return url } - } - } - window.addEventListener('click', function (e) { - if (e.target.tagName === 'A' && e.target.getAttribute('data-need-reload')) { - setTimeout(function () { - window.location.reload() - }, 100) - } - }, true) -}) diff --git a/gitbook/gitbook-plugin-sharing/buttons.js b/gitbook/gitbook-plugin-sharing/buttons.js deleted file mode 100644 index 709a4e4..0000000 --- a/gitbook/gitbook-plugin-sharing/buttons.js +++ /dev/null @@ -1,90 +0,0 @@ -require(['gitbook', 'jquery'], function(gitbook, $) { - var SITES = { - 'facebook': { - 'label': 'Facebook', - 'icon': 'fa fa-facebook', - 'onClick': function(e) { - e.preventDefault(); - window.open('http://www.facebook.com/sharer/sharer.php?s=100&p[url]='+encodeURIComponent(location.href)); - } - }, - 'twitter': { - 'label': 'Twitter', - 'icon': 'fa fa-twitter', - 'onClick': function(e) { - e.preventDefault(); - window.open('http://twitter.com/home?status='+encodeURIComponent(document.title+' '+location.href)); - } - }, - 'google': { - 'label': 'Google+', - 'icon': 'fa fa-google-plus', - 'onClick': function(e) { - e.preventDefault(); - window.open('https://plus.google.com/share?url='+encodeURIComponent(location.href)); - } - }, - 'weibo': { - 'label': 'Weibo', - 'icon': 'fa fa-weibo', - 'onClick': function(e) { - e.preventDefault(); - window.open('http://service.weibo.com/share/share.php?content=utf-8&url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)); - } - }, - 'instapaper': { - 'label': 'Instapaper', - 'icon': 'fa fa-instapaper', - 'onClick': function(e) { - e.preventDefault(); - window.open('http://www.instapaper.com/text?u='+encodeURIComponent(location.href)); - } - }, - 'vk': { - 'label': 'VK', - 'icon': 'fa fa-vk', - 'onClick': function(e) { - e.preventDefault(); - window.open('http://vkontakte.ru/share.php?url='+encodeURIComponent(location.href)); - } - } - }; - - - - gitbook.events.bind('start', function(e, config) { - var opts = config.sharing; - - // Create dropdown menu - var menu = $.map(opts.all, function(id) { - var site = SITES[id]; - - return { - text: site.label, - onClick: site.onClick - }; - }); - - // Create main button with dropdown - if (menu.length > 0) { - gitbook.toolbar.createButton({ - icon: 'fa fa-share-alt', - label: 'Share', - position: 'right', - dropdown: [menu] - }); - } - - // Direct actions to share - $.each(SITES, function(sideId, site) { - if (!opts[sideId]) return; - - gitbook.toolbar.createButton({ - icon: site.icon, - label: site.text, - position: 'right', - onClick: site.onClick - }); - }); - }); -}); diff --git a/gitbook/gitbook.js b/gitbook/gitbook.js deleted file mode 100644 index 13077b4..0000000 --- a/gitbook/gitbook.js +++ /dev/null @@ -1,4 +0,0 @@ -!function e(t,n,r){function o(s,a){if(!n[s]){if(!t[s]){var u="function"==typeof require&&require;if(!a&&u)return u(s,!0);if(i)return i(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[s]={exports:{}};t[s][0].call(l.exports,function(e){var n=t[s][1][e];return o(n?n:e)},l,l.exports,e,t,n,r)}return n[s].exports}for(var i="function"==typeof require&&require,s=0;s0&&t-1 in e)}function o(e,t,n){return de.isFunction(t)?de.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?de.grep(e,function(e){return e===t!==n}):"string"!=typeof t?de.grep(e,function(e){return se.call(t,e)>-1!==n}):je.test(t)?de.filter(t,e,n):(t=de.filter(t,e),de.grep(e,function(e){return se.call(t,e)>-1!==n&&1===e.nodeType}))}function i(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function s(e){var t={};return de.each(e.match(qe)||[],function(e,n){t[n]=!0}),t}function a(e){return e}function u(e){throw e}function c(e,t,n){var r;try{e&&de.isFunction(r=e.promise)?r.call(e).done(t).fail(n):e&&de.isFunction(r=e.then)?r.call(e,t,n):t.call(void 0,e)}catch(e){n.call(void 0,e)}}function l(){te.removeEventListener("DOMContentLoaded",l),e.removeEventListener("load",l),de.ready()}function f(){this.expando=de.expando+f.uid++}function p(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Ie.test(e)?JSON.parse(e):e)}function h(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(Pe,"-$&").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n=p(n)}catch(e){}Re.set(e,t,n)}else n=void 0;return n}function d(e,t,n,r){var o,i=1,s=20,a=r?function(){return r.cur()}:function(){return de.css(e,t,"")},u=a(),c=n&&n[3]||(de.cssNumber[t]?"":"px"),l=(de.cssNumber[t]||"px"!==c&&+u)&&$e.exec(de.css(e,t));if(l&&l[3]!==c){c=c||l[3],n=n||[],l=+u||1;do i=i||".5",l/=i,de.style(e,t,l+c);while(i!==(i=a()/u)&&1!==i&&--s)}return n&&(l=+l||+u||0,o=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=l,r.end=o)),o}function g(e){var t,n=e.ownerDocument,r=e.nodeName,o=Ue[r];return o?o:(t=n.body.appendChild(n.createElement(r)),o=de.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),Ue[r]=o,o)}function m(e,t){for(var n,r,o=[],i=0,s=e.length;i-1)o&&o.push(i);else if(c=de.contains(i.ownerDocument,i),s=v(f.appendChild(i),"script"),c&&y(s),n)for(l=0;i=s[l++];)Ve.test(i.type||"")&&n.push(i);return f}function b(){return!0}function w(){return!1}function T(){try{return te.activeElement}catch(e){}}function C(e,t,n,r,o,i){var s,a;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(a in t)C(e,a,n,r,t[a],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),o===!1)o=w;else if(!o)return e;return 1===i&&(s=o,o=function(e){return de().off(e),s.apply(this,arguments)},o.guid=s.guid||(s.guid=de.guid++)),e.each(function(){de.event.add(this,t,o,r,n)})}function j(e,t){return de.nodeName(e,"table")&&de.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e:e}function k(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function E(e){var t=rt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function S(e,t){var n,r,o,i,s,a,u,c;if(1===t.nodeType){if(Fe.hasData(e)&&(i=Fe.access(e),s=Fe.set(t,i),c=i.events)){delete s.handle,s.events={};for(o in c)for(n=0,r=c[o].length;n1&&"string"==typeof d&&!pe.checkClone&&nt.test(d))return e.each(function(n){var i=e.eq(n);g&&(t[0]=d.call(this,n,i.html())),A(i,t,r,o)});if(p&&(i=x(t,e[0].ownerDocument,!1,e,o),s=i.firstChild,1===i.childNodes.length&&(i=s),s||o)){for(a=de.map(v(i,"script"),k),u=a.length;f=0&&nC.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[$]=!0,e}function o(e){var t=L.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function i(e,t){for(var n=e.split("|"),r=n.length;r--;)C.attrHandle[n[r]]=t}function s(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function a(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function u(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function c(e){return function(t){return"form"in t?t.parentNode&&t.disabled===!1?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&je(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function l(e){return r(function(t){return t=+t,r(function(n,r){for(var o,i=e([],n.length,t),s=i.length;s--;)n[o=i[s]]&&(n[o]=!(r[o]=n[o]))})})}function f(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function p(){}function h(e){for(var t=0,n=e.length,r="";t1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function m(e,n,r){for(var o=0,i=n.length;o-1&&(r[c]=!(s[c]=f))}}else x=v(x===s?x.splice(d,x.length):x),i?i(null,s,x,u):K.apply(s,x)})}function x(e){for(var t,n,r,o=e.length,i=C.relative[e[0].type],s=i||C.relative[" "],a=i?1:0,u=d(function(e){return e===t},s,!0),c=d(function(e){return ee(t,e)>-1},s,!0),l=[function(e,n,r){var o=!i&&(r||n!==A)||((t=n).nodeType?u(e,n,r):c(e,n,r));return t=null,o}];a1&&g(l),a>1&&h(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(ae,"$1"),n,a0,i=e.length>0,s=function(r,s,a,u,c){var l,f,p,h=0,d="0",g=r&&[],m=[],y=A,x=r||i&&C.find.TAG("*",c),b=B+=null==y?1:Math.random()||.1,w=x.length;for(c&&(A=s===L||s||c);d!==w&&null!=(l=x[d]);d++){if(i&&l){for(f=0,s||l.ownerDocument===L||(O(l),a=!F);p=e[f++];)if(p(l,s||L,a)){u.push(l);break}c&&(B=b)}o&&((l=!p&&l)&&h--,r&&g.push(l))}if(h+=d,o&&d!==h){for(f=0;p=n[f++];)p(g,m,s,a);if(r){if(h>0)for(;d--;)g[d]||m[d]||(m[d]=Q.call(u));m=v(m)}K.apply(u,m),c&&!r&&m.length>0&&h+n.length>1&&t.uniqueSort(u)}return c&&(B=b,A=y),g};return o?r(s):s}var w,T,C,j,k,E,S,N,A,q,D,O,L,H,F,R,I,P,M,$="sizzle"+1*new Date,W=e.document,B=0,_=0,U=n(),z=n(),X=n(),V=function(e,t){return e===t&&(D=!0),0},G={}.hasOwnProperty,Y=[],Q=Y.pop,J=Y.push,K=Y.push,Z=Y.slice,ee=function(e,t){for(var n=0,r=e.length;n+~]|"+ne+")"+ne+"*"),le=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),fe=new RegExp(ie),pe=new RegExp("^"+re+"$"),he={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re+"|[*])"),ATTR:new RegExp("^"+oe),PSEUDO:new RegExp("^"+ie),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},de=/^(?:input|select|textarea|button)$/i,ge=/^h\d$/i,me=/^[^{]+\{\s*\[native \w/,ve=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,xe=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),be=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},we=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Te=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},Ce=function(){O()},je=d(function(e){return e.disabled===!0&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{K.apply(Y=Z.call(W.childNodes),W.childNodes),Y[W.childNodes.length].nodeType}catch(e){K={apply:Y.length?function(e,t){J.apply(e,Z.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}T=t.support={},k=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},O=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:W;return r!==L&&9===r.nodeType&&r.documentElement?(L=r,H=L.documentElement,F=!k(L),W!==L&&(n=L.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Ce,!1):n.attachEvent&&n.attachEvent("onunload",Ce)),T.attributes=o(function(e){return e.className="i",!e.getAttribute("className")}),T.getElementsByTagName=o(function(e){return e.appendChild(L.createComment("")),!e.getElementsByTagName("*").length}),T.getElementsByClassName=me.test(L.getElementsByClassName),T.getById=o(function(e){return H.appendChild(e).id=$,!L.getElementsByName||!L.getElementsByName($).length}),T.getById?(C.filter.ID=function(e){var t=e.replace(xe,be);return function(e){return e.getAttribute("id")===t}},C.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&F){var n=t.getElementById(e);return n?[n]:[]}}):(C.filter.ID=function(e){var t=e.replace(xe,be);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},C.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&F){var n,r,o,i=t.getElementById(e);if(i){if(n=i.getAttributeNode("id"),n&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if(n=i.getAttributeNode("id"),n&&n.value===e)return[i]}return[]}}),C.find.TAG=T.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):T.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},C.find.CLASS=T.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&F)return t.getElementsByClassName(e)},I=[],R=[],(T.qsa=me.test(L.querySelectorAll))&&(o(function(e){H.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&R.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||R.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+$+"-]").length||R.push("~="),e.querySelectorAll(":checked").length||R.push(":checked"),e.querySelectorAll("a#"+$+"+*").length||R.push(".#.+[+~]")}),o(function(e){e.innerHTML="";var t=L.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&R.push("name"+ne+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&R.push(":enabled",":disabled"),H.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&R.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),R.push(",.*:")})),(T.matchesSelector=me.test(P=H.matches||H.webkitMatchesSelector||H.mozMatchesSelector||H.oMatchesSelector||H.msMatchesSelector))&&o(function(e){T.disconnectedMatch=P.call(e,"*"),P.call(e,"[s!='']:x"),I.push("!=",ie)}),R=R.length&&new RegExp(R.join("|")),I=I.length&&new RegExp(I.join("|")),t=me.test(H.compareDocumentPosition),M=t||me.test(H.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},V=t?function(e,t){if(e===t)return D=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!T.sortDetached&&t.compareDocumentPosition(e)===n?e===L||e.ownerDocument===W&&M(W,e)?-1:t===L||t.ownerDocument===W&&M(W,t)?1:q?ee(q,e)-ee(q,t):0:4&n?-1:1)}:function(e,t){if(e===t)return D=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],u=[t];if(!o||!i)return e===L?-1:t===L?1:o?-1:i?1:q?ee(q,e)-ee(q,t):0;if(o===i)return s(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;a[r]===u[r];)r++;return r?s(a[r],u[r]):a[r]===W?-1:u[r]===W?1:0},L):L},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==L&&O(e),n=n.replace(le,"='$1']"),T.matchesSelector&&F&&!X[n+" "]&&(!I||!I.test(n))&&(!R||!R.test(n)))try{var r=P.call(e,n);if(r||T.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,L,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==L&&O(e),M(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==L&&O(e);var n=C.attrHandle[t.toLowerCase()],r=n&&G.call(C.attrHandle,t.toLowerCase())?n(e,t,!F):void 0;return void 0!==r?r:T.attributes||!F?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.escape=function(e){return(e+"").replace(we,Te)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,o=0;if(D=!T.detectDuplicates,q=!T.sortStable&&e.slice(0),e.sort(V),D){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)e.splice(n[r],1)}return q=null,e},j=t.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=j(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=j(t);return n},C=t.selectors={cacheLength:50,createPseudo:r,match:he,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(xe,be),e[3]=(e[3]||e[4]||e[5]||"").replace(xe,be),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return he.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&fe.test(n)&&(t=E(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(xe,be).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=U[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&U(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(o){var i=t.attr(o,e);return null==i?"!="===n:!n||(i+="","="===n?i===r:"!="===n?i!==r:"^="===n?r&&0===i.indexOf(r):"*="===n?r&&i.indexOf(r)>-1:"$="===n?r&&i.slice(-r.length)===r:"~="===n?(" "+i.replace(se," ")+" ").indexOf(r)>-1:"|="===n&&(i===r||i.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,u){var c,l,f,p,h,d,g=i!==s?"nextSibling":"previousSibling",m=t.parentNode,v=a&&t.nodeName.toLowerCase(),y=!u&&!a,x=!1;if(m){if(i){for(;g;){for(p=t;p=p[g];)if(a?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;d=g="only"===e&&!d&&"nextSibling"}return!0}if(d=[s?m.firstChild:m.lastChild],s&&y){for(p=m,f=p[$]||(p[$]={}),l=f[p.uniqueID]||(f[p.uniqueID]={}),c=l[e]||[],h=c[0]===B&&c[1],x=h&&c[2],p=h&&m.childNodes[h];p=++h&&p&&p[g]||(x=h=0)||d.pop();)if(1===p.nodeType&&++x&&p===t){l[e]=[B,h,x];break}}else if(y&&(p=t,f=p[$]||(p[$]={}),l=f[p.uniqueID]||(f[p.uniqueID]={}),c=l[e]||[],h=c[0]===B&&c[1],x=h),x===!1)for(;(p=++h&&p&&p[g]||(x=h=0)||d.pop())&&((a?p.nodeName.toLowerCase()!==v:1!==p.nodeType)||!++x||(y&&(f=p[$]||(p[$]={}),l=f[p.uniqueID]||(f[p.uniqueID]={}),l[e]=[B,x]),p!==t)););return x-=o,x===r||x%r===0&&x/r>=0}}},PSEUDO:function(e,n){var o,i=C.pseudos[e]||C.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return i[$]?i(n):i.length>1?(o=[e,e,"",n],C.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,o=i(e,n),s=o.length;s--;)r=ee(e,o[s]),e[r]=!(t[r]=o[s])}):function(e){return i(e,0,o)}):i}},pseudos:{not:r(function(e){var t=[],n=[],o=S(e.replace(ae,"$1"));return o[$]?r(function(e,t,n,r){for(var i,s=o(e,null,r,[]),a=e.length;a--;)(i=s[a])&&(e[a]=!(t[a]=i))}):function(e,r,i){return t[0]=e,o(t,null,i,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){ -return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(xe,be),function(t){return(t.textContent||t.innerText||j(t)).indexOf(e)>-1}}),lang:r(function(e){return pe.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(xe,be).toLowerCase(),function(t){var n;do if(n=F?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===H},focus:function(e){return e===L.activeElement&&(!L.hasFocus||L.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:c(!1),disabled:c(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!C.pseudos.empty(e)},header:function(e){return ge.test(e.nodeName)},input:function(e){return de.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:l(function(){return[0]}),last:l(function(e,t){return[t-1]}),eq:l(function(e,t,n){return[n<0?n+t:n]}),even:l(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:l(function(e,t,n){for(var r=n<0?n+t:n;++r2&&"ID"===(s=i[0]).type&&9===t.nodeType&&F&&C.relative[i[1].type]){if(t=(C.find.ID(s.matches[0].replace(xe,be),t)||[])[0],!t)return n;c&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(o=he.needsContext.test(e)?0:i.length;o--&&(s=i[o],!C.relative[a=s.type]);)if((u=C.find[a])&&(r=u(s.matches[0].replace(xe,be),ye.test(i[0].type)&&f(t.parentNode)||t))){if(i.splice(o,1),e=r.length&&h(i),!e)return K.apply(n,r),n;break}}return(c||S(e,l))(r,t,!F,n,!t||ye.test(e)&&f(t.parentNode)||t),n},T.sortStable=$.split("").sort(V).join("")===$,T.detectDuplicates=!!D,O(),T.sortDetached=o(function(e){return 1&e.compareDocumentPosition(L.createElement("fieldset"))}),o(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||i("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),T.attributes&&o(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||i("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),o(function(e){return null==e.getAttribute("disabled")})||i(te,function(e,t,n){var r;if(!n)return e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(e);de.find=xe,de.expr=xe.selectors,de.expr[":"]=de.expr.pseudos,de.uniqueSort=de.unique=xe.uniqueSort,de.text=xe.getText,de.isXMLDoc=xe.isXML,de.contains=xe.contains,de.escapeSelector=xe.escape;var be=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&de(e).is(n))break;r.push(e)}return r},we=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Te=de.expr.match.needsContext,Ce=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,je=/^.[^:#\[\.,]*$/;de.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?de.find.matchesSelector(r,e)?[r]:[]:de.find.matches(e,de.grep(t,function(e){return 1===e.nodeType}))},de.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(de(e).filter(function(){for(t=0;t1?de.uniqueSort(n):n},filter:function(e){return this.pushStack(o(this,e||[],!1))},not:function(e){return this.pushStack(o(this,e||[],!0))},is:function(e){return!!o(this,"string"==typeof e&&Te.test(e)?de(e):e||[],!1).length}});var ke,Ee=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Se=de.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||ke,"string"==typeof e){if(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Ee.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof de?t[0]:t,de.merge(this,de.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:te,!0)),Ce.test(r[1])&&de.isPlainObject(t))for(r in t)de.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return o=te.getElementById(r[2]),o&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):de.isFunction(e)?void 0!==n.ready?n.ready(e):e(de):de.makeArray(e,this)};Se.prototype=de.fn,ke=de(te);var Ne=/^(?:parents|prev(?:Until|All))/,Ae={children:!0,contents:!0,next:!0,prev:!0};de.fn.extend({has:function(e){var t=de(e,this),n=t.length;return this.filter(function(){for(var e=0;e-1:1===n.nodeType&&de.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?de.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?se.call(de(e),this[0]):se.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(de.uniqueSort(de.merge(this.get(),de(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),de.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return be(e,"parentNode")},parentsUntil:function(e,t,n){return be(e,"parentNode",n)},next:function(e){return i(e,"nextSibling")},prev:function(e){return i(e,"previousSibling")},nextAll:function(e){return be(e,"nextSibling")},prevAll:function(e){return be(e,"previousSibling")},nextUntil:function(e,t,n){return be(e,"nextSibling",n)},prevUntil:function(e,t,n){return be(e,"previousSibling",n)},siblings:function(e){return we((e.parentNode||{}).firstChild,e)},children:function(e){return we(e.firstChild)},contents:function(e){return e.contentDocument||de.merge([],e.childNodes)}},function(e,t){de.fn[e]=function(n,r){var o=de.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=de.filter(r,o)),this.length>1&&(Ae[e]||de.uniqueSort(o),Ne.test(e)&&o.reverse()),this.pushStack(o)}});var qe=/[^\x20\t\r\n\f]+/g;de.Callbacks=function(e){e="string"==typeof e?s(e):de.extend({},e);var t,n,r,o,i=[],a=[],u=-1,c=function(){for(o=e.once,r=t=!0;a.length;u=-1)for(n=a.shift();++u-1;)i.splice(n,1),n<=u&&u--}),this},has:function(e){return e?de.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=n||[],n=[e,n.slice?n.slice():n],a.push(n),t||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},de.extend({Deferred:function(t){var n=[["notify","progress",de.Callbacks("memory"),de.Callbacks("memory"),2],["resolve","done",de.Callbacks("once memory"),de.Callbacks("once memory"),0,"resolved"],["reject","fail",de.Callbacks("once memory"),de.Callbacks("once memory"),1,"rejected"]],r="pending",o={state:function(){return r},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return de.Deferred(function(t){de.each(n,function(n,r){var o=de.isFunction(e[r[4]])&&e[r[4]];i[r[1]](function(){var e=o&&o.apply(this,arguments);e&&de.isFunction(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,o?[e]:arguments)})}),e=null}).promise()},then:function(t,r,o){function i(t,n,r,o){return function(){var c=this,l=arguments,f=function(){var e,f;if(!(t=s&&(r!==u&&(c=void 0,l=[e]),n.rejectWith(c,l))}};t?p():(de.Deferred.getStackHook&&(p.stackTrace=de.Deferred.getStackHook()),e.setTimeout(p))}}var s=0;return de.Deferred(function(e){n[0][3].add(i(0,e,de.isFunction(o)?o:a,e.notifyWith)),n[1][3].add(i(0,e,de.isFunction(t)?t:a)),n[2][3].add(i(0,e,de.isFunction(r)?r:u))}).promise()},promise:function(e){return null!=e?de.extend(e,o):o}},i={};return de.each(n,function(e,t){var s=t[2],a=t[5];o[t[1]]=s.add,a&&s.add(function(){r=a},n[3-e][2].disable,n[0][2].lock),s.add(t[3].fire),i[t[0]]=function(){return i[t[0]+"With"](this===i?void 0:this,arguments),this},i[t[0]+"With"]=s.fireWith}),o.promise(i),t&&t.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=re.call(arguments),i=de.Deferred(),s=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?re.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(c(e,i.done(s(n)).resolve,i.reject),"pending"===i.state()||de.isFunction(o[n]&&o[n].then)))return i.then();for(;n--;)c(o[n],s(n),i.reject);return i.promise()}});var De=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;de.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&De.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},de.readyException=function(t){e.setTimeout(function(){throw t})};var Oe=de.Deferred();de.fn.ready=function(e){return Oe.then(e).catch(function(e){de.readyException(e)}),this},de.extend({isReady:!1,readyWait:1,holdReady:function(e){e?de.readyWait++:de.ready(!0)},ready:function(e){(e===!0?--de.readyWait:de.isReady)||(de.isReady=!0,e!==!0&&--de.readyWait>0||Oe.resolveWith(te,[de]))}}),de.ready.then=Oe.then,"complete"===te.readyState||"loading"!==te.readyState&&!te.documentElement.doScroll?e.setTimeout(de.ready):(te.addEventListener("DOMContentLoaded",l),e.addEventListener("load",l));var Le=function(e,t,n,r,o,i,s){var a=0,u=e.length,c=null==n;if("object"===de.type(n)){o=!0;for(a in n)Le(e,t,a,n[a],!0,i,s)}else if(void 0!==r&&(o=!0,de.isFunction(r)||(s=!0),c&&(s?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(de(e),n)})),t))for(;a1,null,!0)},removeData:function(e){return this.each(function(){Re.remove(this,e)})}}),de.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Fe.get(e,t),n&&(!r||de.isArray(n)?r=Fe.access(e,t,de.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=de.queue(e,t),r=n.length,o=n.shift(),i=de._queueHooks(e,t),s=function(){de.dequeue(e,t)};"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,s,i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Fe.get(e,n)||Fe.access(e,n,{empty:de.Callbacks("once memory").add(function(){Fe.remove(e,[t+"queue",n])})})}}),de.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]+)/i,Ve=/^$|\/(?:java|ecma)script/i,Ge={option:[1,""],thead:[1,"","
                                                                    "],col:[2,"","
                                                                    "],tr:[2,"","
                                                                    "],td:[3,"","
                                                                    "],_default:[0,"",""]};Ge.optgroup=Ge.option,Ge.tbody=Ge.tfoot=Ge.colgroup=Ge.caption=Ge.thead,Ge.th=Ge.td;var Ye=/<|&#?\w+;/;!function(){var e=te.createDocumentFragment(),t=e.appendChild(te.createElement("div")),n=te.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),pe.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="",pe.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var Qe=te.documentElement,Je=/^key/,Ke=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ze=/^([^.]*)(?:\.(.+)|)/;de.event={global:{},add:function(e,t,n,r,o){var i,s,a,u,c,l,f,p,h,d,g,m=Fe.get(e);if(m)for(n.handler&&(i=n,n=i.handler,o=i.selector),o&&de.find.matchesSelector(Qe,o),n.guid||(n.guid=de.guid++),(u=m.events)||(u=m.events={}),(s=m.handle)||(s=m.handle=function(t){return"undefined"!=typeof de&&de.event.triggered!==t.type?de.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(qe)||[""],c=t.length;c--;)a=Ze.exec(t[c])||[],h=g=a[1],d=(a[2]||"").split(".").sort(),h&&(f=de.event.special[h]||{},h=(o?f.delegateType:f.bindType)||h,f=de.event.special[h]||{},l=de.extend({type:h,origType:g,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&de.expr.match.needsContext.test(o),namespace:d.join(".")},i),(p=u[h])||(p=u[h]=[],p.delegateCount=0,f.setup&&f.setup.call(e,r,d,s)!==!1||e.addEventListener&&e.addEventListener(h,s)),f.add&&(f.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),o?p.splice(p.delegateCount++,0,l):p.push(l),de.event.global[h]=!0)},remove:function(e,t,n,r,o){var i,s,a,u,c,l,f,p,h,d,g,m=Fe.hasData(e)&&Fe.get(e);if(m&&(u=m.events)){for(t=(t||"").match(qe)||[""],c=t.length;c--;)if(a=Ze.exec(t[c])||[],h=g=a[1],d=(a[2]||"").split(".").sort(),h){for(f=de.event.special[h]||{},h=(r?f.delegateType:f.bindType)||h,p=u[h]||[],a=a[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=i=p.length;i--;)l=p[i],!o&&g!==l.origType||n&&n.guid!==l.guid||a&&!a.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(p.splice(i,1),l.selector&&p.delegateCount--,f.remove&&f.remove.call(e,l));s&&!p.length&&(f.teardown&&f.teardown.call(e,d,m.handle)!==!1||de.removeEvent(e,h,m.handle),delete u[h])}else for(h in u)de.event.remove(e,h+t[c],n,r,!0);de.isEmptyObject(u)&&Fe.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,s,a=de.event.fix(e),u=new Array(arguments.length),c=(Fe.get(this,"events")||{})[a.type]||[],l=de.event.special[a.type]||{};for(u[0]=a,t=1;t=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||c.disabled!==!0)){for(i=[],s={},n=0;n-1:de.find(o,this,null,[c]).length),s[o]&&i.push(r);i.length&&a.push({elem:c,handlers:i})}return c=this,u\x20\t\r\n\f]*)[^>]*)\/>/gi,tt=/\s*$/g;de.extend({htmlPrefilter:function(e){return e.replace(et,"<$1>")},clone:function(e,t,n){var r,o,i,s,a=e.cloneNode(!0),u=de.contains(e.ownerDocument,e);if(!(pe.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||de.isXMLDoc(e)))for(s=v(a),i=v(e),r=0,o=i.length;r0&&y(s,!u&&v(e,"script")),a},cleanData:function(e){for(var t,n,r,o=de.event.special,i=0;void 0!==(n=e[i]);i++)if(He(n)){if(t=n[Fe.expando]){if(t.events)for(r in t.events)o[r]?de.event.remove(n,r):de.removeEvent(n,r,t.handle);n[Fe.expando]=void 0}n[Re.expando]&&(n[Re.expando]=void 0)}}}),de.fn.extend({detach:function(e){return q(this,e,!0)},remove:function(e){return q(this,e)},text:function(e){return Le(this,function(e){return void 0===e?de.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return A(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=j(this,e);t.appendChild(e)}})},prepend:function(){return A(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=j(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return A(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return A(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(de.cleanData(v(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return de.clone(this,e,t)})},html:function(e){return Le(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!tt.test(e)&&!Ge[(Xe.exec(e)||["",""])[1].toLowerCase()]){e=de.htmlPrefilter(e);try{for(;n1)}}),de.Tween=I,I.prototype={constructor:I,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||de.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(de.cssNumber[n]?"":"px")},cur:function(){var e=I.propHooks[this.prop];return e&&e.get?e.get(this):I.propHooks._default.get(this)},run:function(e){var t,n=I.propHooks[this.prop];return this.options.duration?this.pos=t=de.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):I.propHooks._default.set(this),this}},I.prototype.init.prototype=I.prototype,I.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=de.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){de.fx.step[e.prop]?de.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[de.cssProps[e.prop]]&&!de.cssHooks[e.prop]?e.elem[e.prop]=e.now:de.style(e.elem,e.prop,e.now+e.unit)}}},I.propHooks.scrollTop=I.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},de.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},de.fx=I.prototype.init,de.fx.step={};var ht,dt,gt=/^(?:toggle|show|hide)$/,mt=/queueHooks$/;de.Animation=de.extend(U,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return d(n.elem,e,$e.exec(t),n),n}]},tweener:function(e,t){de.isFunction(e)?(t=e,e=["*"]):e=e.match(qe);for(var n,r=0,o=e.length;r1)},removeAttr:function(e){return this.each(function(){de.removeAttr(this,e)})}}),de.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return"undefined"==typeof e.getAttribute?de.prop(e,t,n):(1===i&&de.isXMLDoc(e)||(o=de.attrHooks[t.toLowerCase()]||(de.expr.match.bool.test(t)?vt:void 0)),void 0!==n?null===n?void de.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:(r=de.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!pe.radioValue&&"radio"===t&&de.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(qe);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),vt={set:function(e,t,n){return t===!1?de.removeAttr(e,n):e.setAttribute(n,n),n}},de.each(de.expr.match.bool.source.match(/\w+/g),function(e,t){var n=yt[t]||de.find.attr;yt[t]=function(e,t,r){var o,i,s=t.toLowerCase();return r||(i=yt[s],yt[s]=o,o=null!=n(e,t,r)?s:null,yt[s]=i),o}});var xt=/^(?:input|select|textarea|button)$/i,bt=/^(?:a|area)$/i;de.fn.extend({prop:function(e,t){return Le(this,de.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[de.propFix[e]||e]})}}),de.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&de.isXMLDoc(e)||(t=de.propFix[t]||t,o=de.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=de.find.attr(e,"tabindex");return t?parseInt(t,10):xt.test(e.nodeName)||bt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),pe.optSelected||(de.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),de.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){de.propFix[this.toLowerCase()]=this}),de.fn.extend({addClass:function(e){var t,n,r,o,i,s,a,u=0;if(de.isFunction(e))return this.each(function(t){de(this).addClass(e.call(this,t,X(this)))});if("string"==typeof e&&e)for(t=e.match(qe)||[];n=this[u++];)if(o=X(n),r=1===n.nodeType&&" "+z(o)+" "){for(s=0;i=t[s++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");a=z(r),o!==a&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,r,o,i,s,a,u=0;if(de.isFunction(e))return this.each(function(t){de(this).removeClass(e.call(this,t,X(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(qe)||[];n=this[u++];)if(o=X(n),r=1===n.nodeType&&" "+z(o)+" "){for(s=0;i=t[s++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");a=z(r),o!==a&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):de.isFunction(e)?this.each(function(n){de(this).toggleClass(e.call(this,n,X(this),t),t)}):this.each(function(){var t,r,o,i;if("string"===n)for(r=0,o=de(this),i=e.match(qe)||[];t=i[r++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||(t=X(this),t&&Fe.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||e===!1?"":Fe.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+z(X(n))+" ").indexOf(t)>-1)return!0;return!1}});var wt=/\r/g;de.fn.extend({val:function(e){var t,n,r,o=this[0];{if(arguments.length)return r=de.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=r?e.call(this,n,de(this).val()):e,null==o?o="":"number"==typeof o?o+="":de.isArray(o)&&(o=de.map(o,function(e){return null==e?"":e+""})),t=de.valHooks[this.type]||de.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))});if(o)return t=de.valHooks[o.type]||de.valHooks[o.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:(n=o.value,"string"==typeof n?n.replace(wt,""):null==n?"":n)}}}),de.extend({valHooks:{option:{get:function(e){var t=de.find.attr(e,"value");return null!=t?t:z(de.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,s="select-one"===e.type,a=s?null:[],u=s?i+1:o.length;for(r=i<0?u:s?i:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),de.each(["radio","checkbox"],function(){de.valHooks[this]={set:function(e,t){if(de.isArray(t))return e.checked=de.inArray(de(e).val(),t)>-1}},pe.checkOn||(de.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Tt=/^(?:focusinfocus|focusoutblur)$/;de.extend(de.event,{trigger:function(t,n,r,o){var i,s,a,u,c,l,f,p=[r||te],h=ce.call(t,"type")?t.type:t,d=ce.call(t,"namespace")?t.namespace.split("."):[];if(s=a=r=r||te,3!==r.nodeType&&8!==r.nodeType&&!Tt.test(h+de.event.triggered)&&(h.indexOf(".")>-1&&(d=h.split("."),h=d.shift(),d.sort()),c=h.indexOf(":")<0&&"on"+h,t=t[de.expando]?t:new de.Event(h,"object"==typeof t&&t),t.isTrigger=o?2:3,t.namespace=d.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:de.makeArray(n,[t]),f=de.event.special[h]||{},o||!f.trigger||f.trigger.apply(r,n)!==!1)){if(!o&&!f.noBubble&&!de.isWindow(r)){for(u=f.delegateType||h,Tt.test(u+h)||(s=s.parentNode);s;s=s.parentNode)p.push(s),a=s;a===(r.ownerDocument||te)&&p.push(a.defaultView||a.parentWindow||e)}for(i=0;(s=p[i++])&&!t.isPropagationStopped();)t.type=i>1?u:f.bindType||h,l=(Fe.get(s,"events")||{})[t.type]&&Fe.get(s,"handle"),l&&l.apply(s,n),l=c&&s[c],l&&l.apply&&He(s)&&(t.result=l.apply(s,n),t.result===!1&&t.preventDefault());return t.type=h,o||t.isDefaultPrevented()||f._default&&f._default.apply(p.pop(),n)!==!1||!He(r)||c&&de.isFunction(r[h])&&!de.isWindow(r)&&(a=r[c],a&&(r[c]=null),de.event.triggered=h,r[h](),de.event.triggered=void 0,a&&(r[c]=a)),t.result}},simulate:function(e,t,n){var r=de.extend(new de.Event,n,{type:e,isSimulated:!0});de.event.trigger(r,null,t)}}),de.fn.extend({trigger:function(e,t){return this.each(function(){de.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return de.event.trigger(e,t,n,!0)}}),de.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){de.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),de.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),pe.focusin="onfocusin"in e,pe.focusin||de.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){de.event.simulate(t,e.target,de.event.fix(e))};de.event.special[t]={setup:function(){var r=this.ownerDocument||this,o=Fe.access(r,t);o||r.addEventListener(e,n,!0),Fe.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this,o=Fe.access(r,t)-1;o?Fe.access(r,t,o):(r.removeEventListener(e,n,!0),Fe.remove(r,t))}}});var Ct=e.location,jt=de.now(),kt=/\?/;de.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||de.error("Invalid XML: "+t),n};var Et=/\[\]$/,St=/\r?\n/g,Nt=/^(?:submit|button|image|reset|file)$/i,At=/^(?:input|select|textarea|keygen)/i;de.param=function(e,t){var n,r=[],o=function(e,t){var n=de.isFunction(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(de.isArray(e)||e.jquery&&!de.isPlainObject(e))de.each(e,function(){o(this.name,this.value)});else for(n in e)V(n,e[n],t,o);return r.join("&")},de.fn.extend({serialize:function(){return de.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=de.prop(this,"elements");return e?de.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!de(this).is(":disabled")&&At.test(this.nodeName)&&!Nt.test(e)&&(this.checked||!ze.test(e))}).map(function(e,t){var n=de(this).val();return null==n?null:de.isArray(n)?de.map(n,function(e){return{name:t.name,value:e.replace(St,"\r\n")}}):{name:t.name,value:n.replace(St,"\r\n")}}).get()}});var qt=/%20/g,Dt=/#.*$/,Ot=/([?&])_=[^&]*/,Lt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ht=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ft=/^(?:GET|HEAD)$/,Rt=/^\/\//,It={},Pt={},Mt="*/".concat("*"),$t=te.createElement("a");$t.href=Ct.href,de.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ct.href,type:"GET",isLocal:Ht.test(Ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Mt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":de.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Q(Q(e,de.ajaxSettings),t):Q(de.ajaxSettings,e)},ajaxPrefilter:G(It),ajaxTransport:G(Pt),ajax:function(t,n){function r(t,n,r,a){var c,p,h,b,w,T=n;l||(l=!0,u&&e.clearTimeout(u),o=void 0,s=a||"",C.readyState=t>0?4:0,c=t>=200&&t<300||304===t,r&&(b=J(d,C,r)),b=K(d,b,C,c),c?(d.ifModified&&(w=C.getResponseHeader("Last-Modified"),w&&(de.lastModified[i]=w),w=C.getResponseHeader("etag"),w&&(de.etag[i]=w)),204===t||"HEAD"===d.type?T="nocontent":304===t?T="notmodified":(T=b.state,p=b.data,h=b.error,c=!h)):(h=T,!t&&T||(T="error",t<0&&(t=0))),C.status=t,C.statusText=(n||T)+"",c?v.resolveWith(g,[p,T,C]):v.rejectWith(g,[C,T,h]),C.statusCode(x),x=void 0,f&&m.trigger(c?"ajaxSuccess":"ajaxError",[C,d,c?p:h]),y.fireWith(g,[C,T]),f&&(m.trigger("ajaxComplete",[C,d]),--de.active||de.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=void 0),n=n||{};var o,i,s,a,u,c,l,f,p,h,d=de.ajaxSetup({},n),g=d.context||d,m=d.context&&(g.nodeType||g.jquery)?de(g):de.event,v=de.Deferred(),y=de.Callbacks("once memory"),x=d.statusCode||{},b={},w={},T="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(l){if(!a)for(a={};t=Lt.exec(s);)a[t[1].toLowerCase()]=t[2];t=a[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return l?s:null},setRequestHeader:function(e,t){return null==l&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==l&&(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)C.always(e[C.status]);else for(t in e)x[t]=[x[t],e[t]];return this},abort:function(e){var t=e||T;return o&&o.abort(t),r(0,t),this}};if(v.promise(C),d.url=((t||d.url||Ct.href)+"").replace(Rt,Ct.protocol+"//"),d.type=n.method||n.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(qe)||[""],null==d.crossDomain){c=te.createElement("a");try{c.href=d.url,c.href=c.href,d.crossDomain=$t.protocol+"//"+$t.host!=c.protocol+"//"+c.host}catch(e){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=de.param(d.data,d.traditional)),Y(It,d,n,C),l)return C;f=de.event&&d.global,f&&0===de.active++&&de.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Ft.test(d.type),i=d.url.replace(Dt,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(qt,"+")):(h=d.url.slice(i.length),d.data&&(i+=(kt.test(i)?"&":"?")+d.data,delete d.data),d.cache===!1&&(i=i.replace(Ot,"$1"),h=(kt.test(i)?"&":"?")+"_="+jt++ +h),d.url=i+h),d.ifModified&&(de.lastModified[i]&&C.setRequestHeader("If-Modified-Since",de.lastModified[i]),de.etag[i]&&C.setRequestHeader("If-None-Match",de.etag[i])),(d.data&&d.hasContent&&d.contentType!==!1||n.contentType)&&C.setRequestHeader("Content-Type",d.contentType),C.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Mt+"; q=0.01":""):d.accepts["*"]);for(p in d.headers)C.setRequestHeader(p,d.headers[p]);if(d.beforeSend&&(d.beforeSend.call(g,C,d)===!1||l))return C.abort();if(T="abort",y.add(d.complete),C.done(d.success),C.fail(d.error),o=Y(Pt,d,n,C)){if(C.readyState=1,f&&m.trigger("ajaxSend",[C,d]),l)return C;d.async&&d.timeout>0&&(u=e.setTimeout(function(){C.abort("timeout")},d.timeout));try{l=!1,o.send(b,r)}catch(e){if(l)throw e;r(-1,e)}}else r(-1,"No Transport");return C},getJSON:function(e,t,n){return de.get(e,t,n,"json")},getScript:function(e,t){return de.get(e,void 0,t,"script")}}),de.each(["get","post"],function(e,t){de[t]=function(e,n,r,o){return de.isFunction(n)&&(o=o||r,r=n,n=void 0),de.ajax(de.extend({url:e,type:t,dataType:o,data:n,success:r},de.isPlainObject(e)&&e))}}),de._evalUrl=function(e){return de.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},de.fn.extend({wrapAll:function(e){var t;return this[0]&&(de.isFunction(e)&&(e=e.call(this[0])),t=de(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return de.isFunction(e)?this.each(function(t){de(this).wrapInner(e.call(this,t))}):this.each(function(){var t=de(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=de.isFunction(e);return this.each(function(n){de(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){de(this).replaceWith(this.childNodes)}),this}}),de.expr.pseudos.hidden=function(e){return!de.expr.pseudos.visible(e)},de.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},de.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Wt={0:200,1223:204},Bt=de.ajaxSettings.xhr();pe.cors=!!Bt&&"withCredentials"in Bt,pe.ajax=Bt=!!Bt,de.ajaxTransport(function(t){var n,r;if(pe.cors||Bt&&!t.crossDomain)return{send:function(o,i){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest");for(s in o)a.setRequestHeader(s,o[s]);n=function(e){return function(){n&&(n=r=a.onload=a.onerror=a.onabort=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?i(0,"error"):i(a.status,a.statusText):i(Wt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),r=a.onerror=n("error"),void 0!==a.onabort?a.onabort=r:a.onreadystatechange=function(){4===a.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{a.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),de.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),de.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return de.globalEval(e),e}}}),de.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),de.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,o){t=de(" - - - - -

                                                                    -
                                                                    - - - - - - - - -
                                                                    - -
                                                                    - -
                                                                    - - - - - - - - -
                                                                    -
                                                                    - -
                                                                    -
                                                                    - -
                                                                    - -
                                                                    -

                                                                    Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                                                                    -
                                                                    -

                                                                    Getting started with ACPI

                                                                    -

                                                                    -

                                                                    A quick explainer on ACPI

                                                                    -

                                                                    So what are DSDTs and SSDTs? Well, these are tables present in your firmware that outline hardware devices like USB controllers, CPU threads, embedded controllers, system clocks and such. A DSDT(Differentiated System Description Table) can be seen as the body holding most of the info with smaller bits of info being passed by the SSDT(Secondary System Description Table). You can think of the DSDT as the building blueprints with SSDTs being sticky notes outlining extra details to the project

                                                                    -

                                                                    You can read more about ACPI and it's spec here: ACPI 6.3 Manual

                                                                    -
                                                                    -

                                                                    So why do we care about these tables?

                                                                    -
                                                                    -

                                                                    macOS can be very picky about the devices present in the DSDT and so our job is to correct it. The main devices that need to be corrected for macOS to work properly:

                                                                    -
                                                                      -
                                                                    • Embedded controllers(EC)
                                                                        -
                                                                      • All semi-modern intel machines have an EC (usually called H_EC, ECDV, EC0, etc...) exposed in their DSDT, with many AMD systems also having it exposed. These controllers are generally not compatible with macOS and can cause panics, so then need to be hidden from macOS. macOS Catalina requires a device named EC to be present though, so a dummy EC is created.
                                                                      • -
                                                                      • With laptops, the actual embedded controller still needs to be enabled for battery and hotkeys to work, and renaming the EC can additionally cause issues with windows, so creating a fake EC without disabling the real embedded controller is preferable.
                                                                      • -
                                                                      -
                                                                    • -
                                                                    • Plugin type
                                                                        -
                                                                      • This allows the use of XCPM providing native CPU power management on Intel Haswell and newer CPUs, the SSDT will connect to the first thread of the CPU. Not meant for AMD
                                                                      • -
                                                                      -
                                                                    • -
                                                                    • AWAC system clock.
                                                                        -
                                                                      • This applies to all 300 series motherboards including many Z370 boards, the specific issue is that newer boards ship with AWAC clock enabled. This is a problem because macOS cannot communicate with AWAC clocks, so this requires us to either force on the legacy RTC clock or if unavailable create a fake one for macOS to play with
                                                                      • -
                                                                      -
                                                                    • -
                                                                    • NVRAM SSDT
                                                                        -
                                                                      • True 300 series motherboards(non-Z370) don't declare the FW chip as MMIO in ACPI and so the kernel ignores the MMIO region declared by the UEFI memory map. This SSDT brings back NVRAM support
                                                                      • -
                                                                      -
                                                                    • -
                                                                    • Backlight SSDT
                                                                        -
                                                                      • Used for fixing backlight control support on laptops
                                                                      • -
                                                                      -
                                                                    • -
                                                                    • GPIO SSDT
                                                                        -
                                                                      • Used for creating a stub to allow VoodooI2C to connect onto, for laptops only
                                                                      • -
                                                                      -
                                                                    • -
                                                                    • XOSI SSDT
                                                                        -
                                                                      • Used for rerouting OSI calls to this SSDT, mainly used for tricking our hardware into thinking its booting Windows so we get better trackpad support. This is a very hacky solution known for breaking Windows boot, use the GPIO SSDT instead. Usage of XOSI will not be covered in this guide
                                                                      • -
                                                                      -
                                                                    • -
                                                                    • IRQ SSDT and ACPI patches
                                                                        -
                                                                      • Needed for fixing IRQ conflicts within the DSDT, for laptops mainly. SSDTTime exclusive
                                                                      • -
                                                                      • Note Skylake and newer systems rarely have IRQ conflicts, this is mainly prevalent on Broadwell and older
                                                                      • -
                                                                      -
                                                                    • -
                                                                    -

                                                                    Now head to the next page on what SSDTs do your systems need:

                                                                    -

                                                                    Choosing the SSDTs

                                                                    - - -
                                                                    - -
                                                                    -
                                                                    -
                                                                    - -

                                                                    results matching ""

                                                                    -
                                                                      - -
                                                                      -
                                                                      - -

                                                                      No results matching ""

                                                                      - -
                                                                      -
                                                                      -
                                                                      - -
                                                                      -
                                                                      - -
                                                                      - - - - - - - - - - -
                                                                      - - -
                                                                      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +

                                                                      # Getting started with ACPI

                                                                      # A quick explainer on ACPI

                                                                      So what are DSDTs and SSDTs? Well, these are tables present in your firmware that outline hardware devices like USB controllers, CPU threads, embedded controllers, system clocks and such. A DSDT(Differentiated System Description Table) can be seen as the body holding most of the info with smaller bits of info being passed by the SSDT(Secondary System Description Table). You can think of the DSDT as the building blueprints with SSDTs being sticky notes outlining extra details to the project

                                                                      You can read more about ACPI and it's spec here: ACPI 6.3 Manual

                                                                      So why do we care about these tables?

                                                                      macOS can be very picky about the devices present in the DSDT and so our job is to correct it. The main devices that need to be corrected for macOS to work properly:

                                                                      • Embedded controllers(EC) +
                                                                        • All semi-modern intel machines have an EC (usually called H_EC, ECDV, EC0, etc...) exposed in their DSDT, with many AMD systems also having it exposed. These controllers are generally not compatible with macOS and can cause panics, so then need to be hidden from macOS. macOS Catalina requires a device named EC to be present though, so a dummy EC is created.
                                                                        • With laptops, the actual embedded controller still needs to be enabled for battery and hotkeys to work, and renaming the EC can additionally cause issues with windows, so creating a fake EC without disabling the real embedded controller is preferable.
                                                                      • Plugin type +
                                                                        • This allows the use of XCPM providing native CPU power management on Intel Haswell and newer CPUs, the SSDT will connect to the first thread of the CPU. Not meant for AMD
                                                                      • AWAC system clock. +
                                                                        • This applies to all 300 series motherboards including many Z370 boards, the specific issue is that newer boards ship with AWAC clock enabled. This is a problem because macOS cannot communicate with AWAC clocks, so this requires us to either force on the legacy RTC clock or if unavailable create a fake one for macOS to play with
                                                                      • NVRAM SSDT +
                                                                        • True 300 series motherboards(non-Z370) don't declare the FW chip as MMIO in ACPI and so the kernel ignores the MMIO region declared by the UEFI memory map. This SSDT brings back NVRAM support
                                                                      • Backlight SSDT +
                                                                        • Used for fixing backlight control support on laptops
                                                                      • GPIO SSDT +
                                                                        • Used for creating a stub to allow VoodooI2C to connect onto, for laptops only
                                                                      • XOSI SSDT +
                                                                        • Used for rerouting OSI calls to this SSDT, mainly used for tricking our hardware into thinking its booting Windows so we get better trackpad support. This is a very hacky solution known for breaking Windows boot, use the GPIO SSDT instead. Usage of XOSI will not be covered in this guide
                                                                      • IRQ SSDT and ACPI patches +
                                                                        • Needed for fixing IRQ conflicts within the DSDT, for laptops mainly. SSDTTime exclusive
                                                                        • Note Skylake and newer systems rarely have IRQ conflicts, this is mainly prevalent on Broadwell and older

                                                                      Now head to the next page on what SSDTs do your systems need:

                                                                      # Choosing the SSDTs

                                                                      Last Updated: 7/17/2020, 8:46:53 PM
                                                                      + + - diff --git a/search_plus_index.json b/search_plus_index.json deleted file mode 100644 index 1f4e109..0000000 --- a/search_plus_index.json +++ /dev/null @@ -1 +0,0 @@ -{"./":{"url":"./","title":"Getting Started With ACPI","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Getting started with ACPI A quick explainer on ACPI So what are DSDTs and SSDTs? Well, these are tables present in your firmware that outline hardware devices like USB controllers, CPU threads, embedded controllers, system clocks and such. A DSDT(Differentiated System Description Table) can be seen as the body holding most of the info with smaller bits of info being passed by the SSDT(Secondary System Description Table). You can think of the DSDT as the building blueprints with SSDTs being sticky notes outlining extra details to the project You can read more about ACPI and it's spec here: ACPI 6.3 Manual So why do we care about these tables? macOS can be very picky about the devices present in the DSDT and so our job is to correct it. The main devices that need to be corrected for macOS to work properly: Embedded controllers(EC) All semi-modern intel machines have an EC (usually called H_EC, ECDV, EC0, etc...) exposed in their DSDT, with many AMD systems also having it exposed. These controllers are generally not compatible with macOS and can cause panics, so then need to be hidden from macOS. macOS Catalina requires a device named EC to be present though, so a dummy EC is created. With laptops, the actual embedded controller still needs to be enabled for battery and hotkeys to work, and renaming the EC can additionally cause issues with windows, so creating a fake EC without disabling the real embedded controller is preferable. Plugin type This allows the use of XCPM providing native CPU power management on Intel Haswell and newer CPUs, the SSDT will connect to the first thread of the CPU. Not meant for AMD AWAC system clock. This applies to all 300 series motherboards including many Z370 boards, the specific issue is that newer boards ship with AWAC clock enabled. This is a problem because macOS cannot communicate with AWAC clocks, so this requires us to either force on the legacy RTC clock or if unavailable create a fake one for macOS to play with NVRAM SSDT True 300 series motherboards(non-Z370) don't declare the FW chip as MMIO in ACPI and so the kernel ignores the MMIO region declared by the UEFI memory map. This SSDT brings back NVRAM support Backlight SSDT Used for fixing backlight control support on laptops GPIO SSDT Used for creating a stub to allow VoodooI2C to connect onto, for laptops only XOSI SSDT Used for rerouting OSI calls to this SSDT, mainly used for tricking our hardware into thinking its booting Windows so we get better trackpad support. This is a very hacky solution known for breaking Windows boot, use the GPIO SSDT instead. Usage of XOSI will not be covered in this guide IRQ SSDT and ACPI patches Needed for fixing IRQ conflicts within the DSDT, for laptops mainly. SSDTTime exclusive Note Skylake and newer systems rarely have IRQ conflicts, this is mainly prevalent on Broadwell and older Now head to the next page on what SSDTs do your systems need: Choosing the SSDTs "},"ssdt-platform.html":{"url":"ssdt-platform.html","title":"Choosing the SSDTs","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) What SSDTs do each platform need Please see the specific ACPI section of your config.plist, all SSDTs needed are covered there with a brief explainer. But here's a very quick TL;DR: What SSDTs do each platform need Desktop Laptop SSDT Creation Desktop Platforms CPU EC AWAC NVRAM USB Ivy Bridge CPU-PM (Run in Post-Install) SSDT-EC N/A N/A N/A Ivy Bridge-E ^ ^ ^ ^ ^ Haswell/Broadwell SSDT-PLUG ^ ^ ^ ^ Haswell-E ^ ^ ^ ^ ^ Broadwell-E ^ ^ ^ ^ ^ Skylake ^ SSDT-EC-USBX ^ ^ ^ Skylake-X ^ ^ ^ ^ ^ Kabylake ^ ^ ^ ^ ^ CoffeeLake ^ ^ SSDT-AWAC SSDT-PMC ^ CometLake ^ ^ ^ ^ SSDT-RHUB AMD (15/16/17h) N/A ^ N/A N/A N/A Laptop Platforms CPU EC Backlight I2C Trackpad AWAC USB IRQ Ivy Bridge CPU-PM (Run in Post-Install) SSDT-EC SSDT-PNLF SSDT-GPI0 N/A N/A IRQ SSDT Haswell SSDT-PLUG ^ ^ ^ ^ ^ ^ Broadwell ^ ^ ^ ^ ^ ^ ^ Skylake ^ SSDT-EC-USBX ^ ^ ^ ^ N/A KabyLake ^ ^ ^ ^ ^ ^ ^ CoffeeLake (8th Gen) ^ ^ SSDT-PNLF-CFL ^ ^ ^ ^ CoffeeLake (9th Gen) ^ ^ ^ ^ SSDT-AWAC ^ ^ CometLake ^ ^ ^ ^ ^ ^ ^ IceLake ^ ^ ^ ^ ^ SSDT-RHUB ^ SSDT Creation "},"ssdt-methods/ssdt-methods.html":{"url":"ssdt-methods/ssdt-methods.html","title":"How to create SSDTs","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) How to create SSDTs Creating SSDTs mainly fall into 3 camps: Prebuilt SSDTs They work but not perfect Automated tools Mainly seen with SSDTTime, work much better though can't cover all situations Manually creating them Will always work, be much cleaner and get to learn about the process "},"ssdt-methods/ssdt-prebuilt.html":{"url":"ssdt-methods/ssdt-prebuilt.html","title":"SSDTs: Prebuilt","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Pre-Built SSDTs Power Management Embedded Controllers Trackpad Backlight System Clock(AWAC) NVRAM(PMC) This is mainly for users who are having troubles either compiling, decompiling or understanding the overal process of ACPI. The main reasons you'd want to avoid is for the following: Slowing down the boot process Mainly because these SSDTs have to go through every possible pathing Fun fact: the prebuilt SSDT-EC-DESKTOP is 42 times larger than making the file yourself Doesn't always work The SSDTs provided can only handle so many situations, and some may in fact not work Mainly seen with SSDT-AWAC, as it assumes there is a way the RTC can be easily enabled Teaches nothing This is the biggest issue as you have no real idea on how to troubleshoot or how to make these files down the line Please refer to Choosing the SSDTs page for which your system needs. Power Management For Haswell and newer: SSDT-PLUG-DRTNIA For Ivy Bridge and older, see the Optimizing Power Management page. This will be done after install. AMD CPU users do not need any SSDTs for power management. Embedded Controllers For desktops: SSDT-EC-USBX-DESKTOP For Skylake and newer and all AMD systems. SSDT-EC-DESKTOP For Broadwell and older. For laptops: SSDT-EC-USBX-LAPTOP For Skylake and newer. SSDT-EC-LAPTOP For Broadwell and older. Trackpad Used for enabling Windows only features in macOS, do note that the below patches will more than likely break Windows booting via OpenCore. I highly encourage you to make one yourself to prevent any issues down the line: Trackpad GPI0 SSDT-XOSI XOSI-Rename.plist Note you'll need to add this into your config.plist under ACPI -> Patch: Comment String Change _OSI to XOSI Enabled Boolean YES Count Number 0 Limit Number 0 Find Data 5f4f5349 Replace Data 584f5349 Backlight For laptops and all-in-one desktops, fixies brightness control support SSDT-PNLF For most users. SSDT-PNLF-CFL For Coffee Lake and newer. System Clock(AWAC) Mainly needed for newer systems running AWAC based system clocks, mainly relavant for Z390 and newer(Gigabyte and AsRock however did backport it to Z370 with a BIOS update) SSDT-AWAC The biggest issue with this prebuilt is that we're just guessing you both have an AWAC clock and that it can be turned off, I highly encourage you to make one yourself to really know whether you both need this and if it's going to work: AWAC vs RTC NVRAM(PMC) Needed to bring back NVRAM support for Z390 and newer, DO NOT USE ON Z370 or older Note: Desktop Z490 boards seem to not need this, though if you're having NVRAM issues you can try this SSDT. SSDT-PMC Reminder only the following need this SSDT: B360 B365 H310 H370 Z390 400 series (Comet Lake) 495 series (Icelake) USB(RHUB) Needed for 10th gen CPUs, Gigabyte and AsRock motherboards don't need this SSDT-RHUB.aml "},"ssdt-methods/ssdt-easy.html":{"url":"ssdt-methods/ssdt-easy.html","title":"SSDTs: Easy Way","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) SSDTs: The easy way So here we'll be using a super simple tool made by CorpNewt: SSDTTime What this tool does is, it dumps your DSDT from your firmware, and then creates SSDTs based off your DSDT. This must be done on the target machine running either Windows or Linux So what CAN'T SSDTTime do HEDT SSDTs: The ACPI is odd on these platforms so manual work is required This includes X79, X99 and X299 systems Prebuilt can be found here: Embedded Controller Laptop EC fix: This is because you do not want the EC powered off Prebuilt can be found here: Embedded Controller SSDT-PNLF: Need to be configured to your system SSDT-GPI0: Need to be configured to your system AWAC and RTC0 SSDTs: 300 series Intel boards will also need to figure this out (Z390 systems are most common for requiring this but some Gigabyte Z370 do as well) PMC SSDT: For fixing 300 series Intel NVRAM Prebuilt can be found here: NVRAM PMC USBX SSDT: This is included on sample SSDTs but SSDTTime only makes the SSDT-EC part, Skylake and newer users can grab a pre-built here: SSDT-USBX.aml RHUB SSDT: if you have a 10th gen CPU, you'll need to either use the prebuilt or manually create it. For users who don't have all the options available to them in SSDTTime, you can follow the \"SSDTs: The long way\" section. You can still use SSDTTime for SSDTs it does support. Running SSDTTime Run the SSDTTime.bat file as Admin on the target machine and you should see something like this: What are all these options?: 1. FixHPET - Patch out IRQ Conflicts IRQ patching, mainly needed for X79, X99 and laptop users(use option C to omit conflicting legacy IRQs) 2. FakeEC - OS-aware Fake EC This is the SSDT-EC, required for Catalina users 3. PluginType - Sets plugin-type = 1 on CPU0/PR00 This is the SSDT-PLUG, for Intel only 4. Dump DSDT - Automatically dump the system DSDT Dumps your DSDT from your firmware What we want to do is select option 4. Dump DSDT first, then select the appropriate option(s) for your system. What about USBX? For Skylake and newer plus AMD, you can grab a pre-built file here: SSDT-USBX.aml. This file is plug and play and requires no device configuration, do not use on Broadwell and older. Troubleshooting note: See General Troubleshooting if you're having issues running SSDTTime Adding to OpenCore Don't forget that SSDTs need to be added to Opencore, reminder that .aml is complied, .dsl is code. Add only the .aml file: EFI/OC/ACPI config.plist -> ACPI -> Add Reminder that Cmd/Crtl+R with ProperTree pointed at your OC folder will add all your SSDTs, kexts and .efi drivers to the config for you. Do not add your DSDT to OpenCore, its already in your firmware. If you are unsure what this is referring to, go back to the OpenCore guide and select your config based of the architecture of your CPU. For those who do not yet have a config.plist, you'll want to next head back to your respective OpenCore guides and create the config.plist: OpenCore Desktop guide OpenCore Laptop Guide Users of FixHPET will also need to merge oc_patches.plist into their config.plist Steps to do this: Open both files, Delete the ACPI -> Patch section from config.plist Copy the ACPI -> Patch section from patches.plist Paste into where old patches were in config.plist "},"ssdt-methods/ssdt-long.html":{"url":"ssdt-methods/ssdt-long.html","title":"SSDTs: Long Way","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) SSDTs: The long way Well sadly some things are not handled by SSDTTime, well have no fear as making SSDTs is super easy. The basic process: Dump DSDT(the one SSDTTime did for use will work) Decompile DSDT Make SSDTs based of of it(You'll need either MaciASL or a text editor for this) Compile SSDTs Now continue forth and master the ways of ACPI! "},"Manual/dump.html":{"url":"Manual/dump.html","title":"Dumping the DSDT","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Getting a copy of our DSDT So to start, we'll need to get a copy of your DSDT from your firmware. The easiest way is grabbing the DSDT.aml SSDTTime dumped for us earlier but here are some other options: From Windows SSDTTime Supports both Windows and Linux for DSDT dumping 4. Dump DSDT - Automatically dump the system DSDT acpidump.exe In command prompt run path/to/acpidump.exe -b -n DSDT -z, this will dump your DSDT as a .dat file. Rename this to DSDT.aml Do note that all ACPI patches from clover/OpenCore will be applied to the DSDT with the above 2 methods From Linux SSDTTime Supports both Windows and Linux for DSDT dumping 4. Dump DSDT - Automatically dump the system DSDT Do note that all ACPI patches from clover/OpenCore will be applied to the DSDT with the above method From Clover For those with Clover installed previously, this is a simple way to get your ACPI tables: F4 in Clover Boot menu DSDT can be found in EFI/CLOVER/ACPI/origin, the folder must exist before dumping From OpenCore With OpenCore, we have 2 options: SysReport Quirk UEFI Shell SysReport Quirk With OpenCore 0.5.9, we have a new quirk called SysReport which will actually dump our DSDT automatically when hitting the boot screen. The main issues are: You already need a bootable OpenCore USB to get this dump This also requires a DEBUG version of 0.5.9 For the latter, you just need to replace the following files with DEBUG version: EFI/BOOT/ BOOTx64.efi EFI/OC/Bootstrap/ Bootstrap.efi EFI/OC/Drivers/ OpenRuntime.efi EFI/OC/ OpenCore.efi For the former, you can actually skip the ACPI section, return to the OpenCore guide(Desktop, Laptop) and finish making the USB. Once booted to the picker, you can shut off the PC and check your USB: And voila! You have a DSDT! Now you can continue on with making SSDTs UEFI Shell For this, we'll want ti grab acpidump.efi and add this to EFI/OC/Tools and in your config under Misc -> Tools with the argument: -b -n DSDT -z and select this option in OpenCore's picker. If OpenCore is having issues running acpidump.efi from the boot picker, you can call it from the shell with OpenShell(reminder to add to both EFI/OC/Tools and in your config under Misc -> Tools ): shell> fs0: // replace with proper drive fs0:\\> dir // to verify this is the right directory Directory of fs0:\\ 01/01/01 3:30p EFI fs0:\\> cd EFI\\OC\\Tools fs0:\\EFI\\OC\\Tools> acpidump.efi -b -n DSDT -z Once done, you should find your DSDT in the EFI/OC/Tools folder with a .dat extension. Rename this DSDT.dat file to DSDT.aml to help us down the line "},"Manual/compile.html":{"url":"Manual/compile.html","title":"Decompiling and Compiling","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Compiling and decompiling ACPI Tables See Troubleshooting if you have dumping/compiling errors macOS Compiling and Decompiling Windows Compiling and Decompiling Linux Compiling and Decompiling macOS So compiling DSDTs and SSDTs are quite easy with macOS, all you need is MaciASL. To compile, just File -> SaveAs -> ACPI Machine Language Binary(.AML), decompiling is just opening the file in MaciASL. For those who prefer the command line, grab iasl-stable and run the following: path/to/iasl.exe path/to/DSDT.aml If compiled .aml file is provided, a decompiled .dsl file will be given and vice versa. Windows Compiling and decompiling on windows is fairly simple though, you will need iasl.exe and Command Prompt: path/to/iasl.exe path/to/DSDT.aml If compiled .aml file is provided, a decompiled .dsl file will be given and vice versa. Linux Compiling and decompiling with Linux is just as simple, you will need a copy of iasl. You can get it here (iasl) or through the iasl package in your package manager. iasl can be used as such: path/to/iasl path/to/DSDT.aml If compiled .aml file is provided, a decompiled .dsl file will be given and vice versa. "},"Desktops/desktop-disable.html":{"url":"Desktops/desktop-disable.html","title":"Disabling desktop dGPUs","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Disabling desktops unsupported GPUs(SSDT-GPU-DISABLE) What this SSDT does Methods to make this SSDT Prebuilt SSDTTime Manual Finding the ACPI path Edits to the sample SSDT Compiling the SSDT So this is mainly needed for GPUs that are not supported in macOS, mainly this will be Nvidia users who wish to pair an AMD GPU for macOS use. While WhateverGreen does support the boot-arg -wegnoegpu, this only works when running on iGPU so for the rest of us we'll need to make an SSDT. So to disable a specific GPU, we need to find a couple things: ACPI Path of the GPU SSDT-GPU-DISABLE Finding the ACPI Path of the GPU To find the PCI path of a GPU is fairly simple, best way to find it is running Windows: Open Device Manager Select Display Adapters, then right click your GPU and select Properties Under the Details Tab, search for \"Location Paths\" Note some GPUs may be hiding under \"BIOS device name\" The second \"ACPI\" is what we care about: ACPI(_SB_)#ACPI(PC02)#ACPI(BR2A)#ACPI(PEGP)#PCI(0000)#PCI(0000) Now converting this to an ACPI path is quite simple, remove the #ACPI and #PCI(0000): `_SB_.PC02.BR2A.PEGP And voila! We've found our ACPI path, now that we have everything we're ready to get cooking Making the SSDT To start grab our SSDT-GPU-DISABLE and open it up. Here there's a couple things to change: External (_SB_.PCI0.PEG0.PEGP, DeviceObj) Method (_SB.PCI0.PEG0.PEGP._DSM, 4, NotSerialized) For our example, we'll change all mentions of : PCI0 with PC02 PEG0 with BR2A Hint: If your ACPI path is a bit shorter than the example, this is fine. Just make sure the ACPI paths are correct to your device, some users may also need to adapt _SB_ to their path Now you're ready to compile the SSDT! "},"Laptops/backlight.html":{"url":"Laptops/backlight.html","title":"Backlight PNLF","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Fixing Backlight (SSDT-PNLF) What this SSDT does Methods to make this SSDT What this SSDT does The purpose of this SSDT is to create a PNLF device for macOS to play with, specifically one with a hardware ID of APP0002. Luckily WhateverGreen will handle the rest of the work for us. Methods to make this SSDT For the backlight fix, there are 2 methods you can choose from: Prebuilt Manual "},"Laptops/backlight-methods/prebuilt.html":{"url":"Laptops/backlight-methods/prebuilt.html","title":"Prebuilt","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Fixing Backlight: Prebuilt By far the easiest method, all you need to do is download the following file: SSDT-PNLF.aml For most users SSDT-PNLF-CFL.aml For Coffee Lake and newer Main things to note with this method: Assumes GPU pathing, works great for 99% of devices but if you're having issues controlling backlight this may be something to look at Doesn't really teach you anything For most, this doesn't matter. But to some knowing what makes your hackintosh tick is part of the journey "},"Laptops/backlight-methods/manual.html":{"url":"Laptops/backlight-methods/manual.html","title":"Manual","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Fixing Backlight: Manual Finding the ACPI path Edits to the sample SSDT Compiling the SSDT Wrapping up Finding the ACPI path For this guide, we're gonna assume Windows is already on this laptop, as otherwise creating this SSDT is a bit more difficult. Now open DeviceManager, and head to the following: Device Manager -> Display Adapters -> Properties -> Details > BIOS device name Note some GPU ACPI pathing may be hiding under \"BIOS device name\" From the above example, we can see our display is hooked up to PCI0.GFX0 Edits to the sample SSDT Now that we have our ACPI path, lets grab our SSDT and get to work: SSDT-PNLF.dsl SSDT-PNLF-CFL.dsl For Coffee Lake and newer By default, this uses PCI0.GFX0 for the pathing. you'll want to rename accordingly. For this example, we'll assume your pathing is PCI0.GPU0: Before: External (_SB_.PCI0.GFX0, DeviceObj) Following the example pathing we found, the SSDT should look something like this: After: External (_SB_.PCI0.GPU0, DeviceObj) Compiling the SSDT With the SSDT done, you're now ready to compile the SSDT! Wrapping up Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up: Cleanup "},"Laptops/trackpad.html":{"url":"Laptops/trackpad.html","title":"Trackpad GPI0","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Fixing Trackpads (SSDT-GPI0/XOSI) What this SSDT does Methods to make this SSDT What this SSDT does This SSDT is used to force enable our GPI0 for VoodooI2C to connect onto. With most modern laptop DSDTs, there's a variable called GPEN or GPHD which are used for setting the status of the GPI0 device. For us, we want to enable the device. Methods to make this SSDT For the trackpad fix, there are 2 methods you can choose from: Prebuilt Manual "},"Laptops/trackpad-methods/prebuilt.html":{"url":"Laptops/trackpad-methods/prebuilt.html","title":"Prebuilt","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Fixing Trackpads: Prebuilt This is a one-size fits all solution where we basically trick our hardware into thinking it's booting Windows. The problem with this method is that it's common to break Windows booting so avoid unless troubleshooting. SSDT-XOSI XOSI Rename(add this under config.plist -> ACPI -> Patch): Comment String Change _OSI to XOSI Enabled Boolean YES Count Number 0 Limit Number 0 Find Data 5f4f5349 Replace Data 584f5349 "},"Laptops/trackpad-methods/manual.html":{"url":"Laptops/trackpad-methods/manual.html","title":"Manual","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Fixing Trackpads: Manual Finding the ACPI path Edits to the sample SSDT Compiling the SSDT Wrapping up Finding the ACPI path Finding the ACPI pathing is quite easy actually, first open your decompiled DSDT you got from Dumping the DSDT and Decompiling and Compiling with either maciASL(if in macOS) or any other text editor if in Windows or Linux(VSCode has an ACPI extension that can also help). Next search for Device (GPI0). Should give you a result similar to this: What we care about from this is the _STA method: Method (_STA, 0, NotSerialized) { If ((GPHD == One)) { Return (0x03) } Return (0x0F) } What we want is for this to always return 0x0F when booting macOS, so we want to make an SSDT that will return GPHD == Zero in macOS. NOTE that you may have the other way around where GPHD needs to be set as One to return 0x0F. And your device name may also be different, don't throw random SSDTs in thinking it'll work Here's some more examples: With this example, we can see that we need both SBRG and GPEN to return One. If only one is present, it'll create some issues so in our SSDT we'll want to have both of them return One: Edits to the sample SSDT Now that we have our ACPI path, lets grab our SSDT and get to work: SSDT-GPI0.dsl From the second example, we'll want to set both GPEN and SBRG to One to allow it to operate in macOS: Before: If (_OSI (\"Darwin\")) { GPEN = One Following the example pathing we found, the SSDT should look something like this: After: If (_OSI (\"Darwin\")) { GPEN = One Compiling the SSDT With the SSDT done, you're now ready to compile the SSDT! Wrapping up Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up: Cleanup "},"Laptops/laptop-disable.html":{"url":"Laptops/laptop-disable.html","title":"Disabling laptop dGPUs","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Disabling laptop dGPUs (SSDT-dGPU-Off/NoHybGfx) What this SSDT does Methods to make this SSDT Prebuilt SSDTTime Manual Finding the ACPI path Edits to the sample SSDT Compiling the SSDT So with laptops, we can hide the dGPU from macOS with the little boot-arg called -wegnoegpu from WhateverGreen. But one small problem, the dGPU is still pulling power draining your battery slowly. We'll be going over 2 methods for disabling the dGPU in a laptop: Optimus Method Bumblebee Method Note that this is not needed for install, but recommended for post-install Optimus Method How this works is that we call the .off method found on Optimus GPUs, this is the expected way to power off a GPU but some may find their dGPU will power back up later on. Mainly seen in Lenovo's, the Optimus method should work for most users: To start, grab SSDT-dGPU-Off.dsl Next we need to get on Windows, and head to the following: Device Manager -> Display Adapters -> dGPU -> Properties -> Details > BIOS device name Note some GPUs may be hiding under \"BIOS device name\" This should provided you with an ACPI path for your dGPU, most commonly: Nvidia dGPU: \\_SB.PCI0.PEG0.PEGP AMD dGPU: \\_SB.PCI0.PEGP.DGFX Now with that, we'll need to change the ACPI path in the SSDT. Main sections: External(_SB.PCI0.PEG0.PEGP._OFF, MethodObj) If (CondRefOf(\\_SB.PCI0.PEG0.PEGP._OFF)) { \\_SB.PCI0.PEG0.PEGP._OFF() } Once adapted to your config, head to the compile section For those with sleep issues, you can refer to the original Rehabman thread Bumblebee Method With some machines, the simple .off call won't keep the card off properly, that's where the Bumblebee method comes in. This SSDT will actually send the dGPU into D3 state being the lowest power state a device can support. Credit to Mameo for the original adaptation. To start, grab SSDT-NoHybGfx.dsl Next we need to get on Windows, and head to the following: Device Manager -> Display Adapters -> dGPU -> Properties -> Details > BIOS device name This should provided you with an ACPI path for your dGPU, most commonly: Nvidia dGPU: \\_SB.PCI0.PEG0.PEGP AMD dGPU: \\_SB.PCI0.PEGP.DGFX Now with that, we'll need to change the ACPI path in the SSDT. Main sections: External (_SB_.PCI0.PEG0.PEGP._DSM, MethodObj) // dGPU ACPI Path External (_SB_.PCI0.PEG0.PEGP._PS3, MethodObj) // dGPU ACPI Path If ((CondRefOf (\\_SB.PCI0.PEG0.PEGP._DSM) && CondRefOf (\\_SB.PCI0.PEG0.PEGP._PS3))) // Card Off Request \\_SB.PCI0.PEG0.PEGP._DSM (ToUUID (\"a486d8f8-0bda-471b-a72b-6042a6b5bee0\"), 0x0100, 0x1A, Buffer (0x04) // Card Off \\_SB.PCI0.PEG0.PEGP._PS3 () Once adapted to your config, head to the compile section Now you're ready to compile the SSDT! "},"Universal/ec-fix.html":{"url":"Universal/ec-fix.html","title":"Embedded Controller","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Fixing Embedded Controller (SSDT-EC/USBX) Fixing Embedded Controller (SSDT-EC/USBX) What this SSDT does Methods to make this SSDT What this SSDT does The purpose of SSDT-EC/UBX is a couple things: On desktops, the EC(or better known as the embedded controller) isn't compatible with AppleACPIEC driver, to get around this we disable this device when running macOS AppleBusPowerController will look for a device named EC, so we will want to create a fake device for this kext to load onto AppleBusPowerController also requires a USBX device to supply USB power properties for Skylake and newer, so we will bundle this device in with the EC fix On laptops, the EC is used for hotkeys and battery so disabling this isn't all too ideal. Problem is our EC's name isn't compatible, so we will create a simple \"fake\" EC device that will satisfy Apple So TL;DR: EC is embedded controller Desktops will want real EC off, and a fake EC created Laptops will just want an additional fake EC present Skylake and newer devices will want USBX as well Methods to make this SSDT For the EC fix, there are 3 methods you can choose from: Prebuilt The prebuilt for desktops are very bloated. It's recommended to use the two methods below. The Laptop prebuilts are easily usable. SSDTTime Note this method does not support laptops, servers or HEDT systems Manual "},"Universal/ec-methods/prebuilt.html":{"url":"Universal/ec-methods/prebuilt.html","title":"Prebuilt","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Fixing Embedded Controllers: Prebuilt By far the easiest way to fix your Embedded Controller is just downloading one of the files below: Desktop: SSDT-EC-USBX-DESKTOP For Skylake desktops and newer and AMD CPU based systems SSDT-EC-DESKTOP For Broadwell desktops and older Laptops: SSDT-EC-USBX-LAPTOP.aml For Skylake laptops and newer SSDT-EC-LAPTOP.aml For Broadwell laptops and older The main things to note with this method: Quite Bloated There's ACPI naming for every type, this means there's added delays in boot times Doesn't really teach you anything For most, this doesn't matter. But to some knowing what makes your hackintosh tick is part of the journey Wrapping up Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up: Cleanup "},"Universal/ec-methods/ssdttime.html":{"url":"Universal/ec-methods/ssdttime.html","title":"SSDTTime","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Fixing Embedded Controllers: SSDTTime The second involves using SSDTTime which automates most of the process. See here on how to use it: SSDTs: Easy Way To get the SSDT-PLUG, run the following: 4. Dump DSDT then run 2. FakeEC This will provide you with some files, the main one you care about is SSDT-EC.aml. The DSDT and .dsl are only left for referencing or verification. The main things to note with this method: Doesn't work on HEDT and server hardware(ie. X99 and X299) While the majority following this guide are likely on consumer hardware, those with fancier hardware will need to either use the Prebuilt or Manual method Doesn't work on Laptops Just like with HEDT, you will need to either use the Prebuilt or Manual method Doesn't provide you the USBX property to fix power This can easily be fixed by using this prebuilt file in addition to SSDT-EC: SSDT-USBX.aml Note USBX is only needed for Skylake and newer Doesn't really teach you anything For most, this doesn't matter. But to some knowing what makes your hackintosh tick is part of the journey Wrapping up Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up: Cleanup "},"Universal/ec-methods/manual.html":{"url":"Universal/ec-methods/manual.html","title":"Manual","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Fixing Embedded Controllers: Manual Fixing Embedded Controllers: Manual Finding the ACPI path DSDT DeviceManager Edits to the sample SSDT Edge Cases Multiple PNP0C09's show up No PNP0C09 show up PNP0C09 already named EC PNP0C09 already has an _STA method Compiling the SSDT Wrapping up TO-DO: Finish Edge cases and sample SSDT edits Finding the ACPI path To find the ACPI pathing, you have 2 methods: DSDT DeviceManager DSDT Finding the ACPI pathing is quite easy actually, first open your decompiled DSDT you got from Dumping the DSDT and Decompiling and Compiling with either maciASL(if in macOS) or any other text editor if in Windows or Linux(VSCode has an ACPI extension that can also help). Next, search for PNP0C09. You should get something similar: From the above example we see 2 main things: Name of our embedded controller In this case being EC0 Pathing of our embedded controller PC00.LPC0 But now we get into edge case territory, what fun! The main ones to check for are: Fixing Embedded Controllers: Manual Finding the ACPI path DSDT DeviceManager Edits to the sample SSDT Edge Cases Multiple PNP0C09's show up No PNP0C09 show up PNP0C09 already named EC PNP0C09 already has an _STA method Compiling the SSDT Wrapping up If none of the above apply to you, you're ready for the next section: DeviceManager If you already have Windows installed on this machine, finding the EC pathing is fairly easy. Start by opening up Device Manager in Windows and looking for a device named Embedded Controller. Once found, click on it and select the BIOS device Name entry. You should get something like this: From the above, we can see that our pathing is SB.PC00.LPC0.EC0 Now with the pathing, you can head here: Edits to the sample SSDT Edits to the sample SSDT Now that we have our ACPI path, lets grab our SSDT and get to work: SSDT-EC-USBX For Skylake and newer and all AMD systems SSDT-EC For Broadwell and older Now when opening this SSDT, you'll notice a few things. Mainly: Some code is commented out This is code for disabling our EC Laptops users SHOULD NOT uncomment this There's a new EC called Device (EC) DO NOT RENAME THIS, this will be the EC we give to macOS Before: External (_SB_.PCI0.LPCB, DeviceObj) Following the example pathing we found, the SSDT should look something like this: After: External (_SB_.PC00.LPC0, DeviceObj) Edge Cases Multiple PNP0C09's show up When multiple PNP0C09 show up, we need to next check for the following properties: _HID (Hardware ID) _CRS (Current Resource Settings) _GPE (General Purpose Events) What these signify is whether this PNP0C09 device is real or not, as per the ACPI spec. So one's matching the above criteria are the one's we want to disable. Note: If _STA shows up as well, you'll need to go here: PNP0C09 already has an _STA method No PNP0C09 show up When this happens, you'll only need to create a \"dummy\" EC for macOS. You'll still want to find the PCI and LPC pathing for this device. So follow the guide as if you were creating a laptop SSDT-EC. PNP0C09 already named EC Congrats! No need to create an SSDT-EC! However you will still want USBX if you're skylake or newer. Prebuilt can be grabbed here: SSDT-USBX.aml PNP0C09 already has an _STA method This is the equivalent of not having an EC as we can't control it with our SSDT-EC, instead we'll need to create a \"dummy\" EC for macOS. You'll still want to find the PCI and LPC pathing for this device. So follow the guide as if you were creating a laptop SSDT-EC. Example of an EC with STA already: Compiling the SSDT With the SSDT done, you're now ready to compile the SSDT! Wrapping up Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up: Cleanup "},"Universal/plug.html":{"url":"Universal/plug.html","title":"CPU Power Management","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Fixing Power Management (SSDT-PLUG) Fixing Power Management (SSDT-PLUG) What this SSDT does Methods to make this SSDT What this SSDT does The purpose of SSDT-PLUG is to allow the kernel's XCPM(XNU's CPU Power Management) to manage our CPU's power management. It's pretty self explanatory why you'd want this. Note: SSDT-PLUG is only compatible with Intel's Haswell and newer CPUs, Sandy Bridge and Ivy Bridge will need to follow the ssdtPRgen method(in post-install) while AMD users should not use this(unless attempting to attach AGPM which is outside the scope of Dortania's guides) Methods to make this SSDT For SSDT-PLUG, there are 3 methods you can choose from: Prebuilt SSDTTime Note this method does not support servers or HEDT systems Manual "},"Universal/plug-methods/prebuilt.html":{"url":"Universal/plug-methods/prebuilt.html","title":"Prebuilt","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Fixing Power Management: Prebuilt By far the easiest way to get SSDT-PLUG is just downloading the below file: SSDT-PLUG-DRTNIA.aml This prebuilt file is just a precompiled version of SSDT-PLUG provided by Acidanthera. The main things to note with this method: Quite Bloated There's ACPI naming for every type, this means there's added delays in boot times(though unnoticeable to most as it's generally 0.5 seconds longer) Doesn't really teach you anything For most, this doesn't matter. But to some knowing what makes your hackintosh tick is part of the journey Wrapping up Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up: Cleanup "},"Universal/plug-methods/ssdttime.html":{"url":"Universal/plug-methods/ssdttime.html","title":"SSDTTime","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Fixing Power Management: SSDTTime The second involves using SSDTTime which automates most of the process. See here on how to use it: SSDTs: Easy Way To get the SSDT-PLUG, run the following: 4. Dump DSDT then run 3. PluginType This will provide you with some files, the main one you care about is SSDT-PLUG.aml. The DSDT and .dsl are only left for referencing or verification. The main things to note with this method: Doesn't work on HEDT and server hardware(ie. X99 and X299) While the majority following this guide are likely on consumer hardware, those with fancier hardware will need to either use the Prebuilt or Manual method Doesn't really teach you anything For most, this doesn't matter. But to some knowing what makes your hackintosh tick is part of the journey Wrapping up Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up: Cleanup "},"Universal/plug-methods/manual.html":{"url":"Universal/plug-methods/manual.html","title":"Manual","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Fixing Power Management: Manual Finding the ACPI path DSDT DeviceManager Edits to the sample SSDT Compiling the SSDT Wrapping up Finding the ACPI path To find the ACPI pathing, you have 2 methods: DSDT DeviceManager DSDT CPU naming is fairly easy to figure out, first open your decompiled DSDT you got from Dumping the DSDT and Decompiling and Compiling with either maciASL(if in macOS) or any other text editor if in Windows or Linux(VSCode has an ACPI extension that can also help). Next search for Processor. This should give you a result like this: As we can see, the first processor in our list is SB.PR00. This is what we'll be applying the plugin-type=1 property too. X99 and X299 note: Due to the different DSDT structure of these systems, you'll need to to actually check in multiple places as the pathing isn't as obvious: If we then search for instances of CP00 we find that its full ACPI pathing is SB.SCK0.CP00: Now with the pathing, you can head here: Edits to the sample SSDT DeviceManager If you already have Windows installed on this machine, finding the CPU pathing is fairly easy. Start by opening up Device Manager in Windows and looking for a device named Processor. Once found, click on it and select the BIOS device Name entry. You should get something like this: From the above, we can see that our pathing is PR.CPU0. Pay close attention to the start as PR is important for creating the SSDT X99 and X299 note: Odd quirk of DeviceManager in Windows is that the Processor's order does not actually match the ACPI path, instead giving something like SB.SCK0.CP10: When this happens, you can either: Look through and find the lowest value Assume the lowest(commonly being PR00 or CP00) So with the above X299 example, our CPU pathing would be SB.SCK0.CP00 Now with the pathing, you can head here: Edits to the sample SSDT Edits to the sample SSDT Now that we have our ACPI path, lets grab our SSDT and get to work: SSDT-PLUG.dsl From the above SSDT, it's very likely your processor is already there. If so, you can delete all the other entries other than yours and the Method PMPM as this is what injects the plugin-type=1 property into our system. Reminder: We only need to apply plugin-type=1 to the first thread For the below example, we'll be using the X299 example(SB.SCK0.CP00) Original Cleaned Up Compiling the SSDT With the SSDT done, you're now ready to compile the SSDT! Wrapping up Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up: Cleanup "},"Universal/awac.html":{"url":"Universal/awac.html","title":"AWAC vs RTC","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Fixing System Clocks (SSDT-AWAC/RTC0) What this SSDT does Methods to make this SSDT What this SSDT does The purpose of SSDT-AWAC/RTC0 is to fix the system clocks found on newer hardware, maily found in the following: B360 B365 H310 H370 Z370 (Gigabyte and AsRock boards with newer BIOS versions) Z390 B460 Z490 400 series (Comet Lake, including Z490) 495 series (Icelake) X299X (10th Gen refresh, AsRock and Asus don't use the -x naming so you'll need to double check) SSDT-AWAC tries to re-enable the old RTC clock that is compatible with macOS, while SSDT-RTC0 will instead create a \"fake\" RTC clock if there is no legacy one to enable. Methods to make this SSDT For the RTC fix, there are 2 methods you can choose from: Prebuilt Manual "},"Universal/awac-methods/prebuilt.html":{"url":"Universal/awac-methods/prebuilt.html","title":"Prebuilt","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Fixing System Clocks: Prebuilt By far the easiest method, all you need to do is download the following file: SSDT-AWAC.aml Main things to note with this method: Assumes you both have an AWAC clock and it can be easily turned off with the RTC replacing it, this may not always work Doesn't really teach you anything For most, this doesn't matter. But to some knowing what makes your hackintosh tick is part of the journey Wrapping up Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up: Cleanup "},"Universal/awac-methods/manual.html":{"url":"Universal/awac-methods/manual.html","title":"Manual","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Fixing System Clocks: Manual Determining which SSDT you need RTC0 Method Finding the ACPI path Edits to the sample SSDT Compiling the SSDT Wrapping up Determining which SSDT you need Finding which SSDT you need is quite easy actually, first open your decompiled DSDT you got from Dumping the DSDT and Decompiling and Compiling with either maciASL(if in macOS) or any other text editor if in Windows or Linux(VSCode has an ACPI extension that can also help). Next search for ACPI000E. You should get something similar: The above tells us a few things: We in fact do have an AWAC clock If nothing shows up, you don't need to do anything for AWAC or RTC It can be easily disabled with STAS(if not, you can skip to here: RTC0 Method) _STA is the device status, with Zero meaning it won't show up But to double check, next search for PNP0B00: And looks at that, we can in fact disable our AWAC and enable the RTC! If not skip to here: RTC0 Method Now it's as simple as grabbing SSDT-AWAC.dsl and compile, no changes needed You can also use the below SSDT to the same effect: SSDT-AWAC.aml _INI Edge Cases Mainly seen on X299 refresh boards, there's already a Scope (_SB) { Method (_INI... in your DSDT. This means our SSDT-AWAC will conflict with the one found in our DSDT. For these situations, you'll want to remove Method (_INI, 0, NotSerialized) {} from the SSDT. You'll be left this this in the end: DefinitionBlock (\"\", \"SSDT\", 2, \"DRTNIA\", \"AWAC\", 0x00000000) { External (STAS, IntObj) Scope (_SB) { If (_OSI (\"Darwin\")) { STAS = One } } } RTC0 Method This method is for those who either don't have a PNP0B00 device to re-enable or have no easy way(via STAS variable). Finding the ACPI path Assuming you've gotten your DSDT already opened from earlier, search for the following: Finding the LowPinCount path: Search Name (_ADR, 0x001F0000) Finding the PCI path: Search PNP0A08 (If multiple show up, use the first one) You should get something like the following show up: LPC Pathing PCI Pathing From the above, we can see we have both PCI0 and LPC. Now we can head to the next stage Edits to the sample SSDT Now that we have our ACPI path, lets grab our SSDT and get to work: SSDT-RTC0.dsl By default, this uses PCI0.LPCB for the pathing. you'll want to rename accordingly. Following the example from above, we'll be renaming it to PCI0.LPC: Before: External (_SB_.PCI0.LPCB, DeviceObj) Following the example pathing we found, the SSDT should look something like this: After: External (_SB_.PCI0.LPC, DeviceObj) Compiling the SSDT With the SSDT done, you're now ready to compile the SSDT! Wrapping up Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up: Cleanup "},"Universal/nvram.html":{"url":"Universal/nvram.html","title":"NVRAM PMC","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Fixing NVRAM (SSDT-PMC) What this SSDT does Methods to make this SSDT What this SSDT does This SSDT is required for all \"true\" 300 series motherboards(Z370 is excluded), it specifically brings back NVRAM support and requires very little configuration for the end user. B360 B365 H310 H370 Z390 10th gen motherboards do not need this SSDT, NVRAM's native on these platforms. Methods to make this SSDT The main ways to make this SSDT: Prebuilt Manual "},"Universal/nvram-methods/prebuilt.html":{"url":"Universal/nvram-methods/prebuilt.html","title":"Prebuilt","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Fixing NVRAM: Prebuilt By far the easiest method, all you need to do is download the following file: SSDT-PMC.aml Main things to note with this method: Bit Bloated There's ACPI naming for most common paths, this means there's added delays in boot times(though unnoticeable to most as it's generally less than 0.5 seconds longer) Doesn't really teach you anything For most, this doesn't matter. But to some knowing what makes your hackintosh tick is part of the journey Wrapping up Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up: Cleanup "},"Universal/nvram-methods/manual.html":{"url":"Universal/nvram-methods/manual.html","title":"Manual","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Fixing NVRAM: Manual Finding the ACPI path Edits to the sample SSDT Compiling the SSDT Wrapping up Finding the ACPI path Finding the ACPI pathing is quite easy actually, first open your decompiled DSDT you got from Dumping the DSDT and Decompiling and Compiling with either maciASL(if in macOS) or any other text editor if in Windows or Linux(VSCode has an ACPI extension that can also help). Next, search for the following: Finding the LowPinCount path: Search Name (_ADR, 0x001F0000) Finding the PCI path: Search PNP0A08 (If multiple show up, use the first one) You should get something like the following show up: LPC Pathing PCI Pathing Now with the pathing, you can head here: Edits to the sample SSDT Edits to the sample SSDT Now that we have our ACPI path, lets grab our SSDT and get to work: SSDT-PMC.dsl By default, this uses PCI0.LPCB for the pathing. you'll want to rename accordingly. Following the example from above, we'll be renaming it to PCI0.LPC: Before: External (_SB_.PCI0.LPCB, DeviceObj) Following the example pathing we found, the SSDT should look something like this: After: External (_SB_.PCI0.LPC, DeviceObj) Compiling the SSDT With the SSDT done, you're now ready to compile the SSDT! Wrapping up Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up: Cleanup "},"Universal/rhub.html":{"url":"Universal/rhub.html","title":"USB RHUB","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Fixing USB What this SSDT does Methods to make this SSDT What this SSDT does So on 400 series motherboards, certain OEMs have broken the ACPI spec and this results in issues when booting into macOS. To fix this, we'll want to turn off the RHUB device and force macOS to manually rebuild the ports. The following platforms will require fixing: Mobile Icelake(currently Dell and Lenovo are the 2 known with this issue) Asus Z490 (Gigabyte and AsRock users are fine, whether MSI currently this is unknown) Methods to make this SSDT For the RTC fix, there are 2 methods you can choose from: Prebuilt Manual "},"Universal/rhub-methods/prebuilt.html":{"url":"Universal/rhub-methods/prebuilt.html","title":"Prebuilt","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Fixing USB: Prebuilt By far the easiest method, all you need to do is download the following file: SSDT-RHUB.aml Wrapping up Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up: Cleanup "},"Universal/rhub-methods/manual.html":{"url":"Universal/rhub-methods/manual.html","title":"Manual","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Fixing USB: Manual Finding the ACPI path Edits to the sample SSDT Compiling the SSDT Wrapping up Finding the ACPI path Finding the ACPI pathing is quite easy actually, first open your decompiled DSDT you got from Dumping the DSDT and Decompiling and Compiling with either maciASL(if in macOS) or any other text editor if in Windows or Linux(VSCode has an ACPI extension that can also help). Next, search for the Device (RHUB) You should get something like the following show up: From the above, we can see that the full ACPI pathing for RHUB is PCI0.XHC.RHUB. If it's not as clear you can search for what those device paths are for your system: Finding the PCI path: Search PNP0A08 (If multiple show up, use the first one) Finding XHCI path Search for XHC, XHCI and XHC1, and yours is whichever shows up. Now with the pathing, you can head here: Edits to the sample SSDT Edits to the sample SSDT Now that we have our ACPI path, lets grab our SSDT and get to work: SSDT-RHUB.dsl By default, this uses PCI0.XHC_.RHUB for the pathing. you'll want to rename accordingly. Following the example from above, we'll be renaming it to PCI0.XHC1.RHUB: Before: External (_SB_.PCI0.XHC_.RHUB, DeviceObj) Following the example pathing we found, the SSDT should look something like this: After: External (_SB.PCI0.XHC1.RHUB, DeviceObj) Compiling the SSDT With the SSDT done, you're now ready to compile the SSDT! Wrapping up Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up: Cleanup "},"Universal/irq.html":{"url":"Universal/irq.html","title":"IRQ Fix","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Fixing IRQ Conflicts (SSDT-HPET + OC_Patches.plist) So you miss having those fancy hot-patches from Clover like FixIPIC, FixTMR, FixRTC, FixHPET, etc Well 1 very small problem, figuring out IRQ patching is a massive headache. I highly recommend you use SSDTTime. So head over to SSDT: Easy Way on how to make it.(use option C to omit conflicting legacy IRQs) "},"Universal/spoof.html":{"url":"Universal/spoof.html","title":"GPU Spoof","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Renaming GPUs (SSDT-GPU-SPOOF) So this is mainly needed for GPUs that are not natively supported out of the box due to their names, most commonly: R9 290/390 R9 280/380 R7 270/370 R9 260/360 R7 250 R7 240 Instead, these GPUs need to be \"spoofed\" or faked into a model that closely matches theirs, generally this will be the \"X\" variant of the card. For some reason Apple never bothered adding the PCI IDs for these other cards even though their GPU cores are supported by the driver. So to spoof the GPU, we need to find a couple things: Suitable PCI ID for the GPU ACPI Path of the GPU SSDT-GPU-SPOOF Finding a suitable PCI ID To find a suitable PCI ID, we'll be using PCI ID Repository which has a full database of all AMD GPUs. For this example, we'll be creating a Spoof SSDT for the R9 390. For a full list of supported GPUs, please see the GPU Buyers Guide. The closest match to this GPU would be the 390X, and looking on that site near the top gives us this: Vendor 1002 -> Device 1002:67b0 Now lets break this down into a device ID we can use: 1002: The vendor ID, all AMD devices have this ID 67B0: The device ID, this is what we care about So how do we convert this to a fake ID? Well the format of a fake ID: \"device-id\", Buffer (0x04) { 0xB0, 0x67, 0x00, 0x00 }, As you can see, the bytes are swapped in pairs. Keep this in mind when we make our SSDT The specifics are due to Endianness for those who are curious Finding the ACPI Path of the GPU To find the PCI path of a GPU is fairly simple, best way to find it is running Windows: Open Device Manager Select Display Adapters, then right click your GPU and select Properties Under the Details Tab, search for \"Location Paths\" Note some GPUs may be hiding under \"BIOS device name\" The second \"ACPI\" is what we care about: ACPI(_SB_)#ACPI(PC02)#ACPI(BR2A)#ACPI(PEGP)#PCI(0000)#PCI(0000) Now converting this to an ACPI path is quite simple, remove the #ACPI and #PCI(0000): `_SB_.PC02.BR2A.PEGP And voila! We've found our ACPI path, now that we have everything we're ready to get cooking Making the SSDT To start grab our SSDT-GPU-SPOOF and open it up. Here there's a couple things to change: External (_SB_.PCI0, DeviceObj) External (_SB_.PCI0.PEG0.PEGP, DeviceObj) For our example, we'll change all mentions of : PCI0 with PC02 PEG0 with BR2A Hint: If your ACPI path is a bit shorter than the example, this is fine. Just make sure the ACPI paths are correct to your device. Now that the ACPI pathing is correct, we can finally apply our fake ID!!! So the 2 parts we want to change: device ID: \"device-id\", Buffer (0x04) { 0xB0, 0x67, 0x00, 0x00 }, Model: \"model\", Buffer () { \"AMD Radeon R9 390\" } \"device-id\" will be set to our PCI ID that we found in \"Finding a suitable PCI ID\" and \"model\" is mainly cosmetic Now you're ready to compile the SSDT! "},"Universal/smbus.html":{"url":"Universal/smbus.html","title":"Fixing SMBus Support","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Fixing SMBus support (SSDT-SBUS-MCHC) What this SSDT does Methods to make this SSDT What this SSDT does This section of the guide refers to fixing AppleSMBus support in macOS, what is AppleSMBus? Well this mainly handles the System Management Bus, which has many functions like: AppleSMBusController Aids with correct temperature, fan, voltage, ICH, etc readings AppleSMBusPCI Same idea as AppleSMBusController except for low bandwidth PCI devices Memory Reporting Aids in proper memory reporting and can aid in getting better kernel panic details if memory related Other things SMBus does: SMBus wiki For install purposes, this SSDT isn't needed but for post-install it's recommended to put the final touches on your hack. Methods to make this SSDT To make this SSDT, you only got 1 method: Doing it manually Manual "},"Universal/smbus-methods/manual.html":{"url":"Universal/smbus-methods/manual.html","title":"Manual","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Fixing SMBus support: Manual Finding the ACPI path Hackintool DeviceManager Edits to the sample SSDT Compiling the SSDT Wrapping up Finding the ACPI path So to find the ACPI pathing of our SMBus, we've got 2 methods: Hackintool DeviceManager Hackintool To find the correct pathing for your devices, grab Hackintool (Github link) and head to the PCI tab: Look for the SMBus device under Subclass, then look beside and you'll see the ACPI path(under IOReg Name). To convert , omit @... /PC00@0/SMBS@1F,4 -> PC00.SMBS With the ACPI pathing, you can now head here: Edits to the sample SSDT DeviceManager If you already have Windows installed on this machine, finding the SMBus pathing is fairly easy. Start by opening up Device Manager in Windows and looking for a device named SMBUS. Once found, click on it and select the BIOS device Name entry. You should get something like this: From the above example, we can see the SMBus is located at: PC00.SMBS With the ACPI pathing, you can now head here: Edits to the sample SSDT Edits to the sample SSDT Now that we know the ACPI pathing of the SMBus, we can finally start editing the our SSDT. SSDT-SBUS-MCHC.dsl So the important parts we care about are: Before: External (_SB_.PCI0, DeviceObj) Following the example SMBus pathing we found, the SSDT should look something like this: After: External (_SB_.PC00, DeviceObj) Compiling the SSDT With the SSDT done, you're now ready to compile the SSDT! Wrapping up Once you're done making your SSDT, either head to the next page to finish the rest of the SSDTs or head here if you're ready to wrap up: Cleanup Verify it's working Once you've installed macOS, you can actually check whether your SSDT-SBUS-MCHC is working or not in terminal: kextstat | grep -E \"AppleSMBusController|AppleSMBusPCI\" "},"cleanup.html":{"url":"cleanup.html","title":"Cleanup","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Cleanup So you've made all your SSDTs but now there's one thing left: Adding them to Opencore The 2 main locations: EFI/OC/ACPI (Only .aml files, reminder to compile your SSDTs) config.plist -> ACPI -> Add You can save yourself some work with the config.plist by running Cmd/Ctrl+R in ProperTree. Reminder do not add your DSDT.aml to your EFI For those who do not yet have a config.plist, you'll want to next head back to your respective OpenCore guides and create the config.plist: OpenCore Desktop guide OpenCore Laptop Guide Users of FixHPET will also need to merge oc_patches.plist into their config.plist Steps to do this: Open both files, Delete the ACPI -> Patch section from config.plist Copy the ACPI -> Patch section from patches.plist Paste into where old patches were in config.plist "},"troubleshooting.html":{"url":"troubleshooting.html","title":"Troubleshooting","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Troubleshooting Fixing SSDTTime: Could not locate or download iasl! Can't run acpidump.efi iASL warning, # unresolved Decompiling Error Invalid character (0x3D), expecting ASL keyword or name Syntax error, unexpected PARSEOP_ONE, expecting '(' Fixing SSDTTime: Could not locate or download iasl! This is usually due to an outdated version of Python, try either updating Python or add iasl to the scripts folder for SSDTTime: iasl macOS version iasl Windows version iasl Linux version Can't run acpidump.efi from OpenCore Grab OpenShell and add it to EFI/OC/Tools and config.plist -> Misc -> Tools. Next, call upon OpenCore shell and enter the following: shell> fs0: //replace with proper drive fs0:\\> dir //to verify this is the right directory Directory of fs0:\\ 01/01/01 3:30p EFI fs0:\\> cd EFI\\OC\\Tools //note that its with forward slashes fs0:\\EFI\\OC\\Tools> acpidump.efi -b -n DSDT -z iASL warning, # unresolved If you try to decompile your DSDT and get an error similar to this: iASL Warning: There were 19 external control methods found during disassembly, but only 0 were resolved (19 unresolved) This happens when one ACPI table requires the rest for proper referencing, it does not accept the creation of DSDTs as we're only using it for creating a select few SSDTs. For those who are worried, you can run the following: iasl * [insert all ACPI files here] Decompiling Error Loading Acpi table from file iASLAwjHrs.aml Acpi table [DSDT] successfully installed and loaded Pass 1 parse of [DSDT] This is a common error on DSDTs that have methods that aren't supported by maciASL, the easiest way is to delete maciASL and make sure you grab it from Acidanthera's repo: maciASL Invalid character (0x3D), expecting ASL keyword or name Similar to the above error, you're running an outdated copy of maciASL. Make sure you're using the latest from Acidanthera's repo: maciASL Syntax error, unexpected PARSEOP_ONE, expecting '(' Similar to the above 2 errors, you're running an outdated copy of maciASL. Make sure you're using the latest from Acidanthera's repo: maciASL "},"CONTRIBUTING.html":{"url":"CONTRIBUTING.html","title":"Contributing","keywords":"","body":" Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time) Supporting the guides Note: This is a community run guide which is not officially endorsed by Acidanthera. Please do not bug Acidanthera with issues about this guide. Want to help support the guide? Well there's some ways you can help! Contributing via Issues Contributing via PRs Note: For those wanting to contribute financially, we seriously appreciate it but we're a non-profit organization. We do this to teach, not to make money. If you have some money left over we highly recommend donating it to a charity. Crohn's and Colitis Canada is one we recommend if you have none on mind. Contributing via Issues Contributing via Issues is pretty simple but there are some rules: Keep issues tab dedicated to guides issues only, no personal hackintosh issues. It is not a place to discuss installation issues. If for a typo or better clarification, please indicate what page it was on. Would appreciate not going for a scavenger hunt on where these issues are. You can find the issues tab here: Getting Started With ACPI Issues Contributing via PRs Some guidelines when contributing via PRs: Use your brain (please). Proofread your submissions. Pull Requests can be denied if we feel it does not fit or has inaccurate information. We will generally tell you why it is rejected though or ask for revisions. We would also appreciate sources for any bigger commits to make it easier on us to verify the info your provide is valid Images must be hosted locally in the repo under the /images/ folder Your PR must be run through a markdown lint and have all issues fixed. In general, try to avoid using \"non-Acidanthera\" tools when possible. Generally we want to avoid use of third-party tools - though if it's impossible otherwise, then you can link it. Tools explicitly banned: UniBeast, MultiBeast and KextBeast More info can be found here: Tonymacx86-stance Transmac Know for creating borked USB drives Niresh Installers We'd like to avoid piracy with the guides How to Contribute Best way to test your commits and make sure they are formatted correctly is downloading nodejs and getting the gitbook-cli and markdownlint-cli tools. When you run gitbook serve, it will set up a local webserver which you can connect to view the changes you made. markdownlint * will throw any errors at you about formatting as well, and markdownlint -f * will attempt to fix these. Fork this repo Install the required tools: npm install -g markdownlint-cli npm install -g gitbook-cli Make your changes. Build the site: gitbook install (To install all the required gitbook plugins) gitbook serve (Preview the site) Can be found at http://localhost:4000 Check markdown format: markdownlint -f * (To fix any potential issues) Tips Some tools that make contributing a bit easier: Typora for real time markdown rendering. TextMate for easy and powerful mass find/replace. Github Desktop for more user friendly GUI. "}} \ No newline at end of file diff --git a/ssdt-methods/ssdt-easy.html b/ssdt-methods/ssdt-easy.html index b808578..f5be782 100644 --- a/ssdt-methods/ssdt-easy.html +++ b/ssdt-methods/ssdt-easy.html @@ -1,965 +1,64 @@ - - - - - - - SSDTs: Easy Way · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + SSDTs: The easy way | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                                                                      -
                                                                      - - - - - - - - -
                                                                      - -
                                                                      - -
                                                                      - - - - - - - - -
                                                                      -
                                                                      - -
                                                                      -
                                                                      - -
                                                                      - -
                                                                      -

                                                                      Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                                                                      -
                                                                      -

                                                                      SSDTs: The easy way

                                                                      -

                                                                      So here we'll be using a super simple tool made by CorpNewt: SSDTTime

                                                                      -

                                                                      What this tool does is, it dumps your DSDT from your firmware, and then creates SSDTs based off your DSDT. This must be done on the target machine running either Windows or Linux

                                                                      -

                                                                      So what CAN'T SSDTTime do

                                                                      -
                                                                        -
                                                                      • HEDT SSDTs:
                                                                          -
                                                                        • The ACPI is odd on these platforms so manual work is required
                                                                        • -
                                                                        • This includes X79, X99 and X299 systems
                                                                        • -
                                                                        • Prebuilt can be found here: Embedded Controller
                                                                        • -
                                                                        -
                                                                      • -
                                                                      • Laptop EC fix:
                                                                          -
                                                                        • This is because you do not want the EC powered off
                                                                        • -
                                                                        • Prebuilt can be found here: Embedded Controller
                                                                        • -
                                                                        -
                                                                      • -
                                                                      • SSDT-PNLF:
                                                                          -
                                                                        • Need to be configured to your system
                                                                        • -
                                                                        -
                                                                      • -
                                                                      • SSDT-GPI0:
                                                                          -
                                                                        • Need to be configured to your system
                                                                        • -
                                                                        -
                                                                      • -
                                                                      • AWAC and RTC0 SSDTs:
                                                                          -
                                                                        • 300 series Intel boards will also need to figure this out (Z390 systems are most common for requiring this but some Gigabyte Z370 do as well)
                                                                        • -
                                                                        -
                                                                      • -
                                                                      • PMC SSDT:
                                                                          -
                                                                        • For fixing 300 series Intel NVRAM
                                                                        • -
                                                                        • Prebuilt can be found here: NVRAM PMC
                                                                        • -
                                                                        -
                                                                      • -
                                                                      • USBX SSDT:
                                                                          -
                                                                        • This is included on sample SSDTs but SSDTTime only makes the SSDT-EC part, Skylake and newer users can grab a pre-built here: SSDT-USBX.aml
                                                                        • -
                                                                        -
                                                                      • -
                                                                      • RHUB SSDT:
                                                                          -
                                                                        • if you have a 10th gen CPU, you'll need to either use the prebuilt or manually create it.
                                                                        • -
                                                                        -
                                                                      • -
                                                                      -

                                                                      For users who don't have all the options available to them in SSDTTime, you can follow the "SSDTs: The long way" section. You can still use SSDTTime for SSDTs it does support.

                                                                      -

                                                                      Running SSDTTime

                                                                      -

                                                                      Run the SSDTTime.bat file as Admin on the target machine and you should see something like this:

                                                                      -

                                                                      -

                                                                      What are all these options?:

                                                                      -
                                                                        -
                                                                      • 1. FixHPET - Patch out IRQ Conflicts
                                                                          -
                                                                        • IRQ patching, mainly needed for X79, X99 and laptop users(use option C to omit conflicting legacy IRQs)
                                                                        • -
                                                                        -
                                                                      • -
                                                                      • 2. FakeEC - OS-aware Fake EC
                                                                          -
                                                                        • This is the SSDT-EC, required for Catalina users
                                                                        • -
                                                                        -
                                                                      • -
                                                                      • 3. PluginType - Sets plugin-type = 1 on CPU0/PR00
                                                                          -
                                                                        • This is the SSDT-PLUG, for Intel only
                                                                        • -
                                                                        -
                                                                      • -
                                                                      • 4. Dump DSDT - Automatically dump the system DSDT
                                                                          -
                                                                        • Dumps your DSDT from your firmware
                                                                        • -
                                                                        -
                                                                      • -
                                                                      -

                                                                      What we want to do is select option 4. Dump DSDT first, then select the appropriate option(s) for your system.

                                                                      -
                                                                      -

                                                                      What about USBX?

                                                                      -
                                                                      -

                                                                      For Skylake and newer plus AMD, you can grab a pre-built file here: SSDT-USBX.aml. This file is plug and play and requires no device configuration, do not use on Broadwell and older.

                                                                      -

                                                                      Troubleshooting note: See General Troubleshooting if you're having issues running SSDTTime

                                                                      -

                                                                      Adding to OpenCore

                                                                      -

                                                                      Don't forget that SSDTs need to be added to Opencore, reminder that .aml is complied, .dsl is code. Add only the .aml file:

                                                                      -
                                                                        -
                                                                      • EFI/OC/ACPI
                                                                      • -
                                                                      • config.plist -> ACPI -> Add
                                                                      • -
                                                                      -

                                                                      Reminder that Cmd/Crtl+R with ProperTree pointed at your OC folder will add all your SSDTs, kexts and .efi drivers to the config for you. Do not add your DSDT to OpenCore, its already in your firmware. If you are unsure what this is referring to, go back to the OpenCore guide and select your config based of the architecture of your CPU.

                                                                      -

                                                                      For those who do not yet have a config.plist, you'll want to next head back to your respective OpenCore guides and create the config.plist:

                                                                      - -

                                                                      Users of FixHPET will also need to merge oc_patches.plist into their config.plist

                                                                      -

                                                                      Steps to do this:

                                                                      -
                                                                        -
                                                                      • Open both files,
                                                                      • -
                                                                      • Delete the ACPI -> Patch section from config.plist
                                                                      • -
                                                                      • Copy the ACPI -> Patch section from patches.plist
                                                                      • -
                                                                      • Paste into where old patches were in config.plist
                                                                      • -
                                                                      - - -
                                                                      - -
                                                                      -
                                                                      -
                                                                      - -

                                                                      results matching ""

                                                                      -
                                                                        - -
                                                                        -
                                                                        - -

                                                                        No results matching ""

                                                                        - -
                                                                        -
                                                                        -
                                                                        - -
                                                                        -
                                                                        - -
                                                                        - - - - - - - - - - - - - - -
                                                                        - - -
                                                                        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +

                                                                        # SSDTs: The easy way

                                                                        So here we'll be using a super simple tool made by CorpNewt: SSDTTime

                                                                        What this tool does is, it dumps your DSDT from your firmware, and then creates SSDTs based off your DSDT. This must be done on the target machine running either Windows or Linux

                                                                        # So what CAN'T SSDTTime do

                                                                        • HEDT SSDTs: +
                                                                          • The ACPI is odd on these platforms so manual work is required
                                                                          • This includes X79, X99 and X299 systems
                                                                          • Prebuilt can be found here: Embedded Controller
                                                                        • Laptop EC fix: +
                                                                          • This is because you do not want the EC powered off
                                                                          • Prebuilt can be found here: Embedded Controller
                                                                        • SSDT-PNLF: +
                                                                          • Need to be configured to your system
                                                                        • SSDT-GPI0: +
                                                                          • Need to be configured to your system
                                                                        • AWAC and RTC0 SSDTs: +
                                                                          • 300 series Intel boards will also need to figure this out (Z390 systems are most common for requiring this but some Gigabyte Z370 do as well)
                                                                        • PMC SSDT: +
                                                                          • For fixing 300 series Intel NVRAM
                                                                          • Prebuilt can be found here: NVRAM PMC
                                                                        • USBX SSDT: +
                                                                          • This is included on sample SSDTs but SSDTTime only makes the SSDT-EC part, Skylake and newer users can grab a pre-built here: SSDT-USBX.aml
                                                                        • RHUB SSDT: +
                                                                          • if you have a 10th gen CPU, you'll need to either use the prebuilt or manually create it.

                                                                        For users who don't have all the options available to them in SSDTTime, you can follow the "SSDTs: The long way" section. You can still use SSDTTime for SSDTs it does support.

                                                                        # Running SSDTTime

                                                                        Run the SSDTTime.bat file as Admin on the target machine and you should see something like this:

                                                                        What are all these options?:

                                                                        • 1. FixHPET - Patch out IRQ Conflicts
                                                                          • IRQ patching, mainly needed for X79, X99 and laptop users(use option C to omit conflicting legacy IRQs)
                                                                        • 2. FakeEC - OS-aware Fake EC
                                                                          • This is the SSDT-EC, required for Catalina users
                                                                        • 3. PluginType - Sets plugin-type = 1 on CPU0/PR00
                                                                          • This is the SSDT-PLUG, for Intel only
                                                                        • 4. Dump DSDT - Automatically dump the system DSDT
                                                                          • Dumps your DSDT from your firmware

                                                                        What we want to do is select option 4. Dump DSDT first, then select the appropriate option(s) for your system.

                                                                        What about USBX?

                                                                        For Skylake and newer plus AMD, you can grab a pre-built file here: SSDT-USBX.aml. This file is plug and play and requires no device configuration, do not use on Broadwell and older.

                                                                        Troubleshooting note: See General Troubleshooting if you're having issues running SSDTTime

                                                                        # Adding to OpenCore

                                                                        Don't forget that SSDTs need to be added to Opencore, reminder that .aml is complied, .dsl is code. Add only the .aml file:

                                                                        • EFI/OC/ACPI
                                                                        • config.plist -> ACPI -> Add

                                                                        Reminder that Cmd/Crtl+R with ProperTree pointed at your OC folder will add all your SSDTs, kexts and .efi drivers to the config for you. Do not add your DSDT to OpenCore, its already in your firmware. If you are unsure what this is referring to, go back to the OpenCore guide and select your config based of the architecture of your CPU.

                                                                        For those who do not yet have a config.plist, you'll want to next head back to your respective OpenCore guides and create the config.plist:

                                                                        Users of FixHPET will also need to merge oc_patches.plist into their config.plist

                                                                        Steps to do this:

                                                                        • Open both files,
                                                                        • Delete the ACPI -> Patch section from config.plist
                                                                        • Copy the ACPI -> Patch section from patches.plist
                                                                        • Paste into where old patches were in config.plist
                                                                        Last Updated: 7/17/2020, 11:04:23 PM
                                                                        + + - diff --git a/ssdt-methods/ssdt-long.html b/ssdt-methods/ssdt-long.html index 3f2b00c..2439560 100644 --- a/ssdt-methods/ssdt-long.html +++ b/ssdt-methods/ssdt-long.html @@ -1,883 +1,56 @@ - - - - - - - SSDTs: Long Way · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + SSDTs: The long way | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                                                                        -
                                                                        - - - - - - - - -
                                                                        - -
                                                                        - -
                                                                        - - - - - - - - -
                                                                        -
                                                                        - -
                                                                        -
                                                                        - -
                                                                        - -
                                                                        -

                                                                        Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                                                                        -
                                                                        -

                                                                        SSDTs: The long way

                                                                        -

                                                                        Well sadly some things are not handled by SSDTTime, well have no fear as making SSDTs is super easy. The basic process:

                                                                        -
                                                                          -
                                                                        • Dump DSDT(the one SSDTTime did for use will work)
                                                                        • -
                                                                        • Decompile DSDT
                                                                        • -
                                                                        • Make SSDTs based of of it(You'll need either MaciASL or a text editor for this)
                                                                        • -
                                                                        • Compile SSDTs
                                                                        • -
                                                                        -

                                                                        Now continue forth and master the ways of ACPI!

                                                                        - - -
                                                                        - -
                                                                        -
                                                                        -
                                                                        - -

                                                                        results matching ""

                                                                        -
                                                                          - -
                                                                          -
                                                                          - -

                                                                          No results matching ""

                                                                          - -
                                                                          -
                                                                          -
                                                                          - -
                                                                          -
                                                                          - -
                                                                          - - - - - - - - - - - - - - -
                                                                          - - -
                                                                          - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +

                                                                          # SSDTs: The long way

                                                                          Well sadly some things are not handled by SSDTTime, well have no fear as making SSDTs is super easy. The basic process:

                                                                          • Dump DSDT(the one SSDTTime did for use will work)
                                                                          • Decompile DSDT
                                                                          • Make SSDTs based of of it(You'll need either MaciASL or a text editor for this)
                                                                          • Compile SSDTs

                                                                          Now continue forth and master the ways of ACPI!

                                                                          Last Updated: 5/16/2020, 5:36:31 PM
                                                                          + + - diff --git a/ssdt-methods/ssdt-methods.html b/ssdt-methods/ssdt-methods.html index 4a7da8d..36ef580 100644 --- a/ssdt-methods/ssdt-methods.html +++ b/ssdt-methods/ssdt-methods.html @@ -1,890 +1,59 @@ - - - - - - - How to create SSDTs · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + How to create SSDTs | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                                                                          -
                                                                          - - - - - - - - -
                                                                          - -
                                                                          - -
                                                                          - - - - - - - - -
                                                                          -
                                                                          - -
                                                                          -
                                                                          - -
                                                                          - -
                                                                          -

                                                                          Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                                                                          -
                                                                          -

                                                                          How to create SSDTs

                                                                          -

                                                                          Creating SSDTs mainly fall into 3 camps:

                                                                          -
                                                                            -
                                                                          • Prebuilt SSDTs
                                                                              -
                                                                            • They work but not perfect
                                                                            • -
                                                                            -
                                                                          • -
                                                                          • Automated tools
                                                                              -
                                                                            • Mainly seen with SSDTTime, work much better though can't cover all situations
                                                                            • -
                                                                            -
                                                                          • -
                                                                          • Manually creating them
                                                                              -
                                                                            • Will always work, be much cleaner and get to learn about the process
                                                                            • -
                                                                            -
                                                                          • -
                                                                          - - -
                                                                          - -
                                                                          -
                                                                          -
                                                                          - -

                                                                          results matching ""

                                                                          -
                                                                            - -
                                                                            -
                                                                            - -

                                                                            No results matching ""

                                                                            - -
                                                                            -
                                                                            -
                                                                            - -
                                                                            -
                                                                            - -
                                                                            - - - - - - - - - - - - - - -
                                                                            - - -
                                                                            - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + - diff --git a/ssdt-methods/ssdt-prebuilt.html b/ssdt-methods/ssdt-prebuilt.html index e2a1e81..1a18fee 100644 --- a/ssdt-methods/ssdt-prebuilt.html +++ b/ssdt-methods/ssdt-prebuilt.html @@ -1,1016 +1,59 @@ - - - - - - - SSDTs: Prebuilt · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Pre-Built SSDTs | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                                                                            -
                                                                            - - - - - - - - -
                                                                            - -
                                                                            - -
                                                                            - - - - - - - - -
                                                                            -
                                                                            - -
                                                                            -
                                                                            - -
                                                                            - -
                                                                            -

                                                                            Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                                                                            -
                                                                            -

                                                                            Pre-Built SSDTs

                                                                            - -

                                                                            This is mainly for users who are having troubles either compiling, decompiling or understanding the overal process of ACPI. The main reasons you'd want to avoid is for the following:

                                                                            -
                                                                              -
                                                                            • Slowing down the boot process
                                                                                -
                                                                              • Mainly because these SSDTs have to go through every possible pathing
                                                                              • -
                                                                              • Fun fact: the prebuilt SSDT-EC-DESKTOP is 42 times larger than making the file yourself
                                                                              • -
                                                                              -
                                                                            • -
                                                                            • Doesn't always work
                                                                                -
                                                                              • The SSDTs provided can only handle so many situations, and some may in fact not work
                                                                              • -
                                                                              • Mainly seen with SSDT-AWAC, as it assumes there is a way the RTC can be easily enabled
                                                                              • -
                                                                              -
                                                                            • -
                                                                            • Teaches nothing
                                                                                -
                                                                              • This is the biggest issue as you have no real idea on how to troubleshoot or how to make these files down the line
                                                                              • -
                                                                              -
                                                                            • -
                                                                            -

                                                                            Please refer to Choosing the SSDTs page for which your system needs.

                                                                            -

                                                                            Power Management

                                                                            -

                                                                            For Haswell and newer:

                                                                            - -

                                                                            For Ivy Bridge and older, see the Optimizing Power Management page. This will be done after install. AMD CPU users do not need any SSDTs for power management.

                                                                            -

                                                                            Embedded Controllers

                                                                            -

                                                                            For desktops:

                                                                            - -

                                                                            For laptops:

                                                                            - -

                                                                            Trackpad

                                                                            -

                                                                            Used for enabling Windows only features in macOS, do note that the below patches will more than likely break Windows booting via OpenCore. I highly encourage you to make one yourself to prevent any issues down the line: Trackpad GPI0

                                                                            - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                                                            CommentStringChange _OSI to XOSI
                                                                            EnabledBooleanYES
                                                                            CountNumber0
                                                                            LimitNumber0
                                                                            FindData5f4f5349
                                                                            ReplaceData584f5349
                                                                            -

                                                                            Backlight

                                                                            -

                                                                            For laptops and all-in-one desktops, fixies brightness control support

                                                                            - -

                                                                            System Clock(AWAC)

                                                                            -

                                                                            Mainly needed for newer systems running AWAC based system clocks, mainly relavant for Z390 and newer(Gigabyte and AsRock however did backport it to Z370 with a BIOS update)

                                                                            - -

                                                                            The biggest issue with this prebuilt is that we're just guessing you both have an AWAC clock and that it can be turned off, I highly encourage you to make one yourself to really know whether you both need this and if it's going to work: AWAC vs RTC

                                                                            -

                                                                            NVRAM(PMC)

                                                                            -

                                                                            Needed to bring back NVRAM support for Z390 and newer, DO NOT USE ON Z370 or older

                                                                            -

                                                                            Note: Desktop Z490 boards seem to not need this, though if you're having NVRAM issues you can try this SSDT.

                                                                            - -

                                                                            Reminder only the following need this SSDT:

                                                                            -
                                                                              -
                                                                            • B360
                                                                            • -
                                                                            • B365
                                                                            • -
                                                                            • H310
                                                                            • -
                                                                            • H370
                                                                            • -
                                                                            • Z390
                                                                            • -
                                                                            • 400 series (Comet Lake)
                                                                            • -
                                                                            • 495 series (Icelake)
                                                                            • -
                                                                            -

                                                                            USB(RHUB)

                                                                            -

                                                                            Needed for 10th gen CPUs, Gigabyte and AsRock motherboards don't need this

                                                                            - - - -
                                                                            - -
                                                                            -
                                                                            -
                                                                            - -

                                                                            results matching ""

                                                                            -
                                                                              - -
                                                                              -
                                                                              - -

                                                                              No results matching ""

                                                                              - -
                                                                              -
                                                                              -
                                                                              - -
                                                                              -
                                                                              - -
                                                                              - - - - - - - - - - - - - - -
                                                                              - - -
                                                                              - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +

                                                                              # Pre-Built SSDTs

                                                                              This is mainly for users who are having troubles either compiling, decompiling or understanding the overal process of ACPI. The main reasons you'd want to avoid is for the following:

                                                                              • Slowing down the boot process +
                                                                                • Mainly because these SSDTs have to go through every possible pathing
                                                                                • Fun fact: the prebuilt SSDT-EC-DESKTOP is 42 times larger than making the file yourself
                                                                              • Doesn't always work +
                                                                                • The SSDTs provided can only handle so many situations, and some may in fact not work
                                                                                • Mainly seen with SSDT-AWAC, as it assumes there is a way the RTC can be easily enabled
                                                                              • Teaches nothing +
                                                                                • This is the biggest issue as you have no real idea on how to troubleshoot or how to make these files down the line

                                                                              Please refer to Choosing the SSDTs page for which your system needs.

                                                                              # Power Management

                                                                              For Haswell and newer:

                                                                              For Ivy Bridge and older, see the Optimizing Power Management page. This will be done after install. AMD CPU users do not need any SSDTs for power management.

                                                                              # Embedded Controllers

                                                                              For desktops:

                                                                              For laptops:

                                                                              # Trackpad

                                                                              Used for enabling Windows only features in macOS, do note that the below patches will more than likely break Windows booting via OpenCore. I highly encourage you to make one yourself to prevent any issues down the line: Trackpad GPI0

                                                                              Comment String Change _OSI to XOSI
                                                                              Enabled Boolean YES
                                                                              Count Number 0
                                                                              Limit Number 0
                                                                              Find Data 5f4f5349
                                                                              Replace Data 584f5349

                                                                              # Backlight

                                                                              For laptops and all-in-one desktops, fixies brightness control support

                                                                              # System Clock(AWAC)

                                                                              Mainly needed for newer systems running AWAC based system clocks, mainly relavant for Z390 and newer(Gigabyte and AsRock however did backport it to Z370 with a BIOS update)

                                                                              The biggest issue with this prebuilt is that we're just guessing you both have an AWAC clock and that it can be turned off, I highly encourage you to make one yourself to really know whether you both need this and if it's going to work: AWAC vs RTC

                                                                              # NVRAM(PMC)

                                                                              Needed to bring back NVRAM support for Z390 and newer, DO NOT USE ON Z370 or older

                                                                              Note: Desktop Z490 boards seem to not need this, though if you're having NVRAM issues you can try this SSDT.

                                                                              Reminder only the following need this SSDT:

                                                                              • B360
                                                                              • B365
                                                                              • H310
                                                                              • H370
                                                                              • Z390
                                                                              • 400 series (Comet Lake)
                                                                              • 495 series (Icelake)

                                                                              # USB(RHUB)

                                                                              Needed for 10th gen CPUs, Gigabyte and AsRock motherboards don't need this

                                                                              Last Updated: 7/17/2020, 11:01:05 PM
                                                                              + + - diff --git a/ssdt-platform.html b/ssdt-platform.html index 28abb7d..4914501 100644 --- a/ssdt-platform.html +++ b/ssdt-platform.html @@ -1,1095 +1,56 @@ - - - - - - - Choosing the SSDTs · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + What SSDTs do each platform need | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                                                                              -
                                                                              - - - - - - - - -
                                                                              - -
                                                                              - -
                                                                              - - - - - - - - -
                                                                              -
                                                                              - -
                                                                              -
                                                                              - -
                                                                              - -
                                                                              -

                                                                              Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                                                                              -
                                                                              -

                                                                              What SSDTs do each platform need

                                                                              -

                                                                              Please see the specific ACPI section of your config.plist, all SSDTs needed are covered there with a brief explainer. But here's a very quick TL;DR:

                                                                              - -

                                                                              Desktop

                                                                              - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                                                              PlatformsCPUECAWACNVRAMUSB
                                                                              Ivy BridgeCPU-PM (Run in Post-Install)SSDT-ECN/AN/AN/A
                                                                              Ivy Bridge-E
                                                                              Haswell/BroadwellSSDT-PLUG
                                                                              Haswell-E
                                                                              Broadwell-E
                                                                              SkylakeSSDT-EC-USBX
                                                                              Skylake-X
                                                                              Kabylake
                                                                              CoffeeLakeSSDT-AWACSSDT-PMC
                                                                              CometLakeSSDT-RHUB
                                                                              AMD (15/16/17h)N/AN/AN/AN/A
                                                                              -

                                                                              Laptop

                                                                              - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                                                              PlatformsCPUECBacklightI2C TrackpadAWACUSBIRQ
                                                                              Ivy BridgeCPU-PM (Run in Post-Install)SSDT-ECSSDT-PNLFSSDT-GPI0N/AN/AIRQ SSDT
                                                                              HaswellSSDT-PLUG
                                                                              Broadwell
                                                                              SkylakeSSDT-EC-USBXN/A
                                                                              KabyLake
                                                                              CoffeeLake (8th Gen)SSDT-PNLF-CFL
                                                                              CoffeeLake (9th Gen)SSDT-AWAC
                                                                              CometLake
                                                                              IceLakeSSDT-RHUB
                                                                              -

                                                                              SSDT Creation

                                                                              - - -
                                                                              - -
                                                                              -
                                                                              -
                                                                              - -

                                                                              results matching ""

                                                                              -
                                                                                - -
                                                                                -
                                                                                - -

                                                                                No results matching ""

                                                                                - -
                                                                                -
                                                                                -
                                                                                - -
                                                                                -
                                                                                - -
                                                                                - - - - - - - - - - - - - - -
                                                                                - - -
                                                                                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +

                                                                                # What SSDTs do each platform need

                                                                                Please see the specific ACPI section of your config.plist, all SSDTs needed are covered there with a brief explainer. But here's a very quick TL;DR:

                                                                                # Desktop

                                                                                Platforms CPU EC AWAC NVRAM USB
                                                                                SandyBridge CPU-PM (Run in Post-Install) SSDT-EC N/A N/A N/A
                                                                                Ivy Bridge N/A N/A N/A
                                                                                Haswell SSDT-PLUG
                                                                                Broadwell
                                                                                Skylake SSDT-EC-USBX
                                                                                Kaby Lake
                                                                                Coffee Lake SSDT-AWAC SSDT-PMC
                                                                                Comet Lake SSDT-RHUB
                                                                                AMD (15/16/17h) N/A N/A N/A N/A

                                                                                # High End Desktop

                                                                                Platforms CPU EC AWAC
                                                                                Ivy Bridge-E SSDT-PLUG SSDT-EC N/A
                                                                                Haswell-E SSDT-EC-USBX
                                                                                Broadwell-E
                                                                                Skylake-X SSDT-AWAC

                                                                                # Laptop

                                                                                Platforms CPU EC Backlight I2C Trackpad AWAC USB IRQ
                                                                                SandyBridge CPU-PM (Run in Post-Install) SSDT-EC SSDT-PNLF SSDT-GPI0 N/A N/A IRQ SSDT
                                                                                Ivy Bridge
                                                                                Haswell SSDT-PLUG
                                                                                Broadwell
                                                                                Skylake SSDT-EC-USBX N/A
                                                                                Kaby Lake
                                                                                Coffee Lake (8th Gen) SSDT-PNLF-CFL
                                                                                Coffee Lake (9th Gen) SSDT-AWAC
                                                                                Comet Lake
                                                                                Ice Lake SSDT-RHUB

                                                                                # SSDT Creation

                                                                                Last Updated: 7/17/2020, 11:01:05 PM
                                                                                + + - diff --git a/styles/website.css b/styles/website.css deleted file mode 100644 index 2ac4460..0000000 --- a/styles/website.css +++ /dev/null @@ -1,74 +0,0 @@ -/* -.book-body { - background: #220036; -} - -.markdown-section { - color: #17154D; -} -*/ - -/* .color-theme-2 #book-search-input { - color: #f4f4f5; - background-color: #252737; -} - -.color-theme-2 .search-results-item { - color: #bdcadb !important; -} */ - -@import url('https://fonts.googleapis.com/css?family=Anonymous+Pro|Roboto&display=swap'); - -.color-theme-2 .dropdown-menu { - background-color: #363b40; -} - -.color-theme-2 .dropdown-menu .dropdown-caret .caret-inner { - border-bottom: 9px solid #363b40; -} - -.book.color-theme-2 .book-body { - color: #ccc; - background: #2d3033; -} - -.book.color-theme-2 .book-body .page-wrapper .page-inner section { - background: #2d3033; -} - -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal { - color: #ccc; -} - -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal code { - background: #363b40; - border-color: #363b40; -} - -.book.color-theme-2 .book-body .page-wrapper .page-inner section.normal table tr { - background-color: #363b40; -} - -.book.color-theme-2 .book-header h1 { - color: #ccc; -} - -.book.color-theme-2 .book-summary { - background: #363b40; -} - -.book.font-family-1, .book.font-family-1 .book-summary { - font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Roboto", Helvetica, Arial, sans-serif; -} - -.book.font-family-1 h1, .book.font-family-1 h2, .book.font-family-1 h3 { - font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Roboto", Helvetica, Arial, sans-serif; -} - -.markdown-section code, .markdown-section pre { - font-family: "SF Mono", "Anonymous Pro", Consolas, "Liberation Mono", Menlo, Courier, monospace; -} - -.gitbook-link { - display: none !important -} \ No newline at end of file diff --git a/images/troubleshooting-md/decompile-error.png b/troubleshooting-md/decompile-error.png similarity index 100% rename from images/troubleshooting-md/decompile-error.png rename to troubleshooting-md/decompile-error.png diff --git a/images/troubleshooting-md/invalid-parse.png b/troubleshooting-md/invalid-parse.png similarity index 100% rename from images/troubleshooting-md/invalid-parse.png rename to troubleshooting-md/invalid-parse.png diff --git a/troubleshooting.html b/troubleshooting.html index c41acda..2567996 100644 --- a/troubleshooting.html +++ b/troubleshooting.html @@ -1,810 +1,48 @@ - - - - - - - Troubleshooting · GitBook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + Troubleshooting | Getting Started With ACPI + + + + - - - - - - - - - - - - - - - - -
                                                                                -
                                                                                - - - - - - - - -
                                                                                - -
                                                                                - -
                                                                                - - - - - - - - -
                                                                                -
                                                                                - -
                                                                                -
                                                                                - -
                                                                                - -
                                                                                -

                                                                                Last modified: Sun Jul 12 2020 22:20:55 GMT+0000 (Coordinated Universal Time)

                                                                                -
                                                                                -

                                                                                Troubleshooting

                                                                                - -

                                                                                Fixing SSDTTime: Could not locate or download iasl!

                                                                                -

                                                                                This is usually due to an outdated version of Python, try either updating Python or add iasl to the scripts folder for SSDTTime:

                                                                                - -

                                                                                Can't run acpidump.efi from OpenCore

                                                                                -

                                                                                Grab OpenShell and add it to EFI/OC/Tools and config.plist -> Misc -> Tools.

                                                                                -

                                                                                Next, call upon OpenCore shell and enter the following:

                                                                                -
                                                                                shell> fs0: //replace with proper drive
                                                                                +    
                                                                                +    
                                                                                +  
                                                                                +  
                                                                                +    

                                                                                # Troubleshooting

                                                                                # Fixing SSDTTime: Could not locate or download iasl!

                                                                                This is usually due to an outdated version of Python, try either updating Python or add iasl to the scripts folder for SSDTTime:

                                                                                # Can't run acpidump.efi from OpenCore

                                                                                Grab OpenShell and add it to EFI/OC/Tools and config.plist -> Misc -> Tools.

                                                                                Next, call upon OpenCore shell and enter the following:

                                                                                shell> fs0: //replace with proper drive
                                                                                 
                                                                                 fs0:\> dir //to verify this is the right directory
                                                                                 
                                                                                @@ -815,111 +53,20 @@ fs0:\> dir //to verify this is the right directory
                                                                                 fs0:\> cd EFI\OC\Tools //note that its with forward slashes
                                                                                 
                                                                                 fs0:\EFI\OC\Tools> acpidump.efi -b -n DSDT -z
                                                                                -
                                                                                -

                                                                                iASL warning, # unresolved

                                                                                -

                                                                                If you try to decompile your DSDT and get an error similar to this:

                                                                                -
                                                                                iASL Warning: There were 19 external control methods found during disassembly, but only 0 were resolved (19 unresolved)
                                                                                -
                                                                                -

                                                                                This happens when one ACPI table requires the rest for proper referencing, it does not accept the creation of DSDTs as we're only using it for creating a select few SSDTs. For those who are worried, you can run the following:

                                                                                -
                                                                                iasl * [insert all ACPI files here]
                                                                                -
                                                                                -

                                                                                Decompiling Error

                                                                                -

                                                                                -
                                                                                Loading Acpi table from file iASLAwjHrs.aml
                                                                                +

                                                                                # iASL warning, # unresolved

                                                                                If you try to decompile your DSDT and get an error similar to this:

                                                                                iASL Warning: There were 19 external control methods found during disassembly, but only 0 were resolved (19 unresolved)
                                                                                +

                                                                                This happens when one ACPI table requires the rest for proper referencing, it does not accept the creation of DSDTs as we're only using it for creating a select few SSDTs. For those who are worried, you can run the following:

                                                                                iasl * [insert all ACPI files here]
                                                                                +

                                                                                # Decompiling Error

                                                                                Loading Acpi table from file iASLAwjHrs.aml
                                                                                 Acpi table [DSDT] successfully installed and loaded
                                                                                 Pass 1 parse of [DSDT]
                                                                                -
                                                                                -

                                                                                This is a common error on DSDTs that have methods that aren't supported by maciASL, the easiest way is to delete maciASL and make sure you grab it from Acidanthera's repo: maciASL

                                                                                -

                                                                                Invalid character (0x3D), expecting ASL keyword or name

                                                                                -

                                                                                -

                                                                                Similar to the above error, you're running an outdated copy of maciASL. Make sure you're using the latest from Acidanthera's repo: maciASL

                                                                                -

                                                                                Syntax error, unexpected PARSEOP_ONE, expecting '('

                                                                                -

                                                                                -

                                                                                Similar to the above 2 errors, you're running an outdated copy of maciASL. Make sure you're using the latest from Acidanthera's repo: maciASL

                                                                                - - -
                                                                                - -
                                                                                -
                                                                                -
                                                                                - -

                                                                                results matching ""

                                                                                -
                                                                                  - -
                                                                                  -
                                                                                  - -

                                                                                  No results matching ""

                                                                                  - -
                                                                                  -
                                                                                  -
                                                                                  - -
                                                                                  -
                                                                                  - -
                                                                                  - - - - - - - - - - - - - - -
                                                                                  - - -
                                                                                  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +

                                                                                  This is a common error on DSDTs that have methods that aren't supported by maciASL, the easiest way is to delete maciASL and make sure you grab it from Acidanthera's repo: maciASL

                                                                                  # Invalid character (0x3D), expecting ASL keyword or name

                                                                                  Similar to the above error, you're running an outdated copy of maciASL. Make sure you're using the latest from Acidanthera's repo: maciASL

                                                                                  # Syntax error, unexpected PARSEOP_ONE, expecting '('

                                                                                  Similar to the above 2 errors, you're running an outdated copy of maciASL. Make sure you're using the latest from Acidanthera's repo: maciASL

                                                                                  Last Updated: 7/17/2020, 9:01:14 PM
                                                                                  + + -