Thomas Schäfer <tschaefer@xxxxxxxxxxx> writes: > T: Bus=01 Lev=01 Prnt=01 Port=03 Cnt=01 Dev#= 4 Spd=480 MxCh= 0 > D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 > P: Vendor=19d2 ProdID=1018 Rev= 0.00 > S: Manufacturer=ZTE,Incorporated > S: Product=ZTE LTE Technologies MSM > S: SerialNumber=MF821VVDFS020000 > C:* #Ifs= 5 Cfg#= 1 Atr=c0 MxPwr=500mA > I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=86 Prot=10 Driver=(none) > E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms > E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms > I:* If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=02 Prot=05 Driver=(none) > E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms > E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms > I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=02 Prot=01 Driver=(none) > E: Ad=83(I) Atr=03(Int.) MxPS= 64 Ivl=2ms > E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms > E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms > I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=06 Prot=00 Driver=qmi_wwan > E: Ad=85(I) Atr=03(Int.) MxPS= 64 Ivl=2ms > E: Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms > E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms OK, so ZTE might have picked up a good idea from Huawei, using subclass and protocol to differentiate between all the vendor specific functions. It would have been even nicer if they documented it so we wouldn't havt to guess... You wouldn't happen to have a windows *.inf file for this device as well? Would be interesting to see how ZTE intended these functions to be matched. Anyway, I think we should replace the device specific entry in the option driver with 3 vendor+class matches for the 3 serial functions. The qmi_wwan entry worked by luck because it matches on the interface number. But we might consider replacing that entry as well if ZTE are going to use ff/06/00 for the QMI/wwan function on more of these devices. I'll keep my eyes open. 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