Bug 184554 - yet another logitech quickcam not recognized by snd-usb-audio
Bug#: 184554 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: dsd@gentoo.org Reported By: george@gentoo.org
Component: Ebuilds
URL: 
Summary: yet another logitech quickcam not recognized by snd-usb-audio
Keywords:  
Status Whiteboard: 
Opened: 2007-07-07 23:36 0000
Description:   Opened: 2007-07-07 23:36 0000
This is closely related to #175715 (may be I should even have just reopened
it), so I assigned it following what that bug had in the fields. Daniel: sorry
if this should not go to you, please reassign as you see fit in that case.

I recently purchased some model of Logitech Quickcam with microphone, however
looks like this is a slightly newer revision. This one has an id 046d:08ae and
kernel does not seem to know about it yet (gentoo-sources-2.6.21-r3, the latest
atm in ~arch). The "fix" is to create another copy of the device description
block in  sound/usb/usbquirks.h and stuff the new id there, like this:

{
        .match_flags = USB_DEVICE_ID_MATCH_DEVICE |
                       USB_DEVICE_ID_MATCH_INT_CLASS |
                       USB_DEVICE_ID_MATCH_INT_SUBCLASS,
        .idVendor = 0x046d,
        .idProduct = 0x08ae,
        .bInterfaceClass = USB_CLASS_AUDIO,
        .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL
},

(near line 72, end of Logitech block)
Do you want me to attach this as a complete patch?

George

------- Comment #1 From Daniel Drake 2007-07-08 04:16:47 0000 -------
if you want to attach the patch I'll send it upstream on your behalf (with your
authorship retained). Otherwise I'll submit one tomorrow mentioning you as a
contributor.

thanks.

------- Comment #2 From George Shapovalov 2007-07-08 08:06:11 0000 -------
Created an attachment (id=124214) [details]
patch against the tree adding support for Logitech Quickcam with that id (as in
the name).

Here you go.
I'll attach next the relevant part of output of lsusb -v

------- Comment #3 From George Shapovalov 2007-07-08 08:12:09 0000 -------
Created an attachment (id=124216) [details]
lsusb -v output (logitech part)

------- Comment #4 From Daniel Drake 2007-07-09 02:20:01 0000 -------
thanks, moved it into the right place (to preserve ID ordering) and sent
upstream.
BTW, it doesn't matter for trivial patches, but you should sign off on all
kernel contributions. see section 12 of Documentation/SubmittingPatches

------- Comment #5 From Daniel Drake 2007-07-28 16:02:59 0000 -------
Fixed in gentoo-sources-2.6.22-r2 (genpatches-2.6.22-3)