I am using python 3.10 with pyUSB to fetch the information of connected usb devices using usb.core.find. Then I iterate trough them and have to get the device.port_numbers property for stuff afterwards.
In previous macOS version this worked find. But after switching to macOS Tahoe it does only return None. More specifically I’m using Tahoe 26.0..
Not sure if it has something to do with pyUSB or the underlying libusb.
Here my short troubleshooting script:
import usb.core
devices = usb.core.find(
find_all=True,
)
for device in devices:
print(device.port_numbers) # prints None, but should return something like [5,]…
Does someone know what’s going on or how to solve it? Greatly appreciate your help!