<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:14px">Hi elmarco:</span><div style="font-family:arial,sans-serif;font-size:14px"><br></div><div style="font-family:arial,sans-serif;font-size:14px">I met a problem with usbclerk.</div><div style="font-family:arial,sans-serif;font-size:14px">First, I plugged in two same usb device. Then I used usbclerk to change the driver to winusb.</div><div style="font-family:arial,sans-serif;font-size:14px">I sent only one message which caused both the drivers changed.</div><div style="font-family:arial,sans-serif;font-size:14px">After that, I use usbclerk to remove the winusb driver. The first device driver could be restored properly, but the second one was not so lucky:</div><div style="font-family:arial,sans-serif;font-size:14px"><div>    if (!SetupDiBuildDriverInfoList(devs, dev_info, SPDIT_CLASSDRIVER)) {</div><div>        vd_printf("Cannot build driver info list: %ld", GetLastError());</div><div>        return false;</div><div>    }</div></div><div style="font-family:arial,sans-serif;font-size:14px">SetupDiBuildDriverInfoList returned 2 and the driver didn't change.</div><div style="font-family:arial,sans-serif;font-size:14px"><br></div><div style="font-family:arial,sans-serif;font-size:14px">Another scenario:</div><div style="font-family:arial,sans-serif;font-size:14px">I plugged in one device, and changed the driver to winusb. Then the second one plugged in. The usbclerk did not work well. Since it found there was already a device with the same vid&pid installed with winusb.</div><div style="font-family:arial,sans-serif;font-size:14px"><br></div><div style="font-family:arial,sans-serif;font-size:14px">Do you have any solutions?</div><div style="font-family:arial,sans-serif;font-size:14px">Thx!</div><div><br></div><div><br></div>
</div>