ich reiche ein USB-WebCam in eine KVM (Testing). Tests mit fswebcam funtionieren.
Nun moechte ich die Kamera in einen LXC-Container mit zoneminder weiterreichen.
meine config dazu:
Code: Alles auswählen
lxc.cgroup.devices.allow = c 81:* rwm
lxc.mount.entry = /dev/video0 dev/video0 none bind,optional,create=file
Code: Alles auswählen
root@debc12-03:/home/kkadmin# fswebcam test1.jpg
--- Opening /dev/video0...
Trying source module v4l2...
Error opening device: /dev/video0
open: Operation not permitted
Trying source module v4l1...
Error opening device: /dev/video0
open: Operation not permitted
Unable to find a source module that can read /dev/video0.
Dank und Gruss
klak