Below snippet of my gsmopen config for 1-st and 4-st USB hub ports with Huawei modems in it.
USB hub port numbers marked as bold.
-----
<!-- output of "ls -1" at /dev/serial/by-path 
platform-orion-ehci.0-usb-0:1.1:1.0-port0
platform-orion-ehci.0-usb-0:1.1:1.1-port0
platform-orion-ehci.0-usb-0:1.1:1.2-port0
platform-orion-ehci.0-usb-0:1.4:1.0-port0
platform-orion-ehci.0-usb-0:1.4:1.1-port0
platform-orion-ehci.0-usb-0:1.4:1.2-port0
platform-orion-ehci.0-usb-0:1.6:1.0-port0
platform-orion-ehci.0-usb-0:1.6:1.1-port0
platform-orion-ehci.0-usb-0:1.6:1.2-port0
platform-orion-ehci.0-usb-0:1.7:1.0-port0
platform-orion-ehci.0-usb-0:1.7:1.1-port0
platform-orion-ehci.0-usb-0:1.7:1.2-port0
-->
  <per_interface_settings>
    <interface id="1" name="gsm01">
      <param name="controldevice_name" value="/dev/serial/by-path/platform-orion-ehci.0-usb-0:1.1:1.2-port0"/>
      <param name="controldevice_audio_name" value="/dev/serial/by-path/platform-orion-ehci.0-usb-0:1.1:1.1-port0"/>
      <param name="capture_boost" value="+4"/>
      <param name="playback_boost" value="+6"/>
      <param name="dialplan" value="XML"/>
      <param name="context" value="default"/>
      <param name="hold-music" value="$${moh_uri}"/>
      <param name="destination" value="1000"/>
    </interface>
    <interface id="2" name="gsm02">
      <param name="controldevice_name" value="/dev/serial/by-path/platform-orion-ehci.0-usb-0:1.4:1.2-port0"/>
      <param name="controldevice_audio_name" value="/dev/serial/by-path/platform-orion-ehci.0-usb-0:1.4:1.1-port0"/>
      <param name="capture_boost" value="+4"/>
      <param name="playback_boost" value="+6"/>
      <param name="dialplan" value="XML"/>
      <param name="context" value="default"/>
      <param name="hold-music" value="$${moh_uri}"/>
      <param name="destination" value="1000"/>
---
BTW, the patch for long device names is not mine.


2012/12/19 Giovanni Maruzzelli <gmaruzz@gmail.com>
On Wed, Dec 19, 2012 at 4:55 PM, Dmitry Lysenko
<dvl36.ripe.nick@gmail.com> wrote:
> I tried, not so hard, but it does not work. :( At least on Debian Wheezy.
> Linux Udev system is changing too often, so I decided to use
> /dev/serial/by-path/* for persistence.

can you please detail how you use /dev/serial/by-path/* for persistence ?
(btw, the patch for long device names you sent is in mainline since some weeks)

-giovanni


--
Sincerely,

Giovanni Maruzzelli
Cell : +39-347-2665618

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org