Re: [linux-audio-user] alsa client numbering

From: Clemens Ladisch <clemens@email-addr-hidden>
Date: Mon Apr 17 2006 - 15:46:14 EEST

Atte Andr? Jensen wrote:
> I just downloaded, patched and installed Works fine, but
> for the first time in my life have 'Midi Through' gotten client number
> 14, my evolutions keyboards are 24 and 28

The client numbering scheme was reorganized in ALSA 1.0.11rc1 because
there were too many unused reserved numbers and not enough free numbers
for more than eight cards.

The numbering scheme will not change again in the foreseeable future.

> Solution?

Programs should use client names instead of client numbers.
For example, given the following ports:

$ aplaymidi -l
 Port Client name Port name
 14:0 Midi Through Midi Through Port-0
 14:1 Midi Through Midi Through Port-1
 24:0 Yamaha DS-1E (YMF754) MIDI Yamaha DS-1E (YMF754) MIDI
 25:0 OPL3 FM synth OPL3 FM Port
 32:0 SC-8820 SC-8820 Part A
 32:1 SC-8820 SC-8820 Part B
 32:2 SC-8820 SC-8820 MIDI
 40:0 Virtual Raw MIDI 6-0 VirMIDI 6-0
 41:0 Virtual Raw MIDI 6-1 VirMIDI 6-1
 42:0 Virtual Raw MIDI 6-2 VirMIDI 6-2
 43:0 Virtual Raw MIDI 6-3 VirMIDI 6-3
 48:0 UM-2 UM-2 MIDI 1
 48:1 UM-2 UM-2 MIDI 2
 56:0 EMU10K1 MPU-401 (UART) EMU10K1 MPU-401 (UART)
 57:0 Emu10k1 WaveTable Emu10k1 Port 0
 57:1 Emu10k1 WaveTable Emu10k1 Port 1
 57:2 Emu10k1 WaveTable Emu10k1 Port 2
 57:3 Emu10k1 WaveTable Emu10k1 Port 3
 60:0 Serial MIDI Serial MIDI 1

one should use "aconnect MPU-401:0 SC-8820:0" instead of
"aconnect 20:0 32:0".

> the 449C fails to show up

This shouldn't be related to this change. Does it show up in

Received on Mon Apr 17 16:15:11 2006

This archive was generated by hypermail 2.1.8 : Mon Apr 17 2006 - 16:15:11 EEST