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
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
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
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
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
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
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:
> >
> > > >
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
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
_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=
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
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:
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
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/
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
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
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
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
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
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
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
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
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
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
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
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
;
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
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
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
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
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
>
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
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
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
: 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
'+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
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
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|
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
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
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
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
42 matches
Mail list logo