Flow control settings for RS232 modems

carlo c.lobrano at gmail.com
Tue Mar 28 08:57:11 UTC 2017


> 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"
Yes, correct :D

> Baudrate? The modem should use 57600bps, as that is what MM expects.
Oh, sorry, I read that too late.
> 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"
Interesting, didn't know ID_MM_TTY_BAUDRATE.

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

uhm, no, this way ttyS0 is not whitelisted, but it works with "/devices/pnp0/00:05/*"
(or "/devices/pnp0/00:05/tty/*" if we want to be more selective)"


On 28/03/2017 10:46, Aleksander Morgado wrote:
> 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"?
>



More information about the ModemManager-devel mailing list