Guidance Needed! Initial LinuxCNC/PncConf setup
You can either turn off autorepeat entirely for the computer, or I believe you could run a custom python script on startup of Axis (called from the INI file).
For reference, all QtVCP screens disable autorepeat by default. QtPlasmaC disables autorepeat entirely, and the other QtVCP screens disable autorepeat for just the jogging keys.
The only issue I can see is that when you close Axis, autorepeat would be still be disabled. There is probably a way around that, but it would likely require editing Axis files to do so.
In case it helps here's the code from /lib/python/qtvcp/qt_action.py:
# Some systems need repeat disabled for keyboard jogging because repeat rate is uneven
def DISABLE_AUTOREPEAT_KEYS(self, keys={'34','35','80','81','83','85','88','89','111','112','113','114','116','117'}):
for k in keys:
subprocess.Popen('xset -r {}'.format(k), stdout = subprocess.PIPE, shell = True)
def ENABLE_AUTOREPEAT_KEYS(self, keys={'34','35','80','81','83','85','88','89','111','112','113','114','116','117'}):
for k in keys:
subprocess.Popen('xset r {}'.format(k), stdout = subprocess.PIPE, shell = True)
QtPlasmaC does use these functions, we just call ' ' for the key which disables/enables them all.
ACTION.ENABLE_AUTOREPEAT_KEYS(' ')
and to disable
ACTION.DISABLE_AUTOREPEAT_KEYS(' ')
Does autorepeat affect anything besides the keyboard jogging? If not, couldn't I just add a controller/pendant instead (and not use the keyboard for jogging) and move on?
Please Log in or Create an account to join the conversation.
- tommylight
- Online
- Moderator
- Posts: 19188
- Thank you received: 6433
Not a solution, but a good workaround. It is a BIOS issue, not a software issue.Is this a possible solution to disabling autorepeat?
No.Does autorepeat affect anything besides the keyboard jogging?
Autorepeat is active by default on all PC's, so people are used to using it. Writing anything or editing files without it is utterly annoying.
Some motherboards just have a bad implementation of it.
Please Log in or Create an account to join the conversation.
I just don't want to hassle with having to test a bunch of computers/video cards again unless there is a recommended computer that will work for sure.
Please Log in or Create an account to join the conversation.
- tommylight
- Online
- Moderator
- Posts: 19188
- Thank you received: 6433
There are plenty of usable computers, from old Dell or HP to new ones costing an arm and a leg.
There are several topic here with lots of used comouters that work OK with LinuxCNC, off the top of my head:
Dell Optiplex 980 Tower, has parallel port
HP 8300 SFF, with external power brick
Acer Switch 5 tablet with external USB to Ethernet
Etc.
Please Log in or Create an account to join the conversation.
latency-histogram --nobase --sbinsize 5000
I was recently having ethernet latency issues. Not sure if I still am though. If I were then could that be resolved with a new intel NIC?
Attachments:
Please Log in or Create an account to join the conversation.
Try adding isolcpus=2,3,4,5
Isolating 4 cores made a big difference with my 6 core ARM chip.
But don't stress if you can't improve on what you have,
Please Log in or Create an account to join the conversation.
Rod,it looks acceptible.
Try adding isolcpus=2,3,4,5
Isolating 4 cores made a big difference with my 6 core ARM chip.
But don't stress if you can't improve on what you have,
Where exactly do I put isolcpus? I added that line to my grub and updated it but I am still running 6 cores.
Also I am still getting a bunch of the same errors.
Should I order a Intel based NIC and add a massive case fan to the computer to make sure it is not overheating?
Attachments:
Please Log in or Create an account to join the conversation.
Attachments:
Please Log in or Create an account to join the conversation.
User space items will run on cores 0 & 1.
Core 0 by default also recieves some system interrupts so we don't want PREEMPT_RT to run on it as it could be a bit clogged with other traffic.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.