Tell('/dev/midi')

If I understand your problem correctly.

See: I/O problem - #3 by jan