]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ALSA: usb-audio: add Cakewalk UM-1G support
authorClemens Ladisch <clemens@ladisch.de>
Thu, 17 Feb 2011 13:26:51 +0000 (14:26 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 23 Mar 2011 21:49:19 +0000 (22:49 +0100)
Add a quirk for the Cakewalk UM-1G USB MIDI interface in
"advanced driver" mode.  (It already works in standard mode.)

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/quirks-table.h

index c0dcfca9b5b55ed0b2e8737bf33823b915aae690..196c753285617ca94b3e0cbd900b474e7d5605ec 100644 (file)
@@ -1567,6 +1567,19 @@ YAMAHA_DEVICE(0x7010, "UB99"),
                }
        }
 },
+{
+       USB_DEVICE_VENDOR_SPEC(0x0582, 0x0104),
+       .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
+               /* .vendor_name = "Roland", */
+               /* .product_name = "UM-1G", */
+               .ifnum = 0,
+               .type = QUIRK_MIDI_FIXED_ENDPOINT,
+               .data = & (const struct snd_usb_midi_endpoint_info) {
+                       .out_cables = 0x0001,
+                       .in_cables  = 0x0001
+               }
+       }
+},
 {
        /* has ID 0x0110 when not in Advanced Driver mode */
        USB_DEVICE_VENDOR_SPEC(0x0582, 0x010f),