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

2010-05-21 Thread Michael 'Mickey' Lauer
Thanks Antonio, all these patches look ok and I have applied them. Looking forward to your patches against fsogsmd ;) I will setup my A1200 to help you on that as soon as I have some more time. Cheers and thanks! :M: ___ Smartphones-userland maili

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

2010-05-21 Thread Michael 'Mickey' Lauer
Am Freitag, den 21.05.2010, 14:13 +0200 schrieb Antonio Ospite: > Signed-off-by: Antonio Ospite > --- > > I can't see these calls logged into frameworkd.log, do I need to do anything > else? Did you set log_level = DEBUG in the ogsmd section? Cheers, :M:

[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 inserti

[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/framework/subs

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

2010-05-21 Thread Antonio Ospite
On gen1 +CFUN={1,0} is very slow to sync up with the network and this can confuse ogsmd, by sleeping in DeviceSetAntennaPower and before NetworkRegister we give the modem the time to emit the responses to +CFUN and +COPS in a clearer order. We do the symmetric in NetworkUnregister. Signed-off-by:

[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 |7 ++- 1 files

[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| 19 --

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

2010-05-21 Thread Antonio Ospite
Hi, these patches make EzX devices work more reliably, even though with a very basic feature set: voice calls are not here yet, but we can at least register and unregister to network multiple times (this used to work only on the first time), make rings, listen for calls and send/receive SMSes. We

[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/unsolicited.p

[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