On Thu, 7 May 2015, Narendra.kc wrote: > But if I want to add new gadget to list what I need to do? My device > configuration is as follows: > > T: Bus=02 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#= 14 Spd=12 MxCh= 0 > D: Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > P: Vendor=1a86 ProdID=7523 Rev= 2.54 > S: Product=USB2.0-Serial > C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 96mA > I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=01 Prot=02 Driver=ch341 > E: Ad=82(I) Atr=02(Bulk) MxPS= 32 Ivl=0ms > E: Ad=02(O) Atr=02(Bulk) MxPS= 32 Ivl=0ms > E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=1ms You have to do two things: First, make sure your device isn't already bound to a kernel driver (in this case the ch341 driver). Do that by running "rmmod ch341" before starting your test. Second, load the usbtest driver with parameters telling it to use your device: "modprobe usbtest vendor=0x1a86 product=0x7523" before starting your test. Alan Stern -- 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