All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] add Steinberg UR44 USB Audio Interface support to quirks-table
@ 2014-03-09 18:12 Cyrus Harmon
  2014-03-10  9:42 ` Takashi Iwai
  2014-03-10 12:07 ` Clemens Ladisch
  0 siblings, 2 replies; 34+ messages in thread
From: Cyrus Harmon @ 2014-03-09 18:12 UTC (permalink / raw)
  To: alsa-devel; +Cc: tiwai, Cyrus Harmon

Signed-off-by: Cyrus Harmon <cyrus@bobobeach.com>
---
 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 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"),
 YAMAHA_DEVICE(0x2002, NULL),
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 34+ messages in thread
* [PATCH] add Steinberg UR44 USB Audio Interface support to quirks-table.
@ 2014-03-10 15:37 Cyrus Harmon
  0 siblings, 0 replies; 34+ messages in thread
From: Cyrus Harmon @ 2014-03-10 15:37 UTC (permalink / raw)
  To: alsa-devel; +Cc: tiwai, Cyrus Harmon

 * The patch is based on Clemens Ladisch's patch to support the UR22
   (http://linuxaudio.org/mailarchive/lad/2013/2/23/197831), with the
   device ID modified for the UR44. The patch was tested with kernel
   versions 3.12.11 and 3.12.12 and a PREEMPT RT-patched 3.12.12-rt
   kernel. Basic recording and playback appear to work.

 * NB: On one of the systems that I used to test the patch, I was
   never able to achieve xrun-free JACK performance at -p256 -n3 as I
   would invariably see xruns roughly once every minute. But this is a
   new box (Intel haswell NUC) and it seems there are many possible
   sources of the unacceptable latency. On an older i3 box, the
   performance was much better.

Signed-off-by: Cyrus Harmon <cyrus@bobobeach.com>
---
 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 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"),
 YAMAHA_DEVICE(0x2002, NULL),
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2015-02-03  9:02 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-09 18:12 [PATCH] add Steinberg UR44 USB Audio Interface support to quirks-table Cyrus Harmon
2014-03-10  9:42 ` Takashi Iwai
2014-03-10 12:07 ` Clemens Ladisch
2014-03-10 15:26   ` Cyrus Harmon
2014-03-10 15:30     ` Takashi Iwai
2014-03-10 15:40     ` Clemens Ladisch
2014-03-11  6:33       ` Cyrus Harmon
2014-03-11  8:31         ` Clemens Ladisch
2014-03-11  9:30           ` Cyrus Harmon
2014-03-17 16:29           ` Cyrus Harmon
2014-11-04  0:36             ` Cyrus Harmon
2014-11-04  6:28               ` Takashi Iwai
2014-11-04  8:55                 ` Cyrus Harmon
2014-11-05 23:14                   ` Takashi Iwai
2014-11-06  4:39                     ` Cyrus Harmon
2014-11-06  5:28                       ` Vlad Catoi
2014-11-06  5:32                         ` Cyrus Harmon
2014-11-06 13:46                           ` Vlad Catoi
2014-11-04  8:59               ` Clemens Ladisch
2014-11-04  9:00             ` Clemens Ladisch
2014-11-05 18:16               ` Cyrus Harmon
2014-11-05 21:17                 ` Clemens Ladisch
2014-11-06  5:47                   ` Cyrus Harmon
2014-11-15 13:00                     ` Clemens Ladisch
2015-02-03  7:14                       ` Cyrus Harmon
2014-11-06 16:05                   ` Cyrus Harmon
2014-11-06 16:49                     ` Takashi Iwai
2014-11-06 16:54                       ` Cyrus Harmon
2014-11-08  4:24                         ` Vlad Catoi
2014-11-08  4:25                         ` Vlad Catoi
2015-02-03  6:56                       ` Cyrus Harmon
2015-02-03  9:02                         ` Takashi Iwai
2014-11-06 17:32                     ` Clemens Ladisch
  -- strict thread matches above, loose matches on Subject: below --
2014-03-10 15:37 Cyrus Harmon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.