Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#17 Patch for qc-usb for kernel 2.6.24-rc2

open
nobody
None
5
2007-11-24
2007-11-24
No

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.

Discussion

  • 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