RE: ConnectionContext on Nokia 6760s-1

2011-03-23 Thread claudio Degioanni
On Tue, 2011-03-22 at 18:57 +, mika.liljeb...@nokia.com wrote:
> Hi Claudio,
> 
> > Hi,
> > 
> > We have tried to attach an Nokia 6760s-1, for using it like 3G modem.
> > Ofono manages correctly the mobile phone creating /isiusb0/
> > and /isiusb0/context1 and i think it uses the isi modem driver.
> > 
> > Next we have activated the pdp context, but it returns the following
> > dbus exception 
> > 
> > org.ofono.Error.NotAttached GPRS is not attached
> 
> This basically means that oFono thinks the modem is not attached to the GPRS 
> service. Did you set the modem online before trying this (e.g. by running the 
> online-modem script from the test directory)?
> 
> > is it possible to use the nokia phone as 3G modem?
> 
> Should be possible, although it may be that the driver needs minor 
> modifications for 6760. Depends on the ISI interface versions of the modem 
> firmware.
> 
> If it won't work, you can set the OFONO_ISI_DEBUG and OFONO_ISI_TRACE 
> environment variables to get more verbose logging. We'd need the full log 
> output to check what is going wrong.
> 
> Br,

Hi Mikal,

I have used the enable modem script in test directory using 

claudio@claudio-ThinkPad-R61:~/workspace/ofono/ofono-0.44/test
$ ./online-modem 
Setting modem /isiusb0 online...

But i obtain the same 

error org.ofono.Error.NotAttached GPRS is not attached

Attached to this mail there is the log of ofono with OFONO_ISI_DEBUG
OFONO_ISI_TRACE variables enable.

Any suggestion can how resolve the problem ?

regs

> 
>   MikaL
> ___
> ofono mailing list
> ofono@ofono.org
> http://lists.ofono.org/listinfo/ofono

ofonod[8681]: plugins/isiusb.c:phonet_status_cb() Link usbpn0 (13) is up
ofonod[8681]: gisi: Ping sent COMMON (0x831de48) [res=0x15]
ofonod[8681]: PN_MTC (0x15): MTC_COMMON_MESSAGE [id=0xF0 utid=0x01 len=8]:
ofonod[8681]: * 01 F0 13 11 11 00 00 00 : .
ofonod[8681]: gisi: Success COMMON to 0x831de48 [res=0x15, id=0xF0, utid=0x01]
ofonod[8681]: plugins/isiusb.c:reachable_cb() QSO: PN_MTC [0x15] v017.017
ofonod[8681]: gisi: Subscribed for IND (0x831a200) [res=0x15, id=0xC0]
ofonod[8681]: PN_MTC (0x15): MTC_STATE_QUERY_REQ [id=0x02 utid=0x02 len=4]:
ofonod[8681]: * 02 02 00 00 : .
ofonod[8681]: PN_MTC (0x15): MTC_STATE_QUERY_RESP [id=0x65 utid=0x02 len=4]:
ofonod[8681]: * 02 65 01 01 : ..e..
ofonod[8681]: gisi: Success RESP to 0x831de48 [res=0x15, id=0x65, utid=0x02]
ofonod[8681]: plugins/isiusb.c:mtc_query_cb() Modem state: current=MTC_NORMAL 
(0x01) target=MTC_NORMAL (0x01)
ofonod[8681]: src/modem.c:modem_change_state() old state: 0, new state: 1
ofonod[8681]: plugins/isiusb.c:isiusb_pre_sim() (0x831a960) with usbpn0
ofonod[8681]: gisi: Subscribed for IND (0x831c130) [res=0x09, id=0xEF]
ofonod[8681]: gisi: Ping sent COMMON (0x831d518) [res=0x09]
ofonod[8681]: gisi: Ping sent COMMON (0x8315b98) [res=0x1B]
ofonod[8681]: gisi: Ping sent COMMON (0x831e228) [res=0x01]
ofonod[8681]: PN_SIM (0x09): SIM_COMMON_MESSAGE [id=0xF0 utid=0x01 len=4]:
ofonod[8681]: * 01 F0 00 FA : .
ofonod[8681]: gisi: Success COMMON to 0x831d518 [res=0x09, id=0xF0, utid=0x01]
ofonod[8681]: drivers/isimodem/sim.c:sim_reachable_cb() QSO: PN_SIM [0x09] 
v-01.-01
ofonod[8681]: PN_SIM (0x09): SIM_NETWORK_INFO_REQ [id=0x19 utid=0x02 len=4]:
ofonod[8681]: * 02 19 2F 00 : .../.
ofonod[8681]: PN_PHONE_INFO (0x1B): INFO_COMMON_MESSAGE [id=0xF0 utid=0x01 
len=8]:
ofonod[8681]: * 01 F0 13 06 01 00 00 00 : .
ofonod[8681]: gisi: Success COMMON to 0x8315b98 [res=0x1B, id=0xF0, utid=0x01]
ofonod[8681]: drivers/isimodem/devinfo.c:reachable_cb() QSO: PN_PHONE_INFO 
[0x1B] v006.001
ofonod[8681]: PN_PHONE_INFO (0x1B): INFO_PRODUCT_INFO_READ_REQ [id=0x15 
utid=0x02 len=3]:
ofonod[8681]: * 02 15 07: 
ofonod[8681]: PN_CALL (0x01): CALL_COMMON_MESSAGE [id=0xF0 utid=0x01 len=8]:
ofonod[8681]: * 01 F0 13 07 01 55 55 55 : ..UUU
ofonod[8681]: gisi: Success COMMON to 0x831e228 [res=0x01, id=0xF0, utid=0x01]
ofonod[8681]: drivers/isimodem/voicecall.c:isi_call_verify_cb() QSO: PN_CALL 
[0x01] v007.001
ofonod[8681]: gisi: Subscribed for IND (0x831a930) [res=0x01, id=0x0F]
ofonod[8681]: gisi: Subscribed for IND (0x831d518) [res=0x01, id=0x0C]
ofonod[8681]: PN_CALL (0x01): CALL_STATUS_REQ [id=0x0D utid=0x02 len=8]:
ofonod[8681]: * 02 0D F0 01 1C 04 02 00 : .
ofonod[8681]: PN_SIM (0x09): SIM_NETWORK_INFO_RESP [id=0x1A utid=0x02 len=8]:
ofonod[8681]: * 02 1A 2F 01 22 F2 88 00 : .../."...
ofonod[8681]: gisi: Success RESP to 0x831e250 [res=0x09, id=0x1A, utid=0x02]
ofonod[8681]: src/sim.c:ofono_sim_add_state_watch() 0x831e298
ofonod[8681]: src/sim.c:ofono_sim_add

RE: ConnectionContext on Nokia 6760s-1

2011-03-22 Thread Mika.Liljeberg
Hi Claudio,

> Hi,
> 
> We have tried to attach an Nokia 6760s-1, for using it like 3G modem.
> Ofono manages correctly the mobile phone creating /isiusb0/
> and /isiusb0/context1 and i think it uses the isi modem driver.
> 
> Next we have activated the pdp context, but it returns the following
> dbus exception 
> 
>   org.ofono.Error.NotAttached GPRS is not attached

This basically means that oFono thinks the modem is not attached to the GPRS 
service. Did you set the modem online before trying this (e.g. by running the 
online-modem script from the test directory)?

> is it possible to use the nokia phone as 3G modem?

Should be possible, although it may be that the driver needs minor 
modifications for 6760. Depends on the ISI interface versions of the modem 
firmware.

If it won't work, you can set the OFONO_ISI_DEBUG and OFONO_ISI_TRACE 
environment variables to get more verbose logging. We'd need the full log 
output to check what is going wrong.

Br,

MikaL
___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


ConnectionContext on Nokia 6760s-1

2011-03-22 Thread claudio Degioanni
Hi,

We have tried to attach an Nokia 6760s-1, for using it like 3G modem.
Ofono manages correctly the mobile phone creating /isiusb0/
and /isiusb0/context1 and i think it uses the isi modem driver.

Next we have activated the pdp context, but it returns the following
dbus exception 

org.ofono.Error.NotAttached GPRS is not attached

The log of ofono are: 

ofonod[2441]: drivers/isimodem/ussd.c:ussd_ind_cb() type: 5
SS_GSM_USSD_END, dcs: 0x0f, len: 125
ofonod[2441]: src/ussd.c:ofono_ussd_notify() status: 2 TERMINATED,
state: 0 IDLE
ofonod[2441]: drivers/isimodem/ussd.c:ussd_ind_cb() type: 5
SS_GSM_USSD_END, dcs: 0x00, len: 0
ofonod[2441]: src/ussd.c:ofono_ussd_notify() status: 2 TERMINATED,
state: 0 IDLE

is it possible to use the nokia phone as 3G modem?

Note:
We attached the phone through usb cable, indicating PC Suite as
interaction mode.

regs
-- 
claudio Degioanni 

___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono