So I tried unsuccessfully to establish a MIDI connection between my Korg Minilogue and Puredata.
I tried this method:
aconnect 20:1 129:1
aconnect 129:0 20:1
But no worked. I try to connect the minilogue over usb, problem is, minilogue has two midi devices in one client. the first one is the physical in and out ports of the machine, the second is for midi over usb.

On blokas.io’s forum i find a workaround which should use an udev rule specifying the vendor and product id but on Fates I can’t find an udev folder so I don’t know how to apply it.
This is the rule: (i used lsusb for find this details)
ACTION==“add”, SUBSYSTEM==“usb”, ATTR{idVendor}==“0944”, ATTR{idProduct}==“012c”, RUN+="/usr/bin/aconnect minilogue:1"
ACTION==“add”, SUBSYSTEM==“usb”, ATTR{idVendor}==“0944”, ATTR{idProduct}==“012c”, RUN+="/usr/bin/aconnect minilogue:1"
at this point i was wondering how to handle these exceptions on fates and if it were possible to specify them somehow on the post-patch.sh file.
Could someone help me out? It seems really impossible to connect the Minilogue to Puredata and I don’t understand where I’m wrong.
this is my midi config

Thanks