From: Xiaofan C. <xia...@gm...> - 2018-06-23 02:24:42
|
On Fri, Jun 22, 2018 at 4:33 PM, Chengda Guo <che...@ca...> wrote: > I had used the libusbk and winUsb driver which created by the libusbk-inf-wizard.exe > for installing my device, both of them are OK. And I can access the device by > LibUsbk.dll in my application. Now I would like to automatically install winusb driver > by Windows OS when the device plug into the system, and then use LibUsbk.dll > to access the device in my application. The first step automatically install winusb > driver was successful like below screen shot shows. > But in my application, the device can't be accessed by LibUsbk.dll(Din't find > the device, LstK_Init() succeed, but LstK_Count() return 0 device count). > > Whether this way is feasible or not? What do I need to pay attention to? > Look forward to your kind advice. Thank you very much! > A few questions. 1) What is the OS version? 2) How do you automatically install WinUSB driver by Windows OS? If you use the Windows OS Descriptor, please check the following. You can post the whole USB Descriptor of your device. https://github.com/pbatard/libwdi/wiki/WCID-Devices 3) As the above website suggests, you can download libusb-1.0 Windows binary and use xusb to test your WCID device. https://github.com/libusb/libusb/releases -- Xiaofan |