During stop redirection process driver signals redirection stopped event before adding corresponding device back to childen list. In case of unfortunate timing client code that enumerates devices right after stoppng redirection may not get device for which redirection was stopped in devices list. This patch fixes the issue by changing order of corresponding operations. Signed-off-by: Pavel Gurvich <pavel@daynix.com> Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com> |
||
|---|---|---|
| Tools | ||
| UsbDk | ||
| UsbDk Package | ||
| UsbDkController | ||
| UsbDkHelper | ||
| .editorconfig | ||
| .gitignore | ||
| ARCHITECTURE | ||
| buildAll.bat | ||
| LICENSE | ||
| README.md | ||
| UsbDk.sln | ||
UsbDk
UsbDk (USB Development Kit) is a open-source library for Windows meant to provide user mode applications with direct and exclusive access to USB devices by detaching those from Windows PNP manager and device drivers and providing user mode with API for USB-specific operations on the device.
The library is intended to be as generic as possible, support all types of USB devices, bulk and isochronous transfers, composite devices etc.
Library supports all Windows OS versions starting from Windows XP/2003.
Documentation
- See ARCHITECTURE document in the source tree root.
Building
Tools required:
- Visual Studio 2013/Visual Studio 2013 Express
- WDK 8.1
- WDK 7.1 (for Windows XP/2003/Vista/2008 builds)
Compilation
Just open UsbDk.sln from the source tree root in Visual Studio 2013 and compile desired configuration.
Installing and running
Use UsbDkController.exe to install/uninstall and verify basic operation. Run UsbDkController.exe -h for command line options.