All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonas Bonn <jonas@norrbonn.se>
To: ofono@ofono.org
Subject: Re: Unsalble cellular connection
Date: Mon, 19 Aug 2019 09:56:14 +0200	[thread overview]
Message-ID: <83621761-cf50-f5a9-9a17-bcc46cee4895@norrbonn.se> (raw)
In-Reply-To: <bd0f33b0-91c9-95d3-fb02-0b8162ce47d9@norrbonn.se>

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



On 19/08/2019 09:50, Jonas Bonn wrote:
> 
> 
> On 19/08/2019 09:36, Michael Nazzareno Trimarchi wrote:
>> Hi
>>
>> On Mon, Aug 19, 2019 at 7:38 AM Jonas Bonn <jonas@norrbonn.se> wrote:
>>> The kernel log has this:
>>>
>>> Aug 17 08:51:46 solar kernel: usb 1-1: USB disconnect, device number 3
>>> Aug 17 08:51:46 solar kernel: option1 ttyUSB0: GSM modem (1-port)
>>> converter now disconnected from ttyUSB0
>>> Aug 17 08:51:46 solar kernel: option 1-1:1.0: device disconnected
>>> Aug 17 08:51:46 solar kernel: option1 ttyUSB1: GSM modem (1-port)
>>> converter now disconnected from ttyUSB1
>>> Aug 17 08:51:46 solar kernel: option 1-1:1.2: device disconnected
>>> Aug 17 08:51:46 solar kernel: qmi_wwan 1-1:1.3: nonzero urb status
>>> received: -71
>>>
>>> That's a USB communication failure!
>>>
>>> Aug 17 08:51:46 solar kernel: qmi_wwan 1-1:1.3: wdm_int_callback - 0 
>>> bytes
>>> Aug 17 08:51:46 solar kernel: qmi_wwan 1-1:1.3: wdm_int_callback -
>>> usb_submit_urb failed with result -19
>>> Aug 17 08:51:46 solar kernel: qmi_wwan 1-1:1.3 wwan0: unregister
>>> 'qmi_wwan' usb-ci_hdrc.1-1, WWAN/QMI device
>>>
>>> Below, the device (modem) is reenumerated, which would indicate to me
>>> that it has restarted.  I don't think the kernel automatically sends a
>>> reset to a device on comm failures...???  This explains the
>>> communication failure, at least.
>>
>> Can be chattering and rush current? Even are you sure that you don't have
>> some reset our of the ofono service that send an at command that
>> restart the modem?
> 
> Just to try to prevent us from going down the wrong rabbit hole here:
> i)  The modem is a QMI device so there are no AT commands being sent
> ii)  The ofono log should show any such command if it were being 
> transmitted (unfortunately, JH hasn't been able to produce a proper log 
> around this event, yet)
> iii)  I'm pretty certain that the QMI (gobi) driver in ofono doesn't 
> support any 'reset' command
> 
> My inclination would be to look elsewhere.
> 
> i)  figure out what reset signalling the modem does and put a scope on it.
> ii)  try to eliminate ofono and connman from the picture entirely by 
> running the modem manually... what's the utility called, qmictl?  comes 
> with libqmi, in any case.  Presumably, if it's a hardware issue, the 
> problem will show itself under these circumstances, as well.
> 

Is the problem reproducible with the EVK?  If not, you've pretty much 
eliminated software as the cause of the issue... it's the same device, 
but with an independent power supply.

/Jonas

  reply	other threads:[~2019-08-19  7:56 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAOf5uw=6hQkfhAt=OWH+mim30NyOHU6Z8GVMJ6yKCEf=1NFw8w@mail.gmail.com>
2019-08-19  7:50 ` Unsalble cellular connection Jonas Bonn
2019-08-19  7:56   ` Jonas Bonn [this message]
     [not found] <CAOf5uw=fQe4cuTfdciqW3hmXHXv-tY2UYd4aLfMVxF5Lx65jbw@mail.gmail.com>
2019-08-19  8:17 ` Jonas Bonn
     [not found] <CAOf5uw=2U6MkcKP8OzWNyzwvxjAvYLdXuDASFVEjnWvMQ0fjHw@mail.gmail.com>
2019-08-19  1:51 ` JH
2019-08-19  5:38   ` Jonas Bonn
2019-08-19 14:18     ` JH
     [not found] <CAA=hcWSVcULFW4jo5q9RsxW4igozgM99oJN6KoZ8UaSLdLhD7g@mail.gmail.com>
2019-08-13 15:00 ` Jonas Bonn
2019-08-14 11:11   ` JH
2019-08-14 13:00     ` Jonas Bonn
2019-08-15 11:33       ` Daniel Wagner
2019-08-15 12:45       ` JH
2019-08-15 14:58         ` Daniel Wagner
2019-08-17 11:53           ` JH
2019-08-17 11:55             ` JH
2019-08-17 14:09               ` Jonas Bonn
2019-08-17 22:29                 ` JH
2019-08-01 11:01 JH
2019-08-01 18:16 ` Giacinto Cifelli
2019-08-02 10:46   ` JH
2019-08-02 17:43     ` Giacinto Cifelli
2019-08-07 10:27       ` JH
2019-08-09  3:59         ` Giacinto Cifelli
2019-08-09 12:56           ` JH
2019-08-11 11:57             ` JH
2019-08-11 13:37               ` Giacinto Cifelli
2019-08-12  6:54                 ` JH
2019-08-12 22:09                   ` JH
2019-08-13  6:42                     ` Jonas Bonn

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=83621761-cf50-f5a9-9a17-bcc46cee4895@norrbonn.se \
    --to=jonas@norrbonn.se \
    --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.