From patchwork Tue Nov 4 09:00:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Clemens Ladisch X-Patchwork-Id: 5224051 X-Patchwork-Delegate: tiwai@suse.de 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E1E179F349 for ; Tue, 4 Nov 2014 09:01:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 29BF62017A for ; Tue, 4 Nov 2014 09:01:14 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id A047720114 for ; Tue, 4 Nov 2014 09:01:12 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id A63A0260600; Tue, 4 Nov 2014 10:01:11 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id B217426065A; Tue, 4 Nov 2014 10:00:54 +0100 (CET) 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 79C9B26065A; Tue, 4 Nov 2014 10:00:53 +0100 (CET) Received: from dehamd003.servertools24.de (dehamd003.servertools24.de [31.47.254.18]) by alsa0.perex.cz (Postfix) with ESMTP id CA8062606CC for ; Tue, 4 Nov 2014 10:00:32 +0100 (CET) Received: from [10.1.2.65] (unknown [94.101.37.4]) by dehamd003.servertools24.de (Postfix) with ESMTPSA id C8D48F8023; Tue, 4 Nov 2014 09:59:18 +0100 (CET) Message-ID: <545895AD.7020004@ladisch.de> Date: Tue, 04 Nov 2014 10:00:29 +0100 From: Clemens Ladisch User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Cyrus Harmon , alsa-devel@alsa-project.org References: <1394388767-23658-1-git-send-email-cyrus@bobobeach.com> <531DAB14.5080201@ladisch.de> <76F78615-8762-4A6C-B601-97380805F450@bobobeach.com> <531DDD04.5050902@ladisch.de> <0EFBCC9F-93CA-4368-9530-B9049B3743FB@bobobeach.com> <531EC9CC.4060203@ladisch.de> <88C9DBF9-92A3-4885-87C5-A9966C326D0F@bobobeach.com> In-Reply-To: <88C9DBF9-92A3-4885-87C5-A9966C326D0F@bobobeach.com> X-PPP-Message-ID: <20141104085919.647555.76717@dehamd003.servertools24.de> X-PPP-Vhost: ladisch.de Subject: Re: [alsa-devel] [PATCH] add Steinberg UR44 USB Audio Interface support to quirks-table 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 Cyrus Harmon wrote: > On Mar 11, 2014, at 1:31 AM, Clemens Ladisch wrote: >> Strange; in theory, the driver should be able to pick up these >> descriptors. >> >> Are there any error messages in the system log when you plug it in or >> reload the unpatch snd-usb-audio driver? > > Mar 11 02:25:11 cbox kernel: [ 82.426640] usb 2-1.6: new high-speed USB device number 4 using ehci-pci > Mar 11 02:25:12 cbox kernel: [ 82.515364] usb 2-1.6: New USB device found, idVendor=0499, idProduct=150e > Mar 11 02:25:12 cbox kernel: [ 82.515368] usb 2-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=0 > Mar 11 02:25:12 cbox kernel: [ 82.515370] usb 2-1.6: Product: Steinberg UR44 > Mar 11 02:25:12 cbox kernel: [ 82.515372] usb 2-1.6: Manufacturer: Yamaha Corporation > Mar 11 02:25:12 cbox kernel: [ 82.518134] snd-usb-audio: probe of 2-1.6:1.0 failed with error -5 > Mar 11 02:25:12 cbox kernel: [ 82.523317] snd-usb-audio: probe of 2-1.6:1.1 failed with error -5 Please try the patch below to get more information in the log. Regards, Clemens --- a/sound/usb/quirks.c +++ b/sound/usb/quirks.c @@ -196,19 +196,23 @@ * future ones might change, so ensure that we fail silently if the * interface doesn't look exactly right. */ + dev_info(&iface->dev, "checking PCM interface\n"); /* must have a non-zero altsetting for streaming */ if (iface->num_altsetting < 2) return -ENODEV; + dev_info(&iface->dev, "altsets found\n"); alts = &iface->altsetting[1]; altsd = get_iface_desc(alts); /* must have an isochronous endpoint for streaming */ if (altsd->bNumEndpoints < 1) return -ENODEV; + dev_info(&iface->dev, "endpoint found\n"); epd = get_endpoint(alts, 0); if (!usb_endpoint_xfer_isoc(epd)) return -ENODEV; + dev_info(&iface->dev, "iso found\n"); /* must have format descriptors */ ashd = snd_usb_find_csint_desc(alts->extra, alts->extralen, NULL, @@ -219,6 +223,7 @@ !fmtd || fmtd->bLength < 8) return -ENODEV; + dev_info(&iface->dev, "descriptors found\n"); return create_standard_audio_quirk(chip, iface, driver, NULL); }