You could have a run script which checks the output of aconnect in a loop, then exist the loop when your device is found.

On Oct 3, 2025, at 10:46 AM, michael strohmann <itsnotfair9@gmail.com> wrote:

Hi!

A  bit off topic since probably more related to operating system:
I am running PD on a raspi5 / bookworm with a teensy as MIDI device input.
In some cases pd does not recognise the MIDI device after a restart.

Is there a way to start pd only when the system recognized the MIDI device ?

Thanks!
Michael

---
pd-list@lists.iem.at - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/QMTYVZBEPXDDKCOKC7MAT5IU6AKUAHDS/

To unsubscribe send an email to pd-list-leave@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/


--------
Dan Wilcox
danomatika.com
robotcowboy.com