[ALSA] usb-audio: add Roland G-70 support
authorClemens Ladisch <clemens@ladisch.de>
Wed, 18 Jan 2006 07:53:32 +0000 (08:53 +0100)
committerJaroslav Kysela <perex@suse.cz>
Wed, 22 Mar 2006 09:26:24 +0000 (10:26 +0100)
Modules: USB generic driver

Add a quirk entry for the Roland G-70.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
sound/usb/usbquirks.h

index a433c6f..42079da 100644 (file)
@@ -1091,7 +1091,20 @@ YAMAHA_DEVICE(0x7010, "UB99"),
        }
 },
        /* TODO: add Edirol UA-101 support */
-       /* TODO: add Roland G-70 support */
+{
+       /* has ID 0x0081 when not in "Advanced Driver" mode */
+       USB_DEVICE(0x0582, 0x0080),
+       .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
+               .vendor_name = "Roland",
+               .product_name = "G-70",
+               .ifnum = 0,
+               .type = QUIRK_MIDI_FIXED_ENDPOINT,
+               .data = & (const struct snd_usb_midi_endpoint_info) {
+                       .out_cables = 0x0003,
+                       .in_cables  = 0x0003
+               }
+       }
+},
        /* TODO: add Roland V-SYNTH XT support */
        /* TODO: add BOSS GT-PRO support */
 {