[PATCH] fsogsmd: atcommand.vala workaround fucking segfault with logging

2013-11-26 Thread Paul Fertser
On gta02 if one releases an already released call, fsogsmd segfaults. This should workaround that. Fixes #723. Signed-off-by: Paul Fertser fercer...@gmail.com --- fsogsmd/src/lib/at/atcommand.vala |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/fsogsmd/src/lib

[PATCH 2/3] oeventsd: default opreferences config should have message-loop set to false

2013-02-08 Thread Paul Fertser
Message notification is called only once and no StopSound is ever emitted so it doesn't make any sense whatsoever to loop it. Signed-off-by: Paul Fertser fercer...@gmail.com --- etc/freesmartphone/opreferences/conf/phone/default.yaml |2 +- etc/freesmartphone/opreferences/conf/phone

[PATCH] specs: clarify loop parameter of org.freesmartphone.Device.Audio.PlaySound

2013-02-08 Thread Paul Fertser
In fact it's the amount of iterations to be made - 1. Signed-off-by: Paul Fertser fercer...@gmail.com --- org.freesmartphone.Device/org.freesmartphone.Device.Audio.xml.in |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.freesmartphone.Device

[PATCH 1/3] oeventsd: intepret -loop parameters as booleans

2013-02-08 Thread Paul Fertser
According to the config schema file those are booleans so when set to true the sound should be played many times, not just two (as it is now as true is casted to 1, i.e. play and then repeat once). Hopefully 1024 is enough to meet user expectations. Signed-off-by: Paul Fertser fercer

[PATCH] oeventsd: use fsogsmd's SMS IncomingTextMessage signal for notifications

2013-02-08 Thread Paul Fertser
Thanks to Sebastian Krzyszkowiak for his review and patch suggestion! Signed-off-by: Paul Fertser fercer...@gmail.com --- Please apply this instead of [PATCH 3/3] oeventsd: gta01, gta02 default rules: use UnreadMessagesTrigger framework/subsystems/oeventsd/fso_triggers.py | 15

[PATCH 4/5] fsogsmd: postpone SMS-related configuration until SIM is ready

2013-02-07 Thread Paul Fertser
: SRC: +CSMS=1 - [ +CMS ERROR: 314 ] This fixes #689 and #722. Signed-off-by: Paul Fertser fercer...@gmail.com --- fsogsmd/src/lib/at/atchannel.vala |1 - fsogsmd/src/lib/sms.vala |1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/fsogsmd/src/lib/at/atchannel.vala b

[PATCH 0/5] fix direct message delivery via +CMT

2013-02-07 Thread Paul Fertser
These patches are prepared to restore proper +CMT functionality on Calypso but are useful on the other modems as well. For Calypso they're really needed because otherwise the SIM is getting filled up and the messages can no longer be delivered. ___

[PATCH 5/5] fsogsmd: modem_ti_calypso: remove specific SMS-related config

2013-02-07 Thread Paul Fertser
Since it works properly with the generic configuration, remove the explicit commands and arrange for the necessary commands to be run on the urc channel. Signed-off-by: Paul Fertser fercer...@gmail.com --- fsogsmd/src/plugins/modem_ti_calypso/plugin.vala |8 +++- 1 file changed, 3

[PATCH 1/5] fsogsmd: fix +CNMA response validation

2013-02-07 Thread Paul Fertser
for FsoGsmPlusCNMA 2013-02-06T20:25:32.693618Z [WARN] FsoGsmAtSmsHandler 250997500793162: Failed to acknowledge SMS message; further SMS messa ge handling will maybe faulty! 2013-02-06T20:25:32.694284Z [WARN] FsoGsmAtSmsHandler 250997500793162: Could not acknowledge incoming message Signed-off-by: Paul

[PATCH 3/5] fsogsmd: extend +CNMI parser to support ranges

2013-02-07 Thread Paul Fertser
This is needed to handle Calypso's response which is included as a test. Signed-off-by: Paul Fertser fercer...@gmail.com --- fsogsmd/src/lib/at/atcommands.vala |8 fsogsmd/src/lib/at/atresultiter.vala | 24 +--- fsogsmd/tests/testatcommand.vala | 22

[PATCH] fsogsmd: modem_ti_calypso: send +CNMA on the URC channel

