<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>
<!-- output of "ls -1" 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>--></div><div> <per_interface_settings></div><div> <interface id="1" name="gsm01"></div><div> <param name="controldevice_name" value="/dev/serial/by-path/platform-orion-ehci.0-usb-0:1.<b>1</b>:1.2-port0"/></div>
<div> <param name="controldevice_audio_name" value="/dev/serial/by-path/platform-orion-ehci.0-usb-0:1.<b>1</b>:1.1-port0"/></div><div> <param name="capture_boost" value="+4"/></div>
<div> <param name="playback_boost" value="+6"/></div><div> <param name="dialplan" value="XML"/></div><div> <param name="context" value="default"/></div>
<div> <param name="hold-music" value="$${moh_uri}"/></div><div> <param name="destination" value="1000"/></div><div> </interface></div><div> <interface id="2" name="gsm02"></div>
<div> <param name="controldevice_name" value="/dev/serial/by-path/platform-orion-ehci.0-usb-0:1.<b>4</b>:1.2-port0"/></div><div> <param name="controldevice_audio_name" value="/dev/serial/by-path/platform-orion-ehci.0-usb-0:1.<b>4</b>:1.1-port0"/></div>
<div> <param name="capture_boost" value="+4"/></div><div> <param name="playback_boost" value="+6"/></div><div> <param name="dialplan" value="XML"/></div>
<div> <param name="context" value="default"/></div><div> <param name="hold-music" value="$${moh_uri}"/></div><div> <param name="destination" value="1000"/></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"><<a href="mailto:gmaruzz@gmail.com" target="_blank">gmaruzz@gmail.com</a>></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>
<<a href="mailto:dvl36.ripe.nick@gmail.com">dvl36.ripe.nick@gmail.com</a>> wrote:<br>
> I tried, not so hard, but it does not work. :( At least on Debian Wheezy.<br>
> Linux Udev system is changing too often, so I decided to use<br>
> /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>