[alsa-devel] [PATCH 0/3] ALSA: firewire-digi00x: add another rawmidi character device for MIDI control ports

Takashi Sakamoto o-takashi at sakamocchi.jp
Fri Oct 30 18:43:13 CET 2015


Hi,

Digi 002/003 family uses two ways of MIDI transmission; by isochronous
packet streaming and by asynchronous transmission. The former is for physical
MIDI ports and the latter is for physical controls on device surface.

Currently, all of these ports are handled by a set of operations in one ALSA
rawmidi character device, thus:

$ amidi -l
Dir Device    Name
IO  hw:1,0,0  Digi 002Rack control
IO  hw:1,0,1  Digi 002Rack MIDI 1
 O  hw:1,0,2  Digi 002Rack MIDI 2

Although, it's preferable to have two rawmidi character devices because these
transmission ways are completely different and it's better to assign each set
of operations.

This patchset adds another rawmidi character device to ALSA digi00x driver.
As a result, the driver register two rawmidi character device for each MIDI
ports:

$ amidi -l
Dir Device    Name
IO  hw:1,0,0  Digi 002Rack MIDI 1
 O  hw:1,0,1  Digi 002Rack MIDI 2
IO  hw:1,1,0  Digi 002Rack control

I'm sorry to post this patchset in this time, but next release is a first
version with digi00x driver and it better to includes this intrusive patchset
before releasing.

Takashi Sakamoto (3):
  ALSA: firewire-digi00x: rename identifiers of MIDI operation for
    physical ports
  ALSA: firewire-digi00x: add MIDI operations for MIDI control port
  ALSA: firewire-digi00x: add another rawmidi character device for
    MIDI control ports

 sound/firewire/digi00x/digi00x-midi.c | 197 ++++++++++++++++++++++------------
 1 file changed, 130 insertions(+), 67 deletions(-)

-- 
2.1.4



More information about the Alsa-devel mailing list