aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2007-12-19 08:25:24 -0500
committerJaroslav Kysela <perex@perex.cz>2008-01-31 11:29:43 -0500
commit358ce0cf3f147802ef81aa53d5b341f633d608d1 (patch)
tree8577adbac29bf36567258eae92981593e13a67cd /sound/usb
parent3982d17e3d38850908ed3400cb5a68fdc623877d (diff)
[ALSA] usb-audio: add UR-80 PCM quirk
Add a quirk entry to handle Edirol UR-80 audio I/O. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/usb')
-rw-r--r--sound/usb/usbquirks.h28
1 files changed, 26 insertions, 2 deletions
diff --git a/sound/usb/usbquirks.h b/sound/usb/usbquirks.h
index 59410f437705..938dff5f9cef 100644
--- a/sound/usb/usbquirks.h
+++ b/sound/usb/usbquirks.h
@@ -1004,11 +1004,35 @@ YAMAHA_DEVICE(0x7010, "UB99"),
1004 } 1004 }
1005}, 1005},
1006{ 1006{
1007 /* has ID 0x0049 when not in "Advanced Driver" mode */
1008 USB_DEVICE(0x0582, 0x0047),
1009 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1010 /* .vendor_name = "EDIROL", */
1011 /* .product_name = "UR-80", */
1012 .ifnum = QUIRK_ANY_INTERFACE,
1013 .type = QUIRK_COMPOSITE,
1014 .data = (const struct snd_usb_audio_quirk[]) {
1015 /* in the 96 kHz modes, only interface 1 is there */
1016 {
1017 .ifnum = 1,
1018 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1019 },
1020 {
1021 .ifnum = 2,
1022 .type = QUIRK_AUDIO_STANDARD_INTERFACE
1023 },
1024 {
1025 .ifnum = -1
1026 }
1027 }
1028 }
1029},
1030{
1007 /* has ID 0x004a when not in "Advanced Driver" mode */ 1031 /* has ID 0x004a when not in "Advanced Driver" mode */
1008 USB_DEVICE(0x0582, 0x0048), 1032 USB_DEVICE(0x0582, 0x0048),
1009 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { 1033 .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
1010 .vendor_name = "EDIROL", 1034 /* .vendor_name = "EDIROL", */
1011 .product_name = "UR-80", 1035 /* .product_name = "UR-80", */
1012 .ifnum = 0, 1036 .ifnum = 0,
1013 .type = QUIRK_MIDI_FIXED_ENDPOINT, 1037 .type = QUIRK_MIDI_FIXED_ENDPOINT,
1014 .data = & (const struct snd_usb_midi_endpoint_info) { 1038 .data = & (const struct snd_usb_midi_endpoint_info) {