[Freeswitch-users] GSMOPEN dongle port changes randomly
Giovanni Maruzzelli
gmaruzz at gmail.com
Tue Nov 6 20:20:14 MSK 2012
On Wed, Oct 31, 2012 at 3:47 PM, Ivan Mironov <ivan.mironov at infra-it.ru> wrote:
> 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.
Hello Ivan,
patch integrated in mainline.
Can you please share your udev by-path technique? would be very very useful!
-giovanni
>
> 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
>
> _________________________________________________________________________
> 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
--
Sincerely,
Giovanni Maruzzelli
Cell : +39-347-2665618
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list