- LinuxCNC
- Installing LinuxCNC
- Installing Linuxcnc on new pc Using Debian 12.13 and Linuxcnc 2.9.8 mesa 7i76eu
Installing Linuxcnc on new pc Using Debian 12.13 and Linuxcnc 2.9.8 mesa 7i76eu
- georgio
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 5
15 Mar 2026 21:37 #344323
by georgio
Installing Linuxcnc on new pc Using Debian 12.13 and Linuxcnc 2.9.8 mesa 7i76eu was created by georgio
Hello all,
I am a newbie and I might have posted this question on the wrong thread before so I apologize for my lack of knowledge and experience. I have got my board and pc communicatiing and I think I have fixed most of the error but until i get this one fixed I won't know. I have an error which seems to be misidentifiying my z axis. I have a xyyx router setup hopefully to get y squaring. The error I am getting says an undefined kinematicsSwitch and it leaves my setup with undefined limit on z. All help will be greatly appreciated. I will post my ini and hal files for you to look at.
Thanks again,
George
I am a newbie and I might have posted this question on the wrong thread before so I apologize for my lack of knowledge and experience. I have got my board and pc communicatiing and I think I have fixed most of the error but until i get this one fixed I won't know. I have an error which seems to be misidentifiying my z axis. I have a xyyx router setup hopefully to get y squaring. The error I am getting says an undefined kinematicsSwitch and it leaves my setup with undefined limit on z. All help will be greatly appreciated. I will post my ini and hal files for you to look at.
Thanks again,
George
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 17781
- Thank you received: 5201
15 Mar 2026 23:43 #344326
by PCW
Replied by PCW on topic Installing Linuxcnc on new pc Using Debian 12.13 and Linuxcnc 2.9.8 mesa 7i76eu
This section of the hal file is broken in at least 3 ways:
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
#loadrt [KINS]KINEMATICS
loadrt hm2_eth board_ip="192.168.1.121" config="num_encoders=1 num_stepgens=4 sserial_port_0=2"
#loadrt hostmot2
1. loadrt [KINS]KINEMATICS is commented out
2. loadrt hostmot2 is commented out
3. loadrt hostmot2 is in the wrong order (it must be loaded before hm2_eth)
It should look like what pncconf creates:
loadrt [KINS]KINEMATICS
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
loadrt hostmot2
loadrt hm2_eth board_ip="192.168.1.121" config="num_encoders=1 num_stepgens=4 sserial_port_0=2"
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
#loadrt [KINS]KINEMATICS
loadrt hm2_eth board_ip="192.168.1.121" config="num_encoders=1 num_stepgens=4 sserial_port_0=2"
#loadrt hostmot2
1. loadrt [KINS]KINEMATICS is commented out
2. loadrt hostmot2 is commented out
3. loadrt hostmot2 is in the wrong order (it must be loaded before hm2_eth)
It should look like what pncconf creates:
loadrt [KINS]KINEMATICS
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
loadrt hostmot2
loadrt hm2_eth board_ip="192.168.1.121" config="num_encoders=1 num_stepgens=4 sserial_port_0=2"
Please Log in or Create an account to join the conversation.
- georgio
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 5
16 Mar 2026 01:20 #344335
by georgio
Replied by georgio on topic Installing Linuxcnc on new pc Using Debian 12.13 and Linuxcnc 2.9.8 mesa 7i76eu
thank you Peter,
That got rid of the error there but it points now to an error on Hal line 25: empty variable name. I don't know how lines are counted no matter how many ways I counted them it did not make sense to me.
I so very much appreciate your help, I have spending days with AI trying to get this figured out to no avail, you forum experts know this stuff!!!!
Grorge
That got rid of the error there but it points now to an error on Hal line 25: empty variable name. I don't know how lines are counted no matter how many ways I counted them it did not make sense to me.
I so very much appreciate your help, I have spending days with AI trying to get this figured out to no avail, you forum experts know this stuff!!!!
Grorge
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 21410
- Thank you received: 7298
16 Mar 2026 02:03 #344338
by tommylight
Replied by tommylight on topic Installing Linuxcnc on new pc Using Debian 12.13 and Linuxcnc 2.9.8 mesa 7i76eu
In your hal file, under the addf it has
setp [HMOY] hm2_7i76e.0.stepgen.timer-number 1
setp [HMOT] hm2_7i76e.0.dpll.01.timer-us -100.
Notice the HMOY should be HMOT
-
Editing config files at random never ever ends good.
setp [HMOY] hm2_7i76e.0.stepgen.timer-number 1
setp [HMOT] hm2_7i76e.0.dpll.01.timer-us -100.
Notice the HMOY should be HMOT
-
Editing config files at random never ever ends good.
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11767
- Thank you received: 3984
16 Mar 2026 02:53 #344340
by rodw
Replied by rodw on topic Installing Linuxcnc on new pc Using Debian 12.13 and Linuxcnc 2.9.8 mesa 7i76eu
If you open the file with geany which is part of the linuxcnc ISO. the editor will show line numbers.thank you Peter,
That got rid of the error there but it points now to an error on Hal line 25: empty variable name. I don't know how lines are counted no matter how many ways I counted them it did not make sense to me.
I so very much appreciate your help, I have spending days with AI trying to get this figured out to no avail, you forum experts know this stuff!!!!
Grorge
Please Log in or Create an account to join the conversation.
- georgio
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 5
16 Mar 2026 14:55 #344357
by georgio
Replied by georgio on topic Installing Linuxcnc on new pc Using Debian 12.13 and Linuxcnc 2.9.8 mesa 7i76eu
Thank you Rod for that information! I am as I said just an newbie and really don't know squat about Linuxcnc, but with your and Peter's assistance I am learning these errors were at the early stages of the configuration so hopefully I will learn more to get me through. Thannks again
George
George
Please Log in or Create an account to join the conversation.
- georgio
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 5
16 Mar 2026 14:59 #344358
by georgio
Replied by georgio on topic Installing Linuxcnc on new pc Using Debian 12.13 and Linuxcnc 2.9.8 mesa 7i76eu
Thanks again Peter for you help! It is soo nice that the Linuxcnc community helps newbies like myself. This help is hopefully getting me to learn more about Linuxcnc so I can figure out how to fix things. I started of trying to use pncconfig and did't understand alot of the terms and settings info so I went to AI for some help and I can see now that it was not really helpful.
Thanks again,
George
Thanks again,
George
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
- georgio
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 5
16 Mar 2026 21:04 #344365
by georgio
Replied by georgio on topic Installing Linuxcnc on new pc Using Debian 12.13 and Linuxcnc 2.9.8 mesa 7i76eu
Well I have made a little headway thanks to your help but now I am stuck again after a few hours of banging my head against my keyboard I am back. I have encountered an error at hal 67 with limit inputs. I have the inputs on TB6 04-9 being first 4 limits xyy2z 8&9 estops. I have commented out any thing to do with the estops and spindle on both ini and hal files to try and get linuxcnc running without errors and then I will work on them. The is pin 04 does not exist and I'm sure I am going to get the same errors for the joints. I have updated my ini and hal files and and added a screen copy of the run of Linuxcnd with the exact error shown and you can see what else is loading.
thanks again,
George
thanks again,
George
Please Log in or Create an account to join the conversation.
- georgio
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 5
16 Mar 2026 21:34 #344369
by georgio
Replied by georgio on topic Installing Linuxcnc on new pc Using Debian 12.13 and Linuxcnc 2.9.8 mesa 7i76eu
Thank you Rod for your help it makes it alot easier to see where the errors are using geany was very helpful and good learning!
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
- georgio
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 5
16 Mar 2026 21:39 #344370
by georgio
Replied by georgio on topic Installing Linuxcnc on new pc Using Debian 12.13 and Linuxcnc 2.9.8 mesa 7i76eu
Hi tommylight, thanks for helping me with that I very much appreciate it and all the knowledge you have. I am just a newbie who is flailing around knowing squat trying to learn linux and linuxcnc; and not killing my brain in the process (my head has a few bruises from bashing it against my keyboard.
Thanks,
George
Thanks,
George
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- LinuxCNC
- Installing LinuxCNC
- Installing Linuxcnc on new pc Using Debian 12.13 and Linuxcnc 2.9.8 mesa 7i76eu
Time to create page: 0.424 seconds