清理无用的补丁,根据原始ACPI重新定制USB

This commit is contained in:
辨识
2020-12-21 02:31:15 +08:00
parent 92601c4936
commit 1ca643e555
11 changed files with 240 additions and 328 deletions
Vendored
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
@@ -1,87 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>19H15</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>HibernationFixup</string>
<key>CFBundleIdentifier</key>
<string>as.lvs1974.HibernationFixup</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>HibernationFixup</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.3.8</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.3.8</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>12B45b</string>
<key>DTPlatformName</key>
<string>macosx</string>
<key>DTPlatformVersion</key>
<string>11.0</string>
<key>DTSDKBuild</key>
<string>20A2408</string>
<key>DTSDKName</key>
<string>macosx11.0</string>
<key>DTXcode</key>
<string>1220</string>
<key>DTXcodeBuild</key>
<string>12B45b</string>
<key>IOKitPersonalities</key>
<dict>
<key>as.lvs1974.HibernationFixup</key>
<dict>
<key>CFBundleIdentifier</key>
<string>as.lvs1974.HibernationFixup</string>
<key>IOClass</key>
<string>HibernationFixup</string>
<key>IOMatchCategory</key>
<string>HibernationFixup</string>
<key>IOProviderClass</key>
<string>IOResources</string>
<key>IOResourceMatch</key>
<string>IOKit</string>
</dict>
</dict>
<key>LSMinimumSystemVersion</key>
<string>10.8</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2017 lvs1974. All rights reserved.</string>
<key>OSBundleCompatibleVersion</key>
<string>1.0</string>
<key>OSBundleLibraries</key>
<dict>
<key>as.vit9696.Lilu</key>
<string>1.2.4</string>
<key>com.apple.kpi.bsd</key>
<string>12.0.0</string>
<key>com.apple.kpi.dsep</key>
<string>12.0.0</string>
<key>com.apple.kpi.iokit</key>
<string>12.0.0</string>
<key>com.apple.kpi.libkern</key>
<string>12.0.0</string>
<key>com.apple.kpi.mach</key>
<string>12.0.0</string>
<key>com.apple.kpi.unsupported</key>
<string>12.0.0</string>
</dict>
<key>OSBundleRequired</key>
<string>Root</string>
</dict>
</plist>
+86 -95
View File
@@ -52,98 +52,12 @@
</data>
<key>ports</key>
<dict>
<key>HS04</key>
<dict>
<key>UsbConnector</key>
<integer>255</integer>
<key>name</key>
<string>HS04</string>
<key>port</key>
<data>
BAAAAA==
</data>
</dict>
<key>HS05</key>
<dict>
<key>UsbConnector</key>
<integer>255</integer>
<key>name</key>
<string>HS05</string>
<key>port</key>
<data>
BQAAAA==
</data>
</dict>
<key>HS06</key>
<dict>
<key>UsbConnector</key>
<integer>255</integer>
<key>name</key>
<string>HS06</string>
<key>port</key>
<data>
BgAAAA==
</data>
</dict>
<key>HS07</key>
<dict>
<key>UsbConnector</key>
<integer>255</integer>
<key>name</key>
<string>HS07</string>
<key>port</key>
<data>
BwAAAA==
</data>
</dict>
<key>HS08</key>
<dict>
<key>UsbConnector</key>
<integer>255</integer>
<key>name</key>
<string>HS08</string>
<key>port</key>
<data>
CAAAAA==
</data>
</dict>
<key>HS09</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>name</key>
<string>HS09</string>
<key>port</key>
<data>
CQAAAA==
</data>
</dict>
<key>HS10</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>name</key>
<string>HS10</string>
<key>port</key>
<data>
CgAAAA==
</data>
</dict>
<key>HS11</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>name</key>
<string>HS11</string>
<key>port</key>
<data>
CwAAAA==
</data>
</dict>
<key>HSP0</key>
<dict>
<key>Comment</key>
<string>USB 2.0 Device</string>
<key>UsbConnector</key>
<integer>3</integer>
<integer>0</integer>
<key>name</key>
<string>HSP0</string>
<key>port</key>
@@ -153,8 +67,10 @@
</dict>
<key>HSP1</key>
<dict>
<key>Comment</key>
<string>USB 2.0 Device</string>
<key>UsbConnector</key>
<integer>3</integer>
<integer>0</integer>
<key>name</key>
<string>HSP1</string>
<key>port</key>
@@ -164,8 +80,10 @@
</dict>
<key>HSP2</key>
<dict>
<key>Comment</key>
<string>USB 2.0 Device</string>
<key>UsbConnector</key>
<integer>3</integer>
<integer>0</integer>
<key>name</key>
<string>HSP2</string>
<key>port</key>
@@ -173,19 +91,75 @@
AwAAAA==
</data>
</dict>
<key>SS04</key>
<key>HSP3</key>
<dict>
<key>Comment</key>
<string>4G The network card</string>
<key>UsbConnector</key>
<integer>3</integer>
<integer>255</integer>
<key>name</key>
<string>SS04</string>
<string>HSP3</string>
<key>port</key>
<data>
DwAAAA==
BAAAAA==
</data>
</dict>
<key>HSP4</key>
<dict>
<key>Comment</key>
<string>Touch screen</string>
<key>UsbConnector</key>
<integer>255</integer>
<key>name</key>
<string>HSP4</string>
<key>port</key>
<data>
BQAAAA==
</data>
</dict>
<key>HSP5</key>
<dict>
<key>Comment</key>
<string>IOUSBHostDevice</string>
<key>UsbConnector</key>
<integer>255</integer>
<key>name</key>
<string>HSP5</string>
<key>port</key>
<data>
BgAAAA==
</data>
</dict>
<key>HSP6</key>
<dict>
<key>Comment</key>
<string>Bluetooth</string>
<key>UsbConnector</key>
<integer>255</integer>
<key>name</key>
<string>HSP6</string>
<key>port</key>
<data>
BwAAAA==
</data>
</dict>
<key>HSP7</key>
<dict>
<key>Comment</key>
<string>Camera</string>
<key>UsbConnector</key>
<integer>255</integer>
<key>name</key>
<string>HSP7</string>
<key>port</key>
<data>
CAAAAA==
</data>
</dict>
<key>SSP0</key>
<dict>
<key>Comment</key>
<string>USB 3.0 Device</string>
<key>UsbConnector</key>
<integer>3</integer>
<key>name</key>
@@ -197,6 +171,8 @@
</dict>
<key>SSP1</key>
<dict>
<key>Comment</key>
<string>USB 3.0 Device</string>
<key>UsbConnector</key>
<integer>3</integer>
<key>name</key>
@@ -208,6 +184,8 @@
</dict>
<key>SSP2</key>
<dict>
<key>Comment</key>
<string>USB 3.0 Device</string>
<key>UsbConnector</key>
<integer>3</integer>
<key>name</key>
@@ -217,6 +195,19 @@
DgAAAA==
</data>
</dict>
<key>SSP3</key>
<dict>
<key>Comment</key>
<string>Card reader</string>
<key>UsbConnector</key>
<integer>3</integer>
<key>name</key>
<string>SSP3</string>
<key>port</key>
<data>
DwAAAA==
</data>
</dict>
</dict>
</dict>
<key>model</key>
+154 -146
View File
@@ -8,7 +8,7 @@
<array>
<dict>
<key>Comment</key>
<string>Parts collection RMD1 RMDT PLUG SMBU MCHC PWRB ALS0 ALC3 _L61</string>
<string>Parts collection PLUG MCHC IMEI PWRB RMD1 RMDT ALS0 ALC3 _L61</string>
<key>Enabled</key>
<true/>
<key>Path</key>
@@ -1196,6 +1196,32 @@
<key>TableSignature</key>
<data></data>
</dict>
<dict>
<key>Comment</key>
<string>_UPC to XUPC(all)</string>
<key>Count</key>
<integer>0</integer>
<key>Enabled</key>
<false/>
<key>Find</key>
<data>X1VQQw==</data>
<key>Limit</key>
<integer>0</integer>
<key>Mask</key>
<data></data>
<key>OemTableId</key>
<data>AAAAAAAAAAA=</data>
<key>Replace</key>
<data>WFVQQw==</data>
<key>ReplaceMask</key>
<data></data>
<key>Skip</key>
<integer>0</integer>
<key>TableLength</key>
<integer>0</integer>
<key>TableSignature</key>
<data></data>
</dict>
</array>
<key>Quirks</key>
<dict>
@@ -1215,6 +1241,8 @@
<dict>
<key>MmioWhitelist</key>
<array/>
<key>Patch</key>
<array/>
<key>Quirks</key>
<dict>
<key>AllowRelocationBlock</key>
@@ -1364,8 +1392,6 @@
<string>Intel Wi-Fi 6 AX200 Beta(802.11ax wireless)</string>
<key>name</key>
<string>Airport</string>
<key>pci-aspm-default</key>
<integer>0</integer>
</dict>
<key>PciRoot(0x0)/Pci(0x1F,0x0)</key>
<dict>
@@ -1516,24 +1542,6 @@
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict>
<key>Arch</key>
<string>Any</string>
<key>BundlePath</key>
<string>CPUFriend.kext</string>
<key>Comment</key>
<string></string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/CPUFriend</string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string></string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict>
<key>Arch</key>
<string>Any</string>
@@ -1556,13 +1564,103 @@
<key>Arch</key>
<string>Any</string>
<key>BundlePath</key>
<string>RTCMemoryFixup.kext</string>
<string>WhateverGreen.kext</string>
<key>Comment</key>
<string></string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/RTCMemoryFixup</string>
<string>Contents/MacOS/WhateverGreen</string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string></string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict>
<key>Arch</key>
<string>Any</string>
<key>BundlePath</key>
<string>SMCBatteryManager.kext</string>
<key>Comment</key>
<string></string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/SMCBatteryManager</string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string></string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict>
<key>Arch</key>
<string>Any</string>
<key>BundlePath</key>
<string>SMCLightSensor.kext</string>
<key>Comment</key>
<string></string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/SMCLightSensor</string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string></string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict>
<key>Arch</key>
<string>Any</string>
<key>BundlePath</key>
<string>SMCProcessor.kext</string>
<key>Comment</key>
<string></string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/SMCProcessor</string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string></string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict>
<key>Arch</key>
<string>Any</string>
<key>BundlePath</key>
<string>SMCSuperIO.kext</string>
<key>Comment</key>
<string></string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/SMCSuperIO</string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string></string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict>
<key>Arch</key>
<string>Any</string>
<key>BundlePath</key>
<string>YogaSMC.kext</string>
<key>Comment</key>
<string></string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/YogaSMC</string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
@@ -1592,13 +1690,31 @@
<key>Arch</key>
<string>Any</string>
<key>BundlePath</key>
<string>WhateverGreen.kext</string>
<string>CodecCommander.kext</string>
<key>Comment</key>
<string></string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/WhateverGreen</string>
<string>Contents/MacOS/CodecCommander</string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string></string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict>
<key>Arch</key>
<string>Any</string>
<key>BundlePath</key>
<string>CPUFriend.kext</string>
<key>Comment</key>
<string></string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/CPUFriend</string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
@@ -1664,13 +1780,13 @@
<key>Arch</key>
<string>Any</string>
<key>BundlePath</key>
<string>HibernationFixup.kext</string>
<string>RTCMemoryFixup.kext</string>
<key>Comment</key>
<string></string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/HibernationFixup</string>
<string>Contents/MacOS/RTCMemoryFixup</string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
@@ -1714,96 +1830,6 @@
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict>
<key>Arch</key>
<string>Any</string>
<key>BundlePath</key>
<string>SMCSuperIO.kext</string>
<key>Comment</key>
<string></string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/SMCSuperIO</string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string></string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict>
<key>Arch</key>
<string>Any</string>
<key>BundlePath</key>
<string>SMCLightSensor.kext</string>
<key>Comment</key>
<string></string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/SMCLightSensor</string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string></string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict>
<key>Arch</key>
<string>Any</string>
<key>BundlePath</key>
<string>SMCProcessor.kext</string>
<key>Comment</key>
<string></string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/SMCProcessor</string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string></string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict>
<key>Arch</key>
<string>Any</string>
<key>BundlePath</key>
<string>SMCBatteryManager.kext</string>
<key>Comment</key>
<string></string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/SMCBatteryManager</string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string></string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict>
<key>Arch</key>
<string>Any</string>
<key>BundlePath</key>
<string>YogaSMC.kext</string>
<key>Comment</key>
<string></string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/YogaSMC</string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string></string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict>
<key>Arch</key>
<string>Any</string>
@@ -1858,24 +1884,6 @@
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict>
<key>Arch</key>
<string>Any</string>
<key>BundlePath</key>
<string>BrcmFirmwareData.kext</string>
<key>Comment</key>
<string></string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/BrcmFirmwareData</string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string></string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict>
<key>Arch</key>
<string>Any</string>
@@ -1898,13 +1906,13 @@
<key>Arch</key>
<string>Any</string>
<key>BundlePath</key>
<string>BrcmPatchRAM3.kext</string>
<string>BrcmFirmwareData.kext</string>
<key>Comment</key>
<string></string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/BrcmPatchRAM3</string>
<string>Contents/MacOS/BrcmFirmwareData</string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
@@ -1916,13 +1924,13 @@
<key>Arch</key>
<string>Any</string>
<key>BundlePath</key>
<string>CodecCommander.kext</string>
<string>BrcmPatchRAM3.kext</string>
<key>Comment</key>
<string></string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/CodecCommander</string>
<string>Contents/MacOS/BrcmPatchRAM3</string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
@@ -2064,7 +2072,7 @@
<key>Comment</key>
<string></string>
<key>Enabled</key>
<true/>
<false/>
<key>ExecutablePath</key>
<string>Contents/MacOS/RMII2C</string>
<key>MaxKernel</key>
@@ -2100,7 +2108,7 @@
<key>Comment</key>
<string></string>
<key>Enabled</key>
<true/>
<false/>
<key>ExecutablePath</key>
<string>Contents/MacOS/VoodooInput</string>
<key>MaxKernel</key>
@@ -2132,13 +2140,13 @@
<key>Arch</key>
<string>Any</string>
<key>BundlePath</key>
<string>VoodooI2C.kext/Contents/PlugIns/VoodooGPIO.kext</string>
<string>VoodooI2C.kext/Contents/PlugIns/VoodooI2CServices.kext</string>
<key>Comment</key>
<string></string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/VoodooGPIO</string>
<string>Contents/MacOS/VoodooI2CServices</string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
@@ -2150,13 +2158,13 @@
<key>Arch</key>
<string>Any</string>
<key>BundlePath</key>
<string>VoodooI2C.kext/Contents/PlugIns/VoodooI2CServices.kext</string>
<string>VoodooI2C.kext/Contents/PlugIns/VoodooGPIO.kext</string>
<key>Comment</key>
<string></string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/VoodooI2CServices</string>
<string>Contents/MacOS/VoodooGPIO</string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
@@ -2190,7 +2198,7 @@
<key>Comment</key>
<string></string>
<key>Enabled</key>
<false/>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/VoodooInput</string>
<key>MaxKernel</key>