I'd like to cycle (simulate unplug and re-inserting) a USB device (modem) after a certain event has fired. I found a sample on codeproject:

http://www.codeproject.com/KB/system/usbeject.aspx

That allows me to identify+eject the device via its non-volatile serial, but I need it to recycle, not just eject.

I have read this:

http://www.tech-archive.net/Archive/Development/microsoft.public.development.device.drivers/2005-02/1292.html

I do not understand it.

This has been mentioned in other USB related posts:

http://www.codeproject.com/KB/system/DriveDetector.aspx

It is not relevant to my problem.

Edit
Report