mirror of
https://github.com/AskDavis/Getting-Started-With-ACPI.git
synced 2026-01-01 05:05:57 -08:00
1 line
6.7 KiB
JavaScript
1 line
6.7 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{403:function(e,t,a){e.exports=a.p+"assets/img/pci.81a3ae52.png"},404:function(e,t,a){e.exports=a.p+"assets/img/smbus.d9dd6044.png"},405:function(e,t,a){e.exports=a.p+"assets/img/before-rename.c0ccc637.png"},406:function(e,t,a){e.exports=a.p+"assets/img/after-rename.48bf32ad.png"},407:function(e,t,a){e.exports=a.p+"assets/img/verify.58363d4d.png"},458: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(403),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(404),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/tree/master/Docs/AcpiSamples/Source/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(405),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(406),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(407),alt:""}})])])}),[],!1,null,null,null);t.default=n.exports}}]); |