Re: Problems ofono 0.45 and Nokia 6760

2011-06-16 Thread Aki Niemi
On Thu, 2011-06-16 at 11:27 +0200, ext Claudio Degioanni wrote:
  So my advice is to simply use DUN via USB ACM interface. So I think the
  nokia driver might work better than the isiusb one in this case.
 I'm using embedded tegra2 system, in the past i have tested the
 connection on x86 machine and it
 works succefull.

Ah, I see.

This issue was actually fixed in commit
44ad041c2740064ec055bee7c4084953a10e799d about a week after the 0.45
release.

Cheers,
Aki

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


Re: Re: Problems ofono 0.45 and Nokia 6760

2011-06-15 Thread Claudio Degioanni
Il 08/06/2011 17.17, Jeevaka Prabu Badrappan ha scritto:
 Hi Claudio,

 On Wed, Jun 8, 2011 at 5:22 PM, Claudio Degioanni
 claudio.degioa...@zirak.it wrote:
 Hi all,

 I have attacched a nokia 6760 to ofono for using it as gprs modem.

 I have started the daemon with

 OFONO_ISI_TRACE=1 OFONO_ISI_DEBUG=1 ofonod -nd


 After enabling the modem and activate the profile using

 dbus-send --system --print-reply --reply-timeout=12
 --type=method_call --dest='org.ofono' /isiusb0
 org.ofono.Modem.SetProperty string:Powered variant:boolean:true

 dbus-send --system --print-reply --reply-timeout=12
 --type=method_call --dest='org.ofono' /isiusb0
 org.ofono.Modem.SetProperty string:Online variant:boolean:true

 dbus-send --system --print-reply --reply-timeout=12
 --type=method_call --dest='org.ofono' /isiusb0/context1
 org.ofono.ConnectionContext.SetProperty string:AccessPointName
 variant:string:ibox.tim.it

 dbus-send --system --print-reply --reply-timeout=12
 --type=method_call --dest='org.ofono' /isiusb0/context1
 org.ofono.ConnectionContext.SetProperty string:Active variant:boolean:true

 We obtain on last method calls the follow error:

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

 You can help me ?

 PS: I have attacced the log on ofono.
 As per the log, there is some issue with the network registration
 status query. Log statement:

 src/network.c:init_registration_status() Error during registration
 status query

 isimodem people can help you on this issue.

Any news ?

regs
Claufio
 Regards,
 Jeevaka
 ___
 ofono mailing list
 ofono@ofono.org
 http://lists.ofono.org/listinfo/ofono

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


Re: Problems ofono 0.45 and Nokia 6760

2011-06-15 Thread Aki Niemi
Hi Claudio,

On Wed, 2011-06-08 at 16:22 +0200, ext Claudio Degioanni wrote:
 Error org.ofono.Error.NotAttached: GPRS is not attached

Has this been working before?

It looks like the network registration status query fails with a
SERVICE_NOT_IDENTIFIED service type. My suspicion is that the phone
actually blocks this query, for reasons unknown. Either that, or the API
has changed since 10.001 in a backwards incompatible way unknown to me.

Because of this, the GPRS atom doesn't think the device is registered
and no attach happens.

There's not much that can be done if the query is indeed intentionally
blocked. I didn't find any documented change in the API, so it's not
possible to try to use a different type of query based on version here.

So my advice is to simply use DUN via USB ACM interface. So I think the
nokia driver might work better than the isiusb one in this case.

Cheers,
Aki

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


Problems ofono 0.45 and Nokia 6760

2011-06-08 Thread Claudio Degioanni
Hi all,

I have attacched a nokia 6760 to ofono for using it as gprs modem.

I have started the daemon with

OFONO_ISI_TRACE=1 OFONO_ISI_DEBUG=1 ofonod -nd


After enabling the modem and activate the profile using

