Re: [PATCH] Author: Duke Xin(辛安文)<duke_xinanwen@xxxxxxx> Date: Thu, Nov 10 15:25:01 2022 +0800

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

 



On Thu, Nov 10, 2022 at 07:12:50PM +0800, Duke Xin(辛安文) wrote:
> From: dukexinaw <602659072@xxxxxx>
> 
>     USB: serial: option: add Quectel EM05-G modem
> 
>     The EM05-G modem has 2 USB configurations that are configurable via the AT
>     command AT+QCFG="usbnet",[ 0 | 2 ] which make the modem enumerate with
>     the following interfaces, respectively:
> 
>     "RMNET" : AT + DIAG + NMEA + Modem + QMI
>     "MBIM"  : MBIM + AT + DIAG + NMEA + Modem
> 
>     The detailed description of the USB configuration for each mode as follows:
> 
>     RMNET Mode
>     --------------
>     T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 21 Spd=480  MxCh= 0
>     D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
>     P:  Vendor=2c7c ProdID=0311 Rev= 3.18
>     S:  Manufacturer=Quectel
>     S:  Product=Quectel EM05-G
>     C:* #Ifs= 5 Cfg#= 1 Atr=a0 MxPwr=500mA
>     I:* If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
>     E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
>     E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
>     I:* If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
>     E:  Ad=83(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
>     E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
>     E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
>     I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
>     E:  Ad=85(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
>     E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
>     E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
>     I:* If#= 5 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
>     E:  Ad=87(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
>     E:  Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
>     E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
>     I:* If#= 6 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
>     E:  Ad=89(I) Atr=03(Int.) MxPS=   8 Ivl=32ms
>     E:  Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
>     E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> 
>    MBIM Mode
>     --------------
>     T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 16 Spd=480  MxCh= 0
>     D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
>     P:  Vendor=2c7c ProdID=0311 Rev= 3.18
>     S:  Manufacturer=Quectel
>     S:  Product=Quectel EM05-G
>     C:* #Ifs= 6 Cfg#= 1 Atr=a0 MxPwr=500mA
>     A:  FirstIf#= 0 IfCount= 2 Cls=02(comm.) Sub=0e Prot=00
>     I:* If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
>     E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
>     E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
>     I:* If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
>     E:  Ad=83(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
>     E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
>     E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
>     I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
>     E:  Ad=85(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
>     E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
>     E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
>     I:* If#= 5 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
>     E:  Ad=87(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
>     E:  Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
>     E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
>     I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=0e Prot=00 Driver=cdc_mbim
>     E:  Ad=89(I) Atr=03(Int.) MxPS=  64 Ivl=32ms
>     I:  If#= 1 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim
>     I:* If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim
>     E:  Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
>     E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> 
>     Signed-off-by: Duke Xin<duke_xinanwen@xxxxxxx>
>     Cc: stable@xxxxxxxxxxxxxxx
>     Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>
> 
> Signed-off-by: dukexinaw <602659072@xxxxxx>
> ---
>  Next/SHA1s                  |  368 ++
>  Next/Trees                  |  370 ++
>  Next/merge.log              | 8938 +++++++++++++++++++++++++++++++++++
>  drivers/usb/serial/option.c |    3 +
>  localversion-next           |    1 +
>  5 files changed, 9680 insertions(+)
>  create mode 100644 Next/SHA1s
>  create mode 100644 Next/Trees
>  create mode 100644 Next/merge.log
>  create mode 100644 localversion-next

Something went really wrong with creating this patch.  Please read the
documentation and verify it before sending out a new version.

thanks,

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