Hey folks, I'm looking for some suggestions about where to go next in troubleshooting a keyboard issue.
Running 2.9pre1, RIP, Axis, on linux mint 21 using xfce 4.16/xfwm4 on preempt_rt 6.1.20-1
Everything works normally and well most of the time. I use the machine a few times a week for small projects and linuxcnc works, is stable, usable, no keyboard issues, no issues at all really.
But... every once in a while, it seems the keyboard input to linuxcnc gets frozen, or lost, or somehow delayed? I don't really know what to look at to deduce further the nature of the error.
-When the keyboard issue happens Linuxcnc is no longer responsive to any keyboard inputs. Even things like alt+f to open the file menu,
-The problem might tend to start happening when I spam a bunch of keys in/am being productive. An example might be reloading an NGC file via ctrl+r then F5 for MDI and then intending to do a tool change via m6 but finding that I can't type into the MDI window, or anywhere else... This is a suggestion of what I think may be happening, but it's not easily repeatable for me.
-Everything you can do in linuxcnc with a mouse still works.
-The keyboard still works in every other app, the terminal, all the other virtual consoles, etc
-Windows manager things still work, I can resize the linuxcnc window with the mouse, I can resize/minimize/maximize/etc the linuxcnc with windows manager hotkeys.
-Virtual/on screen keyboard is provides not difference from real keyboard
-Unplugging the keyboard and replugging it makes no difference. adding a second keyboard does not help, removing all physical keyboards and using on screen keyboard doesn't help, using a keyboard over VNC does not work.
-It might be the case that if left for a long enough period of time (overnight) the keyboard responsiveness returns, but my sample size on that is very small and it may not be an accurate statement.
-Restarting linuxcnc seems to fix the issue. But restarting linuxcnc and re-homing in the middle of a part is a bit of a gamble as to how well my home switches repeat.
Does anyone have any suggestions as to what I can do to track this down further where the keystrokes are disappearing to? I guess that means investigating axis.py? Are there any other layers to the onion or logging I can turn on/investigate?