[PyHumod] E620 problem!!!!!!

55 views
Skip to first unread message

Yogesh Karpate

unread,
Apr 17, 2010, 7:27:30 PM4/17/10
to pyhumod
Hi Folks,
Currently I am working on usbmodem of huawei E620 on
ubuntu 8.04. I just recently started working with pyhumod. When I
started
>>> import humod
>>> m=humod.Modem()
>>> m.show_model()
after 3rd line it doesnt show any o/p. It get stuck there for
indefinite time. What can be the reason? I guess pyhumod doesnt
support e620. Thanks in advance
Regards
Yogesh

--
You received this message because you are subscribed to the Google Groups "pyhumod" group.
To post to this group, send email to pyh...@googlegroups.com.
To unsubscribe from this group, send email to pyhumod+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pyhumod?hl=en.

oozie

unread,
Apr 18, 2010, 1:41:15 PM4/18/10
to pyh...@googlegroups.com
Hi Yogesh,

On Sun, Apr 18, 2010 at 12:27 AM, Yogesh Karpate
<yogesh...@gmail.com> wrote:
> Hi Folks,
>             Currently I am working on usbmodem of huawei E620 on
> ubuntu 8.04. I just recently started working with pyhumod. When I
> started
>>>> import humod
>>>> m=humod.Modem()
>>>> m.show_model()
> after 3rd line it doesnt show any o/p. It get stuck there for
> indefinite time. What can be the reason? I guess pyhumod doesnt
> support e620. Thanks in advance
> Regards
> Yogesh

I've not tested it with e620, but most of the Huawei modems operate
with the same logic.

What OS are you running?

--
best regards,
oozie
http://ooz.ie/

yogesh karpate

unread,
Apr 19, 2010, 2:54:58 AM4/19/10
to pyh...@googlegroups.com
The same happens with Huawei  EC 1260(3g modem).I am working on Linux ubuntu 8.04(Hardy).
There is inbuilt program called wvdial in hardy that dials the modem in normal case.For 3g modem you have to
use modeprobe command in ubuntu.I want to send the data of 30-40kb using this modem to server.
How can I go for it?Thanks in advance
Regards
Yogesh

Цуренко Александр

unread,
Apr 19, 2010, 9:30:35 AM4/19/10
to pyh...@googlegroups.com
to yogesh karpate

try to use this wvdial.conf

=============
[Dialer Defaults]
Modem = /dev/YOUR_MODEM_DEVICE
Baud = 460800
Init = ATZ
Init2 = AT+CRM=1
Phone = YOUR_DIAL_PHONE_NUMBER
Username = YOUR_USERNAME
Password = YOUR_PASSWORD
Auto DNS = 0
Check Def Route = on
Stupid Mode = 1
=============




2010/4/19 yogesh karpate <yogesh...@gmail.com>

oozie

unread,
Apr 19, 2010, 6:23:37 PM4/19/10
to pyh...@googlegroups.com
Hi Yogesh,

On Mon, Apr 19, 2010 at 7:54 AM, yogesh karpate <yogesh...@gmail.com> wrote:
> The same happens with Huawei  EC 1260(3g modem).I am working on Linux ubuntu
> 8.04(Hardy).
> There is inbuilt program called wvdial in hardy that dials the modem in
> normal case.For 3g modem you have to
> use modeprobe command in ubuntu.I want to send the data of 30-40kb using
> this modem to server.
> How can I go for it?Thanks in advance
> Regards
> Yogesh

A number of folks have reported not being able to work with PyHumod
with newer modems and Ubuntu.

To rule out the system issue please do the following:
1. Identify what usb ports are assigned to the modem. Plug the modem in and run:

$ ls -al /dev/ttyUSB*

2. ttyUSB0 should be the modem port and ttyUSB[12] most typically
stands for control port. Use minicom to connect to the control port
and try to send text manually with the following commands:

AT+CMGF=1
AT+CMGS=”<your number>"
> Test message!
> <CTRL+Z>

What's the output?

--
best regards,
oozie
http://ooz.ie/

Reply all
Reply to author
Forward
0 new messages