UTBMap.kext not being loaded?
See original GitHub issueI’m just leaving this here in case anyone else runs into this. Not sure if it’s something on my end, or there was something preventing this from properly being loaded.
I’ve been trying to load the generated UTBMap.kext
for a couple of hours now and it didn’t seem to work at all. Do note that I’ve generated the kext
using Windows. Everything is up to date (including BIOS, drivers, etc.).
Kextutil was reporting the following:
Diagnostics for /Users/adrian/UTBMap.kext:
Warnings:
Personality CFBundleIdentifier differs from containing kext's (not necessarily a mistake, but rarely done):
XHC
Personality CFBundleIdentifier names a kext that can't be found:
'XHC' -> 'com.dhinakg.USBToolBox.kext'
Kext has no executable or compatible version, so it should not declare any OSBundleLibraries.
Dependency Resolution Failures:
No kexts found for these libraries:
com.dhinakg.USBToolBox.kext
In the end, I stumbled upon this page: https://dortania.github.io/OpenCore-Post-Install/usb/manual/manual.html#special-notes
After following the guide there, I changed the following:
- Remove
OSBundleLibraries
(this may be the thing causing the dependency resolution failure ?) - Use the
IOProviderClass
the guide recommended - Change a few other things to be closer to the sample
plist
and the recommended manual mapping; kept theIOProviderMergeProperties
intact.
In the end, this helped load the kext and have the XHC Ports correlate with the IOProviderMergeProperties
specified in the kext
, and System Report shows the proper USB ports now.
I’ve attached the before
(UTBMap.kext) and after
(USBMap.kext) for reference.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Up to you. Really need to work on proper docs (kext options, in depth how to map, etc) but I’ve just entered the period where I can’t spend a lot of time.
Ah, ok, now it makes sense!
I wasn’t sure what the
Use Native Classes
option would do.Might I propose a slight improvement in the docs for this repo ? Or if you’re open to collabs I could give it a shot and cook up a PR ?