emulate EC device

This commit is contained in:
Tsanie Lily 2019-11-04 14:39:07 +08:00
parent 51cf39a264
commit 0a1e812954
No known key found for this signature in database
GPG Key ID: 8A2F78B31701D0C1
3 changed files with 20 additions and 38 deletions

BIN
OC/ACPI/SSDT-EC.aml Executable file

Binary file not shown.

View File

@ -96,15 +96,6 @@
BgAAAA==
</data>
</dict>
<key>HS10</key>
<dict>
<key>UsbConnector</key>
<integer>255</integer>
<key>port</key>
<data>
CgAAAA==
</data>
</dict>
<key>HS11</key>
<dict>
<key>UsbConnector</key>
@ -126,7 +117,7 @@
<key>HS13</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<integer>255</integer>
<key>port</key>
<data>
DQAAAA==

View File

@ -22,6 +22,14 @@
<key>Path</key>
<string>SSDT-AWAC.aml</string>
</dict>
<dict>
<key>Comment</key>
<string>EC Device</string>
<key>Enabled</key>
<true/>
<key>Path</key>
<string>SSDT-EC.aml</string>
</dict>
<dict>
<key>Comment</key>
<string>Power inject</string>
@ -142,15 +150,17 @@
<key>PciRoot(0x0)/Pci(0x2,0x0)</key>
<dict>
<key>AAPL,ig-platform-id</key>
<data>BwCbPg==</data>
<key>framebuffer-patch-enable</key>
<data>AQAAAA==</data>
<key>framebuffer-stolemem</key>
<data>AAAwAQ==</data>
<key>framebuffer-unifiedmem</key>
<data>AAAAgA==</data>
<data>AwCYPg==</data>
<key>AAPL,slot-name</key>
<string>Internal@0,2,0</string>
<key>device-id</key>
<data>mz4AAA==</data>
<data>mD4AAA==</data>
<key>device_type</key>
<string>VGA compatible controller</string>
<key>hda-gfx</key>
<string>onboard-2</string>
<key>model</key>
<string>Intel UHD Graphics 630</string>
</dict>
</dict>
</dict>
@ -396,7 +406,7 @@
<key>7C436110-AB2A-4BBB-A880-FE41995C9F82</key>
<dict>
<key>boot-args</key>
<string>slide=1 agdpmod=pikera</string>
<string>slide=1 darkwake=0 agdpmod=pikera</string>
<key>csr-active-config</key>
<data>5wMAAA==</data>
<key>prev-lang:kbd</key>
@ -484,25 +494,6 @@
<string>MemoryAllocation.efi</string>
<string>VirtualSmc.efi</string>
</array>
<key>Input</key>
<dict>
<key>KeyForgetThreshold</key>
<integer>5</integer>
<key>KeyMergeThreshold</key>
<integer>2</integer>
<key>KeySupport</key>
<true/>
<key>KeySupportMode</key>
<string>Auto</string>
<key>KeySwap</key>
<true/>
<key>PointerSupport</key>
<false/>
<key>PointerSupportMode</key>
<string></string>
<key>TimerResolution</key>
<integer>50000</integer>
</dict>
<key>Protocols</key>
<dict>
<key>AppleBootPolicy</key>