2013-02-07 Thread Paul Fertser
Calypso expects the +CMT: confirmation on the same channel it was sent on. This fixes the issue with messages filling the SIM card. Signed-off-by: Paul Fertser fercer...@gmail.com --- fsogsmd/src/plugins/modem_ti_calypso/plugin.vala |4 1 file changed, 4 insertions(+) diff --git

[RFC][PATCH] fsogsmd: allow to disable URC configuration on specific channels, use for Calypso

2013-01-31 Thread Paul Fertser
this for calypso. Signed-off-by: Paul Fertser fercer...@gmail.com --- This needs at least morphis's review. fsogsmd/src/lib/at/atchannel.vala| 10 -- fsogsmd/src/plugins/modem_ti_calypso/plugin.vala |5 ++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git

[PATCH] fsogsmd: allow negative C1 in Calypso's %EM=2,1 response

2013-01-30 Thread Paul Fertser
This is an example of a valid report, the pattern should allow it: SRC: %EM=2,1 - [ %EM: 518,-1,29,7,14,37151,23,1,1,0,0,0,0,0,0,26895,0,0,2,255, OK ] Signed-off-by: Paul Fertser fercer...@gmail.com --- fsogsmd/src/plugins/modem_ti_calypso/commands.vala |2 +- 1 file changed, 1 insertion

[PATCH] fsogsmd: modem_ti_calypso: disable +CREG unsol by default

2013-01-29 Thread Paul Fertser
2012. Signed-off-by: Paul Fertser fercer...@gmail.com --- fsogsmd/src/plugins/modem_ti_calypso/plugin.vala |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fsogsmd/src/plugins/modem_ti_calypso/plugin.vala b/fsogsmd/src/plugins/modem_ti_calypso/plugin.vala index e26efd5

[PATCH] fsogsmd: do not pollute logs with ON DATA FROM PPP

2013-01-29 Thread Paul Fertser
Currently it's output to the logs on INFO level all the time during a PPP session. It's needed only during low-level debugging so ifdef it out (the same way the other related code does it). Signed-off-by: Paul Fertser fercer...@gmail.com --- fsogsmd/src/lib/muxtransport.vala |2 ++ 1 file

[PATCH] fsodeviced: fix races on requesting CPU and Display resources

2013-01-25 Thread Paul Fertser
When CPU is requested while status is idle, the state transition to suspend is already scheduled and needs to be cancelled. Similiar logic applies to the Display resource. Signed-off-by: Paul Fertser fercer...@gmail.com --- fsodeviced/src/plugins/kernel_idle/plugin.vala | 15 ++- 1

[PATCH] rules.yaml: should set brigtness on transition to idle

2013-01-25 Thread Paul Fertser
When a Display resource is requested, the state might transition from some state without backlight so it needs to be set explicitely. Signed-off-by: Paul Fertser fercer...@gmail.com --- etc/freesmartphone/oevents/rules.yaml |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Emacs UI version 0.2 released

2013-01-22 Thread Paul Fertser
Hi, I'm still using gta02 as my only cell-phone, of course with fso.el, so I felt like making some improvement to it again :) What's new: * Compatibility with the current FSO version (tested on gta02 and gta04) * Ability to access FSO on remote DBus with dbus-proxy-daemon via a custom path,

Re: Emacs UI version 0.2 released

2013-01-22 Thread Paul Fertser
Hi, On Tue, Jan 22, 2013 at 06:53:54PM +, Neil Jerram wrote: Thanks, it looks really nice! Thank you! :) What's the complete set up? Do you start from Debian, or from SHR - or get all the other distro bits that you need in some other way? I personally use Debian and self-compile the

Re: [PATCH v2] fsogsmd: allow for fsonetworkd-less configuration by integration with ppp scripts

2012-11-23 Thread Paul Fertser
Hi! Awesome to see you again :) Any hints about when you possibly get back? ;) On Fri, Nov 23, 2012 at 12:21:39PM +0100, Dr. Michael Lauer wrote: looks good to me. Could you disable the communication with fsonetworkd though, if the pdp_helper key is present? It's already possible by using

[PATCH v2] fsogsmd: allow for fsonetworkd-less configuration by integration with ppp scripts

2012-11-22 Thread Paul Fertser
to the interface one needs an additional script, an example is provided in conf/ppp/ip-up.d/configureif . This is tested on vanilla Debian unstable system with resolvconf on gta04. Signed-off-by: Paul Fertser fercer...@gmail.com --- fsogsmd/conf/ppp/ip-up.d/configureif |8

