#21 LT Quickcam Express isn't detected as v4l capable

open
nobody
None
5
2008-08-03
2008-08-03
No

As reported by this bug report - https://bugs.launchpad.net/ubuntu/+source/linux-ubuntu-modules-2.6.24/+bug/196811 - at Launchpad by Sebastian Keller, a Logitech Quickcam Express isn't detected as v4l capable by HAL and thus doesn't work with HAL based applications.

lsusb:
Bus 003 Device 007: ID 046d:0840 Logitech, Inc. QuickCam Express

A patch Simon Munton wrote solves this:
--- qc-driver.c.orig 2006-10-24 03:06:19.000000000 +0100
+++ qc-driver.c 2008-07-01 20:43:39.000000000 +0100
@@ -3155,6 +3155,7 @@

/* Register V4L video device */
memcpy(&qc->vdev, &qc_v4l_template, sizeof(qc_v4l_template));
+ qc->vdev.dev = &usbdev->dev;
qc->vdev.priv = qc;
r = video_register_device(&qc->vdev, VFL_TYPE_GRABBER, video_nr);
if (r<0) goto fail3;

The bug report at Launchpad contains a lot of background information if more is needed, but I think this should be enough.

Discussion


Log in to post a comment.