OpenVZ Forum


Home » General » Support » Camera USB container openvz (Camera USB container openvz)
Camera USB container openvz [message #53283] Wed, 16 May 2018 11:39
aarango is currently offline  aarango
Messages: 7
Registered: March 2017
Junior Member
Hi,

Im trying pass-through a webcam to openvz container. I followed step to step guide and in container I can see camera

root@UAV:/dev# lsusb
Bus 003 Device 007: ID 045e:0772 Microsoft Corp. LifeCam Studio

But I am trying to execute ffplay with that camera and I can't
root@UAV:/dev# ffplay /dev/bus/usb/003/007
Could not initialize SDL - No available video device
(Did you set the DISPLAY variable?)

If I connect directly to server linux, server mounts /dev/video0 and I can use ffplay but with container I think that its mounting a simple USB and USB can't know if its a camera or pen driver usb.

In container I have device detected correctly
root@UAV:/dev/bus/usb/003# ls -alh
total 0
drwxr-xr-x 2 root root 60 May 16 13:28 .
drwxr-xr-x 3 root root 60 May 16 13:28 ..
crw-rw-r-- 1 root root 189, 262 May 16 13:28 007

Any help? I tried with a symbolic link but not luck.

Thanks.
Previous Topic: OpenVZ 7 Containers suddenly missing venet0
Next Topic: Precreated templates for OpenVZ 7
Goto Forum:
  


Current Time: Tue Aug 06 21:18:32 GMT 2024

Total time taken to generate the page: 0.03540 seconds