Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 184554

Summary: yet another logitech quickcam not recognized by snd-usb-audio
Product: Gentoo Linux Reporter: George Shapovalov (RETIRED) <george>
Component: New packagesAssignee: Daniel Drake (RETIRED) <dsd>
Status: RESOLVED FIXED    
Severity: normal CC: kernel
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch against the tree adding support for Logitech Quickcam with that id (as in the name).
lsusb -v output (logitech part)

Description George Shapovalov (RETIRED) gentoo-dev 2007-07-07 23:36:35 UTC
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 Daniel Drake (RETIRED) gentoo-dev 2007-07-08 04:16:47 UTC
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 George Shapovalov (RETIRED) gentoo-dev 2007-07-08 08:06:11 UTC
Created attachment 124214 [details, diff]
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 George Shapovalov (RETIRED) gentoo-dev 2007-07-08 08:12:09 UTC
Created attachment 124216 [details]
lsusb -v output (logitech part)
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2007-07-09 02:20:01 UTC
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 Daniel Drake (RETIRED) gentoo-dev 2007-07-28 16:02:59 UTC
Fixed in gentoo-sources-2.6.22-r2 (genpatches-2.6.22-3)