<div dir="ltr"><div style><br></div><div style><div>Below snippet of my gsmopen config for 1-st and 4-st USB hub ports with Huawei modems in it.</div><div>USB hub port numbers marked as bold.</div><div>-----</div></div><div style>
&lt;!-- output of &quot;ls -1&quot; at /dev/serial/by-path </div><div>platform-orion-ehci.0-usb-0:1.<b>1</b>:1.0-port0</div><div>platform-orion-ehci.0-usb-0:1.<b>1</b>:1.1-port0</div><div>platform-orion-ehci.0-usb-0:1.<b>1</b>:1.2-port0</div>
<div>platform-orion-ehci.0-usb-0:1.<b>4</b>:1.0-port0</div><div>platform-orion-ehci.0-usb-0:1.<b>4</b>:1.1-port0</div><div>platform-orion-ehci.0-usb-0:1.<b>4</b>:1.2-port0</div><div>platform-orion-ehci.0-usb-0:1.<b>6</b>:1.0-port0</div>
<div>platform-orion-ehci.0-usb-0:1.<b>6</b>:1.1-port0</div><div>platform-orion-ehci.0-usb-0:1.<b>6</b>:1.2-port0</div><div>platform-orion-ehci.0-usb-0:1.<b>7</b>:1.0-port0</div><div>platform-orion-ehci.0-usb-0:1.<b>7</b>:1.1-port0</div>
<div>platform-orion-ehci.0-usb-0:1.<b>7</b>:1.2-port0</div><div>--&gt;</div><div>  &lt;per_interface_settings&gt;</div><div>    &lt;interface id=&quot;1&quot; name=&quot;gsm01&quot;&gt;</div><div>      &lt;param name=&quot;controldevice_name&quot; value=&quot;/dev/serial/by-path/platform-orion-ehci.0-usb-0:1.<b>1</b>:1.2-port0&quot;/&gt;</div>
<div>      &lt;param name=&quot;controldevice_audio_name&quot; value=&quot;/dev/serial/by-path/platform-orion-ehci.0-usb-0:1.<b>1</b>:1.1-port0&quot;/&gt;</div><div>      &lt;param name=&quot;capture_boost&quot; value=&quot;+4&quot;/&gt;</div>
<div>      &lt;param name=&quot;playback_boost&quot; value=&quot;+6&quot;/&gt;</div><div>      &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;</div><div>      &lt;param name=&quot;context&quot; value=&quot;default&quot;/&gt;</div>
<div>      &lt;param name=&quot;hold-music&quot; value=&quot;$${moh_uri}&quot;/&gt;</div><div>      &lt;param name=&quot;destination&quot; value=&quot;1000&quot;/&gt;</div><div>    &lt;/interface&gt;</div><div>    &lt;interface id=&quot;2&quot; name=&quot;gsm02&quot;&gt;</div>
<div>      &lt;param name=&quot;controldevice_name&quot; value=&quot;/dev/serial/by-path/platform-orion-ehci.0-usb-0:1.<b>4</b>:1.2-port0&quot;/&gt;</div><div>      &lt;param name=&quot;controldevice_audio_name&quot; value=&quot;/dev/serial/by-path/platform-orion-ehci.0-usb-0:1.<b>4</b>:1.1-port0&quot;/&gt;</div>
<div>      &lt;param name=&quot;capture_boost&quot; value=&quot;+4&quot;/&gt;</div><div>      &lt;param name=&quot;playback_boost&quot; value=&quot;+6&quot;/&gt;</div><div>      &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;</div>
<div>      &lt;param name=&quot;context&quot; value=&quot;default&quot;/&gt;</div><div>      &lt;param name=&quot;hold-music&quot; value=&quot;$${moh_uri}&quot;/&gt;</div><div>      &lt;param name=&quot;destination&quot; value=&quot;1000&quot;/&gt;</div>
<div>---</div><div style>BTW, the patch for long device names is not mine.<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2012/12/19 Giovanni Maruzzelli <span dir="ltr">&lt;<a href="mailto:gmaruzz@gmail.com" target="_blank">gmaruzz@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Wed, Dec 19, 2012 at 4:55 PM, Dmitry Lysenko<br>
&lt;<a href="mailto:dvl36.ripe.nick@gmail.com">dvl36.ripe.nick@gmail.com</a>&gt; wrote:<br>
&gt; I tried, not so hard, but it does not work. :( At least on Debian Wheezy.<br>
&gt; Linux Udev system is changing too often, so I decided to use<br>
&gt; /dev/serial/by-path/* for persistence.<br>
<br>
</div>can you please detail how you use /dev/serial/by-path/* for persistence ?<br>
(btw, the patch for long device names you sent is in mainline since some weeks)<br>
<div class="HOEnZb"><div class="h5"><br>
-giovanni<br>
<br>
<br>
--<br>
Sincerely,<br>
<br>
Giovanni Maruzzelli<br>
Cell : <a href="tel:%2B39-347-2665618" value="+393472665618">+39-347-2665618</a><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div>