On Wed, 6 Nov 2002, Paul Davis wrote: > >> > ALSA: > >> > cat /proc/asound/devices shows only one raw midi interface. This is on > >> > a two port device (but Muse lets me select either port). On the older > >> > alsa two devices show up on the listing. > >> > >> For multiport interfaces, the additional ports are available as subdevices > >> of the rawmidi device, i.e. hw:1,0,0 and hw:1,0,1. (This is the same > >> behaviour as with other multiport interfaces, i.e. snd-mtpav and > >> snd-serial-u16550.) > > > >I understand the backwards compatibility bit, but it still looks wrong to > >me. AFAIK (maybe there are other uses) subdevices are only used in > >soundcard pcm outputs when the underlying hardware is capable of multiple > >opens on the same output port (hardware mixing). So the behavior of midi > >ports in inconsistent with the behavior of audio ports. They are two > >completely independent hardware i/o ports, it looks to me like they should > >be two devices, not one. > > i'm with fernando on this one. if consistency is the goal, and i think > it should be, then multiport MIDI devices should appear as multiple > ports, not subdevices.
We have no minor numbers for direct addressing of tenths rawmidi devices. Jaroslav ----- Jaroslav Kysela <[EMAIL PROTECTED]> Linux Kernel Sound Maintainer ALSA Project http://www.alsa-project.org SuSE Linux http://www.suse.com ------------------------------------------------------- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel