Flow control settings for RS232 modems

carlo c.lobrano at gmail.com
Tue Mar 28 08:21:03 UTC 2017


 > Ok, please retry after adding the missing comma between the DEVPATH 
and the ENV:

Oops
also a == for DEVPATH test

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.

Carlo



On 28/03/2017 09:41, Aleksander Morgado wrote:
> On Tue, Mar 28, 2017 at 9:01 AM, Carlo Lobrano <c.lobrano at gmail.com> wrote:
>> Here it is
>>
>> $ udevadm info -p /sys/class/tty/ttyS0
>> P: /devices/pnp0/00:05/tty/ttyS0
>> N: ttyS0
>> E: DEVNAME=/dev/ttyS0
>> E: DEVPATH=/devices/pnp0/00:05/tty/ttyS0
>> E: ID_MM_CANDIDATE=1
>> E: MAJOR=4
>> E: MINOR=64
>> E: SUBSYSTEM=tty
>> E: TAGS=:systemd:
>> E: USEC_INITIALIZED=955641
>>
>>
>> On Mon, 27 Mar 2017 at 20:44 Aleksander Morgado <aleksander at aleksander.es>
>> wrote:
>>> On Mon, Mar 27, 2017 at 6:04 PM, carlo <c.lobrano at gmail.com> wrote:
>>>>> Does this work?
>>>>>
>>>>> # cat <<EOF > /lib/udev/rules.d/78-mm-serial.rules
>>>>> 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"
>>>>> EOF
>>>>> # udevadm control --reload
>>>>> # udevadm trigger
>>>>> // Relaunch MM
> Ok, please retry after adding the missing comma between the DEVPATH and the ENV:
>
> # cat <<EOF > /lib/udev/rules.d/78-mm-serial.rules
> 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"
> EOF
> # udevadm control --reload
> # udevadm trigger
> # udevadm info -p /sys/class/tty/ttyS0
>
> This should really add the tag.
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20170328/e4569380/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mm-ttyS0-no-plugin.log
Type: text/x-log
Size: 77464 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20170328/e4569380/attachment-0001.bin>


More information about the ModemManager-devel mailing list