fabioprado / asterisk-chan-dongle

Automatically exported from code.google.com/p/asterisk-chan-dongle
Other
0 stars 0 forks source link

Modem get disconnected randomly #110

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. the Linux box with few modems connected to D-link DUB-H7 runs for few days
2. the 3G dongles disconnects appears randomly, not only when the call starts
3. the chan_dongle reconnects to the 3G dongles. It may fall to connect to 3G 
dongle until it is removed and pluged in back to the system.

Some logs in syslog and asterisk full log are attached.

>>What is the expected output? What do you see instead?
3G dongles should not disconnect from Linux system, also after connection, 
chan_dongle cannot connect to it

>>What version of the product are you using? On what operating system?
voip*CLI> dongle show version
chan_dongle: Huawei 3G Dongle Channel Driver, Version 1.1, Revision 10

root@voip:/home/am# uname -a
Linux voip 3.0.0-12-generic-pae #20-Ubuntu SMP Fri Oct 7 16:37:17 UTC 2011 i686 
i686 i386 GNU/Linux

>>Please provide any additional information below.
Earlier some logs pointed me to EMI messing up USB.

USB port disabled by hup (EMI? re enabling)

Please advise on the problem

Thank you

Original issue reported on code.google.com by andrei.m...@gmail.com on 4 Feb 2013 at 10:46

Attachments:

GoogleCodeExporter commented 9 years ago
Hello Andrei, i am facing the same on My Side, exactly the same as you 
descrribed above, have you found any solution for calls disconecting while in 
call, by the way th dongle call person can hear a long Tone when call 
disconnect while the other person can see call droped without any Tone. i wish 
you can help me if you have found any solution for that. waiting your reply & 
thanks in advance, mahbabur@gmail.com

Original comment by mahba...@gmail.com on 18 Feb 2013 at 10:36

GoogleCodeExporter commented 9 years ago
By the was i have a linux debian 8 dongles, 4 dongles connected to MotherBoard 
and 4 Dongles Connected to USB Card all are hawawi E173 . I Dont Have the 
D-link DUB-H7 to connect dongles to it, pls advice.

Original comment by mahba...@gmail.com on 18 Feb 2013 at 10:41

GoogleCodeExporter commented 9 years ago
i was facing the same problem with a self powered Hub and E180 , so far i found 
that the problem is with power, USB dongle can't have the enough power 
500mAMP,the power adopter for USB hub was though rated as 5 volt and 2AMP , but 
wasn't good .Dongle was disconnecting after 2 or 3 seconds .

Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 12d1:140c Huawei Technologies Co., Ltd.
Bus 001 Device 004: ID 054c:05ba Sony Corp.

so i replaced the power adopter with Dell PSU (MAx out put 210Watt) .now PSU 
provides the 5volt and 2AMP to USB hub.
 . so far i can establish a call for 2 mints or so .Dongle dosn't disconnect frequently (though it disconnects ). so my dumb guess is that chan_dongle is OK ,coz this dongle works fine if asterisk is running on PC and dongle is connected directly to pc . but if i use embeded plateform and USB self powered hub then i face problems .

Original comment by alihmd....@gmail.com on 21 Feb 2013 at 9:43

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
 andrei's problem may be related to chan_dongle itself .  i also found after few mints test that volts in Power adopter continue to change , sometimes it is providing full 5 volt ,sometimes it's 5.2 volt and sometimes just 4.x volts . 

Original comment by alihmd....@gmail.com on 21 Feb 2013 at 9:50

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
well .the less-diconnection after changing the PSU was becoz i was calling the 
Telco IVR for testing :D and they disconnected me after 2 mints while in call, 
by calling to other cellphones i came to know that power adopter replacement 
actually worked . that frequent disconnect problem is gone now but i faced a 
new problem when i used /dev/ttyUSBx interface with chan_dongle . the other 
person disconnected the call but dongle status continued to show "dialing" , i 
restarted the dongle from CLI but didn't work , i plugged out and in the dongle 
then it even didn't show up in 'dongle show devices' , after all i had to 
reboot the board , then i used the IMIE and IMSI digits instead of /dev/ttyUSBx 
interface and the problems are gone now . though my comments and post are 
getting out of the context of the original post by Andrie ,but it may help 
others . sorry for hijacking the original post/question/problem.

Original comment by alihmd....@gmail.com on 21 Feb 2013 at 8:11

GoogleCodeExporter commented 9 years ago
Thanks for advice.

I will give it a try to changing power adapter to a brand one - maybe a refurb 
branded PC PSU. I will give you details here later.

Thanks,
Andrei

Original comment by andrei.m...@gmail.com on 22 Feb 2013 at 10:12

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Andrie , i forgot to mention that i replaced the power adopter with PC PSU , 
,http://www.3sfmedia.net/images//computers/dell-psu_4154.jpg this one. and 
powered USB hub with RED(5volt) and Black (GND) wire from a power jack ., plz 
first check it with multimeter . 

Original comment by alihmd....@gmail.com on 22 Feb 2013 at 12:01

GoogleCodeExporter commented 9 years ago
predictable results

Original comment by bg_...@mail.ru on 27 Apr 2013 at 3:35