How can I make ModemManager work right?
Aleksander Morgado
aleksander at aleksander.es
Mon May 4 12:35:08 UTC 2020
Hey
>
> From the log file I uploaded/attached, I found one problem.
> Our modem talks with a specific settings - /dev/ttyUSB1, baudrate:115200, parity:none, data:8, stop:1, flow:xon_xoff.
> But ModemManager tried with baudrate 57600 only.
>
You need to add udev tags to configure the baudrate and flow control settings.
# vim /lib/udev/rules.d/78-mm-custom.rules
ACTION!="add|change|move", GOTO="mm_custom_end"
DEVPATH=="/devices/platform/1a0c0000.usb/usb2/2-1",
ENV{ID_MM_TTY_BAUDRATE}="115200"
DEVPATH=="/devices/platform/1a0c0000.usb/usb2/2-1",
ENV{ID_MM_TTY_FLOW_CONTROL}="xon-xoff"
LABEL="mm_custom_end"
And reboot the system. Make sure you run MM in debug mode, so that we
can check whether the tags were detected or not.
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list