dbus-send --system --print-reply --reply-timeout=12
--type=method_call --dest='org.ofono' /isiusb0
org.ofono.Modem.SetProperty string:Powered variant:boolean:true

dbus-send --system --print-reply --reply-timeout=12
--type=method_call --dest='org.ofono' /isiusb0
org.ofono.Modem.SetProperty string:Online variant:boolean:true

dbus-send --system --print-reply --reply-timeout=12
--type=method_call --dest='org.ofono' /isiusb0/context1
org.ofono.ConnectionContext.SetProperty string:AccessPointName
variant:string:ibox.tim.it

dbus-send --system --print-reply --reply-timeout=12
--type=method_call --dest='org.ofono' /isiusb0/context1
org.ofono.ConnectionContext.SetProperty string:Active variant:boolean:true

We obtain on last method calls the follow error:

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

You can help me ?

PS: I have attacced the log on ofono.

regs
Claudio
~ # OFONO_ISI_TRACE=1 OFONO_ISI_DEBUG=1 ofonod -nd
ofonod[11615]: oFono version 0.45
ofonod[11615]: src/plugin.c:__ofono_plugin_init() 
ofonod[11615]: plugins/push-notification.c:push_notification_init() 
ofonod[11615]: plugins/smart-messaging.c:smart_messaging_init() 
ofonod[11615]: src/modem.c:ofono_modem_driver_register() driver: 0xd09a4, name: 
linktop
ofonod[11615]: src/modem.c:ofono_modem_driver_register() driver: 0xd0968, name: 
nokiacdma
ofonod[11615]: src/modem.c:ofono_modem_driver_register() driver: 0xd092c, name: 
nokia
ofonod[11615]: src/modem.c:ofono_modem_driver_register() driver: 0xd08f0, name: 
tc65
ofonod[11615]: src/modem.c:ofono_modem_driver_register() driver: 0xd0884, name: 
ste
ofonod[11615]: src/modem.c:ofono_modem_driver_register() driver: 0xd0840, name: 
ifx
ofonod[11615]: src/modem.c:ofono_modem_driver_register() driver: 0xd0804, name: 
palmpre
ofonod[11615]: src/modem.c:ofono_modem_driver_register() driver: 0xd07c0, name: 
novatel
ofonod[11615]: src/modem.c:ofono_modem_driver_register() driver: 0xd0784, name: 
sierra
ofonod[11615]: src/modem.c:ofono_modem_driver_register() driver: 0xd0730, name: 
huawei
ofonod[11615]: src/modem.c:ofono_modem_driver_register() driver: 0xd06f4, name: 
zte
ofonod[11615]: src/modem.c:ofono_modem_driver_register() driver: 0xd06a8, name: 
hso
ofonod[11615]: src/modem.c:ofono_modem_driver_register() driver: 0xd065c, name: 
mbm
ofonod[11615]: src/modem.c:ofono_modem_driver_register() driver: 0xd0618, name: 
calypso
ofonod[11615]: src/modem.c:ofono_modem_driver_register() driver: 0xd05dc, name: 
wavecom
ofonod[11615]: src/modem.c:ofono_modem_driver_register() driver: 0xd05a0, name: 
gobi
ofonod[11615]: src/modem.c:ofono_modem_driver_register() driver: 0xd0564, name: 
g1
ofonod[11615]: src/cdma-voicecall.c:ofono_cdma_voicecall_driver_register() 
driver: 0xd0534, name: cdmamodem
ofonod[11615]: src/modem.c:ofono_devinfo_driver_register() driver: 0xd0548, 
name: cdmamodem
ofonod[11615]: src/modem.c:ofono_modem_driver_register() driver: 0xd04d8, name: 
phonesim
ofonod[11615]: src/gprs.c:ofono_gprs_context_driver_register() driver: 0xd04c4, 
name: phonesim
ofonod[11615]: src/ctm.c:ofono_ctm_driver_register() driver: 0xd04b0, name: 
phonesim
ofonod[11615]: plugins/phonesim.c:parse_config() filename 
/etc/ofono/phonesim.conf
ofonod[11615]: src/voicecall.c:ofono_voicecall_driver_register() driver: 
0xd0414, name: stemodem
ofonod[11615]: src/gprs.c:ofono_gprs_context_driver_register() driver: 0xd0488, 
name: stemodem
ofonod[11615]: src/radio-settings.c:ofono_radio_settings_driver_register() 
driver: 0xd045c, name: stemodem
ofonod[11615]: src/voicecall.c:ofono_voicecall_driver_register() driver: 
0xd0310, name: ifxmodem
ofonod[11615]: src/audio-settings.c:ofono_audio_settings_driver_register() 
driver: 0xd0358, name: ifxmodem
ofonod[11615]: src/radio-settings.c:ofono_radio_settings_driver_register() 
driver: 0xd036c, name: ifxmodem
ofonod[11615]: src/gprs.c:ofono_gprs_context_driver_register() driver: 0xd0398, 
name: ifxmodem
ofonod[11615]: src/stk.c:ofono_stk_driver_register() driver: 0xd03bc, name: 
ifxmodem
ofonod[11615]: src/ctm.c:ofono_ctm_driver_register() driver: 0xd03e0, name: 
ifxmodem
ofonod[11615]: src/gprs.c:ofono_gprs_context_driver_register() driver: 0xd02b0, 
name: hsomodem
ofonod[11615]: src/radio-settings.c:ofono_radio_settings_driver_register() 
driver: 0xd02cc, name: hsomodem
ofonod[11615]: src/gprs.c:ofono_gprs_context_driver_register() driver: 0xd0238, 
name: mbmmodem
ofonod[11615]: src/stk.c:ofono_stk_driver_register() driver: 0xd025c, name: 
mbmmodem
ofonod[11615]: 
src/location-reporting.c:ofono_location_reporting_driver_register() driver: 
0xd0278, name: mbmmodem
ofonod[11615]: src/voicecall.c:ofono_voicecall_driver_register() driver: 
0xd0174, name: hfpmodem
ofonod[11615]: src/network.c:ofono_netreg_driver_register() driver: 0xd01c4, 
name: 

