On Fri, Nov 19, 2010 at 1:18 PM, Jeremy Jongepier > > But it always has port name ES1371. You can use that too instead of the port > number. In what context are you facing this issue? A script? Session > management? > Yes, it is always ES1371. Mostly I use aplaymidi and it picks up the port number from the ALSA_OUTPUT_PORTS variable set in my .bashrc. I suppose I could somehow set this via a script ... but seems a bit awkward? -- **** Listen to my CD at http://www.mellowood.ca/music/cedars **** Bob van der Poel ** Wynndel, British Columbia, CANADA ** EMAIL: bob@xxxxxxxxxxxx WWW: http://www.mellowood.ca _______________________________________________ Linux-audio-user mailing list Linux-audio-user@xxxxxxxxxxxxxxxxxxxx http://lists.linuxaudio.org/listinfo/linux-audio-user