Yamaha DGX-205 Keyboard & Linux usb-midi

From: Darren Davis (nospam_at_server.com)
Date: 08/15/04


Date: Sun, 15 Aug 2004 03:28:13 -0600

I have this keyboard which has a USB interface instead of standard MIDI
ports. I've used the usb driver under windws and it provides standard midi
functionality (works with cakewalk), and also gives access to some flash
memory for storing midi/GX files into the keyboards memory.

I would like to hook this keyboard up to Linux and send information to it
via pmidi/playmidi and/or access the flash memory. I am using and HP
Pavillion laptop with Mandrake 10, with a 2.6.7 kernel, patched with the
latest stable alsa drivers (1.0.5a).

I connect the keyboard and type:
modprobe usb-midi, which produces this in the syslog file:

Aug 14 23:00:31 voodoolinux kernel: usb-midi: Found YAMAHA USB-MIDI device
on dev 0499:1031, iface 0
Aug 14 23:00:31 voodoolinux kernel: usb-midi: Found MIDIStreaming device
corresponding to Release 1.00 of spec.
Aug 14 23:00:31 voodoolinux kernel: usb-midi: Found IN Jack 0x01 EXTERNAL
Aug 14 23:00:31 voodoolinux kernel: usb-midi: Found OUT Jack 0x01 EXTERNAL,
1 pins
Aug 14 23:00:31 voodoolinux kernel: usb-midi: fetchString(2)
Aug 14 23:00:31 voodoolinux kernel: usb-midi: fetchString = 15
Aug 14 23:00:31 voodoolinux kernel: usbmidi: found [ YAMAHA DGX205_3 ]
(0x0499:0x1031), attached:
Aug 14 23:00:31 voodoolinux kernel: usbmidi: /dev/midi00: in (ep:82 cid: 0
bufsiz: 0) out (ep:01 cid: 0 bufsiz:64)
Aug 14 23:00:31 voodoolinux kernel: usbcore: registered new driver midi

and modprobe snd-usb-audio:

Aug 14 23:01:03 voodoolinux kernel: usbcore: registered new driver
snd-usb-audio

This adds a new /dev/midi device which is linked to /dev/sound/midi

However, there doesn't seem to be any way to use this device using the
alsa/midi tools I'm familiar with.

I try typing pmidi -l, and it shows no available ports

Looking at /proc/asound/devices, only shows the built-in sound card

Are there any other modules I need to load to get alsa and the sound
utilites to identify this keyboard as a usable midi device? when I run
harddrake2 (a mandrake utiltity which lists hardware devices), the keyboard
has an entry in the "scanner" devices under port libusb:001:005, but there
is also a reference to it in the "unkown" devices as well.

If it's not supported by Linux, I'll just switch to windows temporarily as
needed, but I want to make sure that I am not doing anything wrong. If
someone out there is familiar with usb midi devices under Linux, I would
appreciate hearing how it's supposed to work.

I have a 2nd machine which has a sound-blaster live card, and I have been
able to use alsa/pmidi to send midi information to send songs to an
external keyboard connected to the joystick port using midi cables.
        
in case it's helpful, lsusb -v shows this information:

Bus 001 Device 005: ID 0499:1031 Yamaha Corp.
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 1.10
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 8
  idVendor 0x0499 Yamaha Corp.
  idProduct 0x1031
  bcdDevice 1.00
  iManufacturer 1 YAMAHA Corporation
  iProduct 2 YAMAHA DGX205_3
  iSerial 0
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 54
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xc0
      Self Powered
    MaxPower 0mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 255 Vendor Specific Class
      bInterfaceSubClass 0
      bInterfaceProtocol 255
      iInterface 0
  unknown descriptor type: 07 24 01 00 01 24 00
  unknown descriptor type: 06 24 02 02 01 00
  unknown descriptor type: 09 24 03 02 01 01 01 01 00
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x01 EP 1 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type none
        wMaxPacketSize 64
        bInterval 1
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x82 EP 2 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type none
        wMaxPacketSize 64
        bInterval 1
  Language IDs: (length=4)
     0409 English(US)



Relevant Pages

  • Re: YAMAHA RS7000 midi bulk receive
    ... reading its stats) that it would be able to receive a midi data ... trasfer from a keyboard. ... so that i can take the rs7k anywhere and plug it up to my ... different keyboards to take anywhere i play. ...
    (rec.music.makers.synth)
  • Re: YAMAHA RS7000 midi bulk receive
    ... trasfer from a keyboard. ... Most keyboards will allow MIDI data transfer via system exclusive. ... The on board MIDI sequencer 'might' be able to record MIDI data dumps from ... able to record sysex. ...
    (rec.music.makers.synth)
  • Re: Desperate ... help ..Yamaha keyboard/MIDI files
    ... the keyboard to the computer.. ... MIDI format? ... configure the keyboard) and record the result as a MIDI file. ... for that song. ...
    (rec.music.indian.misc)
  • Re: Network help?
    ... The Midi software I was using was a older shareware program and all you need ... If I understand what you are trying to do, it may work to use the MIDI ports ... I use STing on all my Ataris, except for STalker for BBS related. ... One option may be to use a null modem link between the STacy and the TT ...
    (comp.sys.atari.st)
  • Re: Making MIDI
    ... > I have a MIDI keyboard at home and I want to try and make some MIDI ... I have been a happy user of Harmony Assistant for a couple of years now. ... I haven't been using the keyboard input much, only tried a couple of times, ... recognition program OMeR, even though Myriad's music notation software ...
    (rec.music.makers)