public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH][RESEND] Add a USB audio quirk for the NuForce UDH-100 device.
@ 2013-03-11  3:52 David Helstroom
  2013-03-11  8:32 ` Clemens Ladisch
  0 siblings, 1 reply; 6+ messages in thread
From: David Helstroom @ 2013-03-11  3:52 UTC (permalink / raw)
  To: perex, tiwai
  Cc: eldad, damien, clemens, pete.leigh, alsa-devel, linux-kernel,
	Dave Helstroom

From: Dave Helstroom <helstroom@google.com>

Interface 1 does not exist and Interface 0 should be ignored. Before this
patch, the device would not show up in /dev/snd (and dmesg showed Error -5
from the snd-alsa-usb module); after this patch, the device shows up
correctly in /dev/snd and ALSA/Pulseaudio can access it.


Signed-off-by: Dave Helstroom <helstroom@google.com>
---
 sound/usb/quirks-table.h | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
index c39f898..62d29ca 100644
--- a/sound/usb/quirks-table.h
+++ b/sound/usb/quirks-table.h
@@ -2795,6 +2795,38 @@ YAMAHA_DEVICE(0x7010, "UB99"),
 	}
 },
 
+/* NuForce devices */
+{
+	USB_DEVICE(0x16d0, 0x0631),
+		.driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
+		.vendor_name = "Nuforce",
+		.product_name = "UDH-100",
+		.ifnum = QUIRK_ANY_INTERFACE,
+		.type = QUIRK_COMPOSITE,
+		.data = (const struct snd_usb_audio_quirk[]) {
+			{
+				.ifnum = 0,
+				.type = QUIRK_IGNORE_INTERFACE
+			},
+			{
+				.ifnum = 1,
+				.type = QUIRK_IGNORE_INTERFACE
+			},
+			{
+				.ifnum = 2,
+				.type = QUIRK_AUDIO_STANDARD_INTERFACE
+			},
+			{
+				.ifnum = 3,
+				.type = QUIRK_AUDIO_STANDARD_INTERFACE
+			},
+			{
+				.ifnum = -1
+			}
+		}
+	}
+},
+
 /* Native Instruments MK2 series */
 {
 	/* Komplete Audio 6 */
-- 
1.8.1.3


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

end of thread, other threads:[~2013-03-12  7:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-11  3:52 [PATCH][RESEND] Add a USB audio quirk for the NuForce UDH-100 device David Helstroom
2013-03-11  8:32 ` Clemens Ladisch
2013-03-11 18:03   ` Dave Helstroom
2013-03-11 19:15     ` Clemens Ladisch
2013-03-11 23:58       ` Dave Helstroom
2013-03-12  7:36       ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox