You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use wdi-simple to automate installation of libusb win32 drivers for an NFC reader. I'm not too familiar with compiling C, and had to adapt the "Install" page's instructions from Visual Studio 2013 to 2015 and from WDK 8.1 to WDK 10. Those facts alone could be part of my problem, but I really can't be sure. I'm running wdi-simple from a folder on my desktop named Install, in an elevated command prompt, and it can't seem to locate a file named "usb_device.inf" in the "usb_driver" folder, but I have verified that this file exists, and that changing the name in wdi-simple and recompiling makes no difference to the issue.
Here's the full log below, thanks in advance!
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\Users\Kyle\Desktop\Install>wdi-simple.exe -t 1 -l 0
Extracting driver files...
libwdi:info [extract_binaries] successfully extracted driver files to usb_driver
libwdi:info [wdi_prepare_driver] successfully created 'usb_driver\usb_device.inf
'
libwdi:info [wdi_prepare_driver] Vista or later detected - creating and self-sig
ning a .cat file...
libwdi:debug [AddFileHash] 'libusb0.dll': PE type
libwdi:info [ScanDirAndHash] added hash for 'C:\Users\Kyle\Desktop\Install\usb_d
river\amd64\libusb0.dll'
libwdi:debug [AddFileHash] 'libusb0.sys': PE type
libwdi:info [ScanDirAndHash] added hash for 'C:\Users\Kyle\Desktop\Install\usb_d
river\amd64\libusb0.sys'
libwdi:debug [AddFileHash] 'usb_device.inf': INF type
libwdi:info [ScanDirAndHash] added hash for 'C:\Users\Kyle\Desktop\Install\usb_d
river\usb_device.inf'
libwdi:debug [AddFileHash] 'libusb0.sys': PE type
libwdi:info [ScanDirAndHash] added hash for 'C:\Users\Kyle\Desktop\Install\usb_d
river\x86\libusb0.sys'
libwdi:debug [AddFileHash] 'libusb0_x86.dll': PE type
libwdi:info [ScanDirAndHash] added hash for 'C:\Users\Kyle\Desktop\Install\usb_d
river\x86\libusb0_x86.dll'
libwdi:info [CreateCat] successfully created file 'usb_driver\usb_device.cat'
libwdi:info [RemoveCertFromStore] deleted existing certificate 'CN=USB\VID_054C&
PID_06C3 (libwdi autogenerated)' from 'Root' store
libwdi:info [RemoveCertFromStore] deleted existing certificate 'CN=USB\VID_054C&
PID_06C3 (libwdi autogenerated)' from 'TrustedPublisher' store
libwdi:debug [CreateSelfSignedCert] set Enhanced Key Usage, URL and CPS
libwdi:debug [CreateSelfSignedCert] created new key container
libwdi:debug [CreateSelfSignedCert] generated new keypair
libwdi:info [CreateSelfSignedCert] created new self-signed certificate 'CN=USB\V
ID_054C&PID_06C3 (libwdi autogenerated)'
libwdi:debug [SelfSignFile] successfully created certificate 'CN=USB\VID_054C&PI
D_06C3 (libwdi autogenerated)'
libwdi:info [SelfSignFile] added certificate 'CN=USB\VID_054C&PID_06C3 (libwdi a
utogenerated)' to 'Root' and 'TrustedPublisher' stores
libwdi:info [SelfSignFile] successfully signed file 'usb_driver\usb_device.cat'
libwdi:info [SelfSignFile] successfully deleted private key
Success
Installing driver(s)...
libwdi:debug [wdi_create_list] Hardware ID: USB\VID_8087&PID_07DC&REV_0001
libwdi:debug [wdi_create_list] Compatible ID: USB\Class_E0&SubClass_01&Prot_01
libwdi:debug [wdi_create_list] Driver version: 3.1.1307.360
libwdi:debug [wdi_create_list] BTHUSB USB device (0): USB\VID_8087&PID_07DC\6&1C
0B9C3A&0&6
libwdi:debug [wdi_create_list] Device description: 'Intel(R) Wireless Bluetooth(
R) 4.0 + HS Adapter'
libwdi:debug [wdi_create_list] Hardware ID: USB\DEVICE_DESCRIPTOR_FAILURE
libwdi:debug [wdi_create_list] Compatible ID: USB\DEVICE_DESCRIPTOR_FAILURE
libwdi:debug [wdi_create_list] Driver version: 6.3.9600.17238
libwdi:debug [wdi_create_list] Driverless USB device (1): USB\VID_0000&PID_0002\
5&21BE246A&0&7
libwdi:debug [wdi_create_list] Device description: 'Unknown USB Device (Device D
escriptor Request Failed)'
libwdi:debug [wdi_create_list] Hardware ID: USB\VID_0C45&PID_6705&REV_3710&MI_00
libwdi:debug [wdi_create_list] Compatible ID: USB\Class_0e&SubClass_03&Prot_00
libwdi:debug [wdi_create_list] Driver version: 6.3.9600.17217
libwdi:debug [wdi_create_list] usbvideo USB device (2): USB\VID_0C45&PID_6705&MI
_00\6&31F3BD8B&0&0000
libwdi:debug [wdi_create_list] Device description: 'Integrated Webcam (Interface
0)'
libwdi:debug [wdi_create_list] Hardware ID: USB\VID_054C&PID_05C4&REV_0100
libwdi:debug [wdi_create_list] Compatible ID: USB\Class_03&SubClass_00&Prot_00
libwdi:debug [wdi_create_list] Driver version: 6.3.9600.17041
libwdi:debug [wdi_create_list] HidUsb USB device (3): USB\VID_054C&PID_05C4\5&21
BE246A&0&3
libwdi:debug [wdi_create_list] Device description: 'Wireless Controller'
libwdi:debug [wdi_create_list] Hardware ID: USB\ROOT_HUB20&VID8086&PID9C26&REV00
04
libwdi:debug [wdi_create_list] Driver version: 6.3.9600.17238
libwdi:debug [wdi_create_list] usbhub USB device (4): USB\ROOT_HUB20\4&10A6D550&
0
libwdi:debug [wdi_create_list] Hardware ID: USB\VID_8087&PID_8000&REV_0004
libwdi:debug [wdi_create_list] Compatible ID: USB\Class_09&SubClass_00&Prot_00
libwdi:debug [wdi_create_list] Driver version: 6.3.9600.17238
libwdi:debug [wdi_create_list] usbhub USB device (5): USB\VID_8087&PID_8000\5&2C
1032A9&0&1
libwdi:debug [wdi_create_list] Device description: 'Generic USB Hub'
libwdi:debug [wdi_create_list] Hardware ID: USB\VID_0C45&PID_6705&REV_3710
libwdi:debug [wdi_create_list] Compatible ID: USB\DevClass_00&SubClass_00&Prot_0
0
libwdi:debug [wdi_create_list] Driver version: 6.3.9600.17238
libwdi:debug [wdi_create_list] usbccgp USB device (6): USB\VID_0C45&PID_6705\5&2
1BE246A&0&5
libwdi:debug [wdi_create_list] Device description: 'Integrated_Webcam_HD (Compos
ite Parent)'
libwdi:debug [wdi_create_list] Hardware ID: USB\VID_054C&PID_06C3&REV_0111
libwdi:debug [wdi_create_list] Compatible ID: USB\Class_FF&SubClass_00&Prot_00
libwdi:debug [wdi_create_list] Driver version: 1.2.6.0
libwdi:debug [wdi_create_list] libusb0 USB device (7): USB\VID_054C&PID_06C3\026
8896
libwdi:debug [wdi_create_list] Device description: 'RC-S380/P'
libwdi:debug [wdi_create_list] Hardware ID: USB\ROOT_HUB30&VID8086&PID9C31&REV00
04
libwdi:debug [wdi_create_list] Compatible ID:
libwdi:debug [wdi_create_list] Driver version: 6.3.9600.17731
libwdi:debug [wdi_create_list] USBHUB3 USB device (8): USB\ROOT_HUB30\4&2DE1A7C3
&0&0
USB\VID_054C&PID_06C3&REV_0111: libwdi:debug [wdi_install_driver] using standa
rd mode
libwdi:debug [installer process] got parameter usb_device.inf
libwdi:debug [process_message] got request for device_id
libwdi:debug [installer process] got device_id: 'USB\VID_054C&PID_06C3\0268896'
libwdi:debug [process_message] got request for hardware_id
libwdi:debug [installer process] got hardware_id: 'USB\VID_054C&PID_06C3&REV_011
1'
libwdi:debug [installer process] got user_sid: 'S-1-5-21-2288470637-3017634436-1
453913862-1001'
libwdi:debug [installer process] using syslog 'C:\Windows\inf\setupapi.dev.log'
libwdi:debug [installer process] syslog reader thread started
libwdi:debug [installer process] successfully disabled the system restore point
creation setting
libwdi:debug [process_message] switching timeout to infinite
libwdi:debug [installer process] Installing driver for USB\VID_054C&PID_06C3&REV
_0111 - please wait...
libwdi:debug [process_message] switching timeout back to finite
libwdi:debug [installer process] the system can not find the file specified (C:\
Users\Kyle\Desktop\Install\usb_driver\usb_device.inf)
libwdi:debug [process_message] installer process completed
Requested resource not found
The text was updated successfully, but these errors were encountered:
I recompiled the source using WDK 8.1, and VS2013 on an entirely different computer, following the Compiling Guide to the letter, and the error is the same.
libwdi:debug [installer process] the system can not find the file specified (C:\Users\Admin\Desktop\Install\usb_driver\usb_device.inf)
I can verify the file's creation and existence. And installing standard WDK drivers works fine, but is not what I need.
Dropped the issue for a while, worked around it. Came back to it today, and discovered the problem was that I had compiled as x64 instead of Win32. Switched that, re-compiled, all is well. I hope this helps someone one day.
I'm trying to use wdi-simple to automate installation of libusb win32 drivers for an NFC reader. I'm not too familiar with compiling C, and had to adapt the "Install" page's instructions from Visual Studio 2013 to 2015 and from WDK 8.1 to WDK 10. Those facts alone could be part of my problem, but I really can't be sure. I'm running wdi-simple from a folder on my desktop named Install, in an elevated command prompt, and it can't seem to locate a file named "usb_device.inf" in the "usb_driver" folder, but I have verified that this file exists, and that changing the name in wdi-simple and recompiling makes no difference to the issue.
Here's the full log below, thanks in advance!
The text was updated successfully, but these errors were encountered: