What steps will reproduce the problem?
1. Compile vloopback on Linux 4.0.7.
What is the expected output?
The kernel module can be successfully compiled.
What do you see instead?
Building webcamstudio kernel module... make -C /lib/modules/4.0.7-300.fc22.x86_64/build M=/path/to/vloopback modules make[1]: Entering directory '/usr/src/kernels/4.0.7-300.fc22.x86_64' CC [M] /path/to/vloopback/webcamstudio.o /path/to/vloopback/webcamstudio.c: In function 'init_vdev': /path/to/vloopback/webcamstudio.c:2040:7: error: 'struct video_device' has no member named 'debug' vdev->debug = V4L2_DEBUG_IOCTL | V4L2_DEBUG_IOCTL_ARG; ^ /path/to/vloopback/webcamstudio.c:2040:17: error: 'V4L2_DEBUG_IOCTL' undeclared (first use in this function) vdev->debug = V4L2_DEBUG_IOCTL | V4L2_DEBUG_IOCTL_ARG; ^ /path/to/vloopback/webcamstudio.c:2040:17: note: each undeclared identifier is reported only once for each function it appears in /path/to/vloopback/webcamstudio.c:2040:36: error: 'V4L2_DEBUG_IOCTL_ARG' undeclared (first use in this function) vdev->debug = V4L2_DEBUG_IOCTL | V4L2_DEBUG_IOCTL_ARG; ^
The Operating system you are using (Linux, Windows etc)?
Fedora 22 with Linux 4.0.7
What version of WebcamStudio are you using?
svn trunk r594
What version of Java are you using?
openjdk version "1.8.0_45"
Hi and thanks for the feedback.
We will update v4l2loopback WebcamStudio fork to work with 4.x kernels. In the meanwhile you can use the original v4l2loopback module that seems already 4.x compatible:
https://github.com/umlaeute/v4l2loopback
karl
The updated version of webcamstudio module can be found here:
https://sourceforge.net/projects/webcamstudio/files/Sources/Stable/Kernel%20Module/webcamstudio-module-114.tar.bz2/download
Any Feedback is very appreciated :)
karl
It can be successfully compiled now.
But I cannot load it.
dmesg shows:
Thank you very much for testing it, it was very helpful :)
I hope this one works:
https://sourceforge.net/projects/webcamstudio/files/Sources/Stable/Kernel%20Module/webcamstudio-module-1141.tar.bz2/download
karl
This version works now!
Thanks a lot !!!
Have a good day.
karl