Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usbdkcontroller -n failed #103

Open
xiangjiang-cn opened this issue Sep 14, 2021 · 6 comments
Open

usbdkcontroller -n failed #103

xiangjiang-cn opened this issue Sep 14, 2021 · 6 comments

Comments

@xiangjiang-cn
Copy link

xiangjiang-cn commented Sep 14, 2021

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 xiangjiang-cn changed the title usbkdcontroller -n fails usbdkcontroller -n fails Sep 14, 2021
@xiangjiang-cn xiangjiang-cn changed the title usbdkcontroller -n fails usbdkcontroller -n failed Sep 14, 2021
@ybendito
Copy link
Collaborator

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
Copy link
Author

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
Copy link
Collaborator

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

@xiangjiang-cn
Copy link
Author

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
Copy link
Collaborator

@xiangjiang-cn
Copy link
Author

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

Ok, thank you very much!

gwgill added a commit to gwgill/UsbDk that referenced this issue Nov 10, 2023
…ving D0 power setting code, daynix#103 by adding more USB3 hub idetifiers, daynix#105 with counting fixes from kvojacheck.

Hopefully fixed remaining daynix#124 issues by adding device configuration and hub port reset before attempting port CYCLE for devices with no function driver. Cleaned up no-function driver devices handling so that the RawFilter doesn't affect devices mis-classified on first plugin, as well as ensuring function driver install proceeds correctly after device has been used without a function driver.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants