Re: Failed to connect to 4G modem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 18, 2019 at 07:38:14AM +1000, JH wrote:
> Hi Greg,
> 
> On 9/17/19, Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> 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.

Can you use 'git bisect' to find the commit that fixes the issue?  That
way we can backport it to the 4.19.y tree for you.

Otherwise, just use 5.3 now and then 5.4 when it comes out in a few
months.

good luck!

greg k-h



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux