[alsa-devel] roland synth sh-201

carlo beccaria becks at stepdev.org
Sat Jun 30 18:20:40 CEST 2007


On Thu, 28 Jun 2007, carlo beccaria wrote:

> hi all, with this change in usbquirks.h , i can use my synth roland sh-201

i have a new patch for this device (in attach)
with this patch, also the audio works (with jackd)

let me know if you need more info

--
carlo beccaria
-------------- next part --------------
--- usbquirks.h	2007-07-02 01:42:55.000000000 +0200
+++ usbquirks-sh201.h	2007-07-02 01:42:52.000000000 +0200
@@ -1042,6 +1042,40 @@
 		.type = QUIRK_MIDI_STANDARD_INTERFACE
 	}
 },
+
+{
+  /* Roland SH-201 */
+	USB_DEVICE(0x0582, 0x00ad),
+	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
+		.vendor_name = "Roland",
+		.product_name = "SH-201",
+		.ifnum = QUIRK_ANY_INTERFACE,
+		.type = QUIRK_COMPOSITE,
+		.data = (const struct snd_usb_audio_quirk[]) {
+			{
+				.ifnum = 0,
+				.type = QUIRK_AUDIO_STANDARD_INTERFACE
+			},
+			{
+				.ifnum = 1,
+				.type = QUIRK_AUDIO_STANDARD_INTERFACE
+			},
+			{
+				.ifnum = 2,
+				.type = QUIRK_MIDI_FIXED_ENDPOINT,
+				.data = & (const struct snd_usb_midi_endpoint_info) {
+					.out_cables = 0x0001,
+					.in_cables  = 0x0001
+				}
+			},
+			{
+				.ifnum = -1
+			}
+		}
+	}
+},
+
+
 	/* TODO: add Roland EXR support */
 {
 	/* has ID 0x0067 when not in "Advanced Driver" mode */


More information about the Alsa-devel mailing list