Re: fsogsmd on a1200 segfaults on SetFunctionality("minimal", True, "")

2010-09-23 Thread Antonio Ospite
On Thu, 16 Sep 2010 15:52:29 +0200 Antonio Ospite wrote: > Hi, > > when working on Motorola A1200 (EZX) support for fsogsmd I got a segfault. > [...] > > Here the backtrace from gdb (I installed the debug package but maybe I > ma still missing something): > > Prog

mscommd does not build when libfsotransport machine != palmpre

2010-07-23 Thread Antonio Ospite
commit 7e3e45080a97d0022d1c780832cb6e5f3df37cba against this principle? I think we should be able to enable/disable machines, more like --enable-modem-qualcomm-palm in fsogsmd, but selecting one should not assume the others are being disabled. Thanks, Antonio -- Antonio Ospite http://ao2.it PGP pub

[PATCH] fsogsmd: fix handling URCs of the form PREFIX:SUFFIX

2010-07-08 Thread Antonio Ospite
of .offset( 1 ) to cleanup the SUFFIX. Signed-off-by: Antonio Ospite --- This is needed on modem_freescale_neptune to get the +EBAD:n,n,n,n,n,n URC properly parsed. Thanks, Antonio Ospite http://ao2.it fsogsmd/src/lib/atcommandqueue.vala |4 ++-- 1 files changed, 2 insertions(+), 2

[PATCH 4/5 v2] fsogsmd: add preliminary support for Motorola EZX phones

2010-07-04 Thread Antonio Ospite
Signed-off-by: Antonio Ospite --- I am committing this, posted here just as a recap. Changes since v1: - Fix a typo s/se/we/ - instanciate StateBasedAtParser as function argument - get dlci lines from config file - use Thread.usleep() in place of Posix.sleep() Regards, Antonio fsogsmd

[PATCH 5/5 v2] fsogsmd: add lowlevel plugin for Motorola EZX phones

2010-07-04 Thread Antonio Ospite
Signed-off-by: Antonio Ospite --- I am committing this, posted here just as a recap: Changes since v1: - stubs for suspend and resume. - don't import the whole Posix module - put mux_ldisc and dlci init list into config file All that stuff into config file will ease testing altern

Re: modem_qualcomm_palm/commandqueue.vala compiling error

2010-07-02 Thread Antonio Ospite
git version some minutes ago and > everything compiles fine. No error cause the missing reset-method. It's > declared in the AbstractCommandQueue inside libfsotransport. Maybe our > libfsotransport version is too old? > Yes, I was compiling fsogsmd only, without tracking dependencies, so my

Re: [RFC, PATCH 4/5] fsogsmd: add preliminary support for Motorola EZX phones

2010-06-30 Thread Antonio Ospite
On Wed, 30 Jun 2010 21:48:24 +0200 "Michael 'Mickey' Lauer" wrote: > Am Mittwoch, den 30.06.2010, 21:39 +0200 schrieb Antonio Ospite: > > On Wed, 30 Jun 2010 21:16:49 +0200 > > "Michael 'Mickey' Lauer" wrote: > > > > > >

Re: [RFC, PATCH 4/5] fsogsmd: add preliminary support for Motorola EZX phones

2010-06-30 Thread Antonio Ospite
stResource("GSM") -> Starts sending channel init commands, but overlaps with gsm_sim_iface.GetAuthStatus() -> sends +CPIN? which fails, and so usage_iface.ReleaseResource("GSM") -> is called before

Re: modem_qualcomm_palm/commandqueue.vala compiling error

2010-06-29 Thread Antonio Ospite
On Tue, 29 Jun 2010 20:05:56 +0200 Simon Busch wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 29.06.2010 11:19, Antonio Ospite wrote: > > Hi, > > > > I am getting this with the latest git code from today, > > f426a51eced649e27cefa43403c3

Re: [RFC, PATCH 4/5] fsogsmd: add preliminary support for Motorola EZX phones

2010-06-29 Thread Antonio Ospite
_iface.RequestResource("GSM") gsm_sim_iface.GetAuthStatus() Tell me if this log is not enough, it was obtained on a1200 by just adding the following lines to the main channel init sequence: """+EPOM=1,0""", """+EAPF=

modem_qualcomm_palm/commandqueue.vala compiling error

2010-06-29 Thread Antonio Ospite
reset(); | ^ I've just commented it to make my build completes, but you may want to fix this properly. Regards, Antonio -- Antonio Ospite http://ao2.it PGP public key ID: 0x4553B001 A: Because it messes up the order in which people normally read text. See http://en.wik

Re: [RFC, PATCH 4/5] fsogsmd: add preliminary support for Motorola EZX phones

2010-06-28 Thread Antonio Ospite
ive? (0-1) > > + * 4: voice mail (message) (0-1) > > + * 5: transmit activated by voice activity (0-1) > > + * 6: call progress (0-3) [0:no more in progress, 1:incoming, > > 2:outgoing, 3:ringing] > > + * 7: roaming (0-2) > > + * 8:

Re: [RFC, PATCH 5/5] fsogsmd: add lowlevel plugin for Motorola EZX phones

2010-06-28 Thread Antonio Ospite
On Mon, 28 Jun 2010 19:39:09 +0200 "Michael 'Mickey' Lauer" wrote: > Am Donnerstag, den 24.06.2010, 15:17 +0200 schrieb Antonio Ospite: [...] > > diff --git a/fsogsmd/src/plugins/lowlevel_motorola_ezx/plugin.vala > > b/fsogsmd/src/plugins/lowlevel_motorol

Re: [RFC, PATCH 0/5] Add Motorola EZX support in FSO2

2010-06-28 Thread Antonio Ospite
he same, I tested the patches on a780 and a1200 before sending them out, and my rough test scripts work on both. Regards, Antonio -- Antonio Ospite http://ao2.it PGP public key ID: 0x4553B001 A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/

Re: [RFC, PATCH 0/5] Add Motorola EZX support in FSO2

2010-06-28 Thread Antonio Ospite
nable > things. I will comment in detail; however I first want to see the current > status > on my own phone. > I am waiting for the detailed remarks. > I'll get back to you on #openezx so we can walk me through the update ;) > > Thanks again, very impressive stuff, i'm

[RFC, PATCH 4/5] fsogsmd: add preliminary support for Motorola EZX phones

2010-06-24 Thread Antonio Ospite
Signed-off-by: Antonio Ospite --- fsogsmd/conf/Makefile.am |1 + fsogsmd/conf/motorola_ezx/Makefile.am | 12 ++ fsogsmd/conf/motorola_ezx/fsogsmd.conf | 39 + fsogsmd/configure.ac |2 + fsogsmd/src

[RFC, PATCH 5/5] fsogsmd: add lowlevel plugin for Motorola EZX phones

2010-06-24 Thread Antonio Ospite
Signed-off-by: Antonio Ospite --- fsogsmd/conf/motorola_ezx/fsogsmd.conf |4 + fsogsmd/configure.ac |1 + fsogsmd/src/lib/modem.vala |3 + fsogsmd/src/plugins/Makefile.am|1 + .../src/plugins

[RFC, PATCH 2/5] fsogsmd: make atmediators.vala::checkResponseOk() public

2010-06-24 Thread Antonio Ospite
We can now use it in overridden mediators. Signed-off-by: Antonio Ospite --- fsogsmd/src/lib/atmediators.vala |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fsogsmd/src/lib/atmediators.vala b/fsogsmd/src/lib/atmediators.vala index 7903493..4d5fc71 100644 --- a/fsogsmd

[RFC, PATCH 3/5] fsodeviced: add preliminar support for Motorola EZX phones

2010-06-24 Thread Antonio Ospite
Signed-off-by: Antonio Ospite --- fsodeviced/conf/Makefile.am |1 + fsodeviced/conf/motorola_ezx/Makefile.am | 22 fsodeviced/conf/motorola_ezx/fsodeviced.conf | 35 ++ fsodeviced/configure.ac |1 + 4

[RFC, PATCH 1/5] fsogsmd: make atmediators.vala::checkResponseExpected public

2010-06-24 Thread Antonio Ospite
We can now use it in overridden mediators. Signed-off-by: Antonio Ospite --- fsogsmd/src/lib/atmediators.vala |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fsogsmd/src/lib/atmediators.vala b/fsogsmd/src/lib/atmediators.vala index 2becbeb..7903493 100644 --- a/fsogsmd

[RFC, PATCH 0/5] Add Motorola EZX support in FSO2

2010-06-24 Thread Antonio Ospite
ao2/deploy/images/a780/ you can use them along with the scripts here: http://git.ao2.it/fso-scripts.git/ Regards, Antonio Antonio Ospite (5): fsogsmd: make atmediators.vala::checkResponseExpected public fsogsmd: make atmediators.vala::checkResponseOk() public fsodeviced: add preliminar s

[PATCH] fsogsmd: add query() method to atcommands.vala::PlusCLCC

2010-06-19 Thread Antonio Ospite
Some modems reply to +CLCC? instead of +CLCC Signed-off-by: Antonio Ospite --- fsogsmd/src/lib/atcommands.vala |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/fsogsmd/src/lib/atcommands.vala b/fsogsmd/src/lib/atcommands.vala index 1ce7655..ba9b456 100644 --- a

[PATCH 1/2] fsogsmd: add AtNetworkUnregister mediator

2010-06-17 Thread Antonio Ospite
Signed-off-by: Antonio Ospite --- fsogsmd/src/lib/atmediators.vala | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/fsogsmd/src/lib/atmediators.vala b/fsogsmd/src/lib/atmediators.vala index 76eb451..2becbeb 100644 --- a/fsogsmd/src/lib/atmediators.vala +++ b

[PATCH 2/2] fsogsmd: implement org.freesmartphone.GSM.Network.Unregister()

2010-06-17 Thread Antonio Ospite
proxies.py", line 140, in __call__ **keywords) File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 622, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freesmartphone.InternalError: Not yet implemented Signed-off-by: Antonio Ospite --- fsog

[PATCH 0/2] Support org.freesmartphone.GSM.Network.Unregister()

2010-06-17 Thread Antonio Ospite
cause of some convention I don't know or is it just a typo? Thanks, Antonio Antonio Ospite (2): fsogsmd: add AtNetworkUnregister mediator fsogsmd: implement org.freesmartphone.GSM.Network.Unregister() fsogsmd/src/lib/atmediators.vala | 11 +++ fsogsmd/s

Re: Adding a lowlevel plugin to fsogsmd.

2010-06-10 Thread Antonio Ospite
On Thu, 10 Jun 2010 13:20:41 +0200 Antonio Ospite wrote: > Hi, > > I am in the process of adding a motorola_ezx lowlevel plugin to > fsogsmd (patch 3 at [1], these patches are going to be removed from > there eventually) but I get this message: > > 2010-06-10T10:54

Adding a lowlevel plugin to fsogsmd.

2010-06-10 Thread Antonio Ospite
; print(lowlevelclass_after.name()); print("\n"); } ->8--- I ams surely missing something as I am very new to both vala and fso2. Thanks, Antonio [1] http://people.openezx.org/ao2/tmp/fso2/ -- Antonio Ospite http://ao2.it PGP public key ID: 0x4553B001 A: Becaus

Removing trailing spaces

2010-06-09 Thread Antonio Ospite
http://live.gnome.org/Vala/Vim -- Antonio Ospite http://ao2.it PGP public key ID: 0x4553B001 A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/wiki/Posting_style Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing

[PATCH] README: fix a broken link

2010-06-08 Thread Antonio Ospite
The wiki is now at wiki.freesmartphone.org, the old link does not work anymore. Signed-off-by: Antonio Ospite --- README |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/README b/README index dee7d01..304d566 100644 --- a/README +++ b/README @@ -1,7 +1,7 @@ This is the

[PATCH] fsodeviced: indent with spaces, not tab

2010-06-08 Thread Antonio Ospite
This file uses spaces for indentation, so fix a line where tabs are used instead. Signed-off-by: Antonio Ospite --- .../src/plugins/palmpre_powersupply/plugin.vala|2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fsodeviced/src/plugins/palmpre_powersupply/plugin.vala

[PATCH] ogsmd: freescale_neptune use "CallAndNetwork" channel for DeviceMediator

2010-05-25 Thread Antonio Ospite
This resembles more the behaviour of the original firmware which sends, for instance, +CFUN on mux1. Signed-off-by: Antonio Ospite --- .../ogsmd/modems/freescale_neptune/modem.py|2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/framework/subsystems/ogsmd/modems

Re: [PATCH 0/9] frameword: misc fixes for gen1 and gen2 EzX devices

2010-05-25 Thread Antonio Ospite
> Looking at it right now, it will take some time tho. > I will setup my A1200 to help you on that as soon as I have some more > time. > Great, thanks. Ciao ciao, Antonio -- Antonio Ospite http://ao2.it PGP public key ID: 0x4553B001 A: Because it messes up the order

[PATCH 9/9] ogsmd: freecale_neptune, cleanup channels init

2010-05-21 Thread Antonio Ospite
Send AT commands only to the appropriate channels. Also reorganize the order of the channel classes in the code to reflect the respective dlci line order. Signed-off-by: Antonio Ospite --- .../ogsmd/modems/freescale_neptune/channel.py | 57 ++-- 1 files changed, 40

[PATCH 6/9] ogsmd: freescale_neptune, enable proper logging for URCs

2010-05-21 Thread Antonio Ospite
Signed-off-by: Antonio Ospite --- I can't see these calls logged into frameworkd.log, do I need to do anything else? Thanks, Antonio .../ogsmd/modems/freescale_neptune/unsolicited.py | 21 ++- 1 files changed, 11 insertions(+), 10 deletions(-) diff --git a/fram

[PATCH 8/9] ogsmd: freescale_neptune, make network registration more reliable

2010-05-21 Thread Antonio Ospite
: Antonio Ospite --- .../ogsmd/modems/freescale_neptune/mediator.py | 31 1 files changed, 25 insertions(+), 6 deletions(-) diff --git a/framework/subsystems/ogsmd/modems/freescale_neptune/mediator.py b/framework/subsystems/ogsmd/modems/freescale_neptune/mediator.py

[PATCH 5/9] ogsmd: freescale_neptune, enable modem on gen2 phones

2010-05-21 Thread Antonio Ospite
'+EPOM=1,0' is needed on gen2 for most commands to work (+CPIN for instance), add also some other commands seen when tracing original firmware, and also '+CRC=1' which seems to work fine. Signed-off-by: Antonio Ospite --- .../ogsmd/modems/freescale_neptune/channel.py

[PATCH 1/9] ogsmd: device.py, detect modem creation failure

2010-05-21 Thread Antonio Ospite
Some devices may be in a certain status that makes impossible to initialize the modem, in these cases we should not instanciate the actual Modem class and return None, so we need to detect that. Signed-off-by: Antonio Ospite --- framework/subsystems/ogsmd/device.py |5 + 1 files changed

[PATCH 2/9] ogsmd: move _freescale_neptune_modemOn to __new__

2010-05-21 Thread Antonio Ospite
By moving _freescale_neptune_modemOn() from __init__() to __new__() we can return None if the modem can't be initialized. Note that now _freescale_neptune_modemOn() is a static method. Signed-off-by: Antonio Ospite --- .../ogsmd/modems/freescale_neptune/modem.py|

[PATCH 0/9] frameword: misc fixes for gen1 and gen2 EzX devices

2010-05-21 Thread Antonio Ospite
ld me that this code can be considered deprecated in favour of FSO2; if anyone else is interested to look at those issues I can provide logs and test fixes, tho. Regards, Antonio Antonio Ospite (9): ogsmd: device.py, detect modem creation failure ogsmd: move _freescale_neptune_modemOn to

[PATCH 4/9] ogsmd: freescale_neptune, handle URCs on the Misc channel

2010-05-21 Thread Antonio Ospite
Signed-off-by: Antonio Ospite --- .../ogsmd/modems/freescale_neptune/modem.py|1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/framework/subsystems/ogsmd/modems/freescale_neptune/modem.py b/framework/subsystems/ogsmd/modems/freescale_neptune/modem.py index f0597ac

[PATCH 7/9] ogsmd: freescale_neptune, implement plusCLIP URC

2010-05-21 Thread Antonio Ospite
Signed-off-by: Antonio Ospite --- .../ogsmd/modems/freescale_neptune/unsolicited.py |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/framework/subsystems/ogsmd/modems/freescale_neptune/unsolicited.py b/framework/subsystems/ogsmd/modems/freescale_neptune

[PATCH 3/9] ogsmd: freescale_neptune, fix init for gen2 EzX phones

2010-05-21 Thread Antonio Ospite
Gen2 EzX phones need to open a different set of dlci lines to make BP finish its initialization. By using the union of the gen1 and gen2 dlci lines sets, and ignoring errors about invalid lines for a given generation, we can make init work on both with the same code. Signed-off-by: Antonio Ospite