Deploy dortania/Getting-Started-With-ACPI to github.com/dortania/Getting-Started-With-ACPI.git:gh-pages

This commit is contained in:
Travis Build Bot (from Travis CI)
2020-05-31 05:56:44 +00:00
parent 44856a53ac
commit ab9efb24a8
68 changed files with 18589 additions and 742 deletions

View File

@@ -71,10 +71,10 @@
<link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">
<link rel="next" href="awac.html" />
<link rel="next" href="plug-methods/prebuilt.html" />
<link rel="prev" href="ec-fix.html" />
<link rel="prev" href="ec-methods/manual.html" />
<style>
@@ -276,6 +276,38 @@
<ul class="articles">
<li class="chapter " data-level="5.1.1" data-path="../Laptops/backlight-methods/prebuilt.html">
<a href="../Laptops/backlight-methods/prebuilt.html">
Prebuilt
</a>
</li>
<li class="chapter " data-level="5.1.2" data-path="../Laptops/backlight-methods/manual.html">
<a href="../Laptops/backlight-methods/manual.html">
Manual
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="5.2" data-path="../Laptops/trackpad.html">
@@ -289,6 +321,38 @@
<ul class="articles">
<li class="chapter " data-level="5.2.1" data-path="../Laptops/trackpad-methods/prebuilt.html">
<a href="../Laptops/trackpad-methods/prebuilt.html">
Prebuilt
</a>
</li>
<li class="chapter " data-level="5.2.2" data-path="../Laptops/trackpad-methods/manual.html">
<a href="../Laptops/trackpad-methods/manual.html">
Manual
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="5.3" data-path="../Laptops/laptop-disable.html">
@@ -322,6 +386,51 @@
<ul class="articles">
<li class="chapter " data-level="6.1.1" data-path="ec-methods/prebuilt.html">
<a href="ec-methods/prebuilt.html">
Prebuilt
</a>
</li>
<li class="chapter " data-level="6.1.2" data-path="ec-methods/ssdttime.html">
<a href="ec-methods/ssdttime.html">
SSDTTime
</a>
</li>
<li class="chapter " data-level="6.1.3" data-path="ec-methods/manual.html">
<a href="ec-methods/manual.html">
Manual
</a>
</li>
</ul>
</li>
<li class="chapter active" data-level="6.2" data-path="plug.html">
@@ -335,6 +444,51 @@
<ul class="articles">
<li class="chapter " data-level="6.2.1" data-path="plug-methods/prebuilt.html">
<a href="plug-methods/prebuilt.html">
Prebuilt
</a>
</li>
<li class="chapter " data-level="6.2.2" data-path="plug-methods/ssdttime.html">
<a href="plug-methods/ssdttime.html">
SSDTTime
</a>
</li>
<li class="chapter " data-level="6.2.3" data-path="plug-methods/manual.html">
<a href="plug-methods/manual.html">
Manual
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="6.3" data-path="awac.html">
@@ -348,6 +502,38 @@
<ul class="articles">
<li class="chapter " data-level="6.3.1" data-path="awac-methods/prebuilt.html">
<a href="awac-methods/prebuilt.html">
Prebuilt
</a>
</li>
<li class="chapter " data-level="6.3.2" data-path="awac-methods/manual.html">
<a href="awac-methods/manual.html">
Manual
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="6.4" data-path="nvram.html">
@@ -361,6 +547,38 @@
<ul class="articles">
<li class="chapter " data-level="6.4.1" data-path="nvram-methods/prebuilt.html">
<a href="nvram-methods/prebuilt.html">
Prebuilt
</a>
</li>
<li class="chapter " data-level="6.4.2" data-path="nvram-methods/manual.html">
<a href="nvram-methods/manual.html">
Manual
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="6.5" data-path="irq.html">
@@ -400,6 +618,25 @@
<ul class="articles">
<li class="chapter " data-level="6.7.1" data-path="smbus-methods/manual.html">
<a href="smbus-methods/manual.html">
Manual
</a>
</li>
</ul>
</li>
@@ -501,45 +738,26 @@
<section class="normal markdown-section">
<blockquote>
<p><em>Last modified: Fri May 29 2020 01:27:44 GMT+0000 (Coordinated Universal Time)</em></p>
<p><em>Last modified: Sun May 31 2020 05:55:38 GMT+0000 (Coordinated Universal Time)</em></p>
</blockquote>
<h1 id="fixing-power-management"><a name="fixing-power-management" class="plugin-anchor" href="#fixing-power-management"><i class="fa fa-link" aria-hidden="true"></i></a>Fixing Power Management</h1>
<h2 id="easy-way"><a name="easy-way" class="plugin-anchor" href="#easy-way"><i class="fa fa-link" aria-hidden="true"></i></a>Easy Way</h2>
<p>With CPU Power Management, it&apos;s a simple as taking <a href="https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/AcpiSamples/SSDT-PLUG.dsl" target="_blank">SSDT-PLUG</a> provided by Acidanthera and compiling it yourself. You can find a prebuilt of the file here: <a href="https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/compiled/SSDT-PLUG-DRTNIA.aml" target="_blank">SSDT-PLUG-DRTNIA.aml</a></p>
<h1 id="fixing-power-management-ssdt-plug"><a name="fixing-power-management-ssdt-plug" class="plugin-anchor" href="#fixing-power-management-ssdt-plug"><i class="fa fa-link" aria-hidden="true"></i></a>Fixing Power Management (SSDT-PLUG)</h1>
<ul>
<li>Note: This file has a bit of extra bloat as it includes checks for all common CPU names, if you wish to clean this up, either remove unused names or follow the guide below.</li>
<li><a href="#what-this-ssdt-does">What this SSDT does</a></li>
<li><a href="#methods-to-make-this-ssdt">Methods to make this SSDT</a></li>
</ul>
<h2 id="long-wayfor-those-who-want-to-learn"><a name="long-wayfor-those-who-want-to-learn" class="plugin-anchor" href="#long-wayfor-those-who-want-to-learn"><i class="fa fa-link" aria-hidden="true"></i></a>Long Way(For those who want to learn)</h2>
<p>CPU naming is fairly easy to figure out as well, open your decompiled DSDT and search for <code>Processor</code>. This should give you a result like this:</p>
<p><img src="../images/Universal/plug-md/processor.png" alt=""></p>
<p>As we can see, the first processor in our list is <code>PR00</code>. This is what we&apos;ll be applying the <code>plugin-type=1</code> property too. Now grab <a href="https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/decompiled/SSDT-PLUG.dsl.zip" target="_blank">SSDT-PLUG</a> and replace the default <code>CPU0</code> with our <code>PR00</code>. There&apos;s a couple things to note:</p>
<h2 id="what-this-ssdt-does"><a name="what-this-ssdt-does" class="plugin-anchor" href="#what-this-ssdt-does"><i class="fa fa-link" aria-hidden="true"></i></a>What this SSDT does</h2>
<p>The purpose of SSDT-PLUG is to allow the kernel&apos;s XCPM(XNU&apos;s CPU Power Management) to manage our CPU&apos;s power management. It&apos;s pretty self explanatory why you&apos;d want this.</p>
<p><strong>Note</strong>: SSDT-PLUG is only compatible with Intel&apos;s Haswell and newer CPUs, Sandy Bridge and Ivy Bridge will need to follow the <a href="https://dortania.github.io/OpenCore-Desktop-Guide/post-install/pm.html" target="_blank">ssdtPRgen method</a>(in post-install) while AMD users should not use this(unless attempting to attach AGPM which is outside the scope of Dortania&apos;s guides)</p>
<h2 id="methods-to-make-this-ssdt"><a name="methods-to-make-this-ssdt" class="plugin-anchor" href="#methods-to-make-this-ssdt"><i class="fa fa-link" aria-hidden="true"></i></a>Methods to make this SSDT</h2>
<p>For SSDT-PLUG, there are 3 methods you can choose from:</p>
<ul>
<li>There&apos;s 2 mentions of CPU0 to change</li>
<li>The <code>PR</code> path may need to be changed, in our example we can see that our <code>PR00</code> has <code>SB</code> in front.</li>
<li><a href="plug-methods/prebuilt.html">Prebuilt</a></li>
<li><a href="plug-methods/ssdttime.html">SSDTTime</a><ul>
<li>Note this method does not support <strong>servers</strong> or <strong>HEDT systems</strong></li>
</ul>
<p>So in our final example, we&apos;d have <code>_SB_.PR00</code> and <code>\_SB.PR00</code></p>
<ul>
<li><strong>Note</strong>: If you&apos;re having issues, see the <a href="https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/AcpiSamples/SSDT-PLUG.dsl" target="_blank">SSDT-PLUG</a> provided by Acidanthera for example on what other ACPI paths may look like.</li>
</li>
<li><a href="plug-methods/manual.html">Manual</a></li>
</ul>
<p>There are also some edge cases with <code>Processor</code>, specifically on HEDT series like X79, X99 and X299. This edge case is that the ACPI path is much longer and not so obvious:</p>
<p><img src="../images/Universal/plug-md/processor-2.png" alt=""></p>
<p>If we then search for instances of <code>CP00</code> we find that it&apos;s ACPI path is <code>SB.SCK0.CP00</code>:</p>
<p><img src="../images/Universal/plug-md/cp00.png" alt=""></p>
<p>So for this X299 board, we&apos;d change <code>\_PR.CPU0</code> with <code>\_SB.SCK0.CP00</code> and <code>External (_PR_.CPU0, ProcessorObj)</code> with <code>External (_SB_.SCK0.CP00, ProcessorObj)</code></p>
<pre><code class="lang-text">External (_PR_.CPU0, ProcessorObj) &lt;- Rename this
Scope (\_PR.CPU0) &lt;- Rename this
{
Method (DTGP, 5, NotSerialized)
{
...
}
</code></pre>
<p><img src="../images/Universal/plug-md/plug-bios.png" alt="">
<img src="../images/Universal/plug-md/plug-x299.png" alt=""></p>
<p>For those having issues, you can also check <code>Device Manager -&gt; CPU -&gt; BIOS device Name</code></p>
<p><strong>Note</strong>: X299 may report CP10 or higher for the CPU, when this happens use CP00 instead. This issue is due to weird numeration on Windows&apos; side</p>
<h2 id="now-youre-ready-to-compile-the-ssdt"><a name="now-youre-ready-to-compile-the-ssdt" class="plugin-anchor" href="#now-youre-ready-to-compile-the-ssdt"><i class="fa fa-link" aria-hidden="true"></i></a><a href="../Manual/compile.html">Now you&apos;re ready to compile the SSDT!</a></h2>
</section>
@@ -567,12 +785,12 @@ Scope (\_PR.CPU0) &lt;- Rename this
<a href="ec-fix.html" class="navigation navigation-prev " aria-label="Previous page: Embedded Controller">
<a href="ec-methods/manual.html" class="navigation navigation-prev " aria-label="Previous page: Manual">
<i class="fa fa-angle-left"></i>
</a>
<a href="awac.html" class="navigation navigation-next " aria-label="Next page: AWAC vs RTC">
<a href="plug-methods/prebuilt.html" class="navigation navigation-next " aria-label="Next page: Prebuilt">
<i class="fa fa-angle-right"></i>
</a>
@@ -583,7 +801,7 @@ Scope (\_PR.CPU0) &lt;- Rename this
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"Plugin type","level":"6.2","depth":1,"next":{"title":"AWAC vs RTC","level":"6.3","depth":1,"path":"Universal/awac.md","ref":"Universal/awac.md","articles":[]},"previous":{"title":"Embedded Controller","level":"6.1","depth":1,"path":"Universal/ec-fix.md","ref":"Universal/ec-fix.md","articles":[]},"dir":"ltr"},"config":{"plugins":["theme-default","-lunr","-search","search-plus","addcssjs","favicon-plus","anchors","github-buttons","last-modified","medium-zoom"],"styles":{"ebook":"styles/ebook.css","epub":"styles/epub.css","mobi":"styles/mobi.css","pdf":"styles/pdf.css","print":"styles/print.css","website":"styles/website.css"},"pluginsConfig":{"last-modified":{},"output":"_book","intopic-toc":{"label":"Navigation"},"addcssjs":{"css":[],"js":[]},"medium-zoom":{},"fontsettings":{"theme":"night","family":"sans","size":2},"favicon-plus":{"appleTouchIconPrecomposed152":"","favicon":"","output":"_book"},"highlight":{},"github-edit":{"repo":"dortania/Getting-Started-With-ACPI","branch":"master"},"favicon":"/icons/favicon.ico","appleTouchIconPrecomposed152":"/icons/appleTouchIconPrecomposed152.png","github-buttons":{"buttons":[{"user":"dortania","repo":"Getting-Started-With-ACPI","type":"star","size":"large"}]},"sharing":{"facebook":false,"twitter":false,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":[]},"theme-default":{"showLevel":false,"styles":{"ebook":"styles/ebook.css","epub":"styles/epub.css","mobi":"styles/mobi.css","pdf":"styles/pdf.css","print":"styles/print.css","website":"styles/website.css"}},"anchors":{},"search-plus":{}},"theme":"default","medium-zoom":{"margin":24,"background":"#363b40","scrollOffset":0},"pdf":{"pageBreaksBefore":"/","headerTemplate":null,"paperSize":"a4","margin":{"right":62,"left":62,"top":36,"bottom":36},"fontSize":12,"fontFamily":"Arial","footerTemplate":null,"chapterMark":"pagebreak","pageNumbers":false},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"links":{"sharing":{"google":false,"facebook":false,"twitter":false,"weibo":false,"all":false}},"gitbook":"*"},"file":{"path":"Universal/plug.md","mtime":"2020-05-29T01:27:44.868Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-05-29T01:28:38.922Z"},"basePath":"..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"Plugin type","level":"6.2","depth":1,"next":{"title":"Prebuilt","level":"6.2.1","depth":2,"path":"Universal/plug-methods/prebuilt.md","ref":"Universal/plug-methods/prebuilt.md","articles":[]},"previous":{"title":"Manual","level":"6.1.3","depth":2,"path":"Universal/ec-methods/manual.md","ref":"Universal/ec-methods/manual.md","articles":[]},"dir":"ltr"},"config":{"plugins":["theme-default","-lunr","-search","search-plus","addcssjs","favicon-plus","anchors","github-buttons","last-modified","medium-zoom"],"styles":{"ebook":"styles/ebook.css","epub":"styles/epub.css","mobi":"styles/mobi.css","pdf":"styles/pdf.css","print":"styles/print.css","website":"styles/website.css"},"pluginsConfig":{"last-modified":{},"output":"_book","intopic-toc":{"label":"Navigation"},"addcssjs":{"css":[],"js":[]},"medium-zoom":{},"fontsettings":{"theme":"night","family":"sans","size":2},"favicon-plus":{"appleTouchIconPrecomposed152":"","favicon":"","output":"_book"},"highlight":{},"github-edit":{"repo":"dortania/Getting-Started-With-ACPI","branch":"master"},"favicon":"/icons/favicon.ico","appleTouchIconPrecomposed152":"/icons/appleTouchIconPrecomposed152.png","github-buttons":{"buttons":[{"user":"dortania","repo":"Getting-Started-With-ACPI","type":"star","size":"large"}]},"sharing":{"facebook":false,"twitter":false,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":[]},"theme-default":{"showLevel":false,"styles":{"ebook":"styles/ebook.css","epub":"styles/epub.css","mobi":"styles/mobi.css","pdf":"styles/pdf.css","print":"styles/print.css","website":"styles/website.css"}},"anchors":{},"search-plus":{}},"theme":"default","medium-zoom":{"margin":24,"background":"#363b40","scrollOffset":0},"pdf":{"pageBreaksBefore":"/","headerTemplate":null,"paperSize":"a4","margin":{"right":62,"left":62,"top":36,"bottom":36},"fontSize":12,"fontFamily":"Arial","footerTemplate":null,"chapterMark":"pagebreak","pageNumbers":false},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"links":{"sharing":{"google":false,"facebook":false,"twitter":false,"weibo":false,"all":false}},"gitbook":"*"},"file":{"path":"Universal/plug.md","mtime":"2020-05-31T05:55:38.188Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-05-31T05:56:32.982Z"},"basePath":"..","book":{"language":""}});
});
</script>
</div>