UsbDk icon indicating copy to clipboard operation
UsbDk copied to clipboard

usbdkcontroller -n failed

Open xiangjiang-cn opened this issue 3 years ago • 6 comments

When the USB root controller driver of win7 is version 3.1, usbdkcontroller -n fails to enumerate USB devices. What should I do with this?

The error message is: "Driver file operation error. Failed to open device symlink \.\Usb.dk (The system cannot find the file specified. Error code = 2)"

xiangjiang-cn avatar Sep 14 '21 02:09 xiangjiang-cn

Please collect logs as follows: (all operations from admin console in %programfiles%\usbdk runtime library Uninstall UsbDk driver: usbdkcontroller -u Copy these files to %programfiles%\usbdk runtime library (attached usbdktrace.bat + tracefmt.exe, assuming you have 64-bit machine) usbdk.trace.zip run usbdktrace.bat (separate admin console) Install UsdbDk driver: usbdkcontroller -i Wait for the end of the installation Hit enter in the trace console There should be parsed log file, please attach it

ybendito avatar Sep 14 '21 07:09 ybendito

Please collect logs as follows: (all operations from admin console in %programfiles%\usbdk runtime library Uninstall UsbDk driver: usbdkcontroller -u Copy these files to %programfiles%\usbdk runtime library (attached usbdktrace.bat + tracefmt.exe, assuming you have 64-bit machine) usbdk.trace.zip run usbdktrace.bat (separate admin console) Install UsdbDk driver: usbdkcontroller -i Wait for the end of the installation Hit enter in the trace console There should be parsed log file, please attach it

usbdk-1.log

xiangjiang-cn avatar Sep 14 '21 08:09 xiangjiang-cn

Which version of USBDK you use? The log file is not parsed properly. Please attach the ETL from the same directory.

ybendito avatar Sep 14 '21 09:09 ybendito

Which version of USBDK you use? The log file is not parsed properly. Please attach the ETL from the same directory.

The version of USBDK is 1.0.22 usbdk.zip

xiangjiang-cn avatar Sep 14 '21 11:09 xiangjiang-cn

https://github.com/daynix/UsbDk/blob/master/UsbDk/FilterDevice.cpp#L605 Need to add IUSB3\ROOT_HUB31

ybendito avatar Sep 14 '21 13:09 ybendito

https://github.com/daynix/UsbDk/blob/master/UsbDk/FilterDevice.cpp#L605 Need to add IUSB3\ROOT_HUB31

Ok, thank you very much!

xiangjiang-cn avatar Sep 15 '21 00:09 xiangjiang-cn