I'm having trouble using the UV4L raspidisp device driver from linux-projects. This is supposed to provide a V4L2 compliant device that provides the output from the Raspberry Pi's HDMI output at /dev/videoX
.
Unfortunately, I cannot get it to work. While the installation instruction on the page skips to mention that uv4l-raspicam
is not optional even if I don't have a camera attached and also don't intend to do so, I can't get a frame capture using the V4L2 interface.
I also tried some configuration of the driver by issuing
uv4l --driver raspidisp --display 0 --framerate 5 --resolution 3
I am using this bellbind/capture.c for testing. It compiles with
gcc capture.c -ljpeg -o capture
So, as opposed to the suggested compile statement you just skip -std=c99
. This code works flawlessly with a UVC webcam, but not with UV4L raspidisp. I get an Operation not permitted
error, even when I run the software with sudo
.
What am I missing here? Has anyone already worked with UV4L raspidisp?