Warning: Can't synchronize with repository "(default)" (No changeset 96d22ec3fa3ef6de3ea8dc0d7d398adc9aa071cf in the repository). Look in the Trac log for more information.

Ticket #109 (closed defect: invalid)

Opened 6 years ago

Last modified 5 years ago

fix for https://docs.openmoko.org/trac/ticket/1309 not implemented?

Reported by: timo.lindfors@… Owned by: mickey
Priority: major Milestone:
Component: documentation Version:
Keywords: Cc:

Description

Version: 0.2.0-git20080805-7

Starting a new GPRS connection with

#!/bin/sh APN="internet.saunalahti" USERNAME="x" PASSWORD="x" BUSNAME="org.freesmartphone.frameworkd" OBJECTPATH="/org/freesmartphone/GSM/Device" METHODNAME="org.freesmartphone.GSM.PDP.ActivateContext?" mdbus -s $BUSNAME $OBJECTPATH $METHODNAME $APN $USERNAME $PASSWORD

usually works but sometimes fails with

frameworkd DEBUG ogsmd.modems.abstract.pdp got from ppp: 'Connect script failed\n'

When I type the chat commands manually I see that I get mysterious unknown error after ATD:

gsm.DebugCommand?("AT\r\n")

dbus.Array([dbus.String(u'OK')], signature=dbus.Signature('s'))

gsm.DebugCommand?("ATZ\r\n")

dbus.Array([dbus.String(u'OK')], signature=dbus.Signature('s'))

gsm.DebugCommand?("AT+CMEE=2\r\n")

dbus.Array([dbus.String(u'OK')], signature=dbus.Signature('s'))

gsm.DebugCommand?("AT+CPIN?\r\n")

dbus.Array([dbus.String(u'+CPIN: SIM PIN'), dbus.String(u'OK')], signature=dbus.Signature('s'))

gsm.DebugCommand?("AT+CGDCONT=1,\"IP\",\"internet.saunalahti\"\r\n")

dbus.Array([dbus.String(u'OK')], signature=dbus.Signature('s'))

gsm.DebugCommand?("ATD*99#\r\n")

dbus.Array([dbus.String(u'+CMS ERROR: SIM not inserted')], signature=dbus.Signature('s'))

gsm.DebugCommand?("AT+CPIN?\r\n")

dbus.Array([dbus.String(u'+CPIN: SIM PIN'), dbus.String(u'OK')], signature=dbus.Signature('s'))

gsm.DebugCommand?("ATD*99#\r\n")

dbus.Array([dbus.String(u'+CME ERROR: unknown')], signature=dbus.Signature('s'))

gsm.DebugCommand?("ATD*99#\r\n")

dbus.Array([dbus.String(u'+CME ERROR: unknown')], signature=dbus.Signature('s'))

gsm.GetAuthStatus?()

dbus.String(u'SIM PIN')

gsm.SendAuthCode?("0000") gsm.GetAuthStatus?()

dbus.String(u'READY')

gsm.DebugCommand?("ATD*99#\r\n")

dbus.Array([dbus.String(u'+CME ERROR: unknown')], signature=dbus.Signature('s'))

I then noticed that

https://docs.openmoko.org/trac/ticket/1309

states that the bug has already been fixed by "issuing some at-command before the dialing". Please fix this also in frameworkd.

Change History

comment:1 Changed 6 years ago by mickey

I don't think 1309 has anything to do with this problem. Please use logread -f to get debug log from pppd's connection scripts.

comment:2 Changed 6 years ago by mickey

  • Status changed from new to closed
  • Resolution set to invalid

comment:3 Changed 5 years ago by anonymous

http://sdfgdfg.freehostingz.com/index1.html infotronics attendance enterprise

Note: See TracTickets for help on using tickets.