Ming
DIIDevHeads IoT Integration Server
•Created by melta101 on 12/17/2024 in #middleware-and-os
Does anyone know how to reset a USB port on MacOS?
Have you tried unloading and re-loading the USB Kernel extensions?
In 'System Settings goto General --> About. At the bottom of the page, there is the 'System Report'. Open that.
Under 'Hardware' Select 'USB' , and select your USB Bus. This will tell you what type of Controller you have. e.g., mine is:
Host Controller Driver: AppleUSBEHCIPI7C9X440SL
that tells me that I am using EHCI controller.
Then, in a terminal, find the kernel extension with
kextstat -l | grep USB
Find the extension for your controller. Mine is com.apple.driver.usb.AppleUSBEHCI
Then try unloading it and reloading it
sudo kextunload com.apple.driver.usb.AppleUSBEHCI
Find the location of the extension
find /System/Library/Extensions -name "*AppleUSBEHCI*"
Then re-load it
sudo kextload /System/Library/Extensions/IOUSBHostFamily.kext/Contents/PlugIns/AppleUSBEHCI.kext
30 replies