<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">> <span style="color:rgb(0,0,0);font-size:12.8px;font-family:arial,sans-serif">I answered in IRC already the other day, I see you didn't get my reply :)</span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(0,0,0);font-size:12.8px;font-family:arial,sans-serif"><br></span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(0,0,0);font-size:12.8px;font-family:arial,sans-serif">yeah, I'm sorry :)</span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(0,0,0);font-size:12.8px;font-family:arial,sans-serif"><br></span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12.8px">> When using the "udev" backend, which you are, the property isn't</span><br style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12.8px"><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12.8px">> "loaded" or "stored" anywhere in our code. We directly look for the</span><br style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12.8px"><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12.8px">> property in the GUdevDevice underneath.</span><br style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12.8px">><br style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12.8px"><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12.8px">> Could you run udevadm info in the port to see if ID_USB_INTERFACE_NUM is set?</span><div class="gmail-yj6qo gmail-ajU" style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12.8px"></div></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12.8px"><br></span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12.8px">Oh, I see now.</span></div><div class="gmail_default"><font color="#000000"><span style="font-size:12.8px">The property is actually unset. Is there anything else I can do to have this information?</span></font></div><div class="gmail_default"><font color="#000000"><span style="font-size:12.8px"><br></span></font></div><div class="gmail_default"><font color="#000000"><span style="font-size:12.8px"><div class="gmail_default"><div class="gmail_default">$ udevadm info /dev/ttyACM0</div><div class="gmail_default">P: /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3.2/3-3.2.4/3-3.2.4.3/3-3.2.4.3:1.0/tty/ttyACM0</div><div class="gmail_default">N: ttyACM0</div><div class="gmail_default">E: DEVNAME=/dev/ttyACM0</div><div class="gmail_default">E: DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3.2/3-3.2.4/3-3.2.4.3/3-3.2.4.3:1.0/tty/ttyACM0</div><div class="gmail_default">E: ID_MM_CANDIDATE=1</div><div class="gmail_default">E: ID_MM_TELIT_PORTS_TAGGED=1</div><div class="gmail_default">E: ID_MM_TELIT_TAGGED=1</div><div class="gmail_default">E: MAJOR=166</div><div class="gmail_default">E: MINOR=0</div><div class="gmail_default">E: SUBSYSTEM=tty</div><div class="gmail_default">E: TAGS=:systemd:</div><div class="gmail_default">E: USEC_INITIALIZED=75726372964</div></div></span></font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 2 May 2017 at 18:04, Aleksander Morgado <span dir="ltr"><<a href="mailto:aleksander@aleksander.es" target="_blank">aleksander@aleksander.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, May 2, 2017 at 4:49 PM, Carlo Lobrano <<a href="mailto:c.lobrano@gmail.com">c.lobrano@gmail.com</a>> wrote:<br>
><br>
> first of all, I've already asked this question on IRC, but then I had to<br>
> disconnect and I have no bouncer configured, so my apologize if someone has<br>
> already answered.<br>
><br>
> I'm working on telit plugin port configuration (telit_custom_init_step to be<br>
> precise) and it seems that MMKernelDevice ID_USB_INTERFACE_NUM property is<br>
> never set.<br>
><br>
> Tracking back this property, the only point where it's set is<br>
> preload_interface_number called from preload_contents, but then I got lost<br>
> and not sure where to check<br>
><br>
> I would appreciate any ideas<br>
<br>
</span>I answered in IRC already the other day, I see you didn't get my reply :)<br>
<br>
When using the "udev" backend, which you are, the property isn't<br>
"loaded" or "stored" anywhere in our code. We directly look for the<br>
property in the GUdevDevice underneath.<br>
<br>
Could you run udevadm info in the port to see if ID_USB_INTERFACE_NUM is set?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Aleksander<br>
<a href="https://aleksander.es" rel="noreferrer" target="_blank">https://aleksander.es</a><br>
</font></span></blockquote></div><br></div>