Files
Getting-Started-With-ACPI/Universal/smbus.html

546 lines
15 KiB
HTML

<!DOCTYPE HTML>
<html lang="" >
<head>
<meta charset="UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>Fixing SMBus Support · GitBook</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="description" content="">
<meta name="generator" content="GitBook 3.2.3">
<link rel="stylesheet" href="../gitbook/style.css">
<link rel="stylesheet" href="../gitbook/gitbook-plugin-search-plus/search.css">
<link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
<link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
<link rel="stylesheet" href="../styles/website.css">
<meta name="HandheldFriendly" content="true"/>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
<link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">
<link rel="next" href="../cleanup.html" />
<link rel="prev" href="spoof.html" />
</head>
<body>
<div class="book">
<div class="book-summary">
<div id="book-search-input" role="search">
<input type="text" placeholder="Type to search" />
</div>
<nav role="navigation">
<ul class="summary">
<li class="chapter " data-level="1.1" data-path="../">
<a href="../">
Getting Started With ACPI
</a>
</li>
<li class="chapter " data-level="1.2" data-path="../ssdt-easy.html">
<a href="../ssdt-easy.html">
SSDTs: Easy Way
</a>
</li>
<li class="chapter " data-level="1.3" data-path="../ssdt-long.html">
<a href="../ssdt-long.html">
SSDTs: Long Way
</a>
</li>
<li class="header">Manual</li>
<li class="chapter " data-level="2.1" data-path="../Manual/dump.html">
<a href="../Manual/dump.html">
Dumping the DSDT
</a>
</li>
<li class="chapter " data-level="2.2" data-path="../Manual/compile.html">
<a href="../Manual/compile.html">
Decompiling and Compiling
</a>
</li>
<li class="header">Desktop</li>
<li class="chapter " data-level="3.1" data-path="../Desktops/desktop-ec.html">
<a href="../Desktops/desktop-ec.html">
Embedded Controllers
</a>
</li>
<li class="chapter " data-level="3.2" data-path="../Desktops/desktop-disable.html">
<a href="../Desktops/desktop-disable.html">
Disabling desktop dGPUs
</a>
</li>
<li class="header">Laptop</li>
<li class="chapter " data-level="4.1" data-path="../Laptops/laptop-ec.html">
<a href="../Laptops/laptop-ec.html">
Embedded Controllers
</a>
</li>
<li class="chapter " data-level="4.2" data-path="../Laptops/backlight.html">
<a href="../Laptops/backlight.html">
Backlight PNLF
</a>
</li>
<li class="chapter " data-level="4.3" data-path="../Laptops/trackpad.html">
<a href="../Laptops/trackpad.html">
Trackpad GPI0
</a>
</li>
<li class="chapter " data-level="4.4" data-path="../Laptops/laptop-disable.html">
<a href="../Laptops/laptop-disable.html">
Disabling laptop dGPUs
</a>
</li>
<li class="header">Universal</li>
<li class="chapter " data-level="5.1" data-path="plug.html">
<a href="plug.html">
Plugin type
</a>
</li>
<li class="chapter " data-level="5.2" data-path="awac.html">
<a href="awac.html">
AWAC vs RTC
</a>
</li>
<li class="chapter " data-level="5.3" data-path="nvram.html">
<a href="nvram.html">
NVRAM PMC
</a>
</li>
<li class="chapter " data-level="5.4" data-path="irq.html">
<a href="irq.html">
IRQ Fix
</a>
</li>
<li class="chapter " data-level="5.5" data-path="spoof.html">
<a href="spoof.html">
GPU Spoof
</a>
</li>
<li class="chapter active" data-level="5.6" data-path="smbus.html">
<a href="smbus.html">
Fixing SMBus Support
</a>
</li>
<li class="header">Cleanup</li>
<li class="chapter " data-level="6.1" data-path="../cleanup.html">
<a href="../cleanup.html">
Cleanup
</a>
</li>
<li class="divider"></li>
<li>
<a href="https://www.gitbook.com" target="blank" class="gitbook-link">
Published with GitBook
</a>
</li>
</ul>
</nav>
</div>
<div class="book-body">
<div class="body-inner">
<div class="book-header" role="navigation">
<!-- Title -->
<h1>
<i class="fa fa-circle-o-notch fa-spin"></i>
<a href=".." >Fixing SMBus Support</a>
</h1>
</div>
<div class="page-wrapper" tabindex="-1" role="main">
<div class="page-inner">
<div class="search-plus" id="book-search-results">
<div class="search-noresults">
<section class="normal markdown-section">
<h1 id="fixing-smbus-support">Fixing SMBus support</h1>
<p>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:</p>
<ul>
<li>AppleSMBusController<ul>
<li>Aids with correct temperature, fan, voltage, ICH, etc readings</li>
</ul>
</li>
<li>AppleSMBusPCI<ul>
<li>Same idea as AppleSMBusController except for low bandwidth PCI devices</li>
</ul>
</li>
<li>Memory Reporting<ul>
<li>Aids in proper memory reporting and can aid in getting better kernel panic details if memory related</li>
</ul>
</li>
<li>Other things SMBus does: <a href="https://en.wikipedia.org/wiki/System_Management_Bus" target="_blank">SMBus wiki</a> </li>
</ul>
<p>For install purposes, this SSDT isn&apos;t needed but for post-install it&apos;s recommended to put the final touches on your hack.</p>
<p>So to get started, we&apos;ll want to grab our SMBus SSDT:</p>
<ul>
<li><a href="https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/AcpiSamples/SSDT-SBUS-MCHC.dsl" target="_blank">SSDT-SBUS-MCHC.dsl</a></li>
</ul>
<p>So the important parts we care about are:</p>
<pre><code class="lang-text">External (_SB_.PCI0, DeviceObj) &lt;- Rename this
External (_SB_.PCI0.SBUS.BUS0, DeviceObj) &lt;- Rename this
Scope (_SB.PCI0) &lt;- Rename this
{
Device (MCHC)
{
Name (_ADR, Zero) // _ADR: Address
}
}
Device (_SB.PCI0.SBUS.BUS0) &lt;- Rename this
</code></pre>
<p>To find the correct pathing for your devices, grab <a href="https://www.tonymacx86.com/threads/release-hackintool-v3-x-x.254559/" target="_blank">Hackintool</a> (<a href="https://github.com/headkaze/Hackintool" target="_blank">Github link</a>) and head to the PCI tab:</p>
<p><img src="https://cdn.discordapp.com/attachments/683011276938543134/694592079728214024/Screen_Shot_2020-03-31_at_10.58.36_AM.png" alt=""></p>
<p>Look for the SMBus device under Subclass, then look beside and you&apos;ll see the ACPI path(under IOReg Name). To convert , omit <code>@...</code></p>
<ul>
<li><code>/PC00@0/SMBS@1F,4</code> -&gt; <code>PC00.SMBS</code></li>
</ul>
<p>Once finished, it&apos;ll look something like this:</p>
<pre><code class="lang-text">External (_SB_.PC00, DeviceObj) &lt;- Renamed
External (_SB_.PC00.SMBS.BUS0, DeviceObj) &lt;- Renamed
/* &lt;- Comment out if on Sandy Bridge or newer
Scope (_SB.PC00)
{
Device (MCHC)
{
Name (_ADR, Zero) // _ADR: Address
}
}
*/ &lt;- Close the comment
Device (_SB.PC00.SMBS.BUS0) &lt;- Renamed
</code></pre>
<p><strong>Note</strong>: The MCHC is actually the DRAM controller, similar idea to SMBus for fixing memory reporting</p>
<h2 id="now-youre-ready-to-compile-the-ssdt"><a href="../Manual/compile.html">Now you&apos;re ready to compile the SSDT!</a></h2>
</section>
</div>
<div class="search-results">
<div class="has-results">
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
<ul class="search-results-list"></ul>
</div>
<div class="no-results">
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
</div>
</div>
</div>
</div>
</div>
</div>
<a href="spoof.html" class="navigation navigation-prev " aria-label="Previous page: GPU Spoof">
<i class="fa fa-angle-left"></i>
</a>
<a href="../cleanup.html" class="navigation navigation-next " aria-label="Next page: Cleanup">
<i class="fa fa-angle-right"></i>
</a>
</div>
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"Fixing SMBus Support","level":"5.6","depth":1,"next":{"title":"Cleanup","level":"6.1","depth":1,"path":"cleanup.md","ref":"cleanup.md","articles":[]},"previous":{"title":"GPU Spoof","level":"5.5","depth":1,"path":"Universal/spoof.md","ref":"Universal/spoof.md","articles":[]},"dir":"ltr"},"config":{"plugins":["theme-default","-lunr","-search","search-plus","addcssjs","favicon-plus"],"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":{"output":"_book","addcssjs":{"css":[],"js":[]},"fontsettings":{"theme":"night","family":"sans","size":2},"favicon-plus":{"appleTouchIconPrecomposed152":"","favicon":"","output":"_book"},"highlight":{},"favicon":"/icons/favicon.ico","appleTouchIconPrecomposed152":"/icons/appleTouchIconPrecomposed152.png","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"}},"search-plus":{}},"theme":"default","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/smbus.md","mtime":"2020-04-03T00:02:09.076Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-04-03T00:02:57.527Z"},"basePath":"..","book":{"language":""}});
});
</script>
</div>
<script src="../gitbook/gitbook.js"></script>
<script src="../gitbook/theme.js"></script>
<script src="../gitbook/gitbook-plugin-search-plus/jquery.mark.min.js"></script>
<script src="../gitbook/gitbook-plugin-search-plus/search.js"></script>
<script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
<script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
</body>
</html>