What is the reason for restricting baudrates?
I'm trying to set a faster uart baudrate for a Quectel EC25-G, specifically 3686400. (see page 45 https://sixfab.com/wp-content/uploads/2021/06/Quectel_EC2xEG9xEG2x-GEM05_Series_AT_Commands_Manual_V2.0.pdf)
Looking at the codebase https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/blob/main/src/mm-port-serial.c#L219 there doesn't seem to be anyway to override these set baudrates. The device I'm working with (Raspberry Pi4, hardware UART), supports 3686400 (I've also tested it manually with the device; along with the other supported baudrates not in the ModemManager list).
Haphazardly adding a bunch more baudrates doesn't seem like the best idea but is probably the easiest. Should I open an MR for this?
I'm using balenaOS 2.105.21.
root@9854bd3:~# /usr/sbin/ModemManager --version
ModemManager 1.18.4
Copyright (C) 2008-2021 The ModemManager authors
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
root@9854bd3:~# NetworkManager --version
1.32.12