mirror of
https://github.com/AskDavis/Getting-Started-With-ACPI.git
synced 2026-01-02 20:09:48 -08:00
Deploy dortania/Getting-Started-With-ACPI to github.com/dortania/Getting-Started-With-ACPI.git:gh-pages
This commit is contained in:
@@ -71,10 +71,10 @@
|
||||
<link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">
|
||||
|
||||
|
||||
<link rel="next" href="laptop-disable.html" />
|
||||
<link rel="next" href="trackpad-methods/prebuilt.html" />
|
||||
|
||||
|
||||
<link rel="prev" href="backlight.html" />
|
||||
<link rel="prev" href="backlight-methods/manual.html" />
|
||||
|
||||
|
||||
<style>
|
||||
@@ -276,6 +276,38 @@
|
||||
|
||||
|
||||
|
||||
<ul class="articles">
|
||||
|
||||
|
||||
<li class="chapter " data-level="5.1.1" data-path="backlight-methods/prebuilt.html">
|
||||
|
||||
<a href="backlight-methods/prebuilt.html">
|
||||
|
||||
|
||||
Prebuilt
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="5.1.2" data-path="backlight-methods/manual.html">
|
||||
|
||||
<a href="backlight-methods/manual.html">
|
||||
|
||||
|
||||
Manual
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter active" data-level="5.2" data-path="trackpad.html">
|
||||
@@ -289,6 +321,38 @@
|
||||
|
||||
|
||||
|
||||
<ul class="articles">
|
||||
|
||||
|
||||
<li class="chapter " data-level="5.2.1" data-path="trackpad-methods/prebuilt.html">
|
||||
|
||||
<a href="trackpad-methods/prebuilt.html">
|
||||
|
||||
|
||||
Prebuilt
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="5.2.2" data-path="trackpad-methods/manual.html">
|
||||
|
||||
<a href="trackpad-methods/manual.html">
|
||||
|
||||
|
||||
Manual
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="5.3" data-path="laptop-disable.html">
|
||||
@@ -322,6 +386,51 @@
|
||||
|
||||
|
||||
|
||||
<ul class="articles">
|
||||
|
||||
|
||||
<li class="chapter " data-level="6.1.1" data-path="../Universal/ec-methods/prebuilt.html">
|
||||
|
||||
<a href="../Universal/ec-methods/prebuilt.html">
|
||||
|
||||
|
||||
Prebuilt
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="6.1.2" data-path="../Universal/ec-methods/ssdttime.html">
|
||||
|
||||
<a href="../Universal/ec-methods/ssdttime.html">
|
||||
|
||||
|
||||
SSDTTime
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="6.1.3" data-path="../Universal/ec-methods/manual.html">
|
||||
|
||||
<a href="../Universal/ec-methods/manual.html">
|
||||
|
||||
|
||||
Manual
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="6.2" data-path="../Universal/plug.html">
|
||||
@@ -335,6 +444,51 @@
|
||||
|
||||
|
||||
|
||||
<ul class="articles">
|
||||
|
||||
|
||||
<li class="chapter " data-level="6.2.1" data-path="../Universal/plug-methods/prebuilt.html">
|
||||
|
||||
<a href="../Universal/plug-methods/prebuilt.html">
|
||||
|
||||
|
||||
Prebuilt
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="6.2.2" data-path="../Universal/plug-methods/ssdttime.html">
|
||||
|
||||
<a href="../Universal/plug-methods/ssdttime.html">
|
||||
|
||||
|
||||
SSDTTime
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="6.2.3" data-path="../Universal/plug-methods/manual.html">
|
||||
|
||||
<a href="../Universal/plug-methods/manual.html">
|
||||
|
||||
|
||||
Manual
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="6.3" data-path="../Universal/awac.html">
|
||||
@@ -348,6 +502,38 @@
|
||||
|
||||
|
||||
|
||||
<ul class="articles">
|
||||
|
||||
|
||||
<li class="chapter " data-level="6.3.1" data-path="../Universal/awac-methods/prebuilt.html">
|
||||
|
||||
<a href="../Universal/awac-methods/prebuilt.html">
|
||||
|
||||
|
||||
Prebuilt
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="6.3.2" data-path="../Universal/awac-methods/manual.html">
|
||||
|
||||
<a href="../Universal/awac-methods/manual.html">
|
||||
|
||||
|
||||
Manual
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="6.4" data-path="../Universal/nvram.html">
|
||||
@@ -361,6 +547,38 @@
|
||||
|
||||
|
||||
|
||||
<ul class="articles">
|
||||
|
||||
|
||||
<li class="chapter " data-level="6.4.1" data-path="../Universal/nvram-methods/prebuilt.html">
|
||||
|
||||
<a href="../Universal/nvram-methods/prebuilt.html">
|
||||
|
||||
|
||||
Prebuilt
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="6.4.2" data-path="../Universal/nvram-methods/manual.html">
|
||||
|
||||
<a href="../Universal/nvram-methods/manual.html">
|
||||
|
||||
|
||||
Manual
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="chapter " data-level="6.5" data-path="../Universal/irq.html">
|
||||
@@ -400,6 +618,25 @@
|
||||
|
||||
|
||||
|
||||
<ul class="articles">
|
||||
|
||||
|
||||
<li class="chapter " data-level="6.7.1" data-path="../Universal/smbus-methods/manual.html">
|
||||
|
||||
<a href="../Universal/smbus-methods/manual.html">
|
||||
|
||||
|
||||
Manual
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
@@ -501,88 +738,22 @@
|
||||
<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-trackpads"><a name="fixing-trackpads" class="plugin-anchor" href="#fixing-trackpads"><i class="fa fa-link" aria-hidden="true"></i></a>Fixing Trackpads</h1>
|
||||
<h1 id="fixing-trackpads-ssdt-gpi0xosi"><a name="fixing-trackpads-ssdt-gpi0xosi" class="plugin-anchor" href="#fixing-trackpads-ssdt-gpi0xosi"><i class="fa fa-link" aria-hidden="true"></i></a>Fixing Trackpads (SSDT-GPI0/XOSI)</h1>
|
||||
<ul>
|
||||
<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="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>This SSDT is used to force enable our GPI0 for VoodooI2C to connect onto.</p>
|
||||
<p>With most modern laptop DSDTs, there's a variable called <code>GPEN</code> or <code>GPHD</code> which are used for setting the status of the GPI0 device. For us, we want to enable the device.</p>
|
||||
<h2 id="finding-our-gpi0"><a name="finding-our-gpi0" class="plugin-anchor" href="#finding-our-gpi0"><i class="fa fa-link" aria-hidden="true"></i></a>Finding our GPI0</h2>
|
||||
<p>So first things we need to do is find out what variable is used to enable our GPI0 device, lets open up our decompiled SSDT and search for <code>Device (GPI0)</code>. Should give you a desult similar to this:</p>
|
||||
<p><img src="../images/Laptops/trackpad-md/gpi0.png" alt=""></p>
|
||||
<p>What we care about from this is the <code>_STA</code> method:</p>
|
||||
<pre><code>Method (_STA, 0, NotSerialized)
|
||||
{
|
||||
If ((GPHD == One))
|
||||
{
|
||||
Return (0x03)
|
||||
}
|
||||
|
||||
Return (0x0F)
|
||||
}
|
||||
</code></pre><p>What we want is for this to always return <code>0x0F</code> when booting macOS, so we want to make an SSDT that will return <code>GPHD == Zero</code> in macOS.</p>
|
||||
<p><strong>NOTE that you may have the other way around where GPHD needs to be set as <code>One</code> to return <code>0x0F</code></strong>. And your device name may also be different, don't throw random SSDTs in thinking it'll work</p>
|
||||
<p>Once you found the variable and what it should be set to, grab a copy of <a href="https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/decompiled/SSDT-GPI0.dsl" target="_blank">SSDT-GPI0.dsl</a> and make the required edits. Then clean up with compiling it</p>
|
||||
<h2 id="more-examples"><a name="more-examples" class="plugin-anchor" href="#more-examples"><i class="fa fa-link" aria-hidden="true"></i></a>More examples</h2>
|
||||
<p><img src="../images/Laptops/trackpad-md/gpi0-2.png" alt=""></p>
|
||||
<p>With this example, we can see that we need both <code>SBRG</code> and <code>GPEN</code> to return <code>One</code>. If only one is present, it'll create some issues so in our SSDT we'll want to have both of them return <code>One</code>:</p>
|
||||
<pre><code>DefinitionBlock("", "SSDT", 2, "ACDT", "GPI0", 0)
|
||||
{
|
||||
External(GPEN, FieldUnitObj)
|
||||
External(SBRG, FieldUnitObj)
|
||||
|
||||
Scope (\)
|
||||
{
|
||||
If (_OSI ("Darwin"))
|
||||
{
|
||||
GPEN = One
|
||||
SBRG = One
|
||||
}
|
||||
}
|
||||
}
|
||||
</code></pre><h2 id="gpio-troubleshooting"><a name="gpio-troubleshooting" class="plugin-anchor" href="#gpio-troubleshooting"><i class="fa fa-link" aria-hidden="true"></i></a>GPIO Troubleshooting</h2>
|
||||
<p>So if you're still having issues enabling your trackpad in macOS, you can try removing SSDT-GPIO and instead swap for the following. Note that using these 2 will most likely break Windows and Linux so only use XOSI when troubleshooting:</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 the trackpad fix, there are 2 methods you can choose from:</p>
|
||||
<ul>
|
||||
<li><p><a href="https://github.com/dortania/Getting-Started-With-ACPI/blob/master/extra-files/compiled/SSDT-XOSI.aml" target="_blank">SSDT-XOSI</a></p>
|
||||
</li>
|
||||
<li><p>XOSI Rename:</p>
|
||||
</li>
|
||||
<li><a href="trackpad-methods/prebuilt.html">Prebuilt</a></li>
|
||||
<li><a href="trackpad-methods/manual.html">Manual</a></li>
|
||||
</ul>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="text-align:left">Comment</th>
|
||||
<th style="text-align:left">String</th>
|
||||
<th style="text-align:left">Change _OSI to XOSI</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="text-align:left">Enabled</td>
|
||||
<td style="text-align:left">Boolean</td>
|
||||
<td style="text-align:left">YES</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:left">Count</td>
|
||||
<td style="text-align:left">Number</td>
|
||||
<td style="text-align:left">0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:left">Limit</td>
|
||||
<td style="text-align:left">Number</td>
|
||||
<td style="text-align:left">0</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:left">Find</td>
|
||||
<td style="text-align:left">Data</td>
|
||||
<td style="text-align:left">5f4f5349</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:left">Replace</td>
|
||||
<td style="text-align:left">Data</td>
|
||||
<td style="text-align:left">584f5349</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
</section>
|
||||
@@ -610,12 +781,12 @@
|
||||
|
||||
|
||||
|
||||
<a href="backlight.html" class="navigation navigation-prev " aria-label="Previous page: Backlight PNLF">
|
||||
<a href="backlight-methods/manual.html" class="navigation navigation-prev " aria-label="Previous page: Manual">
|
||||
<i class="fa fa-angle-left"></i>
|
||||
</a>
|
||||
|
||||
|
||||
<a href="laptop-disable.html" class="navigation navigation-next " aria-label="Next page: Disabling laptop dGPUs">
|
||||
<a href="trackpad-methods/prebuilt.html" class="navigation navigation-next " aria-label="Next page: Prebuilt">
|
||||
<i class="fa fa-angle-right"></i>
|
||||
</a>
|
||||
|
||||
@@ -626,7 +797,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"Trackpad GPI0","level":"5.2","depth":1,"next":{"title":"Disabling laptop dGPUs","level":"5.3","depth":1,"path":"Laptops/laptop-disable.md","ref":"Laptops/laptop-disable.md","articles":[]},"previous":{"title":"Backlight PNLF","level":"5.1","depth":1,"path":"Laptops/backlight.md","ref":"Laptops/backlight.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":"Laptops/trackpad.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":"Trackpad GPI0","level":"5.2","depth":1,"next":{"title":"Prebuilt","level":"5.2.1","depth":2,"path":"Laptops/trackpad-methods/prebuilt.md","ref":"Laptops/trackpad-methods/prebuilt.md","articles":[]},"previous":{"title":"Manual","level":"5.1.2","depth":2,"path":"Laptops/backlight-methods/manual.md","ref":"Laptops/backlight-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":"Laptops/trackpad.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>
|
||||
|
||||
Reference in New Issue
Block a user