So I'm quite new to all this and was trying to run linuxcnc on a Pi5, and I was trying to see if I can at least get a stepper spinning using the gpio pins.
I ran through the stepconf wizard and then replaced the content in the .hal file with the
demo hal file
.
Linuxcnc failed to start with the following message
Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.2
Machine configuration directory is '/home/cnc/linuxcnc/configs/actuator_v0'
Machine configuration file is 'actuator_v0.ini'
INIFILE=/home/cnc/linuxcnc/configs/actuator_v0/actuator_v0.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=X Y Z A
KINEMATICS=trivkins coordinates=XYZA
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./actuator_v0.hal
Shutting down and cleaning up LinuxCNC...
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug file information:
Note: Using POSIX realtime
motmod: dlopen: /usr/lib/linuxcnc/modules/motmod.so: undefined symbol: kinematicsSwitch
./actuator_v0.hal:2: waitpid failed /usr/bin/rtapi_app motmod
./actuator_v0.hal:2: /usr/bin/rtapi_app exited without becoming ready
./actuator_v0.hal:2: insmod for motmod failed, returned -1
3107
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
what should I do to fix this?
here's the hal and ini file used