[linux-audio-user] usb midi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Clemens,

--- Clemens Ladisch <clemens@xxxxxxxxxx> wrote:
> R Parker wrote:
> > I still don't understand where the usb-midi i/o
> device is.
> > ...
> > There's no messages passing through
> /dev/snd/midiC1D0
> 
> This file handles all nine ports. The ALSA library
> uses a magic IOCTL to
> select the desired port; when you access the file
> directly, you get the
> first port only.

After examining things a little closer, your reply
confirms my conclusion.

I think there's something wrong because no data is
making it to the /dev/snd/midiC1D0 file.

For demonstration, I've connected everything:
>aconnect -li
client 0: 'System' [type=kernel]
    0 'Timer           '
    1 'Announce        '
        Connecting To: 128:0, 129:0
client 72: 'Rawmidi 1 - MidiSport 8x8' [type=kernel]
    0 'MidiSport 8x8 Port 0'
        Connected From: 72:1, 72:2, 72:3, 72:4, 72:5,
72:6, 72:7
    1 'MidiSport 8x8 Port 1'
        Connecting To: 72:0, 72:1, 72:2, 72:3, 72:4,
72:5, 72:6
        Connected From: 72:1, 72:2, 72:3, 72:4, 72:5,
72:6, 72:7
    2 'MidiSport 8x8 Port 2'
        Connecting To: 72:0, 72:1, 72:2, 72:3, 72:4,
72:5, 72:6, 72:7
        Connected From: 72:1, 72:2, 72:3, 72:4, 72:5,
72:6, 72:7
    3 'MidiSport 8x8 Port 3'
        Connecting To: 72:0, 72:1, 72:2, 72:3, 72:4,
72:5, 72:6, 72:7
        Connected From: 72:1, 72:2, 72:3, 72:4, 72:5,
72:6, 72:7
    4 'MidiSport 8x8 Port 4'
        Connecting To: 72:0, 72:1, 72:2, 72:3, 72:4,
72:5, 72:6, 72:7
        Connected From: 72:1, 72:2, 72:3, 72:4, 72:5,
72:6, 72:7
    5 'MidiSport 8x8 Port 5'
        Connecting To: 72:0, 72:1, 72:2, 72:3, 72:4,
72:5, 72:6, 72:7
        Connected From: 72:1, 72:2, 72:3, 72:4, 72:5,
72:6, 72:7
    6 'MidiSport 8x8 Port 6'
        Connecting To: 72:0, 72:1, 72:2, 72:3, 72:4,
72:5, 72:6, 72:7
        Connected From: 72:1, 72:2, 72:3, 72:4, 72:5,
72:6, 72:7
    7 'MidiSport 8x8 Port 7'
        Connecting To: 72:0, 72:1, 72:2, 72:3, 72:4,
72:5, 72:6, 72:7
        Connected From: 72:2, 72:3, 72:4, 72:5, 72:6,
72:7
    8 'MidiSport 8x8 Port 8'

With this scenario anything that comes in port_N,8
should be seen in the file /dev/snd/midiC1D0. Am I
right?

I'm sending commands into 2 and 8 but there's no data.

> If possible, you should use a program that can
> access MIDI ports via the
> ALSA library (the 8x8's ports would be named
> "hw:1,x", x = 0..8).

I've always used dd to see check for incoming mmc
messages. It's always worked. Is this what you're
referring to?
 
> If you want to access other MIDI ports than the
> first with a device file,
> you have to load the snd-virmidi driver, which will
> give you some virtual
> MIDI ports, and to connect these ports to the 8x8's
> ports with aconnect.

Yes, that confirmed my other conclusion and this is
pretty darned cool.

ron

> HTH
> Clemens
> 
> 


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux