daynix / UsbDk

Usb Drivers Development Kit for Windows
Apache License 2.0
522 stars 142 forks source link

usbdkcontroller -n failed #103

Open xiangjiang-cn opened 2 years ago

xiangjiang-cn commented 2 years ago

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)"

ybendito commented 2 years ago

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

xiangjiang-cn commented 2 years ago

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

ybendito commented 2 years ago

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

xiangjiang-cn commented 2 years ago

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

ybendito commented 2 years ago

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

xiangjiang-cn commented 2 years ago

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

Ok, thank you very much!