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 Webcam Pass-Thru to Docker fails (seemingly) randomly, restart fixes but can't seem to debug it

Featured Replies

Hello,

I am trying to pass a Logitech C920 (Crystal Cam) to an Octoprint Docker on Unraid 6.11.1. 

 

I have DVB Drivers installed, USB Manager installed, and have gotten the webcam to work in the docker by passing "/dev/video0" through as CAMERA_DEV and webcam device. The webcam will show in the docker when I start it, work for several hours, and seemingly randomly fail. No settings inside the docker container for octoprint seems to fix it.  Inside Octoprint the stream and snapshot URL are: http://192.168.86.182:5003/webcam/?action=snapshot and it works when I restart the container without changing it, but after an undetermined period of time the link goes dead and both stream and snapshot can't access it. This makes me think it's an Unraid issue and not Octoprint. 

 

When I stop then reseat the usb cable then start the docker container it works, but if I click the restart or stop then start without replugging the webcam it fails.

 

Unraid commands "lsusb" shows the Logitech CrystalCam and "ls /dev/" shows video0 and video1. 

 

The logs in Unraid and octoprint don't seem to indicate any issues. USB Webcam became unresponsive around Nov 28 18:30 or so. 

 

I downloaded USB Manager plugin in an effort to fix this but it didn't seem to change anything, but thought it was worth mentioning.

 

Any ideas on where I need to look to diagnose this? 

 

Thank you!

theblender-diagnostics-20221128-1932.zip theblender-syslog-20221129-0128.zip

Edited by [email protected]

  • 2 months later...

Same here 😞

Unraid and webcams are not best friends - I still hope for a reliable solution

 

 

 

  • 1 month later...

Die you manage to solve this issue? I have the same issue. Did you contact directly the unraid support?

  • 7 months later...
  • Author
On 3/27/2023 at 4:16 AM, Doublemyst said:

Die you manage to solve this issue? I have the same issue. Did you contact directly the unraid support?

No I never solved this issue. Still unsolved. 

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.