All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zhenhua Zhang <zhenhua.zhang@intel.com>
To: ofono@ofono.org
Subject: Re: calypso does not power up from 0.17
Date: Wed, 14 Apr 2010 17:17:04 +0800	[thread overview]
Message-ID: <4BC58810.6010901@intel.com> (raw)
In-Reply-To: <t2g359c5481004140152gdc106afcpfaaf00df4c75e9a@mail.gmail.com>

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

Hi,

On 04/14/2010 04:52 PM, Nicola Mfb wrote:
> 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.

You could set environment variable OFONO_AT_DEBUG to debug AT 
conversation, like:
	export set OFONO_AT_DEBUG=1

And I found the commit fb918d39ba275cdd327 in Jan 28th has changed the 
code to:
          if (read_count > 0 && rbytes == 0 && err != G_IO_ERROR_AGAIN)
                   return FALSE;

What's the err value in freerunner?

> 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;
> _______________________________________________
> ofono mailing list
> ofono(a)ofono.org
> http://lists.ofono.org/listinfo/ofono
>


  reply	other threads:[~2010-04-14  9:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-14  8:52 calypso does not power up from 0.17 Nicola Mfb
2010-04-14  9:17 ` Zhenhua Zhang [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BC58810.6010901@intel.com \
    --to=zhenhua.zhang@intel.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.