Skip to contentSkip to conversation

Support for Roland SonicCell sound module

PATCH In review Chris Mennie 2 participants 5 messages May 18, 2008 – May 19, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Support for Roland SonicCell sound module

I'm not sure if this is the right place for it, but I've added support for
the Roland SonicCell sound module. Patches were made against alsa-driver-1.0.16 source. Please let me know if there's a better place to post this:

usbquirks.h +33 -0
@@ -1367,6 +1367,39 @@
 	}
 },
 
+{
+	/* 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 */
 {
 	/*
#1 lore raw

At Sun, 18 May 2008 13:22:11 -0400,

Quoted 5 lines · Chris Mennie

I'm not sure if this is the right place for it, but I've added support for
the Roland SonicCell sound module. Patches were made against alsa-driver-1.0.16 source. Please let me know if there's a better place to post this:

The patch looks fine. Could you give your sign-off for merging to the upstream together with a changelog?

Thanks,

Takashi

Quoted 49 lines
usbquirks.h +33 -0
@@ -1367,6 +1367,39 @@
 	}
 },
 
+{
+	/* 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 */
 {
 	/*

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#2 lore raw
Quoted 8 lines · Takashi Iwai
Quoted 4 lines · Chris Mennie

I'm not sure if this is the right place for it, but I've added support
for the Roland SonicCell sound module. Patches were made against alsa-driver-1.0.16 source. Please let me know if there's a better place to post this:

The patch looks fine. Could you give your sign-off for merging to the upstream together with a changelog?

I'm certainly happy with donating the code (if that's what you're
asking?) :). As for a changelog entry, I suggest:

usb-audio: Added support for Roland SonicCell

#3 lore raw

At Mon, 19 May 2008 09:11:36 -0400,

Quoted 8 lines · Chris Mennie
Quoted 6 lines · Takashi Iwai
Quoted 4 lines · Chris Mennie

I'm not sure if this is the right place for it, but I've added support
for the Roland SonicCell sound module. Patches were made against alsa-driver-1.0.16 source. Please let me know if there's a better place to post this:

Quoted 7 lines
Quoted 2 lines

The patch looks fine. Could you give your sign-off for merging to the upstream together with a changelog?

I'm certainly happy with donating the code (if that's what you're
asking?) :). As for a changelog entry, I suggest:

usb-audio: Added support for Roland SonicCell

Well, usually the patch must be signed off by the author to be merged to the upstream for avoiding possible legal and other problems. See Documentation/SubmittingPatches in Linux kernel tree for details.

About the changelog, I prefer a bit more descrictive one.

Thanks,

Takashi

#4 lore raw
Quoted 5 lines

Well, usually the patch must be signed off by the author to be merged to the upstream for avoiding possible legal and other problems. See Documentation/SubmittingPatches in Linux kernel tree for details.

About the changelog, I prefer a bit more descrictive one.

Ok, how about this:

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 Chris Mennie <camennie at alumni dot uwaterloo dot ca>