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 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 has discon

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 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 content

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 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 corrupted and the

oFono exits on new voicecall with disconnected system bus

2011-01-20 Thread Nicola Mfb
Hi! that's happen with oFono 0.38 on freerunner with debian sid on the first incoming/outgoing call: ofonod[6232]: drivers/calypsomodem/voicecall.c:cpi_notify() id:1, msgtype:0, direction:1, mode:0 ofonod[6232]: drivers/calypsomodem/voicecall.c:cpi_notify() Len > 0 ofonod[6232]: drivers/calypsomod

Voice call audio routing

2010-12-15 Thread Nicola Mfb
While testing an e169 huawei card I was able to make voice calls and hear something with aplay and /dev/ttyUSB1. On the openmoko/freerunner is a matter of HW switches, on the n900 IIRC is done with pulseaudio. I guess that voice call audio routing is not in oFono plans, if I'm correct is there a re

Re: Error sending DTMF with calypso

2010-07-15 Thread Nicola Mfb
On Thu, Jul 15, 2010 at 4:30 PM, Denis Kenzior wrote: > Hi Niko, > > On 07/14/2010 09:03 PM, Nicola Mfb wrote: >> Hi! >> I tried SendTones with calypso during an active call but it failed (v0.22): >> >> ofonod[259]: DLC0: > AT\r >> ofonod[259]: DLC0:

Error sending DTMF with calypso

2010-07-14 Thread Nicola Mfb
Hi! I tried SendTones with calypso during an active call but it failed (v0.22): ofonod[259]: DLC0: > AT\r ofonod[259]: DLC0: < \r\nOK\r\n ofonod[259]: DLC0: Finally woke up the modem ofonod[259]: DLC0: > AT+VTS="1"\r ofonod[259]: DLC0: < \r\nERROR\r\n ofonod[259]: src/voicecall.c:generic_callback(

Running ofono on n900 natively

2010-06-01 Thread Nicola Mfb
Hi! I'm trying to run ofono on n900 natively, with debian sid installed on an external SD card (not using meego just to have an easy build environment directly on the device, kernel, modules and firmware copied from maemo pr 1.2). I activated the phonet0 with the command: /mnt/initfs/sbin/phonet

Re: Getting Modem properties using qt dbus programming -reg

2010-05-27 Thread Nicola Mfb
On Thu, May 27, 2010 at 2:35 PM, krishna k wrote: [...] > bool value = true; > dbus_iface.call("SetProperty", QString("Powered"), > QVariant(QVariant::Bool, &value)); use: QVariant::fromValue(QDBusVariant(value)) warning, the call you are using is not async. Regards Niko ___

Re: Unreliable next_msg_id (was Re: [PATCH 2/2] Added SQLite history plugin)

2010-04-15 Thread Nicola Mfb
On Thu, Apr 15, 2010 at 8:35 PM, Denis Kenzior wrote: [...] >> During our tests, users reported bad behaivour of the sqlite history >> plugins and error messages about sqlite constraints violation, after a >> rude power off of the device (battery drained, forced shutdown with >> long press power b

Unreliable next_msg_id (was Re: [PATCH 2/2] Added SQLite history plugin)

2010-04-15 Thread Nicola Mfb
Hi! At first look it seems that ofono stores permanently the next_msg_id only when the "sms_remove" functions is called, and that's does not happen when ofono quits in a not clean way. During our tests, users reported bad behaivour of the sqlite history plugins and error messages about sqlite con

Re: calypso does not power up from 0.17

2010-04-14 Thread Nicola Mfb
On Wed, Apr 14, 2010 at 12:43 PM, Denis Kenzior wrote: [...] > I have a hunch that the GAtMux code might need some love.  Can you try the > following patch? > [...] It works :) Just need a couple of days to verify how the version bump affects our freerunners. Thanks! Niko log following:

calypso does not power up from 0.17

2010-04-14 Thread Nicola Mfb
Hi! 0.16 is the last release that works (well) on the openmoko freerunner while from 0.17 to 0.20 I have: r...@om-gta02 ~ $ dbus-send --system --dest=org.ofono --print-reply /freerunner org.ofono.Modem.SetProperty string:Powered variant:boolean:true Error org.ofono.Error.Timedout: Operation failu

Re: [PATCH 2/2] Added SQLite history plugin

2010-04-07 Thread Nicola Mfb
On Wed, Apr 7, 2010 at 9:33 PM, Denis Kenzior wrote: [...] > I suggest storing this information directly in the history database.  E.g. > Read / Unread flag.  Ideally the application can access the database > concurrently to mark the message as Read / Unread.  If not, then some sort of > DBus API

Re: [PATCH 2/2] Added SQLite history plugin

2010-04-07 Thread Nicola Mfb
On Wed, Apr 7, 2010 at 8:05 PM, Denis Kenzior wrote: [...] >> We prefer to have the id to easily sync with the history plugin, as >> said in previous mail, if you prefer to not expose the id on >> IncomingMessage, we may emit an HistoryIncomingMessage signal with the >> id. > > Your plugin is free

Re: [PATCH 2/2] Added SQLite history plugin

2010-04-07 Thread Nicola Mfb
On Wed, Apr 7, 2010 at 7:55 PM, Denis Kenzior wrote: [...] >> Yes, anyway I'm thinking about the case when the storage system is >> full, or an other error occours while trying to store the message. >> In this case the driver should notify the network with a NACK, while a >> signal should notify t

Re: [PATCH 2/2] Added SQLite history plugin

2010-04-07 Thread Nicola Mfb
On Wed, Apr 7, 2010 at 7:01 PM, Denis Kenzior wrote: [...] >> Database connection is handled by sqlite3_* API in a transparent manner >> so you could have different open connections at the same time without >> any problem, each SQL statement is transactional so the DB is every time >> consistent,

Re: [PATCH 2/2] Added SQLite history plugin

2010-04-07 Thread Nicola Mfb
On Wed, Apr 7, 2010 at 7:33 PM, Denis Kenzior wrote: [...] >> A similar lack of robustness exists at the modem API side as well, if oFono >>  crashes/runs out of battery after receiving the message from the modem >>  driver the message is lost. There is no provision in the SMS modem API to >>  sig

Re: [PATCH 2/2] Added SQLite history plugin

2010-04-07 Thread Nicola Mfb
On Tue, Apr 6, 2010 at 7:56 PM, Denis Kenzior wrote: [...] Hi Denis, Actually our apps listen for the IncomingMessage signal, and store the SMS in an internal database. At some point by design, a restart, a crash or other reasons, it may happen that apps are down while ofono and the modem are u

Re: Palm Pre modem plugin

2009-11-22 Thread Nicola Mfb
On Fri, Nov 20, 2009 at 2:08 PM, Denis Kenzior wrote: [...] > Then either you're not thinking hard enough or do not have enough domain > experience to really comment.  One example: carrier certification. Please > examine what oFono APIs cover and what FSO GSM APIs cover.  Hint, to pass GCF > certi

Re: Palm Pre modem plugin

2009-11-21 Thread Nicola Mfb
Hi! FSO is not only ogsmd, but manages resource handling to save power, alsa state change for audio routing, networking, hardware led (lights, vibration), suspending resume, rtc wakeup alarms, pim contacts, music playing and so on, it's a full featured framework to abstract the entire smartphone wi