Unable to connect USB devices with same Location ID and VID:PID
The two USB C ports at the front of my Mac Mini share the same Location ID as shown by the utmctl usb connect command. This also applies to the two different USB hubs I have tried.
This makes it impossible to connect several different USB devices on the same USB hub or front ports on my Mac Mini Home Assistant VM that also have the same VID:PID (e.g. my Aeotec Z-Wave stick, bluetooth controllers, serial adapters, etc.)
Output of utmctl usb list:
Name VID :PID Location
USB AUDIO DAC (2:0) 08BB:27C4 0
USB Receiver (2:0) 046D:C52B 65536
CP2102N USB to UART Bridge Contr 10C4:EA60 196608
FT232R USB UART (0:0) 0403:6001 131072
RFXtrx433 (1:0) 0403:6001 131072
USB-Serial Controller D (2:0) 067B:2303 131072
0A12:0001 0A12:0001 131072
0A12:0001 0A12:0001 131072
In this scenario, using the utmctl usb connect command specifying either the VID:PID or Location ID isn't enough to uniquely specify a USB device.
Using AppleScript, although I can do something like:
set device to first usb device whose name is "0a12:0001" and id is 65536
this does not uniquely select the right device as all devices are only stored by id as shown by:
get properties of every usb device
Is there a fix for this where we can uniquely address a USB port when it is part of a hub (either externally or internal to my Mac mini e.g. front ports)?
Configuration
- UTM Version: 4.6.5 (108)
- macOS Version: Tahoe 26.0.1
- Mac Chip (Intel, M1, ...): M4
Home Assistant VM is ARM64 QEMU 9.1 ARM