Simple patch for qc-usb to compile under latest kernel, may work with previous versions with the following errors:
qc-usb-0.6.5/qc-driver.c:824: error: 'struct urb' has no member named 'lock'
/qc-driver.c:3009: error: unknown field 'hardware' specified in initializer
Works fine under Slackware 12, kernel 2.6.24-rc2 and a QuickCam Web.
Tested with MPlayer with both rgb32 and yuy2 image formats.
Just patch in source directory with patch -p1.
Patch for qc-usb for kernel 2.6.24-rc2
Logged In: YES
user_id=714040
Originator: YES
Updated patch, it will not brake builds with older kernels and makes the changes specific for the kernel version that broke the code, added comments on it.
File Added: qc-usb-2.6.24-rc2.diff