On Fri, 16 Oct 2009, Viral Mehta wrote: > Hi, > > I am debugging one problem and I will appreciate if someone can throw > some light here. > > I have one board which supports OTG. It has micro-AB connectors. > It works fine as gadget then I switch its role by writing to proc file > and now it is host. If this is controlled by a file, that file should not be in procfs! It should be in sysfs. > 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. 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