On Fri, Oct 16, 2009 at 10:48 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote: > On Fri, 16 Oct 2009 viral.mehta@xxxxxxxxxxxxxx wrote: > >> >> I have connector which is micro-to-miniA. If I connect any PenDrive to >> >> it, it fails in enumeration. >> >> It fails in hub.c file at function hub_port_wait_reset() at line >> >> if ((portchange & USB_PORT_STAT_C_CONNECTION)) >> >> >> >> portchange comes up 3. And so as condition is true, it returns -ENOTCONN >> >> >> >> Well, strange thing is all other devices except pendrives works fine. >> >> I tried my cell phone (which is detected as SCSI mass storage), and usb >> >> audio device and etc.... >> >> >> >> But none of the pendrive works... I tried Transcend, Sandisk... etc. >> > >> > It's possible that the OTG port is not capable of supplying enough >> > current for the pendrives to work. >> >> Could that (OTG not supplying enough current) be the reason for get_status_port() >> returning value 3 for portchange ? > > Yes, it could be. That's why I mentioned it as a possibility. > >> Is there any chances that I am missing out any silly thing in kernel configuration ? > > No, I don't think so. Another possibility is a problem with the > connector: If it doesn't make firm contacts then you could get those > disconnections. > > Alan Stern Viral, One of test, I can suggest you is to use externally powered USB hub and connect Pen driver and some other device to it. It will clear if any issues is present in connection and power supply case. - Viral Sachde -- 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