On Wed, 15 Jun 2011, Amit Nagal wrote: > >> 1) In one of my embedded targets , host and device are hardwired over usb . > >> so i want to have programtic equivalent of unplug/plug cycle in usb > >> host to check connect / disconnect > >> functionality and without using rmmod usb modules on host side . Also > >> i donot have control over gadget side . > > > > You could turn off power to the host. That would have pretty much the > > effect you want. But there's no other way to do it. > > > > turn off power to the host ? sorry i didn't get it . is it meant to be > "turn off power to the device" ? No, I meant "turn off power to the host". Like, disconnect the host computer from its power source (and remove its batteries). 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