[PATCH] serial: allow specifying baudrate to use via udev tags
Aleksander Morgado
aleksander at aleksander.es
Wed Mar 22 08:38:52 UTC 2017
Hey Jan,
On Tue, Mar 21, 2017 at 11:16 PM, Jan Graczyk <JanG at nytec.com> wrote:
> I have tried running ModemManager with /dev/ttymxc2 port set to 57600 baud rate. It looks like as I can see from ModemManager debug logging the QUECTEL UC20 device is not recognized. I have looked into the ModemManager supported devices website https://www.freedesktop.org/wiki/Software/ModemManager/SupportedDevices/#index2h1 and there is no support for this device. I would need to create a new plugin for this device.
Maybe, or maybe not.
The first step is to have the TTY recognized by ModemManager. If it is
an AT port, ModemManager should be able to do basic AT probing there
and fallback to the "generic" plugin if it doesn't find any specific
plugin.
If baudrate is already 57600bps in the modem, and still isn't
recognized, it has to be due to some other reason. Try maybe to run
"mmcli -S" after some time, so that a manual re-scan is relaunched
(but use ModemManager git master to do so, or it may really not work
as I fixed something related to that 2 weeks ago.).
BTW, try not to mix email threads... :)
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list