[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAAQ7Y6b38C5Kg4d+YTgqa9BJeVGes=8qV0dCPGDFq+F6-DfVAg@mail.gmail.com>
Date: Thu, 28 Nov 2024 10:03:28 +0800
From: 吳逼逼 <wojackbb@...il.com>
To: Johan Hovold <johan@...nel.org>
Cc: gregkh@...uxfoundation.org, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] USB: serial: option: add MediaTek T7XX compositions
1. I will upload a new change and it will contain this description
2. Regarding NCTRL(), MTK tells us that it is the same as PID 0x7127
Johan Hovold <johan@...nel.org> 於 2024年11月6日 週三 下午10:07寫道:
>
> [ Please avoid top-posting. ]
>
> On Wed, Nov 06, 2024 at 07:09:22PM +0800, 吳逼逼 wrote:
> > I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
> > E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> > E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> > It is USB AP Log Port.
> >
> > I:* If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
> > E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> > E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> > It is USB AP GNSS Port.
> >
> > I:* If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
> > E: Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> > E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> > It is USB AP META Port.
> >
> > I:* If#= 5 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=(none)
> > E: Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> > E: Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> > It is ADB port.
> >
> > I:* If#= 6 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
> > E: Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> > E: Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> > It is USB MD AT Port. User can use the port send AT command.
> >
> > I:* If#= 7 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
> > E: Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> > E: Ad=07(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> > It is USB MD META Port.
> >
> > I:* If#= 8 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
> > E: Ad=89(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> > E: Ad=08(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> > It is USB NTZ Port. User can use the port send MIPC command.
> > MIPC is an instruction set designed by MTK, similar to QCT's QMI
> >
> > I:* If#= 9 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
> > E: Ad=8a(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> > E: Ad=09(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> > It is USB Debug port.
>
> Thanks for this. Please include this in some form in the commit message
> (e.g. a table listing the functions).
>
> > Sorry, I don't understand "not accepting modem control".
> > Should I set the non-MD ports to true?
> > for example: USB AP Log Port.
>
> I meant that you should mark the interfaces that reject modem-control
> requests using the NCTRL() macro similar to what was done for the device
> with PID 0x7127.
>
> Johan
Powered by blists - more mailing lists