Dmitry Baikov wrote: > Another releated question is: how can I detect connection of a new > usb-midi device? > For now I use inotify on /dev/snd, but it's a kludge, cause I have to > add sleep(1) before actual rescan of devices, or I miss the update. The sequencer broadcasts notifications from the announce port when sequencer clients/ports are created or destroyed. (You don't need to use the sequencer for your actual MIDI stuff.) HTH Clemens ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel