From: Takashi Iwai Subject: Re: [PATCH] snd-usb-audio: explicitly match Logitech QuickCam Date: Wed, 02 May 2007 12:53:42 +0200 Message-ID: References: <20070430031301.206B07B409F@zog.reactivated.net> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (ns2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 5885D243FA for ; Wed, 2 May 2007 12:53:43 +0200 (CEST) In-Reply-To: <20070430031301.206B07B409F@zog.reactivated.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Daniel Drake Cc: alsa-devel@alsa-project.org, stern@rowland.harvard.edu, linux-usb-devel@lists.sourceforge.net, perex@suse.cz List-Id: alsa-devel@alsa-project.org At Mon, 30 Apr 2007 04:13:00 +0100 (BST), Daniel Drake wrote: > > Commit 93c8bf45e083b89dffe3a708363c15c1b220c723 modified the USB device > matching behaviour to ignore interface class matches if the device class > is vendor-specific. > > This patch adds an explicit ID match for the Logitech QuickCam Messenger, > which has a vendor specific device class (but standards-compliant audio > interfaces). > > This fixes a 2.6.20 regression where the audio component of this device was > no longer usable. > > http://bugs.gentoo.org/show_bug.cgi?id=175715 > https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/93822 > https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3040 > > Based on a patch from sergiom > > Signed-off-by: Daniel Drake Thanks, I now applied it to ALSA tree. Takashi > > Index: linux/sound/usb/usbquirks.h > =================================================================== > --- linux.orig/sound/usb/usbquirks.h > +++ linux/sound/usb/usbquirks.h > @@ -40,6 +40,21 @@ > .bInterfaceClass = USB_CLASS_VENDOR_SPEC > > /* > + * Logitech QuickCam: bDeviceClass is vendor-specific, so generic interface > + * class matches do not take effect without an explicit ID match. > + */ > + > +{ > + .match_flags = USB_DEVICE_ID_MATCH_DEVICE | > + USB_DEVICE_ID_MATCH_INT_CLASS | > + USB_DEVICE_ID_MATCH_INT_SUBCLASS, > + .idVendor = 0x046d, > + .idProduct = 0x08f0, > + .bInterfaceClass = USB_CLASS_AUDIO, > + .bInterfaceSubClass = USB_SUBCLASS_AUDIO_CONTROL > +}, > + > +/* > * Yamaha devices > */ > > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@alsa-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel >