Hi All,

Thanks for reply. Maybe I have a step abnormal not reported.  Command
"AT+CGDATA=\"PPP\",%u" is not responded correctly. That is, the first
parameter of at_cgdata_cb is not ture. but I just ignored it, and go
 to setup_ppp(gc) forcibly. Can you please give me any advice. Your
 reply is appreciated.




At 2011-01-24 18:56:17,"Marcel Holtmann" <mar...@holtmann.org> wrote:

>Hi,
>
>> I have got a problem about 3G connectrion from ofono, does anyone have
>> idea to resolve it? 
>> The  modem is huawei EM560. 
>> 
>> Here is the log:
>> 
>> ofonod[940]: src/modem.c:set_modem_property() modem 0x8d49058 property
>> Path
>> ofonod[940]: src/modem.c:set_modem_property() modem 0x8d49058 property
>> Registered
>> ofonod[940]:
>> plugins/udev.c:add_modem() 
>> /devices/pci0000:00/0000:00:00.7/usb1/1-1/1-1.2/1-1.2:2.1/tty/ttyACM0 
>> (huawei)
>> ofonod[940]: src/modem.c:get_modem_property() modem 0x8d49058 property
>> ModemRegistered
>> ofonod[940]: src/modem.c:get_modem_property() modem 0x8d49058 property
>> PcuiRegistered
>> ofonod[940]: plugins/udev.c:add_huawei() add_huaweiingggggggggg by hyq
>> ofonod[940]: plugins/udev.c:add_huawei() name =OFONO_HUAWEI_TYPE by
>> hyq
>> ofonod[940]: src/modem.c:set_modem_property() modem 0x8d49058 property
>> Modem
>> ofonod[940]: src/modem.c:set_modem_property() m odem 0x8d49058
>> property ModemRegistered
>> ofonod[940]: plugins/udev.c:add_huawei() after ofono_modem_register by
>> hyq ppp=1 pcui=0
>> ofonod[940]: src/modem.c:get_modem_property() modem 0x8d49058 property
>> Path
>> ofonod[940]:
>> plugins/udev.c:add_modem() 
>> /devices/pci0000:00/0000:00:00.7/usb1/1-1/1-1.2/1-1.2:2.3/tty/ttyACM1 
>> (huawei)
>> ofonod[940]: src/modem.c:get_modem_property() modem 0x8d49058 property
>> ModemRegistered
>> ofonod[940]: src/modem.c:get_modem_property() modem 0x8d49058 property
>> PcuiRegistered
>> ofonod[940]: plugins/udev.c:add_huawei() add_huaweiingggggggggg by hyq
>> ofonod[940]: src/modem.c:set_modem_property() modem 0x8d49058 property
>> HasVoice
>> ofonod[940]: plugins/udev.c:add_huawei() after ofono_modem_register by
>> hyq ppp=1 pcui=0
>> ofonod[940]: src/modem.c:get_modem_property() modem 0x8d49058 property
>> Path
>> ofonod[940]:
>> plugins/udev.c:add_modem() 
>> /devices/pci0000:00/0000:00:00.7/usb1/1-1/1-1.2/1-1.2:2.7/tty/ttyACM2 
>> (huawei)
>> ofonod[940]: src/modem.c:g et_modem_property() modem 0x8d49058
>> property ModemRegistered
>> ofonod[940]: src/modem.c:get_modem_property() modem 0x8d49058 property
>> PcuiRegistered
>> ofonod[940]: plugins/udev.c:add_huawei() name =OFONO_HUAWEI_TYPE by
>> hyq
>> ofonod[940]: src/modem.c:set_modem_property() modem 0x8d49058 property
>> Pcui
>> ofonod[940]: src/modem.c:set_modem_property() modem 0x8d49058 property
>> PcuiRegistered
>> 
>> [root@localhost test]# ./activate-context 
>> Entering new phase: 1
>> Entering new phase: 3
>> Entering new phase: 4
>> ofonod[815]: drivers/atmodem/gprs-context.c:ppp_connect() 
>> ofonod[815]: IP: 0.0.0.0
>> ofonod[815]: DNS: 0.0.0.0, 0.0.0.0
>> ofonod[815]: src/gprs.c:pri_activate_callback() 0xa063660 ppp0
>
>no idea what goes wrong here, but the network or your modem firmware
>basically tells you that the IP address is not set.
>
>Run with OFONO_PPP_DEBUG=1 and see if it gives you more details.
>
>Regards
>
>Marcel
>
>
>_______________________________________________
>ofono mailing list
>ofono@ofono.org
>http://lists.ofono.org/listinfo/ofono
_______________________________________________
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono

Reply via email to