All of lore.kernel.org
 help / color / mirror / Atom feed
* calypso does not power up from 0.17
@ 2010-04-14  8:52 Nicola Mfb
  2010-04-14  9:17 ` Zhenhua Zhang
  2010-04-14 10:43 ` Denis Kenzior
  0 siblings, 2 replies; 6+ messages in thread
From: Nicola Mfb @ 2010-04-14  8:52 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1161 bytes --]

Hi!

0.16 is the last release that works (well) on the openmoko freerunner
while from 0.17 to 0.20 I have:

root(a)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 failure due to timeout

I'm sorry I do not have much time in this period to dig deeply, anyway
I found the commit that introduced the problem with git bisect.

Thanks and Regards

     Niko

commit aec5b8a44fa2fbece87441656eaf7ffb9a53fc6e
Author: Denis Kenzior <denkenz@gmail.com>
Date:   Thu Jan 14 10:25:14 2010 -0600

    Fix: Make remote disconnect detection work

diff --git a/gatchat/gatchat.c b/gatchat/gatchat.c
index ea17335..8af927e 100644
--- a/gatchat/gatchat.c
+++ b/gatchat/gatchat.c
@@ -801,7 +801,7 @@ static gboolean received_data(GIOChannel *channel,
GIOCondition cond,
        if (cond & (G_IO_HUP | G_IO_ERR))
                return FALSE;

-       if (err != G_IO_ERROR_NONE && err != G_IO_ERROR_AGAIN)
+       if (rbytes == 0 && err != G_IO_ERROR_AGAIN)
                return FALSE;

        return TRUE;

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-04-14 15:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-14  8:52 calypso does not power up from 0.17 Nicola Mfb
2010-04-14  9:17 ` Zhenhua Zhang
2010-04-14  9:57   ` Dario
2010-04-14 10:43 ` Denis Kenzior
2010-04-14 11:45   ` Nicola Mfb
2010-04-14 15:41     ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.