Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Win10 BSOD when connecting to mouse on Win10 host running https://github.com/dorssel/usbipd-win #15

Closed
paulpv opened this issue Sep 20, 2022 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@paulpv
Copy link

paulpv commented Sep 20, 2022

I am trying a mix of your https://github.com/vadimgrn/usbip-win2/releases/download/v.0.9.3.0/usbip-win2-0.9.3.0-Debug.exe usbip client talking to https://github.com/dorssel/usbipd-win's usbipd host.

On the host I bind the mouse and start the daemon:

C:\Program Files\usbipd-win>usbipd list
Connected:
BUSID  VID:PID    DEVICE                                                        STATE
8-2    1b1c:1b8b  USB Input Device                                              Not shared

C:\Program Files\usbipd-win>usbipd bind -b 8-2

C:\Program Files\usbipd-win>usbipd server
....

On the client I list and attach:

C:\Program Files\usbip-win2>usbip.exe list -r 10.0.0.11
Exportable USB devices
======================
 - 10.0.0.11
        8-2: Corsair : unknown product (1b1c:1b8b)
           : USB\VID_1B1C&PID_1B8B\1602D03FAF7A04C55F40C0F0F5001C06
           : (Defined at Interface level) (00/00/00)
           :  0 - Human Interface Device/Boot Interface Subclass/Mouse (03/01/02)
           :  1 - (Defined at Interface level) (00/00/00)

C:\Program Files\usbip-win2>usbip.exe attach -r 10.0.0.11 -b 8-2

The connection is established, but soon after the client PC BSODs in usbip2_vhci.sys

Interestingly, after reproing this a few times, my usbipd.exe binary is now a 0 byte file!
I checked Windows Defender and nothing has been reported as being quarantined.

I then tried to uninstall and reinstall usbipd-win2 and now it bluescreens during every uninstall attempt. :/

FWIW, The client PC that is BSODing also has cezanne's usbip client and host configured, so perhaps it is some conflict between the two apps?

@paulpv
Copy link
Author

paulpv commented Sep 20, 2022

I followed @vadimgrn 's instructions at #11 (comment) and here is the log.
BSOD_usbip2_vhci.txt
Hope it is good enough.

@paulpv
Copy link
Author

paulpv commented Sep 21, 2022

Duh, I now also see the comments in the readme.md (RTFM) about how to collect logs.
Let me know if the above logs are OK; if not I will get a better one.

@vadimgrn
Copy link
Owner

vadimgrn commented Sep 21, 2022

You should make a log as described in README.md
I've reproduced a BSOD.

@vadimgrn
Copy link
Owner

Fixed, works. It could be considered as the issue of usbipd because genuine Linux server behaves differently. The workaround has applied.

usbip-win2-0.9.3.1.zip

@vadimgrn
Copy link
Owner

vadimgrn commented Sep 21, 2022

Run as Administrator these commands to remove the driver manually

pnputil /remove-device /deviceid USBIP\root /subtree
FOR /F %P IN ('findstr /m "CatalogFile=usbip2_vhci.cat" C:\Windows\INF\oem*.inf') DO pnputil.exe /delete-driver %~nxP /uninstall

After that remove folder "C:\Program Files\usbip-win2" and install the new build as usual.

@vadimgrn vadimgrn self-assigned this Sep 21, 2022
@vadimgrn vadimgrn added the bug Something isn't working label Sep 21, 2022
@paulpv
Copy link
Author

paulpv commented Sep 25, 2022

Thanks @vadimgrn Looking in to this today....

@paulpv
Copy link
Author

paulpv commented Sep 25, 2022

@vadimgrn Confirmed works! Thanks!

@vadimgrn
Copy link
Owner

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants