Ticket #1025 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

gsmd initialization questions

Reported by: mickey@… Owned by: sean_chiang@…
Priority: high Milestone:
Component: gsmd Version: unspecified
Severity: normal Keywords:
Cc: buglog@…, tick@…, sean_chiang@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:
Reproducible:

Description

Is this initialization correct? Some sections are worrying me. Please see inline
comments:

mickey@andromeda:~$ gsmd -p /dev/pts/11 -s 115200 -v ti -m gta01
gsmd - (C) 2006-2007 by OpenMoko?, Inc. and contributors
This program is FREE SOFTWARE under the terms of GNU GPL

Sun Nov 25 17:29:23 2007 <1> machine.c:72:gsmd_machine_plugin_load() loading
machine plugin "gta01"
Sun Nov 25 17:29:23 2007 <1> vendor.c:75:gsmd_vendor_plugin_load() loading
vendor plugin "ti"
Sun Nov 25 17:29:23 2007 <1> machine.c:56:gsmd_machine_plugin_find() selecting
machine plugin "TI Calypso / FIC firmware"
Sun Nov 25 17:29:24 2007 <1> atcmd.c:688:atcmd_drain() c_iflag = 0x00000500,
c_oflag = 0x00000005, c_cflag = 0x000010b2, c_lflag = 0x00008a3b
Sun Nov 25 17:29:24 2007 <1> vendor.c:59:gsmd_vendor_plugin_find() selecting
vendor plugin "TI Calypso"
Sun Nov 25 17:29:24 2007 <1> atcmd.c:648:atcmd_submit() extra-submiting command
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:142:atcmd_wakeup_modem() try to wake up
Sun Nov 25 17:29:24 2007 <1> atcmd.c:651:atcmd_submit() submitting command `ATZ'
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:134:wakeup_timer() Create wake up timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:88:null_wakeup_cb() The wake up
callback!!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> atcmd.c:588:discard_timer() Create discard timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> atcmd.c:648:atcmd_submit() extra-submiting command
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:142:atcmd_wakeup_modem() try to wake up
Sun Nov 25 17:29:24 2007 <1> atcmd.c:651:atcmd_submit() submitting command `ATE0V1'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:648:atcmd_submit() extra-submiting command
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:142:atcmd_wakeup_modem() try to wake up
Sun Nov 25 17:29:24 2007 <1> atcmd.c:651:atcmd_submit() submitting command
`AT+CRC=1'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:648:atcmd_submit() extra-submiting command
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:142:atcmd_wakeup_modem() try to wake up
Sun Nov 25 17:29:24 2007 <1> atcmd.c:651:atcmd_submit() submitting command
`AT+CREG=2'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:648:atcmd_submit() extra-submiting command
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:142:atcmd_wakeup_modem() try to wake up
Sun Nov 25 17:29:24 2007 <1> atcmd.c:651:atcmd_submit() submitting command
`AT+CMEE=1'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:648:atcmd_submit() extra-submiting command
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:142:atcmd_wakeup_modem() try to wake up
Sun Nov 25 17:29:24 2007 <1> atcmd.c:651:atcmd_submit() submitting command
`AT+CLIP=1'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:648:atcmd_submit() extra-submiting command
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:142:atcmd_wakeup_modem() try to wake up
Sun Nov 25 17:29:24 2007 <1> atcmd.c:651:atcmd_submit() submitting command
`AT+COLP=1'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:648:atcmd_submit() extra-submiting command
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:142:atcmd_wakeup_modem() try to wake up
Sun Nov 25 17:29:24 2007 <1> atcmd.c:651:atcmd_submit() submitting command
`AT+CMGF=0'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:648:atcmd_submit() extra-submiting command
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:142:atcmd_wakeup_modem() try to wake up
Sun Nov 25 17:29:24 2007 <1> atcmd.c:651:atcmd_submit() submitting command
`AT+CVHU=0'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:648:atcmd_submit() extra-submiting command
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:142:atcmd_wakeup_modem() try to wake up
Sun Nov 25 17:29:24 2007 <1> atcmd.c:651:atcmd_submit() submitting command
`AT+CMGF=0'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:648:atcmd_submit() extra-submiting command
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:142:atcmd_wakeup_modem() try to wake up
Sun Nov 25 17:29:24 2007 <1> atcmd.c:651:atcmd_submit() submitting command
`AT+CTZR=1'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:648:atcmd_submit() extra-submiting command
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:142:atcmd_wakeup_modem() try to wake up
Sun Nov 25 17:29:24 2007 <1> atcmd.c:651:atcmd_submit() submitting command
`AT%CTZV=1'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:648:atcmd_submit() extra-submiting command
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:142:atcmd_wakeup_modem() try to wake up
Sun Nov 25 17:29:24 2007 <1> atcmd.c:651:atcmd_submit() submitting command
`AT%CPRI=1'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:648:atcmd_submit() extra-submiting command
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:142:atcmd_wakeup_modem() try to wake up
Sun Nov 25 17:29:24 2007 <1> atcmd.c:651:atcmd_submit() submitting command
`AT%CSQ=1'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:648:atcmd_submit() extra-submiting command
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:142:atcmd_wakeup_modem() try to wake up
Sun Nov 25 17:29:24 2007 <1> atcmd.c:651:atcmd_submit() submitting command
`AT%CUNS=0'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:648:atcmd_submit() extra-submiting command
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:142:atcmd_wakeup_modem() try to wake up
Sun Nov 25 17:29:24 2007 <1> atcmd.c:651:atcmd_submit() submitting command
`AT%CPHS=1'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:648:atcmd_submit() extra-submiting command
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:142:atcmd_wakeup_modem() try to wake up
Sun Nov 25 17:29:24 2007 <1> atcmd.c:651:atcmd_submit() submitting command
`AT%CPI=?'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:134:wakeup_timer() Create wake up timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:88:null_wakeup_cb() The wake up
callback!!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> atcmd.c:588:discard_timer() Create discard timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> gsmd.c:144:gsmd_test_atcb() ATE0V1' returned OK'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:134:wakeup_timer() Create wake up timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:88:null_wakeup_cb() The wake up
callback!!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> atcmd.c:588:discard_timer() Create discard timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> gsmd.c:144:gsmd_test_atcb() AT+CRC=1' returned OK'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:134:wakeup_timer() Create wake up timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:88:null_wakeup_cb() The wake up
callback!!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> atcmd.c:588:discard_timer() Create discard timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> gsmd.c:144:gsmd_test_atcb() AT+CREG=2' returned OK'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:134:wakeup_timer() Create wake up timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:88:null_wakeup_cb() The wake up
callback!!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> atcmd.c:588:discard_timer() Create discard timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> gsmd.c:144:gsmd_test_atcb() AT+CMEE=1' returned OK'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:134:wakeup_timer() Create wake up timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:88:null_wakeup_cb() The wake up
callback!!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> atcmd.c:588:discard_timer() Create discard timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> gsmd.c:144:gsmd_test_atcb() AT+CLIP=1' returned OK'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:134:wakeup_timer() Create wake up timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:88:null_wakeup_cb() The wake up
callback!!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> atcmd.c:588:discard_timer() Create discard timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> gsmd.c:144:gsmd_test_atcb() AT+COLP=1' returned OK'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:134:wakeup_timer() Create wake up timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:88:null_wakeup_cb() The wake up
callback!!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> atcmd.c:588:discard_timer() Create discard timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> gsmd.c:144:gsmd_test_atcb() AT+CMGF=0' returned OK'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:134:wakeup_timer() Create wake up timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:88:null_wakeup_cb() The wake up
callback!!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> atcmd.c:588:discard_timer() Create discard timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`EXT: I'(6)

Where does that come from and what does it mean?

Sun Nov 25 17:29:24 2007 <1> atcmd.c:425:ml_parse() Appending buf to mlbuf
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`ERROR'(5)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:391:ml_parse() unspecified error

?

Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> gsmd.c:144:gsmd_test_atcb() `AT+CVHU=0' returned
`EXT: I'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:134:wakeup_timer() Create wake up timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:88:null_wakeup_cb() The wake up
callback!!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> atcmd.c:588:discard_timer() Create discard timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <5> atcmd.c:221:atcmd_done() command without cb!!!

Command without callback? Does that indicate a mapping problem between request
and response?

Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:134:wakeup_timer() Create wake up timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:88:null_wakeup_cb() The wake up
callback!!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> atcmd.c:588:discard_timer() Create discard timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> gsmd.c:144:gsmd_test_atcb() AT+CTZR=1' returned OK'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:134:wakeup_timer() Create wake up timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:88:null_wakeup_cb() The wake up
callback!!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> atcmd.c:588:discard_timer() Create discard timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> gsmd.c:144:gsmd_test_atcb() AT%CTZV=1' returned OK'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:134:wakeup_timer() Create wake up timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:88:null_wakeup_cb() The wake up
callback!!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> atcmd.c:588:discard_timer() Create discard timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> gsmd.c:144:gsmd_test_atcb() AT%CPRI=1' returned OK'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:134:wakeup_timer() Create wake up timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:88:null_wakeup_cb() The wake up
callback!!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> atcmd.c:588:discard_timer() Create discard timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`%CSQ: 1 '(8)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:425:ml_parse() Appending buf to mlbuf
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> gsmd.c:144:gsmd_test_atcb() `AT%CSQ=1' returned
`%CSQ: 1 '
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:134:wakeup_timer() Create wake up timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:88:null_wakeup_cb() The wake up
callback!!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> atcmd.c:588:discard_timer() Create discard timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> gsmd.c:144:gsmd_test_atcb() AT%CUNS=0' returned OK'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:134:wakeup_timer() Create wake up timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:88:null_wakeup_cb() The wake up
callback!!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> atcmd.c:588:discard_timer() Create discard timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`+CME ERROR: 10'(14)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:309:ml_parse() error number 10

SIM not inserted? That's wrong, since later in the process, I can nicely give
the PIN and it registers to my home network.

Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> gsmd.c:144:gsmd_test_atcb() `AT%CPHS=1' returned
`+CME ERROR: 10'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:134:wakeup_timer() Create wake up timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:88:null_wakeup_cb() The wake up
callback!!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> atcmd.c:588:discard_timer() Create discard timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`%CPI: (0-4)'(11)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:425:ml_parse() Appending buf to mlbuf
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> atcmd.c:648:atcmd_submit() extra-submiting command
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:142:atcmd_wakeup_modem() try to wake up
Sun Nov 25 17:29:24 2007 <1> atcmd.c:651:atcmd_submit() submitting command
`AT%CPMB=1'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:648:atcmd_submit() extra-submiting command
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:142:atcmd_wakeup_modem() try to wake up
Sun Nov 25 17:29:24 2007 <1> atcmd.c:651:atcmd_submit() submitting command
`AT%CPI=3'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:134:wakeup_timer() Create wake up timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:88:null_wakeup_cb() The wake up
callback!!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> atcmd.c:588:discard_timer() Create discard timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`+CME ERROR: 3'(13)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:309:ml_parse() error number 3

Which command are we sending so early that is not allowed to be perform?

Sun Nov 25 17:29:24 2007 <1> unsolicited.c:69:usock_evt_send() entering evt=16
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:134:wakeup_timer() Create wake up timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> machine_gta01.c:88:null_wakeup_cb() The wake up
callback!!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:29:24 2007 <1> atcmd.c:588:discard_timer() Create discard timer
Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:29:24 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:29:24 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:29:24 2007 <1> gsmd.c:144:gsmd_test_atcb() AT%CPI=3' returned OK'
Sun Nov 25 17:29:24 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:30:15 2007 <1> atcmd.c:648:atcmd_submit() extra-submiting command
Sun Nov 25 17:30:15 2007 <1> machine_gta01.c:142:atcmd_wakeup_modem() try to wake up
Sun Nov 25 17:30:15 2007 <1> atcmd.c:651:atcmd_submit() submitting command
`AT+CFUN=1'
Sun Nov 25 17:30:15 2007 <1> machine_gta01.c:134:wakeup_timer() Create wake up timer
Sun Nov 25 17:30:15 2007 <1> atcmd.c:260:ml_parse() buf=`OK'(2)
Sun Nov 25 17:30:15 2007 <1> atcmd.c:630:remove_timer() Get respond before
timeout, remove timer!
Sun Nov 25 17:30:15 2007 <1> atcmd.c:223:atcmd_done() Calling final cmd->cb()
Sun Nov 25 17:30:15 2007 <1> machine_gta01.c:88:null_wakeup_cb() The wake up
callback!!
Sun Nov 25 17:30:15 2007 <1> atcmd.c:233:atcmd_done() Clearing mlbuf
Sun Nov 25 17:30:15 2007 <1> atcmd.c:588:discard_timer() Create discard timer
Sun Nov 25 17:30:18 2007 <1> atcmd.c:260:ml_parse() buf=`+CME ERROR: 11'(14)

