ID_MM_TTY_BAUDRATE does not affect serial port baudrate for probing operations
Working on using ModemManager with a Telit modem connected to two uarts on an embedded system.
This particular modem defaults to a baudrate of 115200.
Unless I use minicom to manually change the modem baudrate to 57600, ModemManager's telit plugin never manages to properly probe the device and determine that it is an AT command modem. I've tried to add ID_MM_TTY_BAUDRATE
to the udev rule for my modem serial port, but it doesn't appear to do anything - the modem still fails to probe. Looking through the code, it looks like the ID_MM_TTY_BAUDRATE
is applied until after the modem is already probed.
As far as I can tell, the only way for me to get this modem working is to add a patch to ModemManager changing the default uart baudrate to 115200, which is what my solution is going to be for now. Please help me if I'm doing something wrong with the ID_MM_TTY_BAUDRATE
option.