[Freeswitch-users] GSMOPEN dongle port changes randomly

Ivan Mironov ivan.mironov at infra-it.ru
Wed Oct 31 17:47:04 MSK 2012


Some USB dongles with some firmware versions can sometimes spontaneously 
reboot or even freeze. In case of reboot, for host system it looks like 
modem has been unplugged and then plugged back. You can check kernel log 
(usually /var/log/kern.log in ubuntu) for related messages from USB 
subsystem.

Device files /dev/ttyUSB* doesn't have any stable numbering scheme, 
especially when multiple USB-Serial adapters (or modems) connected to 
system. You can use symlinks from /dev/serial/by-id or 
/dev/serial/by-path if you wish stable device paths. Unfortunately, most 
vendors doesn't assign serial numbers to their dongles, so by-id/ not 
usable when you have more than one dongle from one vendor with same 
model name. Symlinks in by-path/ should be stable when connecting 
devices directly to motherboard USB ports without any USB hubs, but I'm 
not quite sure in that... Also, mod_gsmopen from 1.2.3 doesn't work with 
long device names, here is the bugreport with patch: 
http://jira.freeswitch.org/browse/FS-4691.

31.10.2012 19:46, Yihui Li пишет:
> Hi,
>
> I am using gsmopen on ubuntu 12.04LTS. With E169 dongle connected as
> ttyUSB0, ttyUSB1 and ttyUSB2. It runs well at first. But after days, all
> call failed. Checked the tty files, the ports on system is somehow
> changed to ttyUSB0, ttyUSB1 and ttyUSB3.  ttyUSB2 just disappeared.
> Does anyone meet the same problem? How can I make it stable? Thanks.
>
> Regards,
> Eric
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>


-- 
С уважением, Иван Миронов <ivan.mironov at infra-it.ru>, ООО "Инфра-АйТи".
Мобильный телефон: +7-912-479-2263



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list