Ok, now I give my PIN and I can continue.

Change History

comment:1 Changed 11 years ago by tick@…

  • Cc tick@… added

comment:2 Changed 11 years ago by tick@…

  • Cc sean_chiang@… added

comment:3 Changed 11 years ago by tick@…

  • Owner changed from laforge@… to tick@…

comment:4 Changed 11 years ago by tick@…

  • Status changed from new to assigned

comment:5 Changed 11 years ago by sean_chiang@…

  1. Sun Nov 25 17:29:24 2007 <1> atcmd.c:260:ml_parse() buf=`EXT: I'(6) Where

does that come from and what does it mean?
-> TI GSM firmware doesn't support the at command AT+CVHU=0

  1. Command without callback? Does that indicate a mapping problem between request

and response?
-> Doesn't give a callback function when send the at command AT+CMGF=0

  1. SIM not inserted? That's wrong, since later in the process, I can nicely give

the PIN and it registers to my home network.
-> AT%CPHS=1 is TI property AT command, so I think this should be resolved from
firmware side

Q.Which command are we sending so early that is not allowed to be perform?

-> AT%CPMB=1

comment:6 Changed 11 years ago by tick@…

  • Owner changed from tick@… to sean_chiang@…
  • Status changed from assigned to new

Those unsupported AT command may should remove from gsmd.

comment:7 Changed 11 years ago by sean_chiang@…

  • Status changed from new to assigned

comment:8 Changed 11 years ago by erin_yueh@…

  • Status changed from assigned to closed
  • Resolution set to fixed

closed this bug, coz gsmd is still working fine with these errors.
but create two bugs to solve these errors:
bug#1112: remove a unsupported AT command
bug#1113: AT%CPHS returns NO SIM error

Note: See TracTickets for help on using tickets.