Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753864Ab3CKDwM (ORCPT ); Sun, 10 Mar 2013 23:52:12 -0400 Received: from mail-ve0-f201.google.com ([209.85.128.201]:63878 "EHLO mail-ve0-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753546Ab3CKDwL (ORCPT ); Sun, 10 Mar 2013 23:52:11 -0400 X-Greylist: delayed 5115 seconds by postgrey-1.27 at vger.kernel.org; Sun, 10 Mar 2013 23:52:11 EDT From: David Helstroom To: perex@perex.cz, tiwai@suse.de Cc: eldad@fogrefinery.com, damien@zamaudio.com, clemens@ladisch.de, pete.leigh@gmail.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Dave Helstroom Subject: [PATCH][RESEND] Add a USB audio quirk for the NuForce UDH-100 device. Date: Sun, 10 Mar 2013 20:52:00 -0700 Message-Id: <1362973920-4942-1-git-send-email-helstroom@google.com> X-Mailer: git-send-email 1.8.1.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1644 Lines: 64 From: Dave Helstroom 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 --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/