Closed sighmon closed 4 years ago
Just a symlink to /dev/video0 is enough:
ln -s /dev/video0 /dev/video1
@sighmon Thanks for the details description. I'm also using v4l2loopback v.0.12.5 without any issues. The playbook will be updated asap.
@rstrehle This doesn't work.
After running the Ansible playbook on RaspiOS Lite Buster 2020-05-27 I was struggling with the error from
cat /var/log/hkcam/current
:So I modified the
ansible/roles/hkcam/tasks/configure.yml
to a newerv0.12.5
release ofv4l2loopback
:I then stopped the service on the Raspberry Pi with
sudo sv stop hkcam
and re-ran the ansible playbook on macOSansible-playbook rpi.yml -i hosts --ask-pass
.This still didn't seem to work, as I still didn't have
/dev/video1
, so I re-ran the modprobe command:After that it created
/dev/video1
and I could get the video streaming.It's a bit late at night here to see if re-running modprobe would have fixed it without having to install
v0.12.5
, but in any case this is what worked for me.