Keyboard Jogging Problems!!!.
- Todd Zuercher
-
Topic Author
- Away
- Platinum Member
-
Less
More
- Posts: 4741
- Thank you received: 1454
03 Jun 2026 16:38 #346875
by Todd Zuercher
Keyboard Jogging Problems!!!. was created by Todd Zuercher
I am currently seeing a very serious problem with keyboard jogging on a fresh install of the current version of Linuxcnc 2.9, installed using the current ISO. Occasionally when jogging using the keyboard it appears as if the jog key you press sticks and the machine will continue to jog long after you release the key. Sometimes it won't stop jogging until you press a different keyboard key (what key doesn't matter.) I have only observed this behavior when using keyboard jogging. Jogging using the mouse to click on screen jog buttons behaves normally. This is a very serious and unsafe problem. I just updated the control on this machine from Linuxcnc 2.7 to the current version, and I had never observed this kind of behavior before. I've already totally smashed one limit switch jogging before homed, so no soft limits.)
The machine is using the Axis UI, running on an industrial (fanless) i5 mini computer. Latency seems OK and the UI is very responsive not laggy at all.
Is this some kind of bug? Could it be a Debian setting?
The machine is using the Axis UI, running on an industrial (fanless) i5 mini computer. Latency seems OK and the UI is very responsive not laggy at all.
Is this some kind of bug? Could it be a Debian setting?
Please Log in or Create an account to join the conversation.
- tommylight
-
- Offline
- Moderator
-
Less
More
- Posts: 21617
- Thank you received: 7383
03 Jun 2026 22:25 #346882
by tommylight
-
The only thing similar i recall was/is when a jog key is held pressed then another jog key is pressed => releasing them both would result in machine continuing to move until another jog button is pressed. This was probably a few (maybe two) years back, and only happened on 1 PC. I was busy so i did not have time to do more testing.
Does the same thing happen, or does it happen with a single key?
To stop, does any other key work, or just the jog keys?
Did you test with another keyboard?
-
Old info, well very old, the PC's had in BIOS a setting for "typematic rate settings" where you could set how much a should a key be pressed till it starts repeating, then how fast should those repetitions be, and for how long those should persist.
Have not seen that in PC's for over 20 years probably.
Replied by tommylight on topic Keyboard Jogging Problems!!!.
Does this also happen when homed? Meaning, does it ignore soft limits?.... so no soft limits
-
The only thing similar i recall was/is when a jog key is held pressed then another jog key is pressed => releasing them both would result in machine continuing to move until another jog button is pressed. This was probably a few (maybe two) years back, and only happened on 1 PC. I was busy so i did not have time to do more testing.
Does the same thing happen, or does it happen with a single key?
To stop, does any other key work, or just the jog keys?
Did you test with another keyboard?
-
Old info, well very old, the PC's had in BIOS a setting for "typematic rate settings" where you could set how much a should a key be pressed till it starts repeating, then how fast should those repetitions be, and for how long those should persist.
Have not seen that in PC's for over 20 years probably.
Please Log in or Create an account to join the conversation.
- NWE
-
- Away
- Elite Member
-
Less
More
- Posts: 207
- Thank you received: 59
04 Jun 2026 00:18 #346885
by NWE
Replied by NWE on topic Keyboard Jogging Problems!!!.
Is it a wireless keyboard? I've had those start that when the battery died.
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11943
- Thank you received: 4066
04 Jun 2026 11:44 #346896
by rodw
Replied by rodw on topic Keyboard Jogging Problems!!!.
I suspect its a hardware fault. Its a long time since I've used 2.9 on a live machine but it never happened to me.
Can you swap out the keyboard for another one? Some compressed air to blow out the keys perhaps?
Can you swap out the keyboard for another one? Some compressed air to blow out the keys perhaps?
Please Log in or Create an account to join the conversation.
- snowgoer540
-
- Offline
- Moderator
-
Less
More
- Posts: 2550
- Thank you received: 882
04 Jun 2026 22:52 #346908
by snowgoer540
Replied by snowgoer540 on topic Keyboard Jogging Problems!!!.
This sounds like an autorepeat issue I've experienced in the past.
To test if it is, open a terminal window, and enter the following command:
Launch LinuxCNC and jog around. If the problem goes away, that's the issue and we can come up with a more permanent solution.
To turn autorepeat back on:
To test if it is, open a terminal window, and enter the following command:
xset -rLaunch LinuxCNC and jog around. If the problem goes away, that's the issue and we can come up with a more permanent solution.
To turn autorepeat back on:
xset rPlease Log in or Create an account to join the conversation.
- Todd Zuercher
-
Topic Author
- Away
- Platinum Member
-
Less
More
- Posts: 4741
- Thank you received: 1454
05 Jun 2026 10:47 #346914
by Todd Zuercher
Replied by Todd Zuercher on topic Keyboard Jogging Problems!!!.
To answer a few questions,
Tommy,
The soft limits work fine after the machine is homed. The crash into the hard limit happened before homing the machine while jogging from a long distance to get close to the home switch before homing.
This is a new pc bought just a few months ago for this refit.
NWE and Rod
It is an ordinary USB wired keyboard, and exhibits no signs of physical sticking keys, (other than this issue while jogging).
I'll try the xset -r, and report back. But the problem is intermittent, and may not act up for testing.
Tommy,
The soft limits work fine after the machine is homed. The crash into the hard limit happened before homing the machine while jogging from a long distance to get close to the home switch before homing.
This is a new pc bought just a few months ago for this refit.
NWE and Rod
It is an ordinary USB wired keyboard, and exhibits no signs of physical sticking keys, (other than this issue while jogging).
I'll try the xset -r, and report back. But the problem is intermittent, and may not act up for testing.
The following user(s) said Thank You: tommylight, rodw, NWE
Please Log in or Create an account to join the conversation.
- Uthayne
- Online
- Premium Member
-
Less
More
- Posts: 147
- Thank you received: 49
05 Jun 2026 19:19 #346925
by Uthayne
Replied by Uthayne on topic Keyboard Jogging Problems!!!.
This also occurs with Qtplasmac. I can replicate it if I use the keyboard to jog and click to another tab while jogging. It loses focus/control even if I release the keyboard jog arrow and I have to go back to the main tab and tap a jog button again to get it to stop jogging.
Please Log in or Create an account to join the conversation.
- snowgoer540
-
- Offline
- Moderator
-
Less
More
- Posts: 2550
- Thank you received: 882
05 Jun 2026 22:56 #346930
by snowgoer540
I never realized this. I can replicate.
I will definitely be working on a fix for this. "Stay tuned."
Replied by snowgoer540 on topic Keyboard Jogging Problems!!!.
This also occurs with Qtplasmac. I can replicate it if I use the keyboard to jog and click to another tab while jogging. It loses focus/control even if I release the keyboard jog arrow and I have to go back to the main tab and tap a jog button again to get it to stop jogging.
I never realized this. I can replicate.
I will definitely be working on a fix for this. "Stay tuned."
The following user(s) said Thank You: tommylight, NWE
Please Log in or Create an account to join the conversation.
- snowgoer540
-
- Offline
- Moderator
-
Less
More
- Posts: 2550
- Thank you received: 882
07 Jun 2026 01:57 #346945
by snowgoer540
Replied by snowgoer540 on topic Keyboard Jogging Problems!!!.
Fixed for Master branch:
github.com/LinuxCNC/linuxcnc/commit/96c8...87e2dc0a4165d3fc095f
Thank you for the bug report!
github.com/LinuxCNC/linuxcnc/commit/96c8...87e2dc0a4165d3fc095f
Thank you for the bug report!
The following user(s) said Thank You: tommylight, Clive S, rodw
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
Topic Author
- Away
- Platinum Member
-
Less
More
- Posts: 4741
- Thank you received: 1454
08 Jun 2026 09:54 - 08 Jun 2026 10:29 #346966
by Todd Zuercher
Replied by Todd Zuercher on topic Keyboard Jogging Problems!!!.
I'm running the standard Axis UI, with a Glade VCP side panel and a tab. (But I'm sure I was not using or touching the mouse at the time that the key sticking occurred, because I press the jog keys with the same hand that I use the mouse with.)
PS. This really has the feel of a bug to me. The older versions of LinuxCNC I had been using (2.7) running on RTAI kernel versions of Debian and Ubuntu, had never exhibited this kind of dangerous behavior. I've seen some other people posting similar issues, did these problems start with the switch to GTK3 or might it be closer connected to the switch to Preempt RT or a later Debian version?
PS. This really has the feel of a bug to me. The older versions of LinuxCNC I had been using (2.7) running on RTAI kernel versions of Debian and Ubuntu, had never exhibited this kind of dangerous behavior. I've seen some other people posting similar issues, did these problems start with the switch to GTK3 or might it be closer connected to the switch to Preempt RT or a later Debian version?
Last edit: 08 Jun 2026 10:29 by Todd Zuercher.
Please Log in or Create an account to join the conversation.
Time to create page: 0.130 seconds