Linux UDEV rule to map consistent modem port from EHS6T | Telit Cinterion IoT Developer Community
November 15, 2017 - 4:37pm, 2318 views
We are working on a Linux based solution to send out alarms via SMS. The software use a TTY to communicate to the modem with AT commands.
The EHS6T USB Modem creates several TTY devices belwo /dev and only one could be used for modem communication. Unfortunately this TTY ports are not consistent between powercycles of the modem. Sometimes the port is /dev/ttyACM3 sometimes it is on /dev/ttyACM5.
I tried to fix that with a UDEV rule but with udevadm I dont find a unique attribute to link the modem TTY to /dev/modem.
Can anyone help me here please to find a soluton to link always the correct modem TTY to /dev/modem.