All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH 07/10] ril: Remove asserts
Date: Tue, 20 Oct 2015 07:31:58 -0500	[thread overview]
Message-ID: <5626343E.9070800@gmail.com> (raw)
In-Reply-To: <CACM4vuD4e9bpbaDNbp=vmuRpoKHtcf5VJv=HP1Hf7-A5LQfL7A@mail.gmail.com>

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

Hi Alfonso,

 >
>     Can we just remove the ril modem in question instead of killing the
>     entire daemon?
>
>
> I think that if we start to do these things we need to add modem watches
> to udev/udevng/rildev as they keep lists with the modems and remove them
> in shutdown. Maybe we could try a modem reset here, within a limited
> number of retries instead?
>

You can always simply call ofono_modem_set_powered here and make sure 
your initialization procedure can re-init all the file-descriptors, etc 
after set_powered(FALSE) -> set_powered(TRUE).

Would be in the end the same as restarting the daemon.

Regards,
-Denis

  parent reply	other threads:[~2015-10-20 12:31 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-15 16:46 [PATCH 00/10] Re-factoring of gril and rilmodem Alfonso Sanchez-Beato
2015-10-15 16:46 ` [PATCH 01/10] gril: Move parcel processing to rilmodem Alfonso Sanchez-Beato
2015-10-15 16:46 ` [PATCH 02/10] gril: Adapt to movement of parcel processing Alfonso Sanchez-Beato
2015-10-15 16:46 ` [PATCH 03/10] rilmodem: " Alfonso Sanchez-Beato
2015-10-15 16:46 ` [PATCH 04/10] ril: " Alfonso Sanchez-Beato
2015-10-15 16:46 ` [PATCH 05/10] gril: Remove asserts Alfonso Sanchez-Beato
2015-10-19 13:53   ` Denis Kenzior
2015-10-15 16:46 ` [PATCH 06/10] rilmodem: " Alfonso Sanchez-Beato
2015-10-15 16:47 ` [PATCH 07/10] ril: " Alfonso Sanchez-Beato
2015-10-19 13:55   ` Denis Kenzior
2015-10-20  7:26     ` Alfonso Sanchez-Beato
2015-10-20  8:28       ` Simon Fels
2015-10-20 12:31       ` Denis Kenzior [this message]
2015-10-15 16:47 ` [PATCH 08/10] unit: Add unit tests for ril parcel processing Alfonso Sanchez-Beato
2015-10-15 16:47 ` [PATCH 09/10] build: Add rilmodem unit tests Alfonso Sanchez-Beato
2015-10-15 16:47 ` [PATCH 10/10] gitignore: Ignore " Alfonso Sanchez-Beato

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=5626343E.9070800@gmail.com \
    --to=denkenz@gmail.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.