cwebs wrote:BigJohnT wrote:In your main ini file uncomment the last line by removing the # in front of loadusr.
Test run that.
John
This line is not in the .ini. It is in the .hal
Removed the comment and no change. Program runs and pin 16-out works the relay. Joypad dead.
This removel of comments kills Linuxcnc with error reports
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/realtime-2.6.24-16-rtai/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.4
LINUXCNC - 2.5.0-62-g2e08696
Machine configuration directory is '/home/carl/linuxcnc/configs/Carl_CNC'
Machine configuration file is 'carl.ini'
INIFILE=/home/carl/linuxcnc/configs/Carl_CNC/carl.ini
PARAMETER_FILE=carl.var
TASK=milltask
HALUI=halui
DISPLAY=axis
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
Starting TASK program: milltask
Starting DISPLAY program: axis
Shutting down and cleaning up LinuxCNC...
Killing task linuxcncsvr, PID=5589
Killing task milltask, PID=5723
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done
Debug file information:
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
Can not find -sec LINUXCNC -var NML_FILE -num 1
Can not find -sec EMC -var NML_FILE -num 1
do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly.
Try running with LIBGL_THROTTLE_REFRESH and LIBL_SYNC_REFRESH unset.
Could not open command file 'postgui.hal'
5589
PID TTY STAT TIME COMMAND
5723
PID TTY STAT TIME COMMAND
5723 ? Z 0:00 [milltask] <defunct>
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernel message information:
[ 922.262281] I-pipe: Domain RTAI registered.
[ 922.262294] RTAI[hal]: <3.6.1> mounted over IPIPE-NOTHREADS 2.0-04.
[ 922.262297] RTAI[hal]: compiled with gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3).
[ 922.262302] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 922.262305] PIPELINE layers:
[ 922.262307] dcce5000 9ac15d93 RTAI 200
[ 922.262309] c0383180 0 Linux 100
[ 922.275775] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 922.276382] RTAI[sched]: loaded (IMMEDIATE, UP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 922.276388] RTAI[sched]: hard timer type/freq = 8254-PIT/1193180(Hz); default timing: periodic; linear timed lists.
[ 922.276418] RTAI[sched]: Linux timer freq = 250 (Hz), CPU freq = 2165053000 hz.
[ 922.276421] RTAI[sched]: timer setup = 2010 ns, resched latency = 2689 ns.
[ 922.351715] RTAI[math]: loaded.
[ 922.487512] config string '0x378 out '
[ 925.903226] RTAI[math]: unloaded.
[ 925.961431] SCHED releases registered named ALIEN RTGLBH
[ 925.976219] RTAI[malloc]: unloaded.
[ 926.075717] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 926.077642] I-pipe: Domain RTAI unregistered.
[ 926.077650] RTAI[hal]: unmounted.