All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Edirol UA-20 MIDI / UA-700 PCM support
@ 2002-10-25  8:40 Clemens Ladisch
  2002-10-28 11:58 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Clemens Ladisch @ 2002-10-25  8:40 UTC (permalink / raw)
  To: alsa-devel


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

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

* Re: [PATCH] Edirol UA-20 MIDI / UA-700 PCM support
  2002-10-25  8:40 [PATCH] Edirol UA-20 MIDI / UA-700 PCM support Clemens Ladisch
@ 2002-10-28 11:58 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2002-10-28 11:58 UTC (permalink / raw)
  To: Clemens Ladisch; +Cc: alsa-devel

At Fri, 25 Oct 2002 10:40:38 +0200 (METDST),
Clemens Ladisch wrote:
> 
> 
> 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)

thanks, now it's on cvs.

does anyone have these devices for tests?


Takashi


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

end of thread, other threads:[~2002-10-28 11:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-25  8:40 [PATCH] Edirol UA-20 MIDI / UA-700 PCM support Clemens Ladisch
2002-10-28 11:58 ` Takashi Iwai

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.