vadimgrn / usbip-win2

USB/IP Client for Windows
GNU General Public License v3.0
477 stars 40 forks source link

HID Device not working after installing v.0.9.5.5 #43

Closed xshrinix closed 6 months ago

xshrinix commented 1 year ago

After Installation and rebooting the device (Windows 10 pro). Both Mouse and Keyboard connected to that machine stopped working. I tried connecting other Mouse keyboard and also tried to plug in on all USB port, Mouse and keyboard just not working after installation.

vadimgrn commented 1 year ago

usbip2_filter failed to load. Requirements: Windows 10 Version 1809 (OS build 17763) and later. https://github.com/vadimgrn/usbip-win2#enable-test-signing-without-removing-usbip

xshrinix commented 1 year ago

So one must not restart machine immediately after installation. We first disable the usbip2_filter then we can reboot the machine. Is that the correct order?

vadimgrn commented 1 year ago

Wrong, it should work and there is no need to reboot OS after the installation. What Win version do you have?

xshrinix commented 1 year ago

Windows 10 pro OS build 19045.xx. version - 22H2. After USB driver installation at the end, system asks for reboot, so i rebooted.

vadimgrn commented 1 year ago

If usbip2_filter driver can't be loaded, all usb devices will not work. It should work on your system, but something went wrong. I'll try to help you resolve this issue, but slightly later, I'm busy right now.

estintax commented 1 year ago

Today I also encountered this problem, I have been trying to restore the operation of HID devices for two hours, but to no avail. I can't interact with the system in any way

vadimgrn commented 1 year ago

Device Manager, Universal Serial Bus Controllers, pay attention to

vadimgrn commented 1 year ago

If these devices are not working, most likely usbip2_filter.sys can't be loaded. This is a filter driver, see HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class{36fc9e60-c465-11cf-8056-444553540000}, UpperFilters. If you remove usbip2_filter from UpperFilters and everything will work after the reboot, this is the reason.

vadimgrn commented 1 year ago

To find out what is going on, you could use C:\Windows\INF\setupapi.*.log files (setupapi.app.log, setupapi.dev.log). Remove these files before the installation of USBip, and post them here after the installation.

P.S. I'm testing USBip on Windows 11 Home Single Language, 22H2, OS build 22621.2134 and on Win 10 1809. It works.

vadimgrn commented 1 year ago

Today I also encountered this problem, I have been trying to restore the operation of HID devices for two hours, but to no avail. I can't interact with the system in any way

Start your Windows PC in safe mode (press F11 during early boot process) and uninstall USBip.

vadimgrn commented 1 year ago

Any Windows PC can be booted in safe mode, just find out how to do that. I use F11 on my HP laptop to do that. After that you will be able to uninstall USBip.

On Tue, Sep 19, 2023 at 8:05 AM Syl @.***> wrote:

I'm also having this problem. I'm still unable to interact with the system in safe mode, unfortunately. Only way I can mess with my system right now is through the command prompt in that "Automatic Repair" prompt.

— Reply to this email directly, view it on GitHub https://github.com/vadimgrn/usbip-win2/issues/43#issuecomment-1724836322, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQD7PRPBPNAGIXFPM5JFBXLX3ERXZANCNFSM6AAAAAA3LHSKKE . You are receiving this because you commented.Message ID: @.***>

sylviiu commented 1 year ago

Sorry, originally deleted comment because I decided to go for another approach.

I was able to successfully boot into safe mode, but I want to say that the driver still attempted to load in safe mode because the other physically connected devices were still not able to function.

I ended up doing a system restore, which restored functionality.

vadimgrn commented 1 year ago

That means that Windows is trying to start UpperFilters drivers even in Safe Mode for HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class{36fc9e60-c465-11cf-8056-444553540000} (USB host controllers and USB hubs). As a result, USB keyboard/mouse do not work in safe mode too, I guess. A PS/2 keyboard will work if a motherboard has such connector.