[alsa-devel] [PATCH 1/1] sound/usb: Added support for Roland UM-ONE midi-usb interface.
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@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) {
At Wed, 14 Sep 2011 19:52:39 +0200, Daniele Guerrieri wrote:
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@gmail.com
Thanks, applied now, after modifying the patch manually.
Your MUA (gmail, supposedly) breaks the white spaces, so you can't simply paste the patch to the mail. At the next time, please either fix MUA setup or use an attachment if it's difficult.
Takashi
On Fri, Sep 16, 2011 at 8:36 AM, Takashi Iwai tiwai@suse.de wrote:
Thanks, applied now, after modifying the patch manually.
Your MUA (gmail, supposedly) breaks the white spaces, so you can't simply paste the patch to the mail. At the next time, please either fix MUA setup or use an attachment if it's difficult.
Takashi
Ok,i'm very glad it's been useful! thanks for the tip.
Daniele
participants (2)
-
Daniele Guerrieri
-
Takashi Iwai