linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: JH <jupiter.hce@gmail.com>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: linux-usb@vger.kernel.org
Subject: Re: Failed to connect to 4G modem
Date: Wed, 18 Sep 2019 07:38:14 +1000	[thread overview]
Message-ID: <CAA=hcWTD2zYD0gVTu6sDuRqUcTOnn42Gm0s1tOGvBQdQ40Q7LA@mail.gmail.com> (raw)
In-Reply-To: <20190917120258.GB489142@kroah.com>

Hi Greg,

On 9/17/19, Greg KH <gregkh@linuxfoundation.org> wrote:
> On Tue, Sep 17, 2019 at 09:29:34PM +1000, JH wrote:
>> Hi,
>>
>> I am running kernel LTS 4.19 in an i.MX6 board with a 4G LTE modem, it
>> continually displayed following messages in a serial port tried and
>> failed to connect to LTE modem, are there any problems in kernel 4.19
>> LTS to support usb qmi protocol and LTE modem connection?
>>
>> I did try the kernel version 5.1, it can connect to the modem, but
>> failed in couple of hours or days, when it disconnected, it got the
>> same following messages.
>>
>> Are there serious problems in kernel to support usb qmi LTE modem
>> communication and connection?
>>
>> [   43.837243] option1 ttyUSB0: GSM modem (1-port) converter now
>> disconnected f0
>> [   43.882941] option 1-1:1.0: device disconnected
>> [   43.942788] option1 ttyUSB1: GSM modem (1-port) converter now
>> disconnected f1
>> [   44.001445] option 1-1:1.2: device disconnected
>> [   44.011575] qmi_wwan 1-1:1.3: nonzero urb status received: -71
>> [   44.017461] qmi_wwan 1-1:1.3: wdm_int_callback - 0 bytes
>> [   44.022801] qmi_wwan 1-1:1.3: wdm_int_callback - usb_submit_urb failed
>> with 9
>> [   44.059958] qmi_wwan 1-1:1.3 wwan0: unregister 'qmi_wwan'
>> usb-ci_hdrc.1-1, We
>> [   47.675604] usb 1-1: new high-speed USB device number 5 using ci_hdrc
>> [   47.905246] usb 1-1: New USB device found, idVendor=05c6,
>> idProduct=90b2, bc0
>> [   47.913732] usb 1-1: New USB device strings: Mfr=3, Product=2,
>> SerialNumber=4
>> [   47.921099] usb 1-1: Product: Qualcomm CDMA Technologies MSM
>> [   47.927087] usb 1-1: Manufacturer: Qualcomm, Incorporated
>> [   47.932746] usb 1-1: SerialNumber: 5ff10299
>> [   47.964528] option 1-1:1.0: GSM modem (1-port) converter detected
>> [   47.989484] usb 1-1: GSM modem (1-port) converter now attached to
>> ttyUSB0
>> [   48.014760] option 1-1:1.2: GSM modem (1-port) converter detected
>> [   48.026996] usb 1-1: GSM modem (1-port) converter now attached to
>> ttyUSB1
>> [   48.048810] qmi_wwan 1-1:1.3: cdc-wdm0: USB WDM device
>> [   48.082751] qmi_wwan 1-1:1.3 wwan0: register 'qmi_wwan' at
>> usb-ci_hdrc.1-1, 8
>> [   51.581595] usb 1-1: USB disconnect, device number 5
>> [   51.613737] option1 ttyUSB0: GSM modem (1-port) converter now
>> disconnected f0
>> [   51.644564] option 1-1:1.0: device disconnected
>> [   51.713919] option1 ttyUSB1: GSM modem (1-port) converter now
>> disconnected f1
>> [   51.771139] option 1-1:1.2: device disconnected
>
> The device is disconnecting itself from the USB bus, and then connecting
> itself, and then disconnecting...
>
> Probably an electrical issue, the kernel can not disconnect a device
> directly from the USB bus, that information comes from the USB hub
> itself.

That was always my thought until I tried kernel 5.1 under the same
platform (nothing changed except the kernel version), the kernel 5.1
can connect to the 4G modem, I could not tell the hardware engineer if
it was hardware problem where kernel 5.1 can connect, kernel 4.19
could not, how would you explain it? Seems some differences between
kernel 5.1 and kernel 4.19, what I could be missing?

I cannot use kernel 5, we need kernel LTS on product, too late to wait
for 5.4 LTS.

Thanks Greg.

- jh

  reply	other threads:[~2019-09-17 21:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-17 11:29 Failed to connect to 4G modem JH
2019-09-17 12:02 ` Greg KH
2019-09-17 21:38   ` JH [this message]
2019-09-18  1:43     ` Lars Melin
2019-09-18  5:47     ` Greg KH
2019-09-19  7:37       ` Bjørn Mork
2019-09-19 11:17         ` JH
2019-09-20 22:10       ` JH
2019-09-21  4:45         ` Greg KH
2019-09-22 22:17           ` JH

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='CAA=hcWTD2zYD0gVTu6sDuRqUcTOnn42Gm0s1tOGvBQdQ40Q7LA@mail.gmail.com' \
    --to=jupiter.hce@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-usb@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).