question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

UTBMap.kext not being loaded?

See original GitHub issue

I’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 the IOProviderMergeProperties 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.

usb kexts.zip

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dhinakgcommented, May 24, 2021

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.

0reactions
adrianlungucommented, May 23, 2021

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 ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

<< Solved >> - USBMap Help Needed | tonymacx86.com
kext is the cause of any issues. I really doubt it is, because there is no executable code in USBports, it is just...
Read more >
USBMap settings not applied properly : r/hackintosh - Reddit
I was recently bitten by the "Mouse/Keyboard USB not working in 11.3" ... In config.plist for USBMap.kext, setting ExecutablePath to an ...
Read more >
USB Mapping | OpenCore Post-Install - Dortania
Its the time you've all been waiting for, we finally get to create our USB map! First off, we'll want to grab a...
Read more >
How to fix USB 3 ports on a Hackintosh by ... - YouTube
How to fix USB 3 ports on a Hackintosh by generating your own SSDT or USBMap. kext.
Read more >
How To Fix and Map USB Ports On macOS | Hackintosh
How To Fix and Map USB Ports On macOS | Hackintosh | Step By Step Guide.Click to get notified about our latest videos✓...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found