[PATCH] isimodem: fix issue with user busy release

2011-01-21 Thread Jeevaka Badrappan
when the user rejects the incoming call, hangup_active will get called on the driver side whereas when the user rejects the waiting call, set_udub will get called on the driver side. --- drivers/isimodem/voicecall.c | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) diff

SAT support in oFono

2011-01-21 Thread Lasse.Kunnasluoto
Hi I am checking what is the level of SAT/STK support in ofono and have a couple of questions. The current implementation contains support for basic STK commands, like menus, inputs, calls, sms and so on. In TODO, there is only REFRESH command on the list. Is there plans or ideas to extend

Re: oFono exits on new voicecall with disconnected system bus

2011-01-21 Thread Nicola Mfb
On Thu, Jan 20, 2011 at 3:55 PM, Marcel Holtmann mar...@holtmann.org wrote: Hi Nicola, Hi Marcel, [...] ofonod[6232]: src/voicecall.c:ofono_voicecall_notify() Did not find a call with id: 1 ofonod[6232]: System bus has disconnected! this happens if something in a D-Bus message is

Re: oFono exits on new voicecall with disconnected system bus

2011-01-21 Thread Marcel Holtmann
Hi Nicola, ofonod[6232]: src/voicecall.c:ofono_voicecall_notify() Did not find a call with id: 1 ofonod[6232]: System bus has disconnected! this happens if something in a D-Bus message is corrupted and the D-Bus daemon complains. The result is that it kicks us off the bus. You

Re: oFono exits on new voicecall with disconnected system bus

2011-01-21 Thread Nicola Mfb
On Fri, Jan 21, 2011 at 11:29 AM, Marcel Holtmann mar...@holtmann.org wrote: [...] It seems that in src/voicecall.c/append_voicecall_properties name points to garbage as commenting the line: ofono_dbus_dict_append(dict, Name, DBUS_TYPE_STRING, name); fixes the problem. can you print the

Re: oFono exits on new voicecall with disconnected system bus

2011-01-21 Thread Marcel Holtmann
Hi Nicola, It seems that in src/voicecall.c/append_voicecall_properties name points to garbage as commenting the line: ofono_dbus_dict_append(dict, Name, DBUS_TYPE_STRING, name); fixes the problem. can you print the content of name and call-name fields as part of a debug statement.

Re: oFono exits on new voicecall with disconnected system bus

2011-01-21 Thread Marcel Holtmann
Hi Nicola, It seems that in src/voicecall.c/append_voicecall_properties name points to garbage as commenting the line: ofono_dbus_dict_append(dict, Name, DBUS_TYPE_STRING, name); fixes the problem. can you print the content of name and call-name fields as part of a debug statement.

[PATCH 3/3] doc: fix a kill-yank error

2011-01-21 Thread Pekka . Pessi
From: Pekka Pessi pekka.pe...@nokia.com --- doc/smartmessaging-api.txt |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/doc/smartmessaging-api.txt b/doc/smartmessaging-api.txt index 36065b4..637a5ef 100644 --- a/doc/smartmessaging-api.txt +++ b/doc/smartmessaging-api.txt

[PATCH 1/3] message-waiting: check for NULL argument

2011-01-21 Thread Pekka . Pessi
From: Pekka Pessi pekka.pe...@nokia.com --- src/message-waiting.c | 13 ++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/message-waiting.c b/src/message-waiting.c index d8bfe34..0e376b6 100644 --- a/src/message-waiting.c +++ b/src/message-waiting.c @@ -926,11

[PATCH 2/3] message-waiting: add allocation checks

2011-01-21 Thread Pekka . Pessi
From: Pekka Pessi pekka.pe...@nokia.com --- src/message-waiting.c | 45 ++--- 1 files changed, 30 insertions(+), 15 deletions(-) diff --git a/src/message-waiting.c b/src/message-waiting.c index 0e376b6..5d1126b 100644 --- a/src/message-waiting.c +++

Re: [PATCH] isimodem: fix issue with user busy release

2011-01-21 Thread Aki Niemi
Hi Jeevaka, 2011/1/21 Jeevaka Badrappan jeevaka.badrap...@elektrobit.com: when the user rejects the incoming call, hangup_active will get called on the driver side whereas when the user rejects the waiting call, set_udub will get called on the driver side. ---  drivers/isimodem/voicecall.c

Re: [PATCH] isimodem: fix sending DTMF

