ODroid as raplacement for Raspberry Pi
We've only ever run it via an attached monitor, keyboard and mouse.
I wonder if that is your problem? Maybe there is a config or permissions issue for remote access?
There should be no need to start X as for me it boots into it after setting up users and time zone with an attached monitor and keyboard
Yoiu could try starting with the Armbian Sid XFCE desktop from the weekly rolling releases at the very bottom of this page, then add the custom kernel
www.armbian.com/odroid-n2/
This will give you the same 6.2 kernel and sid also has the linuxcnc packages.
Please Log in or Create an account to join the conversation.
- CarterKraft
- Offline
- Senior Member
- Posts: 46
- Thank you received: 7
I will try it with a monitor tonight, I have the correct cable now, the reason I was running headless in the first place.rodw post=265975 userid=20660Re reading your issue, it seems you are running the N2+ headless.
We've only ever run it via an attached monitor, keyboard and mouse.
I wonder if that is your problem? Maybe there is a config or permissions issue for remote access?
There should be no need to start X as for me it boots into it after setting up users and time zone with an attached monitor and keyboard
Yoiu could try starting with the Armbian Sid XFCE desktop from the weekly rolling releases at the very bottom of this page, then add the custom kernel
www.armbian.com/odroid-n2/
This will give you the same 6.2 kernel and sid also has the linuxcnc packages.
Please Log in or Create an account to join the conversation.
- CarterKraft
- Offline
- Senior Member
- Posts: 46
- Thank you received: 7
It works with a monitor...Re reading your issue, it seems you are running the N2+ headless.
We've only ever run it via an attached monitor, keyboard and mouse.
I wonder if that is your problem? Maybe there is a config or permissions issue for remote access?
There should be no need to start X as for me it boots into it after setting up users and time zone with an attached monitor and keyboard
Yoiu could try starting with the Armbian Sid XFCE desktop from the weekly rolling releases at the very bottom of this page, then add the custom kernel
www.armbian.com/odroid-n2/
This will give you the same 6.2 kernel and sid also has the linuxcnc packages.
Now trying the rest of the steps.
Please Log in or Create an account to join the conversation.
It would be interesting to try the sid image. It might be we left something out when we buit our image....This will give you the same 6.2 kernel and sid also has the linuxcnc packages.
It works with a monitor...
Now trying the rest of the steps.
Please Log in or Create an account to join the conversation.
- CarterKraft
- Offline
- Senior Member
- Posts: 46
- Thank you received: 7
Googling it seems something about "hotswap" config option.
I got linuxcnc installed but got a error and failed to load log.
Before installing the debs from your Gdrive I did the sudo apt update / install deal and then the debs from the drive didn't want to install from the usb because it said a newer version was already installed.
Do I need to make sure those debs get installed?
Please Log in or Create an account to join the conversation.
The debs match our kernel and include the PREEMPT_RT kernel and all the supporting environment (hence multiple debs)
Perhaps start again and just install the debs first thing. Do an apt update afterwards but do not ever do an apt upgrade.
After that, install the Linuxcnc packages. It should work.
Please Log in or Create an account to join the conversation.
I then installed Debian Sid with XFCE from the Armbian community page.
The installation procees also went smoothly. Sid is one kernel version ahead of ours but it downgraded and worked perfectly.
I still have not succeeded getting the image onto an eMMC card.
With a freshly formatted eMMC, I used armbian-image to copy accross. It hung repeatedly, first at 62 % and again at 5%. It makes me think my eMMC card has a bit of damage.
It seems that the N2/N2++ is no longer offically supported as the premade images have been removed. But thay are no good for us anyway.
Latency ovenight with youtube and a few gears running was 130k. That is acceptible in my book. Video performance with youtube is abysmal which makes me think Armbian may not have the video drivers for the N2+ installed.
Please Log in or Create an account to join the conversation.
- CarterKraft
- Offline
- Senior Member
- Posts: 46
- Thank you received: 7
kernel version 6.2.0-rt3-meson64
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.0~pre1+git20230208.f1270d6ed7
Machine configuration directory is '/home/ckcplasmaodroid/linuxcnc/configs/sim.qtplasmac'
Machine configuration file is 'qtplasmac_l_imperial.ini.expanded'
INIFILE=/home/ckcplasmaodroid/linuxcnc/configs/sim.qtplasmac/qtplasmac_l_imperial.ini.expanded
VERSION=1.1
PARAMETER_FILE=imperial_parameters.txt
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY=qtvcp qtplasmac
COORDINATES=XYYZ
KINEMATICS=trivkins coordinates=xyyz
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
twopass:invoked with <> options
twopass:found ./sim_no_stepgen.tcl
twopass:found /usr/share/linuxcnc/hallib/qtplasmac_comp.hal
twopass:found ./custom.hal
Starting TASK program: milltask
Starting DISPLAY program: qtvcp
Shutting down and cleaning up LinuxCNC...
task: 45 cycles, min=0.000016, max=0.010155, avg=0.004249, 0 latency excursions (> 10x expected cycle time of 0.010000s)
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug file information:
Can not find -sec DISPLAY -var INTRO_GRAPHIC -num 1
Can not find -sec DISPLAY -var INTRO_TIME -num 1
Traceback (most recent call last):
File "/usr/bin/qtvcp", line 12, in <module>
from PyQt5 import QtWidgets, QtCore, QtGui
ModuleNotFoundError: No module named 'PyQt5'
17346
17376
Stopping realtime threads
Unloading hal components
Note: Using POSIX non-realtime
Please Log in or Create an account to join the conversation.
- CarterKraft
- Offline
- Senior Member
- Posts: 46
- Thank you received: 7
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.0~pre1+git20230208.f1270d6ed7
Machine configuration directory is '/home/ckcplasmaodroid/linuxcnc/configs/sim.qtplasmac'
Machine configuration file is 'qtplasmac_l_imperial.ini.expanded'
INIFILE=/home/ckcplasmaodroid/linuxcnc/configs/sim.qtplasmac/qtplasmac_l_imperial.ini.expanded
VERSION=1.1
PARAMETER_FILE=imperial_parameters.txt
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY=qtvcp qtplasmac
COORDINATES=XYYZ
KINEMATICS=trivkins coordinates=xyyz
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
twopass:invoked with <> options
twopass:found ./sim_no_stepgen.tcl
twopass:found /usr/share/linuxcnc/hallib/qtplasmac_comp.hal
twopass:found ./custom.hal
Starting TASK program: milltask
Starting DISPLAY program: qtvcp
Qtvcp Error with loading webView - is python3-pyqt5.qtwebengine installed?
Shutting down and cleaning up LinuxCNC...
task: 1784 cycles, min=0.000009, max=0.010452, avg=0.009921, 0 latency excursions (> 10x expected cycle time of 0.010000s)
identityKinematicsSetup: coordinates:xyyz
Joint 0 ==> Axis X
Joint 1 ==> Axis Y
Joint 2 ==> Axis Y
Joint 3 ==> Axis Z
identityKinematicsSetup: Recommend: kinstype=both
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug file information:
Can not find -sec DISPLAY -var INTRO_GRAPHIC -num 1
Can not find -sec DISPLAY -var INTRO_TIME -num 1
Note: Using POSIX realtime
[QTvcp.QTVCP.WIDGETS.MACRO_WIDGET][[41mCRITICAL[0m] Qtvcp error with macro_widget - is package python3-pyqt5.qtsvg installed? (macro_widget.py:45)
[QTvcp][[41mCRITICAL[0m] Aborted from Error Dialog
Qtvcp encountered an error. The following information may be useful in troubleshooting:
LinuxCNC Version : 2.9.0~pre1+git20230208.f1270d6ed7
Traceback (most recent call last):
File "/usr/bin/qtvcp", line 508, in <module>
_qtvcp = QTVCP()
^^^^^^^
File "/usr/bin/qtvcp", line 117, in __init__
from qtvcp import qt_makepins, qt_makegui
File "/usr/lib/python3/dist-packages/qtvcp/qt_makepins.py", line 22, in <module>
from qtvcp.widgets.screen_options import ScreenOptions
File "/usr/lib/python3/dist-packages/qtvcp/widgets/screen_options.py", line 24, in <module>
from qtvcp.lib.message import Message
File "/usr/lib/python3/dist-packages/qtvcp/lib/message.py", line 5, in <module>
from qtvcp.widgets.dialog_widget import LcncDialog
File "/usr/lib/python3/dist-packages/qtvcp/widgets/dialog_widget.py", line 32, in <module>
from qtvcp.widgets.macro_widget import MacroTab
File "/usr/lib/python3/dist-packages/qtvcp/widgets/macro_widget.py", line 87, in <module>
class CustomSVG(QtSvg.QSvgWidget):
^^^^^
NameError: name 'QtSvg' is not defined
(qtvcp:464)
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/bin/qtvcp", line 465, in excepthook
self.shutdown()
File "/usr/bin/qtvcp", line 428, in shutdown
HAL.exit()
^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'exit'
Original exception was:
Traceback (most recent call last):
File "/usr/bin/qtvcp", line 508, in <module>
_qtvcp = QTVCP()
^^^^^^^
File "/usr/bin/qtvcp", line 117, in __init__
from qtvcp import qt_makepins, qt_makegui
File "/usr/lib/python3/dist-packages/qtvcp/qt_makepins.py", line 22, in <module>
from qtvcp.widgets.screen_options import ScreenOptions
File "/usr/lib/python3/dist-packages/qtvcp/widgets/screen_options.py", line 24, in <module>
from qtvcp.lib.message import Message
File "/usr/lib/python3/dist-packages/qtvcp/lib/message.py", line 5, in <module>
from qtvcp.widgets.dialog_widget import LcncDialog
File "/usr/lib/python3/dist-packages/qtvcp/widgets/dialog_widget.py", line 32, in <module>
from qtvcp.widgets.macro_widget import MacroTab
File "/usr/lib/python3/dist-packages/qtvcp/widgets/macro_widget.py", line 87, in <module>
class CustomSVG(QtSvg.QSvgWidget):
^^^^^
NameError: name 'QtSvg' is not defined
5697
5728
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
Please Log in or Create an account to join the conversation.
What does uname -v say? needs to say PREEMPT_RT.
Also in the plasmac docs it refers to a script for QTVCP dependencies.. Run it and it should come up when you sort out the kernel
Please Log in or Create an account to join the conversation.