Re: [PATCH 1/2] fsogsmd: allow for fsonetworkd-less configuration by integration with ppp scripts

2012-11-19 Thread Paul Fertser
Paul Fertser fercer...@gmail.com writes: +Process.spawn_async( null, { pdp_helper, + route.iface, + notty, + 0

[PATCH 1/2] fsogsmd: allow for fsonetworkd-less configuration by integration with ppp scripts

2012-11-18 Thread Paul Fertser
to the interface one needs an additional script, an example is provided in conf/ppp/ip-up.d/configureif . This is tested on vanilla Debian unstable system with resolvconf on gta04. Signed-off-by: Paul Fertser fercer...@gmail.com --- fsogsmd/conf/ppp/ip-up.d/configureif |5 + fsogsmd

[PATCH] fsousaged: properly pass DBUS_SYSTEM_SERVICE_DIR to the sources, fixes shadow resources

2012-11-14 Thread Paul Fertser
work again. Signed-off-by: Paul Fertser fercer...@gmail.com --- fsousaged/configure.ac |1 - fsousaged/src/plugins/dbus_service/Makefile.am |1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/fsousaged/configure.ac b/fsousaged/configure.ac index dceda8b

Re: About the future of the freesmartphone.org middleware

2012-08-01 Thread Paul Fertser
Enrico Zini enr...@enricozini.org writes: This said, oFono does have one very compelling feature: on my N900, it works reliably. Far better than any version of FSO that I ever managed to put on my FreeRunner ever did. If you think that Nokia's N900 firmware is using oFono, you're wrong. Or do

Re: Problem with debian install on Freerunner gta02

2012-04-12 Thread Paul Fertser
Hi, Jakub Saran jakub.sa...@gmail.com writes: ... root@om-gta02 ~ # QI=true SINGLE_PART=true ./install.sh testing time mount debian apt fso tasks=ALL configuration kernel ... sh: sha1sum: not found opkg install coreutils HTH -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html)

Re: [pkg-fso-maint] debian install.sh giving wrong partitioning sizes

2011-09-11 Thread Paul Fertser
Timo Juhani Lindfors timo.lindf...@iki.fi writes: Sam Tygier samtyg...@yahoo.co.uk writes: does anyone know of any other fdisks likely to be encountered on an openmoko? ... systems. However, I don't also like that we need to rely on some random distro that is installed on NAND. I'd say that

Re: htc dream and sms

2010-07-05 Thread Paul Fertser
Denis 'GNUtoo' Carikli gnu...@no-log.org writes: first before asking my question, I would like to thank for all the work on the htc dream. I'm now able to use it really, and I'm very happy of this. The work (in progress) has been already very important. So now, my question : I'm using

Re: [debian] Latest xserver 1.7 and touch screen problems

2010-01-25 Thread Paul Fertser
thisismypriv...@riseup.net writes: P.S.: Why is this mailinglist without Answer to: smartphones-userland@linuxtogo.org-Tag? It would be really really nice! It would be really stupid. http://www.unicom.com/pw/reply-to-harmful.html -- Be free, use free

Re: [debian] Latest xserver 1.7 and touch screen problems

2010-01-25 Thread Paul Fertser
On Tue, Jan 26, 2010 at 12:04:21AM +0100, thisismypriv...@riseup.net wrote: OK, thank you! I didn't use Answer to all because I thougt that you don't want to get the message twice (I know, I could delete the entry with your adress, because you are on the list). Lists are usually configured to

Re: debian on Neo 1973

2009-11-17 Thread Paul Fertser
Steven Jones sjo...@enrgies.com writes: It doesn't even seem to try to boot from the SD card. When I hold the power button down, to try and get a verbose boot, the only thing I see is: s3c2410 debugfs dir creation failed -19 I'm afraid verbose boot doesn't work on gta01. And anyway you'll get

Re: bluez-alsa debian sid

2009-10-31 Thread Paul Fertser
A.A. a...@email.it writes: I have installed in my moko with debian sid bluez-alsa package and configured .asoundrc: ... but when I try run mplayer -ao alsa:device=bluetooth... Are you sure you properly paired the headset? -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html)

Re: bluez-alsa debian sid

2009-10-31 Thread Paul Fertser
Al Johnson alast...@truebox.co.uk writes: On Saturday 31 October 2009, A.A. wrote: A.A. a...@email.it writes: But, there are stops in the audio flow. Try this: hciconfig hci0 lm master; hciconfig hci0 lp hold,sniff,park Bluez developers claim that with bluez4 all stuff like that is always

Re: bluez-alsa debian sid

2009-10-31 Thread Paul Fertser
Al Johnson alast...@truebox.co.uk writes: On Saturday 31 October 2009, Paul Fertser wrote: Al Johnson alast...@truebox.co.uk writes: On Saturday 31 October 2009, A.A. wrote: A.A. a...@email.it writes: But, there are stops in the audio flow. Try this: hciconfig hci0 lm master

Re: GTA02 default GSM call volume

2009-07-26 Thread Paul Fertser
Lionel Elie Mamane lio...@mamane.lu writes: I (and Joachim Breitner) find the default call volume rather low in zhone. This patch sets it to maximum, which I still find good only for rather quiet situations. Is the hardware just limited that way, or does anybody know of another of the 100+

Re: GTA02 default GSM call volume

2009-07-26 Thread Paul Fertser
Joachim Breitner m...@joachim-breitner.de writes: Am Sonntag, den 26.07.2009, 23:12 +0400 schrieb Paul Fertser: Lionel Elie Mamane lio...@mamane.lu writes: I (and Joachim Breitner) find the default call volume rather low in zhone. This patch sets it to maximum, which I still find good only

Re: Recording from headset when pressing headset button

2009-06-08 Thread Paul Fertser
Hi, On Mon, Jun 08, 2009 at 07:39:43PM +0200, Luca Capello wrote: Note that in that case it is no more consistent with the KEY_PAUSE behavior: when you press the headset button, you want to PLAY, thus you release PAUSE, which is exactly the behavior we have now. Thus I think the best would

Re: Help: Sending message to dbus via mdbus

2009-04-08 Thread Paul Fertser
Emfox Zhou emfoxz...@gmail.com writes: Hello, I'm trying fso-abyss to see if it works on my treo phone, and got to know that after start abyss daemon, I should talk to omuxerd by dbus, but there's something wrong with it. the error log attached. Am I missing something? DBus security

[PATCH] Remain compatible with Python 2.5

2009-03-21 Thread Paul Fertser
--- framework/subsystems/ophoned/headset.py |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/subsystems/ophoned/headset.py b/framework/subsystems/ophoned/headset.py index e9f07ca..7ff5f6d 100644 --- a/framework/subsystems/ophoned/headset.py +++

[PATCH] Fixed a bug with a 2048-sized transfer from modem (was: Re: gsm0710muxd bug isolated, fix proposed)

2008-12-04 Thread Paul Fertser
Hi, From ca87e942de0c2b389b8797d41a906c946c5c441d Mon Sep 17 00:00:00 2001 From: Paul Fertser [EMAIL PROTECTED] Date: Thu, 4 Dec 2008 20:27:39 +0300 Subject: [PATCH] Fixed a bug with a 2048-sized transfer from modem As the circular buffer is used to hold the incoming data from the modem, its

Re: gsm0710muxd bug isolated, fix proposed

2008-12-03 Thread Paul Fertser
Hi, Paul Fertser [EMAIL PROTECTED] writes: In gsm0710muxd a circular buffer for storing incoming data is used. The macros (unneeded btw, as the same function most probably would be inlined by the compiler automatically) to calculate the free space is: #define gsm0710_buffer_free(buf) ((buf

gsm0710muxd bug isolated, fix proposed (was: Re: FSO counts on killall presence which is not installed in Debian by default)

2008-11-30 Thread Paul Fertser
Hi, Michael 'Mickey' Lauer [EMAIL PROTECTED] writes: Am Thursday 27 November 2008 22:48:31 schrieb Paul Fertser: BTW, i get buggy (losing information from the modem) behaviour with it today all day long. Especially i can't read phonebook cleanly. Killed it and executed without -vvv flags

Re: [PATCH] Further improved current call display

2008-11-29 Thread Paul Fertser
Mon Sep 17 00:00:00 2001 From: Paul Fertser [EMAIL PROTECTED] Date: Sun, 30 Nov 2008 01:13:21 +0300 Subject: [PATCH] Further improved current call display --- data/themes/toby/zhone_call.edc | 47 +++--- src/zhone | 11 ++-- 2 files

Re: [debian/fso] openmoko-panel-plugin 0.6-2.1 sporadically quits

2008-11-29 Thread Paul Fertser
Hi, in the next days i will have a look on this issue and will try to figure out, a) what's happening there and b) what could be done to solve this I've got two traces. Don't really know whether they are of any use or not. The first one ends with a segfault (no coredump, sorry).

