usbip-win2 icon indicating copy to clipboard operation
usbip-win2 copied to clipboard

HID Device not working after installing v.0.9.5.5

Open xshrinix opened this issue 1 year ago • 13 comments

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.

xshrinix avatar Aug 10 '23 09:08 xshrinix

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

vadimgrn avatar Aug 10 '23 11:08 vadimgrn

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?

xshrinix avatar Aug 10 '23 14:08 xshrinix

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

vadimgrn avatar Aug 10 '23 15:08 vadimgrn

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

xshrinix avatar Aug 11 '23 05:08 xshrinix

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.

vadimgrn avatar Aug 11 '23 05:08 vadimgrn

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

estintax avatar Aug 11 '23 09:08 estintax

Device Manager, Universal Serial Bus Controllers, pay attention to

  • USB Root Hub (USB 3.0), Location: on USBip 3.X Emulated Host Controller
  • USBip 3.X Emulated Host Controller 2 3 4 1

vadimgrn avatar Aug 13 '23 08:08 vadimgrn

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 avatar Aug 13 '23 08:08 vadimgrn

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 avatar Aug 13 '23 08:08 vadimgrn

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 avatar Aug 14 '23 07:08 vadimgrn

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: @.***>

vadimgrn avatar Sep 19 '23 05:09 vadimgrn

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.

sylviiu avatar Sep 19 '23 06:09 sylviiu

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.

vadimgrn avatar Sep 19 '23 06:09 vadimgrn