Hi all, I took this setup off the shelf yesterday to demonstrate to a friend how simple a small LinuxCNC system can be: Pi4+MESA 7i92H, two breakout boards, power supplies, Logitech keyboard and mouse and touch screen. Plugged in the cables, powered it up and this time if failed where before it always worked. As in it was running when I shut it down, disconnected the cables and put it on the shelf. Here is the line that causes the problem: setp hm2_7i92.0.gpio.000.is_output true net machine-is-enabled => hm2_7i92.0.gpio.000.out
BTW, I have that exact same line in my PC based system running a real machine. Something else must be doing this but what? Here's the log with error message: Error report created by /usr/lib/tcltk/linuxcnc/show_errors.tcl: 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.8.4 Machine configuration directory is '/home/pi/linuxcnc/configs/G3616-Pi4' Machine configuration file is 'G3616-Pi4.ini' INIFILE=/home/pi/linuxcnc/configs/G3616-Pi4/G3616-Pi4.ini VERSION=1.1 PARAMETER_FILE=linuxcnc.var TASK=milltask HALUI=halui DISPLAY=axis COORDINATES=XYZA 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 Found file(REL): ./G3616-Pi4.hal Shutting down and cleaning up LinuxCNC... Running HAL shutdown script hm2: loading Mesa HostMot2 driver version 0.15 hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2 hm2_eth: 192.168.1.121: INFO: Hardware address (MAC): 00:60:1b:12:07:93 hm2_eth: discovered 7I92 hm2/hm2_7i92.0: Low Level init 0.15 hm2/hm2_7i92.0: 34 I/O Pins used: hm2/hm2_7i92.0: IO Pin 000 (P2-01): StepGen #4, pin Step (Output) hm2/hm2_7i92.0: IO Pin 001 (P2-14): IOPort hm2/hm2_7i92.0: IO Pin 002 (P2-02): StepGen #0, pin Direction (Output) hm2/hm2_7i92.0: IO Pin 003 (P2-15): IOPort hm2/hm2_7i92.0: IO Pin 004 (P2-03): StepGen #0, pin Step (Output) hm2/hm2_7i92.0: IO Pin 005 (P2-16): IOPort hm2/hm2_7i92.0: IO Pin 006 (P2-04): StepGen #1, pin Direction (Output) hm2/hm2_7i92.0: IO Pin 007 (P2-17): PWMGen #0, pin Out0 (PWM or Up) (Output) hm2/hm2_7i92.0: IO Pin 008 (P2-05): StepGen #1, pin Step (Output) hm2/hm2_7i92.0: IO Pin 009 (P2-06): StepGen #2, pin Direction (Output) hm2/hm2_7i92.0: IO Pin 010 (P2-07): StepGen #2, pin Step (Output) hm2/hm2_7i92.0: IO Pin 011 (P2-08): StepGen #3, pin Direction (Output) hm2/hm2_7i92.0: IO Pin 012 (P2-09): StepGen #3, pin Step (Output) hm2/hm2_7i92.0: IO Pin 013 (P2-10): IOPort hm2/hm2_7i92.0: IO Pin 014 (P2-11): IOPort hm2/hm2_7i92.0: IO Pin 015 (P2-12): IOPort hm2/hm2_7i92.0: IO Pin 016 (P2-13): IOPort hm2/hm2_7i92.0: IO Pin 017 (P1-01): IOPort hm2/hm2_7i92.0: IO Pin 018 (P1-14): IOPort hm2/hm2_7i92.0: IO Pin 019 (P1-02): StepGen #5, pin Direction (Output) hm2/hm2_7i92.0: IO Pin 020 (P1-15): IOPort hm2/hm2_7i92.0: IO Pin 021 (P1-03): StepGen #5, pin Step (Output) hm2/hm2_7i92.0: IO Pin 022 (P1-16): IOPort hm2/hm2_7i92.0: IO Pin 023 (P1-04): IOPort hm2/hm2_7i92.0: IO Pin 024 (P1-17): IOPort hm2/hm2_7i92.0: IO Pin 025 (P1-05): IOPort hm2/hm2_7i92.0: IO Pin 026 (P1-06): IOPort hm2/hm2_7i92.0: IO Pin 027 (P1-07): IOPort hm2/hm2_7i92.0: IO Pin 028 (P1-08): IOPort hm2/hm2_7i92.0: IO Pin 029 (P1-09): IOPort hm2/hm2_7i92.0: IO Pin 030 (P1-10): IOPort hm2/hm2_7i92.0: IO Pin 031 (P1-11): IOPort hm2/hm2_7i92.0: IO Pin 032 (P1-12): IOPort hm2/hm2_7i92.0: IO Pin 033 (P1-13): IOPort hm2/hm2_7i92.0: registered hm2_eth: in hm2_eth_reset hm2_eth: HostMot2 ethernet driver unloaded hm2: unloading Removing HAL_LIB, RTAPI, and Real Time OS modules Removing NML shared memory segments Debug file information: Note: Using POSIX realtime ./G3616-Pi4.hal:98: parameter or pin 'hm2_7i92.0.gpio.000.is_output' not found 19765 Stopping realtime threads Unloading hal components Note: Using POSIX realtime
_______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
