Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
quickcam
qc-usb.video_device-type.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qc-usb.video_device-type.patch of Package quickcam
--- qc-driver.c | 6 ++++++ 1 file changed, 6 insertions(+) --- a/qc-driver.c +++ b/qc-driver.c @@ -2516,7 +2516,11 @@ static int qc_v4l_ioctl(struct video_dev if (qcdebug&QC_DEBUGUSER) PDEBUG("VIDIOCGCAP"); memset(&b, 0, sizeof(b)); strcpy(b.name, "Logitech QuickCam USB"); /* Max 31 characters */ +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27) + b.type = qc->vdev.vfl_type; +#else b.type = qc->vdev.type; +#endif b.channels = 1; b.audios = 0; b.maxwidth = qc->sensor_data.maxwidth; @@ -2995,7 +2999,9 @@ static struct file_operations qc_v4l_fop static struct video_device qc_v4l_template = { name: "QuickCam USB", +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27) type: VID_TYPE_CAPTURE | VID_TYPE_SUBCAPTURE, +#endif minor: -1, #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) release: qc_v4l_release,
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor