> > Hi! > > The commands "amidi -l" and "aplaymidi -l" report a list of raw MIDI ports > and a list of client:port pairs, respectively. Is there any tool to find out > the association between these (i.e., find out the client:port pair for a given > raw MIDI port and vice versa)? Matching the names in the lists only works as > long as there are no two devices of the same name. > > Thanks & kind regards, > Markus > > Hi, the association between client-ids and cards is card_number=(client_id-global_clients)/clients_per_card (integer division). The values for global_clients and clients_per_card are 16 and 4 or if you want to be 110% sure, have a look at your kernel source tree at sound/core/seq/seq_clientmgr.c at line 57 (or something nearby depending on your kernel version). But I think raw MIDI ports are associated with cards only and not with client:port pairs. Cheers, Jan ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user