Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Issue keeping my USB passed through to VM

Featured Replies

Hello, 

Hoping someone can help me address this issue.  I run Home Assistant in a VM, and have two USB's that run in it.  A Z wave and Zigbee switch.

The Z wave switch loads into it fine, and when the server restarts it loads into it automatically like it should.

The Zigbee switch will load into it if I do it manually, but wont do it automatically on restart.  I am trying to correct that.

Any thoughts?  

Here are the details of my VM

<hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x1a86'/>
        <product id='0x55d4'/>
        <address bus='1' device='6'/>
      </source>
      <alias name='hostdev0'/>
      <address type='usb' bus='0' port='1'/>
    </hostdev><hostdev mode='subsystem' type='usb' managed='no'>
      <source>
        <vendor id='0x1cf1'/>
        <product id='0x0030'/>
        <address bus='1' device='7'/>
      </source>
      <alias name='hostdev1'/>
      <address type='usb' bus='0' port='2'/>
    </hostdev>
 

 

Thanks!!
-Chase 

2025-04-22_10-22-55.jpg

2025-04-22_10-22-09.jpg

Solved by SimonF

  • Author

Anyone have any thoughts?

  • Community Expert
1 hour ago, coltonc18 said:

Anyone have any thoughts?

That should work and the VM would not start if it was missing. Anything in the VM log? Does the device show in the systems info within HA. You could try USB manager.

  • Author

I just force stopped the VM, and restarted it...the zigbee was not added with the rest.

Here is the entire log of the VM from start, no errors that I could see.
https://pastebin.com/eQ1u1SRv

Here is USB manager, and the settings setup for that device, is one of the settings wrong? 

2025-04-25_11-29-22.jpg

2025-04-25_11-27-27.jpg

  • Author
41 minutes ago, SimonF said:

Does the device show in the systems info within HA. You could try USB manager.

Not sure what you mean here, once I attach the device manually it does show.  I have about 30 zigbee devices on my HA, and its a pain when my zigbee system isnt working only to realize that the USB isnt showing as attached for whatever reason.

Once I attach it, it starts working within a min or so.  

  • Community Expert
  • Solution
33 minutes ago, coltonc18 said:

Not sure what you mean here, once I attach the device manually it does show.  I have about 30 zigbee devices on my HA, and its a pain when my zigbee system isnt working only to realize that the USB isnt showing as attached for whatever reason.

Once I attach it, it starts working within a min or so.  

You need to remove the mappings off the VM template and let usb manager do it. The mapped outside is because it was mapped in the template.

  • Author

Thank you sooo much!! That was it, I removed it from the template and updated the USB manager and it's working now!!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.