Sorry I was stupid enough to make two different changes to the same branch.
First thing is for plugins ending with numbers like caen_n1470 ; if you have two different devices and you want to call them caen_n14701 and 2, they won't get recognized because doberman just deletes all numbers at the end. Now there is the possibility to call your devices caen_n1470_1 and it will ignore the last underscore and everything that's after (if it didn't find anything by the name and the name - the last numbers).
Second is for serial devices to be searched by id rather than by ttyUSBX. Because this tty address changes everytime you unplug your device or restart your computer while the id should not change.
Both changes have been tested for this caen module and it works for them.
I should have fixed the few suggestions + changed the base branch to experimental under Jaron's suggestion to then merge experimental all at once in master
Sorry I was stupid enough to make two different changes to the same branch.
Both changes have been tested for this caen module and it works for them.