Re: How to force usbser.sys to re-enumerate the device

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hapary wrote:

I can send anything to the host either just before the reset (where the
device is in addressed state, or after it (where the device is waiting
for enumeration). Is there anything in CDC standard that I can use ? Is
there anything in usbser.sys that might be beneficial for me ? I know
that I can do a soft-replug in windows (by devcon for example), but is
there any way to do that from a USB device ?

You can develop a small filter driver that will send
IOCTL_INTERNAL_USB_CYCLE_PORT to the device and load it as part of the
stack.

.



Relevant Pages