Hi,

I'm using gsm passthrough in u-boot and connecting gsmd to ttyUSB0 on my
host machine. gsmd successfully initialises the modem, but does not
appear to read responses from any further commands and eventually the
alive timer times out.

I am using a recent build of u-boot with Andrzej's patch to correct line
endings. I am also using gsmd built from his git repository:
<http://folks.o-hand.com/andrew/gsmd.git/>. If I use gsmd from svn, it
will not initialise the modem at all.

Any help to get this working would be greatly appreciated. Any further
Dialer development is extremely difficult without a working gsm/gsmd
combination on a host machine.

Regards,

Thomas


-- 
OpenedHand Ltd.

Unit R Homesdale Business Center / 216-218 Homesdale Road /
Bromley / BR1 2QZ / UK             Tel: +44 (0)20 8819 6559

Expert Open Source For Consumer Devices - http://o-hand.com/
------------------------------------------------------------
gsmd - (C) 2006-2007 by OpenMoko, Inc. and contributors
This program is FREE SOFTWARE under the terms of GNU GPL

Wed Oct 24 15:20:27 2007 <1> machine.c:72:gsmd_machine_plugin_load() loading machine plugin "generic"
Wed Oct 24 15:20:27 2007 <1> vendor.c:75:gsmd_vendor_plugin_load() loading vendor plugin "ti"
Wed Oct 24 15:20:27 2007 <1> machine.c:56:gsmd_machine_plugin_find() selecting machine plugin "generic"
Wed Oct 24 15:20:28 2007 <1> uart.c:41:uart_drain() c_iflag = 0x00000000, c_oflag = 0x00000000, c_cflag = 0x00001cb2, c_lflag = 0x00000a30
Wed Oct 24 15:20:28 2007 <1> vendor.c:59:gsmd_vendor_plugin_find() selecting vendor plugin "TI Calypso"
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `ATZ'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:295:ml_parse() buf=`OK'(2)
Wed Oct 24 15:20:28 2007 <1> atcmd.c:260:atcmd_done() Calling final cmd->cb()
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `ATE0V1'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `AT+CRC=1'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `AT+CREG=2'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `AT+CMEE=1'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `AT+CLIP=1'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `AT+COLP=1'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `AT+CMGF=0'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `AT+CMGF=0'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `AT+CTZR=1'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `AT%CTZV=1'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `AT%CPRI=1'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `AT%CSQ=1'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `AT%CUNS=0'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `AT%CPI=?'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:269:atcmd_done() Clearing mlbuf
Wed Oct 24 15:20:28 2007 <1> atcmd.c:295:ml_parse() buf=`OK'(2)
Wed Oct 24 15:20:28 2007 <1> atcmd.c:260:atcmd_done() Calling final cmd->cb()
Wed Oct 24 15:20:28 2007 <1> gsmd.c:153:gsmd_test_atcb() `ATE0V1' returned `OK'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:269:atcmd_done() Clearing mlbuf
Wed Oct 24 15:20:28 2007 <1> atcmd.c:295:ml_parse() buf=`OK'(2)
Wed Oct 24 15:20:28 2007 <1> atcmd.c:260:atcmd_done() Calling final cmd->cb()
Wed Oct 24 15:20:28 2007 <1> gsmd.c:153:gsmd_test_atcb() `AT+CRC=1' returned `OK'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:269:atcmd_done() Clearing mlbuf
Wed Oct 24 15:20:28 2007 <1> atcmd.c:295:ml_parse() buf=`OK'(2)
Wed Oct 24 15:20:28 2007 <1> atcmd.c:260:atcmd_done() Calling final cmd->cb()
Wed Oct 24 15:20:28 2007 <1> gsmd.c:153:gsmd_test_atcb() `AT+CREG=2' returned `OK'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:269:atcmd_done() Clearing mlbuf
Wed Oct 24 15:20:28 2007 <1> atcmd.c:295:ml_parse() buf=`OK'(2)
Wed Oct 24 15:20:28 2007 <1> atcmd.c:260:atcmd_done() Calling final cmd->cb()
Wed Oct 24 15:20:28 2007 <1> gsmd.c:153:gsmd_test_atcb() `AT+CMEE=1' returned `OK'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:269:atcmd_done() Clearing mlbuf
Wed Oct 24 15:20:28 2007 <1> atcmd.c:295:ml_parse() buf=`OK'(2)
Wed Oct 24 15:20:28 2007 <1> atcmd.c:260:atcmd_done() Calling final cmd->cb()
Wed Oct 24 15:20:28 2007 <1> gsmd.c:153:gsmd_test_atcb() `AT+CLIP=1' returned `OK'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:269:atcmd_done() Clearing mlbuf
Wed Oct 24 15:20:28 2007 <1> atcmd.c:295:ml_parse() buf=`OK'(2)
Wed Oct 24 15:20:28 2007 <1> atcmd.c:260:atcmd_done() Calling final cmd->cb()
Wed Oct 24 15:20:28 2007 <1> gsmd.c:153:gsmd_test_atcb() `AT+COLP=1' returned `OK'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:269:atcmd_done() Clearing mlbuf
Wed Oct 24 15:20:28 2007 <1> atcmd.c:295:ml_parse() buf=`OK'(2)
Wed Oct 24 15:20:28 2007 <1> atcmd.c:260:atcmd_done() Calling final cmd->cb()
Wed Oct 24 15:20:28 2007 <1> gsmd.c:153:gsmd_test_atcb() `AT+CMGF=0' returned `OK'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:269:atcmd_done() Clearing mlbuf
Wed Oct 24 15:20:28 2007 <1> atcmd.c:295:ml_parse() buf=`OK'(2)
Wed Oct 24 15:20:28 2007 <5> atcmd.c:258:atcmd_done() command without cb!!!
Wed Oct 24 15:20:28 2007 <1> atcmd.c:295:ml_parse() buf=`OK'(2)
Wed Oct 24 15:20:28 2007 <1> atcmd.c:260:atcmd_done() Calling final cmd->cb()
Wed Oct 24 15:20:28 2007 <1> gsmd.c:153:gsmd_test_atcb() `AT+CTZR=1' returned `OK'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:269:atcmd_done() Clearing mlbuf
Wed Oct 24 15:20:28 2007 <1> atcmd.c:295:ml_parse() buf=`OK'(2)
Wed Oct 24 15:20:28 2007 <1> atcmd.c:260:atcmd_done() Calling final cmd->cb()
Wed Oct 24 15:20:28 2007 <1> gsmd.c:153:gsmd_test_atcb() `AT%CTZV=1' returned `OK'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:269:atcmd_done() Clearing mlbuf
Wed Oct 24 15:20:28 2007 <1> atcmd.c:295:ml_parse() buf=`OK'(2)
Wed Oct 24 15:20:28 2007 <1> atcmd.c:260:atcmd_done() Calling final cmd->cb()
Wed Oct 24 15:20:28 2007 <1> gsmd.c:153:gsmd_test_atcb() `AT%CPRI=1' returned `OK'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:269:atcmd_done() Clearing mlbuf
Wed Oct 24 15:20:28 2007 <1> atcmd.c:295:ml_parse() buf=`'(0)
Wed Oct 24 15:20:28 2007 <5> atcmd.c:309:ml_parse() discarding busy cmd AT%CSQ=1
Wed Oct 24 15:20:28 2007 <5> atcmd.c:317:ml_parse() discarding pending cmd AT%CUNS=0
Wed Oct 24 15:20:28 2007 <5> atcmd.c:317:ml_parse() discarding pending cmd AT%CPI=?
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `ATZ'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:295:ml_parse() buf=`'(0)
Wed Oct 24 15:20:28 2007 <5> atcmd.c:309:ml_parse() discarding busy cmd ATZ
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `ATZ'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:295:ml_parse() buf=`'(0)
Wed Oct 24 15:20:28 2007 <5> atcmd.c:309:ml_parse() discarding busy cmd ATZ
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `ATZ'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:295:ml_parse() buf=`'(0)
Wed Oct 24 15:20:28 2007 <5> atcmd.c:309:ml_parse() discarding busy cmd ATZ
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `ATZ'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:295:ml_parse() buf=`'(0)
Wed Oct 24 15:20:28 2007 <5> atcmd.c:309:ml_parse() discarding busy cmd ATZ
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `ATZ'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:295:ml_parse() buf=`'(0)
Wed Oct 24 15:20:28 2007 <5> atcmd.c:309:ml_parse() discarding busy cmd ATZ
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `ATZ'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:295:ml_parse() buf=`'(0)
Wed Oct 24 15:20:28 2007 <5> atcmd.c:309:ml_parse() discarding busy cmd ATZ
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `ATZ'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:295:ml_parse() buf=`'(0)
Wed Oct 24 15:20:28 2007 <5> atcmd.c:309:ml_parse() discarding busy cmd ATZ
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `ATZ'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:295:ml_parse() buf=`'(0)
Wed Oct 24 15:20:28 2007 <5> atcmd.c:309:ml_parse() discarding busy cmd ATZ
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `ATZ'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:295:ml_parse() buf=`O
OK'(4)
Wed Oct 24 15:20:28 2007 <1> atcmd.c:483:ml_parse() Appending buf to mlbuf
Wed Oct 24 15:20:28 2007 <1> atcmd.c:295:ml_parse() buf=`OK'(2)
Wed Oct 24 15:20:28 2007 <1> atcmd.c:260:atcmd_done() Calling final cmd->cb()
Wed Oct 24 15:20:28 2007 <7> gsmd.c:212:firstcmd_atcb() response 'O
OK' to initial command invalidWed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `ATE0V1'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `AT+CRC=1'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `AT+CREG=2'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `AT+CMEE=1'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `AT+CLIP=1'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `AT+COLP=1'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `AT+CMGF=0'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `AT+CMGF=0'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `AT+CTZR=1'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `AT%CTZV=1'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `AT%CPRI=1'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `AT%CSQ=1'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `AT%CUNS=0'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:572:atcmd_submit() submitting command `AT%CPI=?'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:269:atcmd_done() Clearing mlbuf
Wed Oct 24 15:20:28 2007 <1> atcmd.c:295:ml_parse() buf=`OK'(2)
Wed Oct 24 15:20:28 2007 <1> atcmd.c:260:atcmd_done() Calling final cmd->cb()
Wed Oct 24 15:20:28 2007 <1> gsmd.c:153:gsmd_test_atcb() `ATE0V1' returned `OK'
Wed Oct 24 15:20:28 2007 <1> atcmd.c:269:atcmd_done() Clearing mlbuf
Wed Oct 24 15:20:32 2007 <1> usock.c:97:usock_rcv_passthrough() submitting cmd=0x966fd88, gu=0x9670618
Wed Oct 24 15:20:32 2007 <1> atcmd.c:572:atcmd_submit() submitting command `AT'

Reply via email to