2011-01-21 Thread Aki Niemi
Hi Kai, 2011/1/20 Kai Vehmanen kai.vehma...@nokia.com: isi_call_dtmf_send_resp() handles the success case incorrectly, and thus all send_tones attempts fail with bogus error codes. ---  drivers/isimodem/voicecall.c |    2 +-  1 files changed, 1 insertions(+), 1 deletions(-) Patch has been

Re: [PATCH 3/5 v3] nettime: DBUS and compilation configuration

2011-01-21 Thread Antti Paila
Hi, On Thu, 2011-01-20 at 12:19 +0100, ext Marcel Holtmann wrote: Hi Aki, please don't implement org.ofono interface in timed. Just implement a timed specific (com.nokia.time) interface and punch the whole for that in the timed D-Bus policy. I think there is some disconnect here.

Re: [PATCH 3/5 v3] nettime: DBUS and compilation configuration

2011-01-21 Thread Marcel Holtmann
Hi Antti, please don't implement org.ofono interface in timed. Just implement a timed specific (com.nokia.time) interface and punch the whole for that in the timed D-Bus policy. I think there is some disconnect here. The intention is to implement a similar agent interface as

Re: oFono exits on new voicecall with disconnected system bus

2011-01-21 Thread Nicola Mfb
On Fri, Jan 21, 2011 at 1:10 PM, Marcel Holtmann mar...@holtmann.org wrote: Hi Marcel, [...] ofonod[5771]: src/voicecall.c:ofono_voicecall_notify() Did not find a call with id: 1 ofonod[5771]: src/voicecall.c:append_voicecall_properties() name ��+@ call-name ��+@ ofonod[5771]: System bus

[PATCH] bluetooth: Add bluetooth server support

2011-01-21 Thread Frédéric Danis
Based on patches from: Zhenhua Zhang zhenhua.zhang at intel.com It watches Bluetooth adapter property changes and adds SDP record to listen client connection request. It supports multiple servers and multiple client connections for each server. --- Authorization code will be added in next patch

Re: SAT support in oFono

2011-01-21 Thread Andrzej Zaborowski
Hi Jeevaka, Lasse, On 21 January 2011 10:12, jeevaka.badrap...@elektrobit.com wrote: ofono-boun...@ofono.org wrote: Hi I am checking what is the level of SAT/STK support in ofono and have a couple of questions. The current implementation contains support for basic STK commands, like menus,

Re: SAT support in oFono

2011-01-21 Thread Denis Kenzior
Hi Lasse, On 01/21/2011 02:44 AM, lasse.kunnaslu...@tieto.com wrote: Hi I am checking what is the level of SAT/STK support in ofono and have a couple of questions. The current implementation contains support for basic STK commands, like menus, inputs, calls, sms and so on. In TODO, there

Problem configuring Longsung U6300

2011-01-21 Thread Вячеслав Крот
Hello, all. I have a little question - which driver should I use for modem Longsung U6300 based on Qualcomm MSM6290? I know that Huawei uses qualcomm chips, so I tried to add udev rule like for huawei modem, but it did not work. list-modes shows modem (online=0, powered=0, lockdown=0), but

Re: [PATCH 4/4] atmodem: sim-auth atom driver.

2011-01-21 Thread Pekka Pessi
Hi Denis, 2011/1/20 Denis Kenzior denk...@gmail.com: My view is that checking mallocs of small structures is pretty much pointless on Linux. The glib functions that ofono uses extensively don't do any malloc checking, and it makes checking on the ofono side bit pointless. If malloc fails,

Re: [PATCH 4/4] atmodem: sim-auth atom driver.

2011-01-21 Thread Denis Kenzior
Hi Pekka, On 01/21/2011 11:07 AM, Pekka Pessi wrote: Hi Denis, 2011/1/20 Denis Kenzior denk...@gmail.com: My view is that checking mallocs of small structures is pretty much pointless on Linux. The glib functions that ofono uses extensively don't do any malloc checking, and it makes

test script to establish 3G connection

2011-01-21 Thread yanni
Hi All, I'm looking for an example how to active 3G connection(ppp) with Huawei E180. not sure if these step's should work: 1)/ofono-0.39/test# ./enable-modem Connecting modem /huawei0... 2)/ofono-0.39/test# ./online-modem Setting modem /huawei0 online... 3)/ofono-0.39/test# ./list-modems [

Re: [PATCH 1/6] gprs-provision: add driver API header

