linuxcnc /home/cnc/linuxcnc/configs/BF20/BF20VFD.ini
Строка взята из ярлыка на рабочем столе.
Перезагружаюсь - станок включается на несколько секунд, то есть LCNC запустился и пошла импульсная последовательность на "charge pump", потом выключается. На экране при этом ничего не отображается.
Пробую по другому: Система - Параметры - Запускаемые приложения - вставляю пункт с такой же строкой. Имею:
- при загрузке несколько раз подряд выбрасывает табличку LinuxCNC is still running (строку в rc.local я убрать не забыл )
а потом - отчет об ошибке
Код: Выделить всё
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.32-122-rtai/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
LINUXCNC - 2.5.3
Machine configuration directory is '/home/cnc/linuxcnc/configs/BF20'
Machine configuration file is 'BF20VFD.ini'
INIFILE=/home/cnc/linuxcnc/configs/BF20/BF20VFD.ini
PARAMETER_FILE=linuxcnc.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
INFO CLASSICLADDER- No ladder GUI requested-Realtime runs till HAL closes.
ERROR Can't open the device /dev/ttyUSB0 (errno 22)
spindle-vfd: ERROR: couldn't open serial device
Shutting down and cleaning up LinuxCNC...
Killing task linuxcncsvr, PID=1317
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
open: Device or resource busy
customVFD.hal:6: n700e_vfd exited without becoming ready
1317
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Traceback (most recent call last):
File "/usr/bin/hal_manualtoolchange", line 57, in <module>
nf.start(app); nf.makecommand(app, "_", _)
File "/usr/lib/pymodules/python2.6/nf.py", line 126, in start
r.tk.call("package", "require", "BWidget", "1.7")
KeyboardInterrupt
Kernel message information:
[ 21.781306] I-pipe: Domain RTAI registered.
[ 21.781318] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 21.781320] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 21.781364] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 21.781366] PIPELINE layers:
[ 21.781370] f090de20 9ac15d93 RTAI 200
[ 21.781372] c085cb20 0 Linux 100
[ 22.001599] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 22.072168] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 22.072176] RTAI[sched]: hard timer type/freq = APIC/12499958(Hz); default timing: periodic; linear timed lists.
[ 22.072180] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2399600000 hz.
[ 22.072183] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 22.072800] RTAI[usi]: enabled.
[ 22.371682] RTAI[math]: loaded.
[ 23.167350] config string '0x378 out'
[ 23.230016] classicladder_rt: module license 'LGPL' taints kernel.
[ 23.230023] Disabling lock debugging due to kernel taint
[ 23.233140] creating ladder-state
[ 26.492083] RTAI[math]: unloaded.
[ 26.572104] SCHED releases registered named ALIEN RTGLBH
[ 26.604316] RTAI[malloc]: unloaded.
[ 26.704030] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 26.708602] I-pipe: Domain RTAI unregistered.
[ 26.708654] RTAI[hal]: unmounted.
На этом мои познания иссякли