<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="DejaVu Sans">> Ok, please retry after adding the
missing comma between the DEVPATH and the ENV:</font><br>
<font face="DejaVu Sans">
</font><br>
<font face="DejaVu Sans">Oops<br>
</font><font face="DejaVu Sans">also a == for DEVPATH test<br>
<br>
</font><font face="DejaVu Sans">ACTION!="add|change|move",
GOTO="mm_serial_end"</font><br>
<font face="DejaVu Sans">DEVPATH=="/devices/pnp0/00:05/tty/ttyS0",
ENV{ID_MM_PLATFORM_DRIVER_PROBE}="1"
LABEL="mm_serial_end"</font><br>
<br>
<font face="DejaVu Sans">Now ttyS0 is whitelisted correctly, but
still some problems in using Telit plugin (or any other plugin).
MM log attached.<br>
<br>
Carlo<br>
<br>
</font><br>
<br>
<div class="moz-cite-prefix">On 28/03/2017 09:41, Aleksander Morgado
wrote:<br>
</div>
<blockquote
cite="mid:CAAP7ucJ0cZS+zzJ28tnbLheSDucekjfq77x=PDr0OFDaK7Wvpw@mail.gmail.com"
type="cite">
<pre wrap="">On Tue, Mar 28, 2017 at 9:01 AM, Carlo Lobrano <a class="moz-txt-link-rfc2396E" href="mailto:c.lobrano@gmail.com"><c.lobrano@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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 <a class="moz-txt-link-rfc2396E" href="mailto:aleksander@aleksander.es"><aleksander@aleksander.es></a>
wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
On Mon, Mar 27, 2017 at 6:04 PM, carlo <a class="moz-txt-link-rfc2396E" href="mailto:c.lobrano@gmail.com"><c.lobrano@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">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
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
</blockquote>
</blockquote>
<pre wrap="">
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.
</pre>
</blockquote>
<br>
</body>
</html>