You should be able to define a udev rule to automatically map ttyACM to ttyUSB when the AM5 is plugged in. wiki.archlinux.org/title/udev gives an example.

Read More...