-
Notifications
You must be signed in to change notification settings - Fork 81
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
HID device stops working sometimes #255
Comments
I have the same issue. |
Found something interesting. It seems that it happens where the target computer (computer connected to NanoKVM) starts screensaver (i. e. lock current session). |
@MatejKovacic It is not caused by the screen saver or locking the current session. I encountered the problem while using grab shell of Linux. |
Correct, found out that session got locked, abut HID worked. I am using my own Wireguard VPN. I found out that sometimes connection drops a little, I also go disconnected from ssh session, but in general no bigger problems. |
@MatejKovacic I found HID does not work after mounting .iso image. |
I found, than in fully working high-level OS (Windows, Linux, etc) mounting and unmounting ISO working well, HID not ceased. This issue happens only in low-level apps (UEFI/BIOS setup, GRUB loader console and so on), and, looks like, may not reproduce on some motherboards. Anyway, you can still mount ISO image, then reboot controlled PC, re-enter low-level app, and now HID is working again, while image is mounted too. Looks like, when we're mounting disk, unit is re-connecting its "USB-hub-with-keyboard-and-mouse-and-disk" emulation device (to force controlled PC to re-detect devices on it, because there is no another way), and there is some troubles in device introduction logic on unit, interfered with low-level HID device detection on PC. |
Now it seems to me that it is more or less random behavior. With no clear patterns. But happens quite often. |
What OS is under control while it happens? |
OS under control is Ubuntu. It was not restarted, connection was not lost, because I can ssh to NanoKVM. |
Sometimes helps to reopen webui, sometimes "reset HID" helps, but more often I need to reboot NanoKVM. |
I had exactly same looking situation, but real issue was in video streaming freeze. And I can still SSH to KVM (because connectivity returns quickly), and even existing SSH connection not breaks (because I'm not using it right in time when I was busy by punching frozen WebUI, when connection was shortly in hang) Reopening WebUI in another tab will restore video streaming and I can read text I blind typed on terminal recently. Did you try to blind write some text in terminal before WebUI reload, and then check for it after? Reopening WebUI can also point to some frontend and browser issue, or OS related browser issue. Sure, when you reboot the unit, it will cause reopening WebUI too. Maybe to test with another browser, non-webkit? Like, Firefox (gecko)? |
Same problem here. |
I tested Chromium and Firefox. When HID stops working, it is the same. |
@mcury1985, @MatejKovacic If your controlled PC is linux-based, it need to be checked with dmesg and lsusb commands on next such event (i mean, HID disconnect), using directly connected keyboard, in order to observe USB bus errors and USB device "Sipeed gadget" presence. I think, this would be useful for maintainers, and musthave for their response. If they'll come down to read and handle this, 'course. 🤭 |
Its both Windows and Linux (EndeavourOS which is based on Arch Linux). Perhaps not related to this problem, not sure, but a little explanation about my system: |
We've fixed the “Reset HID” in the version 2.1.5. Please update to the latest version and try resetting the HID if it's not working. |
Quite often HID device (mouse, keyboard) stops working. Sometimes it helps to click "Reset HID device", but sometimes I need to ssh to NanoKVM and reboot it...
What are the solutions?
The text was updated successfully, but these errors were encountered: