[alsa-devel] [PATCH 1/1] sound/usb: Added support for Roland UM-ONE midi-usb interface.

Daniele Guerrieri d.guerrieri at gmail.com
Wed Sep 14 19:52:39 CEST 2011


Hi all,
this is my first post to this list.
Recently i bought a roland UM-ONE midi-usb interface which i thought worked
well with alsa, but it didn't. So i got from lsusb id/vid and added them to
sound/usb/quirks-table.h; it seems to work well now with snd-usb-audio,
tested on 2 machines. Below there is the patch output for my changes. As a
master branch i cloned   git://github.com/torvalds/linux.git



----output of git format-patch -----

Roland UM-ONE midi usb interface differs from Roland UM-1.

Signed-off-by: Daniele Guerrieri <d.guerrieri at gmail.com>
---
 sound/usb/quirks-table.h |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
index a42e3ef..f041b2e 100644
--- a/sound/usb/quirks-table.h
+++ b/sound/usb/quirks-table.h
@@ -1192,6 +1192,20 @@ YAMAHA_DEVICE(0x7010, "UB99"),
     }
 },
 {
+    /* Added support for Roland UM-ONE which differs from UM-1 */
+    USB_DEVICE(0x0582, 0x012a),
+    .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
+        /* .vendor_name = "ROLAND", */
+        /* .product_name = "UM-ONE", */
+        .ifnum = 0,
+        .type = QUIRK_MIDI_FIXED_ENDPOINT,
+        .data = & (const struct snd_usb_midi_endpoint_info) {
+            .out_cables = 0x0001,
+            .in_cables  = 0x0003
+        }
+    }
+},
+{
     /* has ID 0x006b when not in "Advanced Driver" mode */
     USB_DEVICE_VENDOR_SPEC(0x0582, 0x006a),
     .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
-- 
1.7.6


More information about the Alsa-devel mailing list