Comment 4 for bug 945330

Revision history for this message
Evan P (evplatt-gmail) wrote :

I was able to get vloopback working in Oneiric. I basically forced some defines and changed the videodev include to make it compile.

First, install the libv4l-div package. Then you will need to include libv4l1-videodev.h instead of linux/videodev.h (you will not see this in the attached patch file - I used a symlink to link to the new header)

I have never created a patch before, and the attached file may not be 'patch'able, but it should summarize the changes I made.

Make failed to compile the example, but I ignored that. I also commented out the 'example' line from the install section of the Makefile, so that 'make install' was successful without the example.

So summarize:
1) install libv4l1-videodev.h
2) include libv4l1-videodev.h instead of videodev.h
3) make the other changes in the attached patch
4) comment out first line of 'install' section of makefile
5) 'make', 'sudo make install', 'modprobe vloopback'

Hope this helps.