Re: how can host disconnect a device without unplug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 15, 2011 at 11:49 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
> 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).
>

ok lastly , is it possible to poweroff a usb port from host software
for eg  similar to the case
where a usb host can turn off port power if too much current is drwan
by the device ?

Regards
Amit Nagal
--
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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux