Can USB2.0 driver make host send "bus reset"

Does anybody know : can USB2.0 driver invoke what interface to make host controller send out the .

workingmailing@163.com wrote:

Does anybody know : can USB2.0 driver invoke what interface to make host controller send out the .

What are you trying to accomplish here? A bus reset causes the device
to drop off the bus and be re-enumerated, which of course means its
driver will be unloaded. A device that requires a bus reset in normal
conditions is broken.

You can send an IOCTL_INTERNAL_USB_CYCLE_PORT internal ioctl to the hub,
which simulates unplug and replug. Again, however, your driver will be
unloaded.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

There is also IOCTL_INTERNAL_USB_RESET_PORT, which doesn’t cause a PNP
enumeration or driver unload. However, if your driver will be used to
drive a composite device function, doing this could cause unexpected
behavior in the other functions’ drivers.

On 2/24/2012 11:21 AM, Tim Roberts wrote:

workingmailing@163.com wrote:
> Does anybody know : can USB2.0 driver invoke what interface to make host controller send out the.
>
> What are you trying to accomplish here? A bus reset causes the device
> to drop off the bus and be re-enumerated, which of course means its
> driver will be unloaded. A device that requires a bus reset in normal
> conditions is broken.
>
> You can send an IOCTL_INTERNAL_USB_CYCLE_PORT internal ioctl to the hub,
> which simulates unplug and replug. Again, however, your driver will be
> unloaded.
>