From mboxrd@z Thu Jan 1 00:00:00 1970 From: Clemens Ladisch Subject: Re: Kernel: snd-usb-audio: probe of 2-2:1.0 failed with error -5 Date: Tue, 29 Nov 2011 20:23:18 +0100 Message-ID: <4ED53126.7000708@ladisch.de> References: <4ED4D58D.60109@nixbits.org> <4ED51463.6050005@gmail.com> <4ED52DE4.4040507@ladisch.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by alsa0.perex.cz (Postfix) with ESMTP id DF1B224465 for ; Tue, 29 Nov 2011 20:23:34 +0100 (CET) Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 4D8B923EB8 for ; Tue, 29 Nov 2011 14:23:32 -0500 (EST) In-Reply-To: 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: admin@nixbits.org Cc: Takashi Iwai , alsa-devel@alsa-project.org, Linus Torvalds , Daniel Mack List-Id: alsa-devel@alsa-project.org Linus Torvalds wrote: > On Tue, Nov 29, 2011 at 11:09 AM, Clemens Ladisch wrote: >> N.A., please try the patch below. > > I don't think that will compile. At a minimum, there's a missing comma > there, afaik. Oops, indeed. Now compile-tested: --- a/sound/usb/quirks-table.h +++ b/sound/usb/quirks-table.h @@ -157,7 +157,13 @@ .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL }, { - USB_DEVICE(0x046d, 0x0990), + .match_flags = USB_DEVICE_ID_MATCH_DEVICE | + USB_DEVICE_ID_MATCH_INT_CLASS | + USB_DEVICE_ID_MATCH_INT_SUBCLASS, + .idVendor = 0x046d, + .idProduct = 0x0990, + .bInterfaceClass = USB_CLASS_AUDIO, + .bInterfaceSubClass = USB_SUBCLASS_AUDIOCONTROL, .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { .vendor_name = "Logitech, Inc.", .product_name = "QuickCam Pro 9000",