Hi @benat,
You could achieve this by defining custom UDEV rules. I think a solution like this would work for you as well:
Some of the links don’t work due to earlier naming refactor. So the new links are:
https://github.com/balena-os/meta-balena/blob/master/meta-balena-common/recipes-core/resin-extra-udev-rules/files/49-teensy.rules#L20
https://github.com/balena-os/meta-balena/blob/master/meta-balena-common/recipes-core/resin-extra-udev-rules/files/99-misc.rules
As noted in that first link, be careful as you update config.json file since you might break your system by inserting invalid json or invalid content into this file. We suggest trying out such modifications on a device that you can easily access the SD card of and keeping a backup of your config.json.
Cheers…