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.

[USB Passtrough] USB device ID changing every minute

Featured Replies

Hi everybody!

 

I am trying to passthrough a CC2531 Zigbee USB stick for days now. As you might expect, without any success. My investigations led me to the following problem that might cause the initial problem with passing through the USB device.

 

If I do a 'lsusb' to list the USB devices, the Zigbee stick shows up as "Texas Instruments ....." but as you can see from the attached screenshot, the Zigbee stick's device ID constantly changes every minute. The stick itself is plugged in the same USB port the whole time. Sometimes it even looses connection to UnRaid I guess, because it does not show up in the output.

 

Is there any trick get UnRaid to not change the device ID every minute? I guess this would help a lot to get the Zigbee stick passed through to my VM or a Docker container in the future.

 

Thanks in advance!

 

P.S.:

UnRaid is running on a Asrock J5005-ITX board. I tried multiple of the board's USB ports, 2.0 as well as 3.0 ports, with the same result. Also wanted to pass through the whole PCI controller, but since the board only seems to have one, this is not possible. Even if the output says there are two buses, the Zigbee stick always shows up below bus 001, no matter what USB port I plug it in.

 

Bildschirmfoto 2020-05-12 um 14.38.50.png

Edited by laest

  • Author

Does nobody have any idea?

I am also seeing my device change ids, but only when I unplug it and plug it back in, forcing me to reconnect it to the VM.
I also don't have this working, but I can see the device at /dev/ttyACM0 in the VM, but encounter errors when trying to use it.

  • 2 weeks later...
  • Author

My device ID is changing without the device being unplugged and reconnected. So I cannot use the USB Device at all :(

 

Would be great if somebody could help us with a solution! :) 

probably not of much help but usb controllers seem to be hit and miss for many (espeically amd ryzen owbers) and even then it feels usb controllers even when in seperate groups appear to still be sharing from the other usb controllers on the mobo causing other issues and instability.

 

I see why space invader vid he just bought a usb controller card and passed that through so reduced the headache, gonna do same shortly.

  • Author

I just re-flashed my cc2531 stick and the error does not occur again. Don‘t really know why this helped since the cc2531 worked well with the initial firmware on my old raspberry pi.

I'm stuck on the same "single USB controller" with my j5005. I've ordered this Key A-E to USB Extension Card as a potential work around but I won't get it for another month. I'll report back when I've tested it.

 

  • 2 years later...

for Dockers 

the best method to passthrough usb to docker is via device by-id

open unraid terminal
type 

ls -l /dev/serial/by-id

 

you will get output of your devices with names

image.thumb.png.cd72d8f445bd803898dfcb787b1ecd99.png

 

copy the whole BLUE name of your device

 

go to your docker and edit config

 

add /dev/serial/by-id/  before pasting the name from above.

eg

/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_dcf756dbb712ec118bca20c7bd930c07-if00-port0

then add :/dev/zigbee to the end -  this is the container mount point

 

so you end up with this in your Docker Host config:

/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_dcf756dbb712ec118bca20c7bd930c07-if00-port0:/dev/zigbee

 

if anywere inside your docker program it asks for the device location you would set it to :
/dev/zigbee

 

image.png.6b6d9e80a01650299b64da65d2a19359.png

Edited by TRusselo

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.