Hi,
I use MeeGo NB 10/26 release to browse some website via Huawei modem,
The PPP connection is disconnected when recieve a PPP event (RXJ-).
Then the PPP can not be connected anymore. Why?
What condition does ofono recieve this event?
The ofono also recieved udev event "remove" and removed the huawei modem.
But I does not pull out the modem.
What condition does udev send the "remove" event?
The following is the ofono debug messages:
ofonod[1033]: PCUI: < \r\n^BOOT:20576126,0,0,0,20\r\n
ofonod[1033]: PCUI: <
\r\n^DSFLOWRPT:00000064,00000000,00000000,00000000000056DB,000000000001245A,0003E800,000FA000\r\n
ofonod[1033]: PCUI: < \r\n^RSSI:18\r\n
ofonod[1033]: PCUI: <
\r\n^DSFLOWRPT:00000066,00000000,00000000,00000000000056DB,000000000001245A,0003E800,000FA000\r\n
ofonod[1033]: PPP: lcp: pppcp_generate_event: current state 9:OPENED
ofonod[1033]: PPP: event: 14 (RXJ-), action: 8225, new_state: 5 (STOPPING)
ofonod[1033]: PPP: lcp: pppcp_initialize_restart_count: current state
9:OPENED
ofonod[1033]: PPP: lcp: pppcp_send_terminate_request: current state
9:OPENED
ofonod[1033]: PPP: ipcp: pppcp_generate_event: current state 9:OPENED
ofonod[1033]: PPP: event: 1 (Down), action: 201, new_state: 1 (STARTING)
Entering new phase: 5
ofonod[1033]: plugins/udev.c:remove_modem() /devices/virtual/net/ppp0
ofonod[1033]: PCUI: < \r\n^RSSI:18\r\n
ofonod[1033]: PPP: lcp: pppcp_process_terminate_ack: current state
5:STOPPING
ofonod[1033]: PPP: lcp: pppcp_generate_event: current state 5:STOPPING
ofonod[1033]: PPP: event: 11 (RTA), action: 803, new_state: 3 (STOPPED)
ofonod[1033]: PPP: lcp: pppcp_this_layer_finished: current state 3:STOPPED
Entering new phase: 0
ofonod[1033]: drivers/atmodem/gprs-context.c:ppp_disconnect()
ofonod[1033]: Modem: > AT+CGDCONT=1,"IP","internet"\r
ofonod[1033]: PCUI: <
\r\n^DSFLOWRPT:00000068,0000004E,00000068,0000000000005777,000000000001252A,0003E800,000FA000\r\n
ofonod[1033]: PCUI: < \r\n^MODE:5,5\r\n
ofonod[1033]: PCUI: <
\r\n^DSFLOWRPT:0000006A,00000000,00000000,0000000000005777,000000000001252A,00000000,00000000\r\n
ofonod[1033]: PCUI: < \r\n^RSSI:18\r\n
ofonod[1033]: PCUI: < \r\n^MODE:5,4\r\n
ofonod[1033]: Modem: < \r\nNO CARRIER\r\n
ofonod[1033]: src/gprs.c:pri_activate_callback() 0x94d7420 (null)
ofonod[1033]: src/gprs.c:pri_activate_callback() Activating context failed
with error: Unknown error type
ofonod[1033]: plugins/huawei.c:huawei_disconnect()
ofonod[1033]: src/gprs.c:gprs_context_remove() atom: 0x94d2ee0
ofonod[1033]: drivers/atmodem/gprs-context.c:at_gprs_context_remove()
ofonod[1033]: src/modem.c:get_modem_property() modem 0x94d4070 property
Modem
ofonod[1033]: plugins/huawei.c:open_device() Modem /dev/ttyUSB0
ofonod[1033]: Reopened GPRS context channel
ofonod[1033]: PCUI: < \r\n^RSSI:18\r\n
ofonod[1033]: PCUI: < \r\n+CREG: 1, 2829, 1197F8F\r\n\r\n+CGREG: 1, 2829,
1197F8F\r\n
BR
Elton
_______________________________________________
ofono mailing list
ofono(a)ofono.org
http://lists.ofono.org/listinfo/ofono