Hello,
I recently migrated my Home Assistant setup from an old Intel Mac Mini running on VirtualBox to a Mac Mini M1 using VMware Fusion Pro 13.6.3. I used the Aarch64 v14.2 image to set up my new Home Assistant instance and restored a backup.
For my setup, it’s crucial that everything comes online automatically after a reboot (e.g., following a power outage) without any manual intervention. However, I’m struggling with getting my three USB devices to properly attach after booting:
- Sonoff Zigbee V2
- APC Backup UPS
- USB-serial relay module
In the virtual machine’s USB configuration, I set “Connect to this virtual machine” and enabled USB 3.1 compatibility. I also modified the VMX parameters to automatically attach my devices using their vendor and product IDs:
usb.autoConnect.device0 = “0x1a86:0x55d4”
usb.autoConnect.device1 = “0x1a86:0x7523”
usb.autoConnect.device2 = “0x51d:0x2”
During boot, all USB devices appear as attached to the virtual machine, but Home Assistant doesn’t detect them. The ZHA integration reports a configuration error, and the NUT tools for the UPS are unresponsive. In Home Assistant > System > Hardware Information, the devices do not appear.
To get them working, I have to manually disconnect and reconnect each USB device within the virtual machine and restart the Zigbee and NUT integrations—only then do they function correctly.
Could you provide some guidance on how to debug this? I’m unsure whether the issue lies with the virtualization setup or a possible bug during the boot in the Aarch64 USB management.
I also attempted to use UTM for virtualization, but I couldn’t find a way to automatically attach USB devices at boot—I had to do it manually there as well.
Thanks in advance for your help!
Joseph