2011-01-21 Thread Denis Kenzior
Hi Jukka, On 01/21/2011 01:39 AM, Jukka Saunamaki wrote: Hi On Thu, 2011-01-20 at 15:51 -0600, Denis Kenzior wrote: So I don't really see the point in an asynchronous provisioning driver. If you want to do this over D-Bus or something then you might as well provision via the

[PATCH] stk: change timeout from 10 to 3mintues

2011-01-21 Thread Jeevaka Badrappan
--- src/stk.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/stk.c b/src/stk.c index 80edc25..29d2087 100644 --- a/src/stk.c +++ b/src/stk.c @@ -2839,7 +2839,7 @@ void ofono_stk_register(struct ofono_stk *stk) __ofono_atom_register(stk-atom,

Re: [PATCH 2/3] Use default ACCM (0xffffffff) to trasmit package

2011-01-21 Thread Denis Kenzior
Hi Martin, On 01/20/2011 07:51 PM, Xu, Martin wrote: -Original Message- From: Denis Kenzior [mailto:denk...@gmail.com] Sent: Friday, January 21, 2011 3:11 AM To: ofono@ofono.org Cc: Xu, Martin Subject: Re: [PATCH 2/3] Use default ACCM (0x) to trasmit package Hi Martin,

Re: [PATCH 1/3] PPP: Fix transmit ACCM and receive ACCM setting issue

2011-01-21 Thread Denis Kenzior
Hi Martin, You still forgot to apply my earlier comment. The recv ACCM should be set to what is acked by the peer. e.g.: That is not this patch want to resolve. This patch is just used to fix the mixing up of setting recv ACCM and transit ACCM, And fix Huawei modem issue. 1. Currently,

Re: [PATCH] doc: Add modem Type property

2011-01-21 Thread Denis Kenzior
Hi Dara, On 01/20/2011 04:48 PM, Dara Spieker-Doyle wrote: Add support for providing the type of the attached modem device including GSM (3GPP), CDMA (3GPP2) and Bluetooth HFP. --- doc/modem-api.txt | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git

Re: [PATCH] doc: Add modem Type property

2011-01-21 Thread Gustavo F. Padovan
Hi Denis, * Denis Kenzior denk...@gmail.com [2011-01-21 14:15:46 -0600]: Hi Dara, On 01/20/2011 04:48 PM, Dara Spieker-Doyle wrote: Add support for providing the type of the attached modem device including GSM (3GPP), CDMA (3GPP2) and Bluetooth HFP. --- doc/modem-api.txt | 13

Re: [PATCH] doc: Add modem Type property

2011-01-21 Thread Lei Yu
Hi Denis, On 01/21/2011 12:15 PM, ext Denis Kenzior wrote: Hi Dara, On 01/20/2011 04:48 PM, Dara Spieker-Doyle wrote: Add support for providing the type of the attached modem device including GSM (3GPP), CDMA (3GPP2) and Bluetooth HFP. --- doc/modem-api.txt | 13 + 1 files

Re: [PATCH] doc: Add modem Type property

2011-01-21 Thread Dara Spieker-Doyle
Hi Gustavo and Denis On 01/21/2011 12:25 PM, ext Gustavo F. Padovan wrote: Hi Denis, * Denis Kenziordenk...@gmail.com [2011-01-21 14:15:46 -0600]: Hi Dara, On 01/20/2011 04:48 PM, Dara Spieker-Doyle wrote: Add support for providing the type of the attached modem device including GSM

Re: [PATCH] doc: Add modem Type property

2011-01-21 Thread Lei Yu
Hi Denis, On 01/21/2011 12:15 PM, ext Denis Kenzior wrote: Hi Dara, On 01/20/2011 04:48 PM, Dara Spieker-Doyle wrote: Add support for providing the type of the attached modem device including GSM (3GPP), CDMA (3GPP2) and Bluetooth HFP. --- doc/modem-api.txt | 13 + 1 files

Re: [PATCH] doc: Add modem Type property

2011-01-21 Thread Denis Kenzior
Hi Lei, +string Type [readonly, optional, experimental] + +String representing the type of the modem device. + +The possible values are: +gsm Modem supports one or more of the 3GPP +family of technologies including

Re: [PATCH] bluetooth: Add bluetooth server support

2011-01-21 Thread Gustavo F. Padovan
Hi Frédéric, * Frédéric Danis frederic.da...@linux.intel.com [2011-01-21 16:07:41 +0100]: Based on patches from: Zhenhua Zhang zhenhua.zhang at intel.com It watches Bluetooth adapter property changes and adds SDP record to listen client connection request. It supports multiple servers and

Re: [PATCH] doc: Add modem Type property

2011-01-21 Thread Lei Yu
Hi Denis, On 01/21/2011 01:04 PM, ext Denis Kenzior wrote: Hi Lei, +string Type [readonly, optional, experimental] + +String representing the type of the modem device. + +The possible values are: +gsm Modem supports one or more of the 3GPP +

Re: [PATCH] doc: Add modem Type property

2011-01-21 Thread Denis Kenzior
Hi Lei, On 01/21/2011 03:48 PM, Lei Yu wrote: Hi Denis, On 01/21/2011 01:04 PM, ext Denis Kenzior wrote: Hi Lei, +string Type [readonly, optional, experimental] + +String representing the type of the modem device. + +The possible values are: +

Re: [PATCH] doc: Add modem Type property

2011-01-21 Thread Lei Yu
Hi Denis, On 01/21/2011 02:04 PM, ext Denis Kenzior wrote: Hi Lei, On 01/21/2011 03:48 PM, Lei Yu wrote: Hi Denis, On 01/21/2011 01:04 PM, ext Denis Kenzior wrote: Hi Lei, +string Type [readonly, optional, experimental] + +String representing the type of the modem

[PATCH 0/7] Add CDMA Connection Manager support

2011-01-21 Thread christian . lam
From: Christian Lam christian@nokia.com This series of patches provides the support for the CDMA Connection Manager, cdma-connman, atom. This includes Mobile Originated connection and disconnection features of Packet Data Service over CDMA (1xRTT and 1xEV-DO) systems. This implementation do

[PATCH 2/7] cdma-connman: add CDMA Connection Manager support

2011-01-21 Thread christian . lam
From: Christian Lam christian@nokia.com --- Makefile.am|3 +- include/cdma-connman.h | 79 2 files changed, 81 insertions(+), 1 deletions(-) create mode 100644 include/cdma-connman.h diff --git a/Makefile.am b/Makefile.am

[PATCH 1/7] dbus: add CDMA Connection Manager interface

2011-01-21 Thread christian . lam
From: Christian Lam christian@nokia.com --- include/dbus.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/dbus.h b/include/dbus.h index 83a0590..6f436ca 100644 --- a/include/dbus.h +++ b/include/dbus.h @@ -59,6 +59,7 @@ extern C { /* CDMA Interfaces */

[PATCH 4/7] nokiacdma: add CDMA Connection Manager support

2011-01-21 Thread christian . lam
From: Christian Lam christian@nokia.com --- plugins/nokiacdma.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/plugins/nokiacdma.c b/plugins/nokiacdma.c index 7bd224d..808341c 100644 --- a/plugins/nokiacdma.c +++ b/plugins/nokiacdma.c @@ -44,6 +44,7 @@ #include

[PATCH 3/7] src: add CDMA Connection Manager support

2011-01-21 Thread christian . lam
From: Christian Lam christian@nokia.com --- Makefile.am|3 +- src/cdma-connman.c | 571 src/ofono.h|2 + 3 files changed, 575 insertions(+), 1 deletions(-) create mode 100644 src/cdma-connman.c diff --git

[PATCH 6/7] test: add CDMA Connection Manager support scripts

2011-01-21 Thread christian . lam
From: Christian Lam christian@nokia.com --- test/disable-cdma-connman | 20 test/enable-cdma-connman | 20 2 files changed, 40 insertions(+), 0 deletions(-) create mode 100755 test/disable-cdma-connman create mode 100755

[PATCH 7/7] test: add Settings dict parsing for CDMA ConnMan

2011-01-21 Thread christian . lam
From: Christian Lam christian@nokia.com --- test/list-modems | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/test/list-modems b/test/list-modems index 249ae15..662a3c7 100755 --- a/test/list-modems +++ b/test/list-modems @@ -62,6 +62,16 @@ for path,

[PATCH 5/7] cdmamodem: add CDMA Connection Manager support

2011-01-21 Thread christian . lam
From: Christian Lam christian@nokia.com --- Makefile.am |3 +- drivers/cdmamodem/cdmamodem.c |4 +- drivers/cdmamodem/cdmamodem.h |4 +- drivers/cdmamodem/connman.c | 283 + 4 files changed, 291 insertions(+), 3