From patchwork Fri May 22 19:15:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Vittorio G (VittGam)" X-Patchwork-Id: 6472851 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 643049F399 for ; Mon, 25 May 2015 08:08:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CB3E420426 for ; Mon, 25 May 2015 08:08:28 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id CCCBE20425 for ; Mon, 25 May 2015 08:08:24 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id E3B1E260447; Mon, 25 May 2015 10:08:23 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id BF84F260418; Mon, 25 May 2015 10:08:13 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 0831326041D; Fri, 22 May 2015 21:15:26 +0200 (CEST) Received: from mail.vittgam.net (server1.vittgam.net [213.239.197.142]) by alsa0.perex.cz (Postfix) with ESMTP id B679F260415 for ; Fri, 22 May 2015 21:15:20 +0200 (CEST) X-DKIM: OpenDKIM Filter v2.4.2 mail.vittgam.net t4MJFJDd145473 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=vittgam.net; s=20150519; t=1432322119; bh=yHJ8zuqsZE2pzABTZxarmnFPuPz2YarC3Ot9DopoZb4=; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:From:To: Cc:Subject:Message-ID; b=XFntkfLkw/ZuZDXu+QgaIWEfWwPoo9hnQWCouF3KL97mVcpLSI2ywcApKm2ZtOBuY Bxf3T4qGL98VYECuixv2vsM0Ouet5RJDQfl4gW4DQyZ5o7rLGGIxn2HVzFZ4emDimZ +Yfnl+7h8u1Y8YFNWiuAIN6rYkfY6Y9kfxLuUlQxzS1jNRxaAmTabB3kG64PbdZcHN E3k40hGG2Ad5bS4D597JXEieJuinGk23WzCUBLEeKNm/BjI5xon6YAuGszzrVcs5fH Ur4qqILML9L9KJJs9fAWL5Z+qaW8dTGsoZCkmHGSnQ6B61Hmi0jF+P0/FeneLQ9fVw KmV7StxZDnKaTWo1botx8HO7S2t5AHVFmpmEeUHP7EMAxLTyShUBioJEnxxyQuYzSZ c1VxH1nH66KwUImeaQP3VP8OyO/12g5oPnGeJjelANBNeOeS5L4efxL5IG7Ll1yQUX ePjkkck5bMvxlVASSaoJ3KmcYMRauSDgGtDMy/84d2MKyGlDxqwEc4TQ0PHFhZy4HX ICvXhOh5LzDOpqxiq1mLfOn1EetUFKJ3TjcpxX8VDTzE0uahHzELeoQxwEtkMPiXz/ oDqa8t8VDHQEQEJl1bZIhdxTnAGimNNT3Iz0SEzdvAGpuZVUdByjx6OI66ktiSoDjn imFgwl30OR9nWBheyrDqQg/c= Received: from webmail.vittgam.net (localhost [127.0.0.1]) (authenticated bits=0) by mail.vittgam.net (8.14.4/8.14.4/Debian-2ubuntu2) with ESMTP id t4MJFJDd145473; Fri, 22 May 2015 21:15:19 +0200 MIME-Version: 1.0 Date: Fri, 22 May 2015 21:15:19 +0200 From: "Vittorio G (VittGam)" To: , Message-ID: X-Sender: linuxbugs@vittgam.net User-Agent: VittGam Webmail X-Mailman-Approved-At: Mon, 25 May 2015 10:08:12 +0200 Cc: Takashi Iwai , stable@vger.kernel.org Subject: [alsa-devel] [PATCH] ALSA: usb-audio: Add quirk for MS LifeCam HD-3000 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Microsoft LifeCam HD-3000 (045e:0779) needs a similar quirk for suppressing the unsupported sample rate inquiry. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=98481 Cc: Cc: Jaroslav Kysela Cc: Takashi Iwai Signed-off-by: Vittorio Gambaletta --- The dmesg is showing this every time the ALSA audio is opened by the application: [3759907.370000] 2:3:1: cannot get freq at ep 0x82 And in fact I had to initialize ALSA and v4l2 in a specific order in my application in order for them to both work. diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c index 46facfc..2917534 100644 --- a/sound/usb/quirks.c +++ b/sound/usb/quirks.c @@ -1118,6 +1118,7 @@ bool snd_usb_get_sample_rate_quirk(struct snd_usb_audio *chip) case USB_ID(0x045E, 0x075D): /* MS Lifecam Cinema */ case USB_ID(0x045E, 0x076D): /* MS Lifecam HD-5000 */ case USB_ID(0x045E, 0x0772): /* MS Lifecam Studio */ + case USB_ID(0x045E, 0x0779): /* MS Lifecam HD-3000 */ case USB_ID(0x04D8, 0xFEEA): /* Benchmark DAC1 Pre */ return true; }