Possible muxer bug (was Re: Zhone doesn't show my contacts and messages after restart)

2008-11-27 Thread Paul Fertser
Hi, Michael 'Mickey' Lauer [EMAIL PROTECTED] writes: Am Wednesday 26 November 2008 21:56:19 schrieb Paul Fertser: Michael 'Mickey' Lauer [EMAIL PROTECTED] writes: Michael 'Mickey' Lauer [EMAIL PROTECTED] writes: Am Monday 24 November 2008 13:33:54 schrieb Paul Fertser: I think i know

FSO counts on killall presence which is not installed in Debian by default (was: Re: Zhone doesn't show my contacts and messages after restart)

2008-11-27 Thread Paul Fertser
Hi, A followup to the original problem of not showing contacts. The problem seems to be Debian-related. Michael 'Mickey' Lauer [EMAIL PROTECTED] writes: Am Wednesday 26 November 2008 21:56:19 schrieb Paul Fertser: Michael 'Mickey' Lauer [EMAIL PROTECTED] writes: Michael 'Mickey' Lauer

Re: [debian/fso] openmoko-panel-plugin 0.6-2.1 sporadically quits

2008-11-27 Thread Paul Fertser
Hi, Fox Mulder [EMAIL PROTECTED] writes: Since a short time i have one big problem with my beloved o-p-p. When i start o-p-p, which doesn't always work at the first try, it quits after a random time period. Sometimes it quits just a few seconds after i started it and sometimes it quites after

Re: After several successful reads MiscChannel is stuck (and i'm unable to see new SMSs)

2008-11-26 Thread Paul Fertser
Hi, Daniel Willmann [EMAIL PROTECTED] writes: NB: I'm trying to produce some bugreports that can actually help to debug the issues i'm facing. If i'm doing it wrong, please, suggest how should i do it better. Looking good so far, thanks! Thank you for working on it! BTW, you should like my

[PATCH] Zhone: show the name from the phonebook during call

2008-11-26 Thread Paul Fertser
Hi, I'm not sure whether you prefer this kind of patches here or on the Trac. Please let me know if opening a ticket is more convenient for you. From 183e270a159b3d33a019f83761ecb518ee7122a7 Mon Sep 17 00:00:00 2001 From: Paul Fertser [EMAIL PROTECTED] Date: Wed, 26 Nov 2008 22:03:41 +0300

Here is the log for the case when FR don't stop ringing after remote hangup

2008-11-25 Thread Paul Fertser
Hi, Sometimes i'm able to reproduce a strange behaviour. I suspend my FR and call from the fixed phone. Just after it unsuspends i hang up. But it keeps ringing and vibrating. I was able to get a debug ogsmd log. I did only one probably unrelevant change to the unsolicted.py: added a %N0187 to

Re: Here is the log for the case when FR don't stop ringing after remote hangup

2008-11-25 Thread Paul Fertser
Oh, and here's another clue: after that i killed zhone and frameworkd. Restarted it and... 2008.11.25 13:24:15 ogsmdDEBUG(modem init... try #1) 2008.11.25 13:24:15 ogsmdDEBUG(modem not responding) 2008.11.25 13:24:15 ogsmdDEBUG(modem init... try #2) 2008.11.25 13:24:15

Re: Here is the log for the case when FR don't stop ringing after remote hangup

2008-11-25 Thread Paul Fertser
Hi, arne anka [EMAIL PROTECTED] writes: did only one probably unrelevant change to the unsolicted.py: added a %N0187 to percentCPI. Even if it does interfere, it could reveal a bug. well, i didn't change anything (vanilla frameworkd) and experienced it with one test call, too, after

[Debian/FSO] openmoko-panel-plugin: inflexibility in events processing

2008-11-23 Thread Paul Fertser
Hello everybody! First of all, thanks to all the developers and users who made FreeRunner possible and who constantly improves the functionality of this cool device. Special thanks to the Debian team. Installation was very smooth and easy. Could have been easier if install.sh supported creating