On Tue, 20 Jul 2004, Kurt Meier wrote: > Hi all, > > I try to develop a usb device driver. > When I load the g_serial driver I get the following dmesg output > > usb 1-1: new full speed USB device using address 43 > usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=3 > usb 1-1: default language 0x0409 > usb 1-1: Product: Gadget Serial > usb 1-1: Manufacturer: Linux 2.6.2 with my_udc > usb 1-1: SerialNumber: 0 > usb 1-1: hotplug > usb 1-1: control timeout on ep0out > usb 1-1: can't set config #2, error -110 > usb 1-1: hotplug > > Can anybody say me what this "control timeout on ep0out" means?
It means that the host expected to receive an ACK from your gadget in response to the control message telling the gadget to set config #2, but no response arrived within about 5 seconds. > Am I too slow with an answer? Maybe, but more likely you're not sending any answer at all. > What kind of answer is expected? An ACK, that is, a 0-length message queued to ep0. Your subroutine for setting the configuration probably isn't sending this acknowledgment to ep0. > When I connect the device to windows trys to load a driver for it, good > sign, or? Sorry, I don't understand your question. Alan Stern ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
