-
Notifications
You must be signed in to change notification settings - Fork 142
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
windows10 problem #26
Comments
Hi, Thanks for the report. Could you please post the full model name of the device you're working with (your scanner). Thanks, |
The name of the scanner I'm working is Regards, |
I'm sorry, the scanner was not on the list to MyUsbTree file. MyUsbTree.txt Regards, |
Thanks! |
This scanner does not include the device name in the USB descriptor. In kernel debugging,it had to return the following errors in following the response of the IRP. In environment of Windows10, an error occurs by the difference of the host controller. PDO driver is wrong? yoshiki-k |
Or UsbDk uses it in a wrong way... |
The audio device of a cypress was also failed in windows10. --- Device Descriptor --- I think, this issue is that iProduct is not defined (which is common with the scanner ). Fix the source code of usbdk.
As a result, Windows has found a device (VID_2B23 & PID_CAFE) immediately after the redirect. Attach the patch. Regards, |
Hi, the patch looks good, however I cannot understand the root cause of the problem. UsbDk does not touch device text descriptors while redirecting. It changes VID/PID only. Is your device working ok without UsbDk? Do you know where "00000140 10.97756100 UsbSleepStudy_GetDeviceStringProperty: Failed to fetch DeviceProperty" printout comes from? |
If you do not use the usbdk, it works fine.
It has been printed in UsbDkTrace, but this is probably the output of USBHUB3.sys. When I insert the device, OS will correctly recognize the device. --- device insert --- When redirect the device, Will try to re-recognition to reset the device, --- usbdk redirection start --- The registry, the following information has been recorded. [Original Device Information] [Case the OS can not be recognized by the redirect] [Case of applying the patch] [Case of devices that have the iProduct to descriptor] HKLM\SYSTEM\CurrentControlSet\Enum\USB\Vid_2B23&Pid_CAFE&Rev_0001\5&28677613&0&UsbDk11 When going through the filter driver, just unlike when inserted, OS does not seem to get the device name from inf file. When usbdk redirects in Win8.1, or in the EHCI host controller environment of Win10, OS will recognize as an "Unknown device". Windows10 and OS at the time of the combination of XHCI host controller does not recognize the device. Regards, |
Ok, now I see. So the root cause is that UsbDk device does not have INF and some bus drivers do not like this. I'd like to make a few amendments for your patch and then I'll post it here for you to test. |
Thank you, I will wait for it. Thanks, |
Hi, please give try to attached patches. I thought it would be better to patch device description text always, even if it was retrieved successfully. BTW, do these patches fix #27 as well? |
Great! |
BTW, do you want to provide your "signed-off-by:" line for these patches? |
Thanks for the offer, but no thanks. yoshiki-k |
Fixed in v1.00-14 by commit e68f982. |
In an environment of Windows10 64bit(version 1511), usbdkcontroller fails to driver update of specific scanner.
It was successful in an environment of Windows7 and 8.1.
To see the log, I installed to compile the source of the same version as the UsbDk_1.0.12_x64.msi.
I tried to redirect the scanner using the usbdkcontroller.
However, the following errors has failed is displayed after 2 minutes.
[usbdkcontroller]
Driver file operation error. DeviceIoControl failed (The device is not connected. Error code = 1167) Redirect of USB device failed
Try the other device, there was no problem.
*other usb2.0 scanner
*usb3.0/2.0 usb memory
*usb1.1 headset
In the debug trace log, there was a following of log immediately after redirect the scanner.
[debug trace]
00000140 10.97756100 UsbSleepStudy_GetDeviceStringProperty: Failed to fetch DeviceProperty 0xc0000034
windows has failed to detect the redirected device.
I made a modification to perform the IOCTL_INTERNAL_USB_CYCLE_PORT ioctl only, but it was successful.
[logfile]
UsbDkController.txt
MyUsbTree.txt
MyUsbTree.xml.txt
UsbDkTrace.txt
you need me to provide further information to diagnose this problem?
Regards,
yoshiki-k
The text was updated successfully, but these errors were encountered: