Open Kogotoro opened 2 years ago
so... there is 2 errors:
ps: but still... better(probably) adapt stub install/deinstall from https://github.com/dorssel/usbipd-win ... what can directly (without manual pre-install to driver storage, and manual search/select it after) install inf's without matching id for device (and it also free us from compile/sign inf/cat during programm work). Also we need lower inf chances for auto-install/select by system, it can be achieved by adding to inf section [ControlFlags] with attribute 'ExcludeFromSelect'.
Hi. Encountered next strange behavior have d1 = 1-10 = usb-token USB\VID_0529&PID_0620\5&12C8F4C0&0&2 d2 = 1-29 = usb-token USB\VID_0529&PID_0620\5&12C8F4C0&0&3 d1 & d2 both is USB\VID_0529&PID_0620&REV_0100 : server: plug d1 (shows in Device Manager as Smart card readers > Microsoft Usbccid Smartcard Reader (WUDF) > no errors) bind d1 (shows as Smart card readers > USB/IP STUB > no errors)
client:
server usbipd output have ERROR:
usbipd: debug: usbipd_stub.c:77:[get_devinfo] get_devinfo: [\\?\usb#vid_0529&pid_0620#5&12c8f4c0&0&2#{fb265267-c609-41e6-8eca-a20d92a833e6}] DeviceIoControl failed: err: 0x1f
it still show device as shared but some data missing
server: plug d2 (shows as System devices > USB/IP STUB > no errors (and i just plug it witout any comands))
server usbipd output: for d1 same error as before for d2 no errors
BUT: usbview util says for d2 !ERROR: No open pipes!
and open pipes presents before and after bind for d1 and also for d2 if it plugged while d1 not binded
BUT ALSO: i can attach d2... but cant d1 ...Oo? for d1 server says
usbipd: debug: usbipd_stub.c:73:[get_devinfo] get_devinfo: cannot open device: \\?\usb#vid_0529&pid_0620#5&12c8f4c0&0&2#{fb265267-c609-41e6-8eca-a20d92a833e6}
strange but last time list -r error from server side was at usbipd_stub.c:77 , ie at DeviceIoControl but now it fails at CreateFile
UPDATE: strange but i cant attach d1 even without d2 -_- with same errors.