Flow control settings for RS232 modems

Aleksander Morgado aleksander at aleksander.es
Tue Mar 28 08:46:58 UTC 2017


On Tue, Mar 28, 2017 at 10:21 AM, carlo <c.lobrano at gmail.com> wrote:
> Oops
> also a == for DEVPATH test
>

Oh, yeah, and that :)

> ACTION!="add|change|move", GOTO="mm_serial_end"
> DEVPATH=="/devices/pnp0/00:05/tty/ttyS0",
> ENV{ID_MM_PLATFORM_DRIVER_PROBE}="1" LABEL="mm_serial_end"
>

I assume you have the LABEL in a new line? i.e. this:

ACTION!="add|change|move", GOTO="mm_serial_end"
DEVPATH=="/devices/pnp0/00:05/tty/ttyS0", ENV{ID_MM_PLATFORM_DRIVER_PROBE}="1"
LABEL="mm_serial_end"


> Now ttyS0 is whitelisted correctly, but still some problems in using Telit
> plugin (or any other plugin). MM log attached.

Baudrate? The modem should use 57600bps, as that is what MM expects.
If a different one, you can add a new rule like:
DEVPATH=="/devices/pnp0/00:05/tty/ttyS0", ENV{ID_MM_TTY_BAUDRATE}="115200"

Also, 8N1 as serial port settings, but I doubt it's different in your modem.

BTW; does the PLATFORM_DRIVER_PROBE tag work if you tag
"/devices/pnp0/00:05/" instead of "/devices/pnp0/00:05/tty/ttyS0"?

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list