From 0a1e8129544e12e2325dac19ed493bd33cc4fe1a Mon Sep 17 00:00:00 2001 From: Tsanie Lily Date: Mon, 4 Nov 2019 14:39:07 +0800 Subject: [PATCH] emulate EC device --- OC/ACPI/SSDT-EC.aml | Bin 0 -> 91 bytes OC/Kexts/USBPorts.kext/Contents/Info.plist | 11 +---- OC/config.plist | 47 +++++++++------------ 3 files changed, 20 insertions(+), 38 deletions(-) create mode 100755 OC/ACPI/SSDT-EC.aml diff --git a/OC/ACPI/SSDT-EC.aml b/OC/ACPI/SSDT-EC.aml new file mode 100755 index 0000000000000000000000000000000000000000..3a142c349483a0b81ea4a881c93bdec6682a736c GIT binary patch literal 91 zcmWFzb_t1QU|?XHlaZL5&A<@v>I~#TfTv%Gk2;HlLUfaD k01OyJq~n7_92ph}#QO((^137zm1pKLEaBo`$h?FB0DNZ^0RR91 literal 0 HcmV?d00001 diff --git a/OC/Kexts/USBPorts.kext/Contents/Info.plist b/OC/Kexts/USBPorts.kext/Contents/Info.plist index 197194e..e4faa83 100755 --- a/OC/Kexts/USBPorts.kext/Contents/Info.plist +++ b/OC/Kexts/USBPorts.kext/Contents/Info.plist @@ -96,15 +96,6 @@ BgAAAA== - HS10 - - UsbConnector - 255 - port - - CgAAAA== - - HS11 UsbConnector @@ -126,7 +117,7 @@ HS13 UsbConnector - 0 + 255 port DQAAAA== diff --git a/OC/config.plist b/OC/config.plist index 37aaf1d..b7d18c9 100755 --- a/OC/config.plist +++ b/OC/config.plist @@ -22,6 +22,14 @@ Path SSDT-AWAC.aml + + Comment + EC Device + Enabled + + Path + SSDT-EC.aml + Comment Power inject @@ -142,15 +150,17 @@ PciRoot(0x0)/Pci(0x2,0x0) AAPL,ig-platform-id - BwCbPg== - framebuffer-patch-enable - AQAAAA== - framebuffer-stolemem - AAAwAQ== - framebuffer-unifiedmem - AAAAgA== + AwCYPg== + AAPL,slot-name + Internal@0,2,0 device-id - mz4AAA== + mD4AAA== + device_type + VGA compatible controller + hda-gfx + onboard-2 + model + Intel UHD Graphics 630 @@ -396,7 +406,7 @@ 7C436110-AB2A-4BBB-A880-FE41995C9F82 boot-args - slide=1 agdpmod=pikera + slide=1 darkwake=0 agdpmod=pikera csr-active-config 5wMAAA== prev-lang:kbd @@ -484,25 +494,6 @@ MemoryAllocation.efi VirtualSmc.efi - Input - - KeyForgetThreshold - 5 - KeyMergeThreshold - 2 - KeySupport - - KeySupportMode - Auto - KeySwap - - PointerSupport - - PointerSupportMode - - TimerResolution - 50000 - Protocols AppleBootPolicy