Re: Problems ofono 0.45 and Nokia 6760

2011-06-08 Thread Jeevaka Prabu Badrappan
Hi Claudio,

On Wed, Jun 8, 2011 at 5:22 PM, Claudio Degioanni
claudio.degioa...@zirak.it wrote:
 Hi all,

 I have attacched a nokia 6760 to ofono for using it as gprs modem.

 I have started the daemon with

 OFONO_ISI_TRACE=1 OFONO_ISI_DEBUG=1 ofonod -nd


 After enabling the modem and activate the profile using

 dbus-send --system --print-reply --reply-timeout=12
 --type=method_call --dest='org.ofono' /isiusb0
 org.ofono.Modem.SetProperty string:Powered variant:boolean:true

 dbus-send --system --print-reply --reply-timeout=12
 --type=method_call --dest='org.ofono' /isiusb0
 org.ofono.Modem.SetProperty string:Online variant:boolean:true

 dbus-send --system --print-reply --reply-timeout=12
 --type=method_call --dest='org.ofono' /isiusb0/context1
 org.ofono.ConnectionContext.SetProperty string:AccessPointName
 variant:string:ibox.tim.it

 dbus-send --system --print-reply --reply-timeout=12
 --type=method_call --dest='org.ofono' /isiusb0/context1
 org.ofono.ConnectionContext.SetProperty string:Active variant:boolean:true

 We obtain on last method calls the follow error:

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

 You can help me ?

 PS: I have attacced the log on ofono.

As per the log, there is some issue with the network registration
status query. Log statement:

src/network.c:init_registration_status() Error during registration
status query

isimodem people can help you on this issue.

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