Thanks!
Will try this!

> On 03.10.2025, at 15:15, Alexandros Drymonitis <[email protected]> wrote:
> 
> What I've done in the past to remedy a similar situation was to use the 
> [aconnect] object, queried its ports and compared its output to a symbol like 
> [symbol LaunchKey( or something like that. When the comparison went through I 
> stored the number. I did the same for Pd and used those stored numbers to 
> make the connection through [aconnect]. Don't the patch at hand right now, 
> but this is the overall idea.
> 
> On 10/3/25 16:10, michael strohmann wrote:
>> Ok, yes I also suspect the os rather than pd…
>> Its unfortunately difficult to debug, since during development I did not 
>> have the problem, 
>> and now that the raspi and teensy are packed in a box …
>> The classic Heisenbug, or even Mandelbug situation:-)
>> I will try to come up with the “script to check if device is here, otherwise 
>> restart” idea…if someone could point me to a starting point I’d appreciate 
>> it. I’m not very steeped linux scripts….
>> 
>>> On 03.10.2025, at 14:46, Andrew Lyons <[email protected]> 
>>> <mailto:[email protected]> wrote:
>>> 
>>> I am going to guess that its not pd that doesn't recognize the midi device, 
>>> but alsa. I have the same problem with an older pi4 I use for a pd synth. 
>>> I've spent quite a bit of time trying to work out why alsa doesn't see the 
>>> hifiberry card on boot without coming up with a reliable solution. It's a 
>>> problem that probably needs to be elevated to those developing the 
>>> operating system, and perhaps alsa specifically. In the meantime, a reboot 
>>> is the only workaround I've come up with.
>>> 
>>> Best
>>> 
>>> ============================================================
>>> Andrew D Lyons | Tools Developer | 
>>> https://www.sites.google.com/site/tstexture
>>> ============================================================
>>> 
>>> On Fri, Oct 3, 2025, 1:47 AM michael strohmann <[email protected] 
>>> <mailto:[email protected]>> 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 
>>>> 
>>>> ---
>>>> [email protected] <mailto:[email protected]> - the Pure Data 
>>>> mailinglist
>>>> https://lists.iem.at/hyperkitty/list/[email protected]/message/QMTYVZBEPXDDKCOKC7MAT5IU6AKUAHDS/
>>>> 
>>>> To unsubscribe send an email to [email protected] 
>>>> <mailto:[email protected]> mailing list
>>>> UNSUBSCRIBE and account-management -> https://lists.iem.at/
>>>> 
>> 
>> 
>> 
>> ---
>> [email protected] <mailto:[email protected]> - the Pure Data 
>> mailinglist
>> https://lists.iem.at/hyperkitty/list/[email protected]/message/ZPRHYONSDFRV4UOWAHEBWJFG63UO2N5H/
>> 
>> To unsubscribe send an email to [email protected] 
>> <mailto:[email protected]> mailing list
>> UNSUBSCRIBE and account-management -> https://lists.iem.at/
> ---
> [email protected] - the Pure Data mailinglist
> https://lists.iem.at/hyperkitty/list/[email protected]/message/UB63OFKADVIX4SLH3NL2WWC4ZMIOPR2T/
> 
> To unsubscribe send an email to [email protected] mailing list
> UNSUBSCRIBE and account-management -> https://lists.iem.at/

---
[email protected] - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/[email protected]/message/FDRNNUKOLCT2IFNKPQP7OTPM6ES5U5Z6/

To unsubscribe send an email to [email protected] mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/

Reply via email to