Hey Brendan,

Looking at the tags we set, we're just ignoring the ports we don't
want to use or we don't support, but we're not explicitly specifying
the purpose of each of the ports:

# LARA-R2 port types
#  ttyACM0 (if #0): primary
#  ttyACM1 (if #2): secondary
#  ttyACM2 (if #4): tertiary
#  ttyACM3 (if #6): GNSS Tunneling (ignore)
#  ttyACM4 (if #8): SIM Access Profile (ignore)
#  ttyACM5 (if #10): Primary Log for diagnostics (ignore)
ATTRS{idVendor}=="1546", ATTRS{idProduct}=="110a",
ENV{.MM_USBIFNUM}=="06", ENV{ID_MM_PORT_IGNORE}="1"
ATTRS{idVendor}=="1546", ATTRS{idProduct}=="110a",
ENV{.MM_USBIFNUM}=="08", ENV{ID_MM_PORT_IGNORE}="1"
ATTRS{idVendor}=="1546", ATTRS{idProduct}=="110a",
ENV{.MM_USBIFNUM}=="0a", ENV{ID_MM_PORT_IGNORE}="1"

Could you try whether flagging ttyACM0 as primary, ttyACM1 as data,
and ttyACM2 as ignored helps?

E.g., something like this in /lib/udev/rules.d/77-mm-ublox-port-types.rules:
ATTRS{idVendor}=="1546", ATTRS{idProduct}=="110a",
ENV{.MM_USBIFNUM}=="06", ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1"
ATTRS{idVendor}=="1546", ATTRS{idProduct}=="110a",
ENV{.MM_USBIFNUM}=="08", ENV{ID_MM_PORT_TYPE_AT_PPP}="1"
ATTRS{idVendor}=="1546", ATTRS{idProduct}=="110a",
ENV{.MM_USBIFNUM}=="0a", ENV{ID_MM_PORT_IGNORE}="1"

Once you have added the rules in the file, run "sudo udevadm control
--reload && sudo udevadm trigger", or reboot the system.

-- 
Aleksander
https://aleksander.es
_______________________________________________
ModemManager-devel mailing list
ModemManager-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Reply via email to