On Wed, 3 Dec 2014, Priya S wrote: > Thank you. > > I've created 2 endpoints. I've defined the endpoint descriptors in the > driver. The IN bEndpointAddress = 0x80 and the OUT endpoint has > bEndpointAddress = 0x00. These values are being modified in > epautoconf.c to 0x81 and 0x01. > > On the Windows host though, I still see that the gadget's endpoint > addresses are 0x80 and 0x00. > > Where else could these values be overwritten?
They aren't getting overwritten -- in fact, they aren't getting to the host at all! The values 0x80 and 0x00 refer to endpoint 0, which is always present on every USB device. You're trying to create endpoints 1-IN and 1-OUT, which should have addresses 0x81 and 0x01. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html