Skip to contentSkip to conversation

Support for BOSS Micro BR-80

PATCH New Kazutomo Yoshii 1 participant 1 message Aug 9, 2011 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Support for BOSS Micro BR-80

Hi,

[ I forget to add Signed-off-by. Sorry about re-posting ]

This patch adds support for BOSS Micro BR-80, which allows us to use BR-80 as a USB Audio interface (both playback and capture) and external MIDI drum sound module(CH10).

Thanks,
Kaz

---
 sound/usb/quirks-table.h |   34 ++++++++++++++++++++++++++++++++++
 1 files changed, 34 insertions(+), 0 deletions(-)
sound/usb/quirks-table.h +34 -0
index 4d4f865..a42e3ef 100644
@@ -1707,6 +1707,40 @@ YAMAHA_DEVICE(0x7010, "UB99"),
 		}
 	}
 },
+{
+	USB_DEVICE(0x0582, 0x0130),
+	.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
+		/* .vendor_name = "BOSS", */
+		/* .product_name = "MICRO BR-80", */
+		.ifnum = QUIRK_ANY_INTERFACE,
+		.type = QUIRK_COMPOSITE,
+		.data = (const struct snd_usb_audio_quirk[]) {
+			{
+				.ifnum = 0,
+				.type = QUIRK_IGNORE_INTERFACE
+			},
+			{
+				.ifnum = 1,
+				.type = QUIRK_AUDIO_STANDARD_INTERFACE
+			},
+			{
+				.ifnum = 2,
+				.type = QUIRK_AUDIO_STANDARD_INTERFACE
+			},
+			{
+				.ifnum = 3,
+				.type = QUIRK_MIDI_FIXED_ENDPOINT,
+				.data = & (const struct snd_usb_midi_endpoint_info) {
+					.out_cables = 0x0001,
+					.in_cables  = 0x0001
+				}
+			},
+			{
+				.ifnum = -1
+			}
+		}
+	}
+},
  /* Guillemot devices */
 {
Signature · 1 line
1.7.6