SOLVED. NOTES IN THE EDIT
Hi,
I've been having this issue on and off, but it's finally gotten to the point that I can't resolve it on my own.
I have an Aeotec Z-Stick Gen5+ plugged into my Unraid machine that's being passed to my Home Assistant VM HaasOS.
Just the other day when looking at my Zwave JS UI I'm not seeing any devices and see the following error:
Driver: Failed to open the serial port: Error: No such file or directory, cannot open /dev/ttyACM0 (ZW0100)
From what I've googled and searched the issue is caused by the VM not seeing the USB device. In the past I would reboot the VM or unplug and replug the zwave stick and the issue would be resolved but now those quick fixes aren't working.
Under settings -> systems -> hardware in home assistant I don't see the zwave device listed.
Can someone please help me troubleshoot what's going on with the passthrough?
Edit: I figured it out! I think it's a bug in Unraid unless I'm misunderstanding the way the VM config works.
Even though I had the USB device checked it was showing as:
<hostdev mode='subsystem' type='usb' managed='no'>
I changed it to
<hostdev mode='subsystem' type='usb' managed='yes'>
That resolved the issue and the device started showing up.