cezanne / usbip-win

USB/IP for Windows
GNU General Public License v3.0
1.97k stars 350 forks source link

Binding any device fails (x86 build) #337

Closed Ghostcrafter090 closed 1 year ago

Ghostcrafter090 commented 1 year ago

The error is exactly as it sounds, attempting to bind any device fails with a x86 build. Tested on both my Windows 7 32bit machine as well as my main machine running Windows 10 64bit.

I have also attempted to launch the server with nothing bound, and on both machines it works fine?

C:\Users\\Desktop\spectora_secure\usbip-32>usbip list -l

C:\Users\\Desktop\spectora_secure\usbip-32>usbip bind -b 1-24 usbip: error: failed to bind device on busid 1-24

C:\Users\\Desktop\spectora_secure\usbip-32>usbipd -d -4 usbipd: info: starting usbipd (usbip-win 0.3.5) usbipd: debug: usbipd_sock.c:38:[build_sockfd] opening 0.0.0.0:3240 usbipd: info: listening on 0.0.0.0:3240

Ghostcrafter090 commented 1 year ago

I also wish to mention, the latest 64bit release works fine on my main machine. Problem is I need it for that Windows 7 machine I mentioned earlier, which does not support 64bit period.

Ghostcrafter090 commented 1 year ago

Also to note, the command was run in a cmd instance under administrator, the INX and SYS files were in the correct directory, I ran the bcdedit change and the certificate was properly installed (obviously).

Ghostcrafter090 commented 1 year ago

after debug:

C:\Users\\Desktop\spectora_secure\usbip-32>usbip --debug bind -b 1-24 usbip: debug: usbip.c:151:[run_command] running command: bind usbip: debug: usbip_stub.c:180:[apply_stub_fdo] failed to update driver C:\Users\\AppData\Local\Temp\stu8916.tmp\usbip_stub.inf ; USB\VID_6557&PID_1731&REV_0100 ; errorcode: 0xe0000235 usbip: error: failed to bind device on busid 1-24

Ghostcrafter090 commented 1 year ago

Closed after more research.

Have to replace all instances of "amd64" in the inx file with "x86" (compiler does not update the inx file)