From patchwork Thu Nov 6 05:32:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Cyrus Harmon X-Patchwork-Id: 5239161 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 782A19FD45 for ; Thu, 6 Nov 2014 05:32:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 637BD2010F for ; Thu, 6 Nov 2014 05:32:36 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 0A809200FF for ; Thu, 6 Nov 2014 05:32:35 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 1E823265133; Thu, 6 Nov 2014 06:32:34 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 2BFA526506E; Thu, 6 Nov 2014 06:32:23 +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 C54832650C5; Thu, 6 Nov 2014 06:32:21 +0100 (CET) Received: from aspen.bobobeach.com (unknown [208.79.93.82]) by alsa0.perex.cz (Postfix) with ESMTP id D49DD2617AD for ; Thu, 6 Nov 2014 06:32:13 +0100 (CET) Received: from aspen.bobobeach.com (localhost [127.0.0.1]) by aspen.bobobeach.com (Postfix) with ESMTP id AF0861016A for ; Wed, 5 Nov 2014 21:34:29 -0800 (PST) Received: from [192.168.1.224] (adsl-172-11-236-93.dsl.pltn13.sbcglobal.net [172.11.236.93]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by aspen.bobobeach.com (Postfix) with ESMTPSA id 574771015F for ; Wed, 5 Nov 2014 21:34:29 -0800 (PST) Message-ID: <545B07DB.6070200@bobobeach.com> Date: Wed, 05 Nov 2014 21:32:11 -0800 From: Cyrus Harmon User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Thunderbird/36.0a1 MIME-Version: 1.0 To: 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> <54581FAA.6050703@bobobeach.com> <5458946F.5060100@bobobeach.com> <545AFB7F.4040701@bobobeach.com> <1415251696.9157.6.camel@kgwgk> In-Reply-To: <1415251696.9157.6.camel@kgwgk> X-Virus-Scanned: ClamAV using ClamSMTP 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 I think UR22 works! I'm just aping the UR22 support to work for UR44! But, here it is: YAMAHA_DEVICE(0x2002, NULL), On 11/05/2014 09:28 PM, Vlad Catoi wrote: > Cyrus, > > Pass it along, I can try it on the UR22 as well. > > ~Vlad > > On Wed, 2014-11-05 at 20:39 -0800, Cyrus Harmon wrote: >> Hi Takashi, >> >> Clemens has sent me another diagnostic/debugging patch to try. Perhaps >> we should wait to see the results of that before pushing to for-next. If >> we don't get a deeper understanding of the problem in the next couple of >> days, I'll send along the original patch. >> >> thanks, >> >> Cyrus >> >> On 11/05/2014 03:14 PM, Takashi Iwai wrote: >>> At Tue, 04 Nov 2014 00:55:11 -0800, >>> Cyrus Harmon wrote: >>>> I have used a number of 3.1x kernels. At the moment, I'm writing this >>>> from a 3.17.0 kernel that doesn't recognize the UR44 without my patch. >>> OK, could you repost the patch (and put me to Cc) so that I can apply >>> to for-next branch? >>> >>> >>> thanks, >>> >>> Takashi >>> >>> >>>> thanks, >>>> >>>> Cyrus >>>> >>>> On 11/03/2014 10:28 PM, Takashi Iwai wrote: >>>>> At Mon, 03 Nov 2014 16:36:58 -0800, >>>>> Cyrus Harmon wrote: >>>>>> Well, it's 7 months on and I'm still using a patched kernel to access my >>>>>> UR44. Any chance of either seeing my original patch committed, or some >>>>>> suggestions on a more proper fix, if there's something with my original >>>>>> patch? >>>>> Which kernel version are you testing? >>>>> >>>>> >>>>> Takashi >>>>> >>>>>> thanks, >>>>>> >>>>>> Cyrus >>>>>> >>>>>> On 03/17/2014 09:29 AM, Cyrus Harmon wrote: >>>>>>> On Mar 11, 2014, at 1:31 AM, Clemens Ladisch wrote: >>>>>>> >>>>>>>> Cyrus Harmon wrote: >>>>>>>>> On Mar 10, 2014, at 8:40 AM, Clemens Ladisch wrote: >>>>>>>>>> In theory, kernel 3.11 and later should support this device without >>>>>>>>>> a quirk entry. I guess it actually does not? >>>>>>>>> no, the stock kernel doesn’t support this device. >>>>>>>> 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? >>>>>>> Following up on this from last week, here’s the error message I see with an unpatched kernel: >>>>>>> >>>>>>> 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 >>>>>>> Mar 11 02:25:12 cbox mtp-probe: checking bus 2, device 4: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6" >>>>>>> Mar 11 02:25:12 cbox mtp-probe: bus: 2, device: 4 was not an MTP device >>>>>>> >>>>>>> Any suggestions for further debugging this? >>>>>>> >>>>>>> Also, from an earlier message, >>>>>>> >>>>>>> On Mar 10, 2014, at 8:40 AM, Clemens Ladisch wrote: >>>>>>> >>>>>>>> This sounds as if the playback stream needs to be synchronized to the >>>>>>>> recording stream >>>>>>> Any pointers on where I might look to figure out how to do this? >>>>>>> >>>>>>> thanks again, >>>>>>> >>>>>>> Cyrus >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Alsa-devel mailing list >>>>>>> Alsa-devel@alsa-project.org >>>>>>> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel >>>>>> _______________________________________________ >>>>>> Alsa-devel mailing list >>>>>> Alsa-devel@alsa-project.org >>>>>> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel >>>>>> >>>>> _______________________________________________ >>>>> Alsa-devel mailing list >>>>> Alsa-devel@alsa-project.org >>>>> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel >>>> _______________________________________________ >>>> Alsa-devel mailing list >>>> Alsa-devel@alsa-project.org >>>> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel >> _______________________________________________ >> Alsa-devel mailing list >> Alsa-devel@alsa-project.org >> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel > > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@alsa-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h index f652b10..987ca01 100644 --- a/sound/usb/quirks-table.h +++ b/sound/usb/quirks-table.h @@ -436,6 +436,36 @@ YAMAHA_DEVICE(0x105d, NULL), } } }, +{ + USB_DEVICE(0x0499, 0x150e), + .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { + /* .vendor_name = "Yamaha", */ + /* .product_name = "Steinberg UR44", */ + .ifnum = QUIRK_ANY_INTERFACE, + .type = QUIRK_COMPOSITE, + .data = (const struct snd_usb_audio_quirk[]) { + { + .ifnum = 1, + .type = QUIRK_AUDIO_STANDARD_INTERFACE + }, + { + .ifnum = 2, + .type = QUIRK_AUDIO_STANDARD_INTERFACE + }, + { + .ifnum = 3, + .type = QUIRK_MIDI_YAMAHA + }, + { + .ifnum = 4, + .type = QUIRK_IGNORE_INTERFACE + }, + { + .ifnum = -1 + } + } + } +}, YAMAHA_DEVICE(0x2000, "DGP-7"), YAMAHA_DEVICE(0x2001, "DGP-5"),