Skip to contentSkip to conversation

quickcam_messenger.c: add support for all quickcam Messengers of the same family

PATCH Brandon Philips 2 participants 4 messages Aug 13, 2009 – Aug 17, 2009 2 messages not in the archive Media (V4L/DVB)

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
In reply to a message not in the archive

Hi Brandon,

Em Fri, 7 Aug 2009 18:21:35 -0700
Brandon Philips <[email protected]> escreveu:

Quoted 11 lines

Hey Mauro-

I sent this patch long ago and it seemed to have gotten lost along the way.

Jaya acked the patch so it is in my mercurial tree now:

http://ifup.org/hg/v4l-dvb/
http://ifup.org/hg/v4l-dvb/rev/335a6ccbacb3

Please pull the patch when you get a chance.

Please add a [PULL] tag on pull requests, for it to be properly catched by my scripts.

If you add [PATCH] instead, it will be moved to a special inbox that I generally read only when analyzing Patchwork queue. In this specific case, as your email doesn't have any patch, it will be silently ignored by Patchwork. So, sending it like this is close to send it to /dev/null :)

Anyway, I've re-queued your pull request to my pile of pull's. I'll be handling it shortly.

Cheers,
Mauro

#4 lore raw
In reply to a message not in the archive

Em Fri, 7 Aug 2009 18:21:35 -0700
Brandon Philips <[email protected]> escreveu:

Quoted 15 lines

Hey Mauro-

I sent this patch long ago and it seemed to have gotten lost along the way.

Jaya acked the patch so it is in my mercurial tree now:

http://ifup.org/hg/v4l-dvb/
http://ifup.org/hg/v4l-dvb/rev/335a6ccbacb3

Please pull the patch when you get a chance.

Index: linux-2.6/drivers/media/video/usbvideo/quickcam_messenger.c

static struct usb_device_id qcm_table [] = {

Review

Quoted 5 lines
(quoted diff) +4 -1
-	{ USB_DEVICE(USB_LOGITECH_VENDOR_ID, USB_QCM_PRODUCT_ID) },
+	{ USB_DEVICE(0x046D, 0x08F0) },         /* QuickCam Messenger */
+	{ USB_DEVICE(0x046D, 0x08F5) },         /* QuickCam Communicate */
+	{ USB_DEVICE(0x046D, 0x08F6) },         /* QuickCam Messenger (new) */
+	{ USB_DEVICE(0x046D, 0x08DA) },         /* QuickCam Messenger (new) */

Hmm... this module is obsolete, as I explained at:

	http://lkml.org/lkml/2009/6/23/56

There's also a patch proposing its removal for 2.6.32:

	http://patchwork.kernel.org/patch/33734/

(somehow, it seems that this were incorrectly unqueued. I'll add it on my next upstream series of patches)

As support for QuickCam were already added at gspca and this module is V4L1, it will be soon deprecated/removed from kernel. So, it would be good to test if all those variants are supported by stv06xx.c. From its table, we have:

static const __devinitdata struct usb_device_id device_table[] = {
        /* QuickCam Express */
        {USB_DEVICE(0x046d, 0x0840), .driver_info = BRIDGE_STV600 },
        /* LEGO cam / QuickCam Web */
        {USB_DEVICE(0x046d, 0x0850), .driver_info = BRIDGE_STV610 },
        /* Dexxa WebCam USB */
        {USB_DEVICE(0x046d, 0x0870), .driver_info = BRIDGE_STV602 },
        /* QuickCam Messenger */
        {USB_DEVICE(0x046D, 0x08F0), .driver_info = BRIDGE_ST6422 },
        /* QuickCam Communicate */
        {USB_DEVICE(0x046D, 0x08F5), .driver_info = BRIDGE_ST6422 },
        /* QuickCam Messenger (new) */
        {USB_DEVICE(0x046D, 0x08F6), .driver_info = BRIDGE_ST6422 },
        /* QuickCam Messenger (new) */
        {USB_DEVICE(0x046D, 0x08DA), .driver_info = BRIDGE_ST6422 },
        {}

So, I suspect that everything is there already.

Jaya,

Could you please check if stv06xx.c is properly working with those devices? Feel free to submit patches improving it, if needed.

--

Cheers,
Mauro

#5 lore raw
Quoted 2 lines · Mauro Carvalho Chehab

Could you please check if stv06xx.c is properly working with those devices? Feel free to submit patches improving it, if needed.

Alright, I asked the two users who reported the bug to test gspca_stv06xx.ko also. I will let you know how that goes.

Cheers,

Brandon