mirror of
https://github.com/jetkvm/kvm.git
synced 2026-03-02 22:58:00 -05:00
Moving mouse with the mouse disabled has jetkvm keep trying to open /dev/hidg1 #303
Labels
No labels
component/keyboard-layout
component: cloud
component: device screen
component: extensions
component: hid/keyboard
component: hid/mouse
component: network
component: timesync
component: ui
component: updater
component: usb
component: usb/hid
component: usb/storage
component: video
component: webrtc
component: webserver
need-more-details
status: working-in-progress
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/kvm#303
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nagisa on GitHub (May 31, 2025).
Originally assigned to: @ym on GitHub.
Version 0.3.9, although I see in master that the code still reads the same:
github.com/jetkvm/kvm@8d77d75294/internal/usbgadget/hid_mouse_absolute.go (L68-L74)With USB being set to only enable the keyboard, but not the mouse, moving mouse over the window will still keep sending mouse events to jetkvm, jetkvm will try to open the device file for each mouse event and send an error back to the client along the lines of
each time.
Not an experience breaking issue, but it does cause a greatly increased cpu time consumption when there are significant mouse events.
@nagisa commented on GitHub (May 31, 2025):
With 0.4.1 this error message also ends up in
last.log:Given that there is no log rotation, given a sufficiently long uninterrupted session its probably possible to end up exhausting all of the storage available on the device.
@ambis commented on GitHub (Feb 4, 2026):
I ran into this too. And for context, I'm using a 4-way HDMI switch to control 4 servers. This combo does not support mouse well, so I have jetkvm set to Keyboard Only.