From 5fdc2368c4de4ca6d759139d51e294b4bbd55958 Mon Sep 17 00:00:00 2001
From: Titouan <22703571+PeuTit@users.noreply.github.com>
Date: Mon, 28 Feb 2022 08:09:47 +0100
Subject: [PATCH] Add usb map kext
---
EFI/OC/Kexts/USBMap.kext/Contents/Info.plist | 216 +++++++++++++++++++
EFI/OC/config.plist | 18 ++
2 files changed, 234 insertions(+)
create mode 100644 EFI/OC/Kexts/USBMap.kext/Contents/Info.plist
diff --git a/EFI/OC/Kexts/USBMap.kext/Contents/Info.plist b/EFI/OC/Kexts/USBMap.kext/Contents/Info.plist
new file mode 100644
index 0000000..ff5fd91
--- /dev/null
+++ b/EFI/OC/Kexts/USBMap.kext/Contents/Info.plist
@@ -0,0 +1,216 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ English
+ CFBundleGetInfoString
+ v1.0
+ CFBundleIdentifier
+ com.corpnewt.USBMap
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ USBMap
+ CFBundlePackageType
+ KEXT
+ CFBundleShortVersionString
+ 1.0
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ 1.0
+ IOKitPersonalities
+
+ MacBookPro14,1-XHC
+
+ CFBundleIdentifier
+ com.apple.driver.AppleUSBHostMergeProperties
+ IOClass
+ AppleUSBHostMergeProperties
+ IOParentMatch
+
+ IOPropertyMatch
+
+ pcidebug
+ 0:20:0
+
+
+ IOProviderClass
+ AppleUSBXHCIPCI
+ IOProviderMergeProperties
+
+ kUSBMuxEnabled
+
+ port-count
+
+ DQAAAA==
+
+ ports
+
+ HS01
+
+ Comment
+ left-usb-2
+ UsbConnector
+ 3
+ port
+
+ AQAAAA==
+
+
+ HS02
+
+ Comment
+ right-top-usb-2
+ UsbConnector
+ 3
+ port
+
+ AgAAAA==
+
+
+ HS03
+
+ Comment
+ right-bottom-usb-2
+ UsbConnector
+ 3
+ port
+
+ AwAAAA==
+
+
+ HS04
+
+ Comment
+ left-usb-c-2
+ UsbConnector
+ 3
+ port
+
+ BAAAAA==
+
+
+ HS05
+
+ Comment
+ right-sd-card-reader
+ UsbConnector
+ 3
+ port
+
+ BQAAAA==
+
+
+ HS06
+
+ UsbConnector
+ 3
+ port
+
+ BgAAAA==
+
+
+ HS07
+
+ #port
+
+ BwAAAA==
+
+ UsbConnector
+ 3
+
+ HS08
+
+ UsbConnector
+ 3
+ port
+
+ CAAAAA==
+
+
+ HS09
+
+ #port
+
+ CQAAAA==
+
+ UsbConnector
+ 3
+
+ HS10
+
+ #port
+
+ CgAAAA==
+
+ UsbConnector
+ 3
+
+ HS11
+
+ #port
+
+ CwAAAA==
+
+ UsbConnector
+ 3
+
+ HS12
+
+ #port
+
+ DAAAAA==
+
+ UsbConnector
+ 3
+
+ SS01
+
+ Comment
+ left-usb-3
+ UsbConnector
+ 3
+ port
+
+ DQAAAA==
+
+
+ SS02
+
+ #port
+
+ DgAAAA==
+
+ UsbConnector
+ 3
+
+ SS03
+
+ #port
+
+ DwAAAA==
+
+ UsbConnector
+ 3
+
+ SS04
+
+ #port
+
+ EAAAAA==
+
+ UsbConnector
+ 3
+
+
+
+ model
+ MacBookPro14,1
+
+
+ OSBundleRequired
+ Root
+
+
diff --git a/EFI/OC/config.plist b/EFI/OC/config.plist
index f961257..23c5acc 100644
--- a/EFI/OC/config.plist
+++ b/EFI/OC/config.plist
@@ -568,6 +568,24 @@
PlistPath
Contents/Info.plist
+
+ BundlePath
+ USBMap.kext
+ Comment
+ USBMap.kext
+ Enabled
+
+ ExecutablePath
+
+ Arch
+ Any
+ MaxKernel
+
+ MinKernel
+
+ PlistPath
+ Contents/Info.plist
+
Block