Re: [PATCH] USB: serial: option: add support for Quectel UC20

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

 



Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx> writes:

>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength          138
>     bNumInterfaces          5

So that's one interface more than the standard "Gobi" modems, meaning
that it doesn't directly fit qcserial.  I believe option is better in
this case.

> =========================================================================
> With the patch (the system already has two FT4232 chips, hence ttyUSB8
> as a first port):
> =========================================================================
>
> # usb 1-1.4: new high-speed USB device number 5 using musb-hdrc
> option 1-1.4:1.0: GSM modem (1-port) converter detected
> usb 1-1.4: GSM modem (1-port) converter now attached to ttyUSB8
> option 1-1.4:1.1: GSM modem (1-port) converter detected
> usb 1-1.4: GSM modem (1-port) converter now attached to ttyUSB9
> option 1-1.4:1.2: GSM modem (1-port) converter detected
> usb 1-1.4: GSM modem (1-port) converter now attached to ttyUSB10
> option 1-1.4:1.3: GSM modem (1-port) converter detected
> usb 1-1.4: GSM modem (1-port) converter now attached to ttyUSB11
> qmi_wwan 1-1.4:1.4: cdc-wdm0: USB WDM device
> qmi_wwan 1-1.4:1.4 wwan0: register 'qmi_wwan' at
> usb-musb-hdrc.0.auto-1.4, WWAN/QMI device, 9e:04:56:2e:82:be

Yes, but that is pure luck.  There is nothing in the patch preventing
the option driver from binding to interface #4, which would have blocked
it from qmi_wwan.  The patch should blacklist this interface.

>            |          ports: 'ttyUSB10 (at), ttyUSB11 (at), ttyUSB8  (qcdm), cdc-wdm0 (qmi), wwan0 (net)'

Great!  Then we know what most of the ports are, and we know that the
QMI function is working.  Thanks. 

The "extra" serial port seems to be an additional AT command function.
The missing port (ttyUSB9) is most probably NMEA?  You might need to
write $GPS_START to it.


Bjørn
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



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

  Powered by Linux