cychiang / webcamstudio

Automatically exported from code.google.com/p/webcamstudio
GNU General Public License v3.0
1 stars 0 forks source link

Webcamstudio kernel module doesn't compile on kernel versions >= 3.6.0 #80

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Since kernel version 3.6.0 there are some changes in the v4l2 code which 
prevent webcamstudio kernel module r416 (its actual last change revision is 
r307) to compile. 
One of these changes is dropping support for v4l2_buffer.input (see log at 
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commit;h=2b7
19d7baf490e24ce7d817c6337b7c87fda84c1).
So a patch is needed to fix the issue at line 2028 
(https://code.google.com/p/webcamstudio/source/browse/trunk/trunk/vloopback/webc
amstudio.c#2028) of trunk/trunk/vloopback/webcamstudio.c (i am attaching it).

What version of the product are you using? On what operating system?
webcamstudio r416 on Gentoo latest updates with kernel 3.6.1

Original issue reported on code.google.com by peter.u....@gmail.com on 12 Oct 2012 at 3:19

Attachments:

GoogleCodeExporter commented 9 years ago
I've refined the needed patch since "reserved2" and "reserved" should be equal 
to 0 too. Uploading the new patch (and deleting the initially proposed one).

Original comment by peter.u....@gmail.com on 18 Oct 2012 at 11:30

Attachments:

GoogleCodeExporter commented 9 years ago
Patch added to main SVN tree.
Compilation for newer kernels fixed.

Original comment by peter.u....@gmail.com on 3 Apr 2013 at 6:43