LinuxCNC on Raspberry Pi 5

More
21 Feb 2024 01:40 #293880 by tommylight
You are welcomed, always.

Please Log in or Create an account to join the conversation.

More
21 Feb 2024 19:28 #293920 by flyingbrick
yeah my pimeroni hat is on the bottom. its great.
The following user(s) said Thank You: ProcksMFG

Please Log in or Create an account to join the conversation.

More
24 Feb 2024 10:36 - 24 Feb 2024 13:12 #294184 by Joha
Replied by Joha on topic LinuxCNC on Raspberry Pi 5
Anyone getting errors when using QtPlasmac on the image ( RPI5 image) linked to earlier in this thread?

I have tested to run Linux CNC with one of the "Sim" configs and then it starts, but when i run the wizard and selecting the QtPlasmac GUI then i receive this error when starting linuxCNC based on the config i created during the pncconf wizard:

"[QTvcp.QTVCP.LIB.SYS_NOTIFY][[33mWARNING[0m]  Desktop Notify not available:: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files (sys_notify.py:71)"


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.10.0~pre0
Machine configuration directory is '/home/admin/linuxcnc/configs/my_LinuxCNC_machine'
Machine configuration file is 'my_LinuxCNC_machine.ini'
INIFILE=/home/admin/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY=qtvcp qtplasmac
COORDINATES=XYYZ
KINEMATICS=trivkins coordinates=XYYZ
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
linuxcncsvr (6484) emcsvr: machine 'my_LinuxCNC_machine'  version '1.1'
Loading Real Time OS, RTAPI, and HAL_LIB modules
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Starting TASK program: milltask
milltask (6498) task: machine 'my_LinuxCNC_machine'  version '1.1'
Starting HAL User Interface program: halui
halui (6500) halui: machine 'my_LinuxCNC_machine'  version '1.1'
Found file(REL): ./my_LinuxCNC_machine.hal
Found file(lib): /usr/share/linuxcnc/hallib/qtplasmac_comp.hal
Found file(REL): ./custom.hal
USRMOT: ERROR: command 30 timeout
emcMotionInit: emcTrajInit failed
Starting DISPLAY program: qtvcp
task: main loop took 0.103235 seconds
command (EMC_TASK_PLAN_EXECUTE) cannot be executed until the machine is out of E-stop and turned on
task: main loop took 0.754576 seconds
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
task: 0 cycles, min=0.000013, max=0.754576, avg=-1.000000, 2 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

hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 10.10.10.10: INFO: Hardware address (MAC): 00:60:1b:16:02:7a
hm2_eth: discovered 7I96
hm2/hm2_7i96.0: Low Level init 0.15
hm2/hm2_7i96.0: Smart Serial Firmware Version 43
hm2/hm2_7i96.0: 51 I/O Pins used:
hm2/hm2_7i96.0:     IO Pin 000 (TB3-01): IOPort
hm2/hm2_7i96.0:     IO Pin 001 (TB3-02): IOPort
hm2/hm2_7i96.0:     IO Pin 002 (TB3-03): IOPort
hm2/hm2_7i96.0:     IO Pin 003 (TB3-04): IOPort
hm2/hm2_7i96.0:     IO Pin 004 (TB3-05): IOPort
hm2/hm2_7i96.0:     IO Pin 005 (TB3-06): IOPort
hm2/hm2_7i96.0:     IO Pin 006 (TB3-07): IOPort
hm2/hm2_7i96.0:     IO Pin 007 (TB3-08): IOPort
hm2/hm2_7i96.0:     IO Pin 008 (TB3-09): IOPort
hm2/hm2_7i96.0:     IO Pin 009 (TB3-10): IOPort
hm2/hm2_7i96.0:     IO Pin 010 (TB3-11): IOPort
hm2/hm2_7i96.0:     IO Pin 011 (TB3-13/TB3-14): SSR #0, pin Out-00 (Output)
hm2/hm2_7i96.0:     IO Pin 012 (TB3-15/TB3-16): SSR #0, pin Out-01 (Output)
hm2/hm2_7i96.0:     IO Pin 013 (TB3-17/TB3-18): SSR #0, pin Out-02 (Output)
hm2/hm2_7i96.0:     IO Pin 014 (TB3-19/TB3-20): SSR #0, pin Out-03 (Output)
hm2/hm2_7i96.0:     IO Pin 015 (TB3-21/TB3-22): SSR #0, pin Out-04 (Output)
hm2/hm2_7i96.0:     IO Pin 016 (TB3-23/TB3-24): SSR #0, pin Out-05 (Output)
hm2/hm2_7i96.0:     IO Pin 017 (TB1-02/TB1-03): StepGen #0, pin Step (Output)
hm2/hm2_7i96.0:     IO Pin 018 (TB1-04/TB1-05): StepGen #0, pin Direction (Output)
hm2/hm2_7i96.0:     IO Pin 019 (TB1-08/TB1-09): StepGen #1, pin Step (Output)
hm2/hm2_7i96.0:     IO Pin 020 (TB1-10/TB1-11): StepGen #1, pin Direction (Output)
hm2/hm2_7i96.0:     IO Pin 021 (TB1-14/TB1-15): StepGen #2, pin Step (Output)
hm2/hm2_7i96.0:     IO Pin 022 (TB1-16/TB1-17): StepGen #2, pin Direction (Output)
hm2/hm2_7i96.0:     IO Pin 023 (TB1-20/TB1-21): StepGen #3, pin Step (Output)
hm2/hm2_7i96.0:     IO Pin 024 (TB1-22-TB1-23): StepGen #3, pin Direction (Output)
hm2/hm2_7i96.0:     IO Pin 025 (TB2-02/TB2-03): StepGen #4, pin Step (Output)
hm2/hm2_7i96.0:     IO Pin 026 (TB2-04/TB2-05): StepGen #4, pin Direction (Output)
hm2/hm2_7i96.0:     IO Pin 027 (TB2-07/TB2-08): Encoder #0, pin A (Input)
hm2/hm2_7i96.0:     IO Pin 028 (TB2-10/TB2-11): Encoder #0, pin B (Input)
hm2/hm2_7i96.0:     IO Pin 029 (TB2-13/TB2-14): Encoder #0, pin Index (Input)
hm2/hm2_7i96.0:     IO Pin 030 (TB2-16/TB2-17): IOPort
hm2/hm2_7i96.0:     IO Pin 031 (TB2-18/TB2-19): IOPort
hm2/hm2_7i96.0:     IO Pin 032 (internal): IOPort
hm2/hm2_7i96.0:     IO Pin 033 (internal): SSR #0, pin AC Ref (internal) (Output)
hm2/hm2_7i96.0:     IO Pin 034 (P1-01/DB25-01): IOPort
hm2/hm2_7i96.0:     IO Pin 035 (P1-02/DB25-14): IOPort
hm2/hm2_7i96.0:     IO Pin 036 (P1-03/DB25-02): IOPort
hm2/hm2_7i96.0:     IO Pin 037 (P1-04/DB25-15): IOPort
hm2/hm2_7i96.0:     IO Pin 038 (P1-05/DB25-03): IOPort
hm2/hm2_7i96.0:     IO Pin 039 (P1-06/DB25-16): IOPort
hm2/hm2_7i96.0:     IO Pin 040 (P1-07/DB25-04): IOPort
hm2/hm2_7i96.0:     IO Pin 041 (P1-08/DB25-17): IOPort
hm2/hm2_7i96.0:     IO Pin 042 (P1-09/DB25-05): IOPort
hm2/hm2_7i96.0:     IO Pin 043 (P1-11/DB25-06): IOPort
hm2/hm2_7i96.0:     IO Pin 044 (P1-13/DB25-07): IOPort
hm2/hm2_7i96.0:     IO Pin 045 (P1-15/DB25-08): IOPort
hm2/hm2_7i96.0:     IO Pin 046 (P1-17/DB25-09): IOPort
hm2/hm2_7i96.0:     IO Pin 047 (P1-19/DB25-10): IOPort
hm2/hm2_7i96.0:     IO Pin 048 (P1-21/DB25-11): IOPort
hm2/hm2_7i96.0:     IO Pin 049 (P1-23/DB25-12): IOPort
hm2/hm2_7i96.0:     IO Pin 050 (P1-25/DB25-13): IOPort
hm2/hm2_7i96.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
[QTvcp.QTVCP.LIB.SYS_NOTIFY][[33mWARNING[0m]  Desktop Notify not available:: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files (sys_notify.py:71)
[QTvcp.QTVCP.LIB.AUDIO_PLAYER][[33mWARNING[0m]  audio alerts - Is python3-gst1.0 installed? (audio_player.py:37)
[7550:1:0224/111931.818897:FATAL:page_allocator_internals_posix.h(169)] Check failed: . : Invalid argument (22)
/usr/bin/linuxcnc: line 968:  7417 Segmentation fault      $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
6488
6498
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime




Info report created by linuxcnc_info:
The file:    /tmp/linuxcnc_info.txt
can be posted to a forum or a web site like:
     pastebin.com
in order to provide information about the linuxcnc
system and configuration.

                Date: Sat 24 Feb 11:20:03 CET 2024
            UTC Date: Sat 24 Feb 10:20:03 UTC 2024
        this program: /usr/bin/linuxcnc_info
              uptime: 11:20:03 up 35 min, 1 user, load average: 11.61, 10.04, 5.41
     lsb_release -sa: Debian Debian GNU/Linux 12 (bookworm) 12 bookworm
            linuxcnc: /usr/bin/linuxcnc
                 pwd: /home/admin/linuxcnc/configs/my_LinuxCNC_machine
                USER: admin
             LOGNAME: admin
                HOME: /home/admin
              EDITOR: 
              VISUAL: 
            LANGUAGE: 
                TERM: dumb
           COLORTERM: 
             DISPLAY: :1
             DESKTOP: LXDE-pi-wayfire
/usr/bin/linuxcnc_info: line 133: xdpyinfo: command not found
        display size: 
                PATH: /usr/bin:/home/admin/linuxcnc/configs/my_LinuxCNC_machine/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games

uname items:
         nodename -n: pilinuxcnc
      kernel-name -s: Linux
      kernel-vers -v: #1 SMP PREEMPT_RT Thu Dec 7 13:43:31 CET 2023
          machine -m: aarch64
        processor -p: unknown
         platform -i: unknown
      oper system -o: GNU/Linux

/proc items:
             cmdline: coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 smsc95xx.macaddr=2C:CF:67:01:28:6E vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000 console=ttyAMA10,115200 console=tty1 root=PARTUUID=a8df8bc3-02 rootfstype=ext4 fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles isolcpus=2,3 max.processor.cstate=1 cfg80211.ieee80211_regdom=SE
          model name: 
               cores: 
             cpu MHz: 
             parport: 
              serial: 

Versions:
                 gcc: gcc (Debian 12.2.0-14) 12.2.0
              python: Python 3.11.2
                 git: git version 2.39.2
          git commit: NA
                 tcl: 8.6
                  tk: 8.6
               glade: not_in_PATH

linuxcnc_var all:

     LINUXCNCVERSION: 2.10.0~pre0
LINUXCNC_AUX_GLADEVCP: /usr/share/linuxcnc/aux_gladevcp
LINUXCNC_AUX_EXAMPLES: /usr/share/linuxcnc/aux_examples
            REALTIME: /usr/lib/linuxcnc/realtime
                 RTS: uspace
          HALLIB_DIR: /usr/share/linuxcnc/hallib
              PYTHON: /usr/bin/python3

dpkg -l '*linuxcnc*':
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                Version       Architecture Description
+++-===================-=============-============-==============================================
un  linuxcnc            <none>        <none>       (no description available)
un  linuxcnc-dev        <none>        <none>       (no description available)
un  linuxcnc-doc        <none>        <none>       (no description available)
un  linuxcnc-doc-en     <none>        <none>       (no description available)
un  linuxcnc-doc-es     <none>        <none>       (no description available)
un  linuxcnc-doc-fr     <none>        <none>       (no description available)
un  linuxcnc-sim        <none>        <none>       (no description available)
un  linuxcnc-sim-dev    <none>        <none>       (no description available)
ii  linuxcnc-uspace     1:2.10.0~pre0 arm64        motion controller for CNC machines and robots
ii  linuxcnc-uspace-dev 1:2.10.0~pre0 arm64        PC based motion controller for real-time Linux
 
Last edit: 24 Feb 2024 13:12 by Joha.

Please Log in or Create an account to join the conversation.

More
24 Feb 2024 16:52 #294224 by cakeslob
Replied by cakeslob on topic LinuxCNC on Raspberry Pi 5
joha , install notification-daemon?

Please Log in or Create an account to join the conversation.

More
24 Feb 2024 18:28 #294229 by Joha
Replied by Joha on topic LinuxCNC on Raspberry Pi 5
sudo apt install notification-daemon still produces the same error message after installation.

Is any configuration of the notification-daemon needed or should a installation be enough?

What I see is the linuxcnc startup logo and then the same error message is received. Same as before.

Please Log in or Create an account to join the conversation.

More
27 Feb 2024 00:52 #294565 by cakeslob
Replied by cakeslob on topic LinuxCNC on Raspberry Pi 5
you probably need to run the daemon before qt, its probably in start menu

Please Log in or Create an account to join the conversation.

More
27 Feb 2024 09:23 #294584 by rodw
Replied by rodw on topic LinuxCNC on Raspberry Pi 5
There is a script mentioned on tthe qtplasmac docs page for installing QT. Maybe find it and give it a try

Please Log in or Create an account to join the conversation.

More
04 Mar 2024 10:20 #295121 by Krister
Replied by Krister on topic LinuxCNC on Raspberry Pi 5
HI i am trying to use rapberry pi 5 and Linuxcnc and i made sucsess with my instalation of 3 axis mill config but when I make a new setup for my lathe I get this mesege . 
Debug file information:
Note: Using POSIX realtime
4652
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
Can anyone point me in the right direction so I can try to solve this
Regards Krister

 

Please Log in or Create an account to join the conversation.

More
04 Mar 2024 11:05 #295124 by cornholio
Provide more information, typically the whole debug message. As there is very very little information there.

Please Log in or Create an account to join the conversation.

More
05 Mar 2024 10:16 #295209 by Krister
Replied by Krister on topic LinuxCNC on Raspberry Pi 5
Hi here are the whole error file

 

Please Log in or Create an account to join the conversation.

Time to create page: 0.201 seconds
Powered by Kunena Forum