From patchwork Sat Oct 18 22:45:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vlad Catoi X-Patchwork-Id: 5100741 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 563509F374 for ; Sun, 19 Oct 2014 09:36:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7584C201CD for ; Sun, 19 Oct 2014 09:36:10 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 73B2A201C0 for ; Sun, 19 Oct 2014 09:36:07 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 0EF4E260550; Sun, 19 Oct 2014 11:36:06 +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_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, 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 D14BE2604AD; Sun, 19 Oct 2014 11:35:55 +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 1CEC6260512; Sun, 19 Oct 2014 00:47:53 +0200 (CEST) Received: from mail-oi0-f50.google.com (mail-oi0-f50.google.com [209.85.218.50]) by alsa0.perex.cz (Postfix) with ESMTP id 1AB302604FC for ; Sun, 19 Oct 2014 00:47:46 +0200 (CEST) Received: by mail-oi0-f50.google.com with SMTP id i138so2161647oig.9 for ; Sat, 18 Oct 2014 15:47:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=HwsDwos1kidhGiyS2cCFLDtHUYqWyXUlt+22gdwn+1Q=; b=ThuJidEjc1mofRAeByNkGjNhFb3HDfJ7o/oazwxVcfdVDK1xTXaDkenyx0CscLF0cA Z1+kHuM7Lh9p4+sdBRQ45jE5VQIU7lItPRzPJ41Gsexkh2erABKq9CaBrSiFWf14Vv8c XzTV7vMrvi6Lbb+Sndy3yldXjBDk0JZUMjVIHgSykZ9x67qM+FsPKclSzWiHOpJAiBfQ FR0z4Njrc5A8AF+ubEq6TRcloyuFqrirgwZ4bGTYUh5xvpaA2ngjt6MjtrJI4YGcPKmg jcG67jRJHflnGpSkQUbT/63vK4do1ymjR6dl2ufPTzUmYawuHlDDwo+wLNtUI/xNoDdG B1Og== X-Received: by 10.182.79.10 with SMTP id f10mr14838382obx.4.1413672465733; Sat, 18 Oct 2014 15:47:45 -0700 (PDT) Received: from kgwgk.netgear.com (h151.167.30.71.dynamic.ip.windstream.net. [71.30.167.151]) by mx.google.com with ESMTPSA id w6sm2265138obz.20.2014.10.18.15.47.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 18 Oct 2014 15:47:45 -0700 (PDT) From: Vlad Catoi To: Jaroslav Kysela , Takashi Iwai , Clemens Ladisch , Daniel Mack , Eduard Gilmutdinov Date: Sat, 18 Oct 2014 17:45:41 -0500 Message-Id: <1413672341-3703-1-git-send-email-vladcatoi@gmail.com> X-Mailer: git-send-email 1.9.1 X-Mailman-Approved-At: Sun, 19 Oct 2014 11:35:54 +0200 Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Vlad Catoi Subject: [alsa-devel] [PATCH 1/1] snd-usb-audio: Add support for Steinberg UR22 USB interface 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: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Adding support for Steinberg UR22 USB interface via quirks table patch See Ubuntu bug report: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1317244 Also see threads: http://linux-audio.4202.n7.nabble.com/Support-for-Steinberg-UR22-Yamaha-USB-chipset-0499-1509-tc82888.html#a82917 http://www.steinberg.net/forums/viewtopic.php?t=62290 Tested by at least 4 people judging by the threads. Did not test MIDI interface, but audio output and capture both are functional. Built 3.17 kernel with this driver on Ubuntu 14.04 & tested with mpg123 Patch applied to 3.13 Ubuntu kernel works well enough for daily use. Signed-off-by: Vlad Catoi Acked-by: Clemens Ladisch --- sound/usb/quirks-table.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h index 223c47b..c657752 100644 --- a/sound/usb/quirks-table.h +++ b/sound/usb/quirks-table.h @@ -385,6 +385,36 @@ YAMAHA_DEVICE(0x105d, NULL), } }, { + USB_DEVICE(0x0499, 0x1509), + .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { + /* .vendor_name = "Yamaha", */ + /* .product_name = "Steinberg UR22", */ + .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 + } + } + } +}, +{ USB_DEVICE(0x0499, 0x150a), .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { /* .vendor_name = "Yamaha", */