Added a MIDI quirk for the UA-20. I don't know if PCM works.
The UA-700 _may_ have audio-class compatible PCM interfaces, so I changed
it to use USB_DEVICE_VENDOR_SPEC to prevent conflicts. (same as UA-20)
Index: usbquirks.h
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/usb/usbquirks.h,v
retrieving revision 1.6
diff -u -r1.6 usbquirks.h
--- usbquirks.h 24 Oct 2002 12:28:05 -0000 1.6
+++ usbquirks.h 25 Oct 2002 08:17:43 -0000
@@ -366,6 +366,20 @@
}
},
{
+ USB_DEVICE_VENDOR_SPEC(0x0582, 0x0025),
+ .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
+ .vendor_name = "EDIROL",
+ .product_name = "UA-20",
+ .ifnum = 3,
+ .type = QUIRK_MIDI_FIXED_ENDPOINT,
+ .data = & (const snd_usb_midi_endpoint_info_t) {
+ .epnum = -1,
+ .out_cables = 0x0001,
+ .in_cables = 0x0001
+ }
+ }
+},
+{
USB_DEVICE(0x0582, 0x0027),
.driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
.vendor_name = "EDIROL",
@@ -394,7 +408,7 @@
}
},
{
- USB_DEVICE(0x0582, 0x002b),
+ USB_DEVICE_VENDOR_SPEC(0x0582, 0x002b),
.driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
.vendor_name = "EDIROL",
.product_name = "UA-700",
-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel