Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 62b12631 authored by Chris Mennie's avatar Chris Mennie Committed by Takashi Iwai
Browse files

[ALSA] usb-audio - Support for Roland SonicCell sound module



Added entry into usbquirks.h to recognize Roland SonicCell sound module by
mostly duplicating the entry for the Roland SH-201. USB MIDI works just fine,
though the USB audio is a little unreliable (but still works well enough).

Signed-off-by: default avatarChris Mennie <camennie@alumni.uwaterloo.ca>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent aea3bfbc
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
@@ -1379,6 +1379,39 @@ YAMAHA_DEVICE(0x7010, "UB99"),
	}
},

{
	/* Roland SonicCell */
	USB_DEVICE(0x0582, 0x00c2),
	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
		.vendor_name = "Roland",
		.product_name = "SonicCell",
		.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
			}
		}
	}
},


/* Guillemot devices */
{
	/*