From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH v2 1/1] he910: reset modem after IO disconnect
Date: Wed, 07 May 2014 11:28:03 -0500 [thread overview]
Message-ID: <536A5F13.3080405@gmail.com> (raw)
In-Reply-To: <1399464841-23097-1-git-send-email-jonas@southpole.se>
[-- Attachment #1: Type: text/plain, Size: 919 bytes --]
Hi Jonas,
<snip>
>
> This patch also addresses a secondary issue whereby killing ofono during
> an active connection causes the AUX port to report HUP when ofono is
> restarted.
>
I'm not quite sure how this patch would fix the above. The order of
events is the same between kill/restart and a modem reset. I guess the
only difference is that you don't send a CFUN=4 during a modem reset.
> How about this approach instead? Using ofono_modem_reset has pretty
> much the same effect as my previous patch and _feels" correct...
ofono_modem_reset is intended for firmware crashes and getting back to
previous state quickly. This is a creative hack, but has some
side-effects you might not intend (e.g. the modem might go online
without being told explicitly)
I don't really mind the patch, but would explore the 'proper' avenues
(e.g. ofono_sim_inserted_notify) first.
Regards,
-Denis
next prev parent reply other threads:[~2014-05-07 16:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-02 14:15 [PATCH 1/1] he910: set modem unpowered after IO disconnect Jonas Bonn
2014-05-06 13:38 ` Denis Kenzior
2014-05-07 6:29 ` Jonas Bonn
2014-05-07 16:03 ` Denis Kenzior
2014-05-07 12:14 ` [PATCH v2 1/1] he910: reset modem " Jonas Bonn
2014-05-07 16:28 ` Denis Kenzior [this message]
2014-05-08 6:41 ` Jonas Bonn
2014-05-08 14:06 ` 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=536A5F13.3080405@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox