[PATCH] serial: allow specifying baudrate to use via udev tags
Aleksander Morgado
aleksander at aleksander.es
Wed Mar 22 08:43:17 UTC 2017
On 21/03/17 22:09, Dan Williams wrote:
>> A new 'ID_MM_TTY_BAUDRATE' per-port udev tag is introduced, which
>> allows specifying the baudrate that will be used when opening a
>> specific serial port.
>>
>> E.g.:
>>
>> ACTION!="add|change|move", GOTO="mm_my_modem_end"
>> DEVPATH=="/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.3/*",
>> ENV{ID_MM_TTY_BAUDRATE}="115200"
>> LABEL="mm_my_modem_end"
>>
>> https://bugs.freedesktop.org/show_bug.cgi?id=100158
> LGTM.
Pushed to git master
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list