-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qvm-usb / USB passthrough fails for webcams #2594
Comments
Related: #2079 |
Apparently, some webcams do work, since that's the example used in the docs. |
I posted instructions for passing a webcam stream from |
I've been hitting a similar issue, haven't tried the workaround from #2079 yet though. (basically upping this post, as it hasn't seen a message for a while) In my case, my webcam stops sending frames to the passed-through VM after a few (~10) minutes of video streaming. |
So I'm thinking this isn't webcam-specific, rather related to high-speed USB, as my ethernet card doesn't work with the same errors in dmesg. Reverting to other kernels didn't help either |
this looks like another case of #3778 the combination of "unlinking urbs" (which is a sign of the usb device being reset) followed by the "cable is bad" (indicating it never came back from that reset). |
Is anyone still affected by this? |
On Tue, Dec 08, 2020 at 04:49:38PM -0800, Andrew David Wong wrote:
Is anyone still affected by this?
I can confirm accessing my phone now works from any VM (after assigning
the device...) while it only used to work with sys-usb. so, yay! & thanks
too!
(on qubes 4.0)
…--
cheers,
Holger
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ holger@(debian|reproducible-builds|layer-acht).org
⢿⡄⠘⠷⠚⠋⠀ PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C
⠈⠳⣄
|
Closing this as resolved. If you believe the issue is not yet resolved, or if anyone is still affected by this issue, please leave a comment, and we'll be happy to reopen this. Thank you. |
I have a similar problem, but only with my two new FullHD webcams. My old HD ready webcam worked well. Actually, my FullHD webcams worked well with |
Qubes OS version (e.g.,
R3.2
):R3.2
Affected TemplateVMs (e.g.,
fedora-23
, if applicable):fedora-23, dom0
Expected behavior:
Should be able to use webcams even when using a usb VM, using qvm-usb to pass them off.
Actual behavior:
My webcams only function in the VM they are connected to.
Steps to reproduce the behavior:
sudo gst-launch-1.0 v4l2src ! videoconvert ! ximagesink
The webcam view should be displayed.
sudo gst-launch-1.0 v4l2src ! videoconvert ! ximagesink
For me, the command fails with an error such as
Cannot identify device '/dev/video0'
.General notes:
I have tried two different cameras. Both fail on anything but sys-usb.
dmesg for example camera on sys-usb, recording works:
dmesg for example camera on sys-firewall, recording fails:
Here is the dmesg on sys-usb while the camera is attached to sys-firewall (timestamps are not aligned):
Related issues:
The text was updated successfully, but these errors were encountered: