Advanced Search

Search Results (Searched for: )

  • unknown
  • unknown
20 Sep 2025 22:15
Replied by unknown on topic Update LinuxCNC 2.9.5 on debian 13

Update LinuxCNC 2.9.5 on debian 13

Category: Installing LinuxCNC

One thing I would check is the kernel command line options, did your previous install have any isolated cores ?
Unless the grub config files have not been modified manual editing is required for any extra options.
If the above is not the issue the Debian supplied kernel may require an in depth look at the config.

Or I maybe just barking up the wrong tree and be completely wrong, my apologies if that is the case.
  • PCW
  • PCW's Avatar
20 Sep 2025 21:29
Replied by PCW on topic Update LinuxCNC 2.9.5 on debian 13

Update LinuxCNC 2.9.5 on debian 13

Category: Installing LinuxCNC

Looks like the latency is worse than Debian 12 (if Debian 12 was working)

What does:

sudo chrt 99 ping -i .001 -c 60000 -q [card_ip_address]

report ?

Where [card_ip_address] is the ip address of the 7I76E

(the command will run for 1 minute and then print statistics)
  • Hakan
  • Hakan
20 Sep 2025 21:26
Replied by Hakan on topic Sync Problem LinuxCNC + EL8EC400F

Sync Problem LinuxCNC + EL8EC400F

Category: EtherCAT

Can you test with a negative value for refClockSyncCycles, like refClockSyncCycles="-10"
  • JT
  • JT's Avatar
20 Sep 2025 21:14
Replied by JT on topic FlexGui -Touch off

FlexGui -Touch off

Category: Flex GUI

It seems i am attracting 'touch off' troubles. Still working on my UI. After run from terminal,homing,loading a g-code file and then press touch off button (touchoff_selected_pb) , linuxcnc shuts down with an error. At least there is some info printed in the terminal. This is from the flex_examples axis:

Warning: Spoiler!



 

By run from terminal do you mean you launched flexgui from a terminal or linuxcnc?

FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/home/miller/linuxcnc/configs/flex_examples/touchoff.ui'

That is an installed file not one that is in the configs directory so it makes me think your not running flex from linuxcnc.

JT
  • anli
  • anli's Avatar
20 Sep 2025 20:47
Replied by anli on topic Update LinuxCNC 2.9.5 on debian 13

Update LinuxCNC 2.9.5 on debian 13

Category: Installing LinuxCNC

Yes, I used that thread to do the upgrade. I reinstalled linuxcnc once again, which seems to have fixed the first issue, but now I run into the next one, please see the attachment.
  • PCW
  • PCW's Avatar
20 Sep 2025 20:33

Mesa hm2/hm2_7i96: error finishing read - Dell 3050 Realtek NIC r8168

Category: Installing LinuxCNC

r8169 is the name of the standard (and bad) in-kernel driver

It appears your r8168- dkms driver install failed somehow.

 
  • juergen-home
  • juergen-home
20 Sep 2025 19:58
Replied by juergen-home on topic mux16 is not working for me

mux16 is not working for me

Category: HAL

Thank you for your fast reply  Now it's working.

setp mux_encoder.in00 0        # Increment
...
setp mux_encoder.in12 12    # Jog

net mux-set-increment halui.axis.x.increment mux_encoder.out-f  <-- and I've forgotten the -f .
 
  • Hakan
  • Hakan
20 Sep 2025 19:41
Replied by Hakan on topic mux16 is not working for me

mux16 is not working for me

Category: HAL

Try in00, in01 and so on.
  • juergen-home
  • juergen-home
20 Sep 2025 19:23
mux16 is not working for me was created by juergen-home

mux16 is not working for me

Category: HAL

I'm struggling with mux16, I wanted to implement an decoder for a gamepad.
I although I changed this example code for easy reading and running.

If I use mux8 it is running, if I use mux16 it's not and give me the error: "./mux16.hal:11: parameter or pin 'mux_encoder.in0' not found" . Something there I missed?

mux8
# -----
# selection of incremental values
# -----

loadrt mux8 names=mux_encoder # for  incremental steps
addf mux_encoder servo-thread # add these to the servo-thread so it can be used

net demo_input joint.0.homed

# Set the incremental step values for the mux4 component
setp mux_encoder.in0 0        # Increment
setp mux_encoder.in1 1        # Increment
setp mux_encoder.in2 2        # Increment 
setp mux_encoder.in3 3        # Increment
setp mux_encoder.in4 4        # Increment 
setp mux_encoder.in5 5        # Increment 
setp mux_encoder.in6 6        # Jog
setp mux_encoder.in7 7        # Jog
#setp mux_encoder.in8 8        # Jog
#setp mux_encoder.in9 9        # Jog
#setp mux_encoder.in10 10    # Jog
#setp mux_encoder.in11 11    # Jog
#setp mux_encoder.in12 12    # Jog

net mux-set-increment halui.axis.x.increment mux_encoder.out

# connect the buttons with the multiplexer
net demo_input mux_encoder.sel0
net demo_input mux_encoder.sel1
net demo_input mux_encoder.sel2
#net demo_input mux_encoder.sel3
# -----

mux16
# -----
# selection of incremental values
# -----

loadrt mux16 names=mux_encoder # for  incremental steps
addf mux_encoder servo-thread # add these to the servo-thread so it can be used

net demo_input joint.0.homed

# Set the incremental step values for the mux4 component
setp mux_encoder.in0 0        # Increment
setp mux_encoder.in1 1        # Increment
setp mux_encoder.in2 2        # Increment 
setp mux_encoder.in3 3        # Increment
setp mux_encoder.in4 4        # Increment 
setp mux_encoder.in5 5        # Increment 
setp mux_encoder.in6 6        # Jog
setp mux_encoder.in7 7        # Jog
setp mux_encoder.in8 8        # Jog
setp mux_encoder.in9 9        # Jog
setp mux_encoder.in10 10    # Jog
setp mux_encoder.in11 11    # Jog
setp mux_encoder.in12 12    # Jog

net mux-set-increment halui.axis.x.increment mux_encoder.out

# connect the buttons with the multiplexer
net demo_input mux_encoder.sel0
net demo_input mux_encoder.sel1
net demo_input mux_encoder.sel2
net demo_input mux_encoder.sel3
# -----

error log
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.9.4
Machine configuration directory is '/home/cnc/linuxcnc/configs/sim.axis'
Machine configuration file is 'axis_mm.ini'
INIFILE=/home/cnc/linuxcnc/configs/sim.axis/axis_mm.ini
VERSION=1.1
PARAMETER_FILE=sim_mm.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=X Y Z
KINEMATICS=trivkins
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
Found file(lib): /usr/share/linuxcnc/hallib/core_sim.hal
Found file(lib): /usr/share/linuxcnc/hallib/sim_spindle_encoder.hal
Found file(lib): /usr/share/linuxcnc/hallib/axis_manualtoolchange.hal
Found file(lib): /usr/share/linuxcnc/hallib/simulated_home.hal
Found file(REL): ./mux16.hal
Shutting down and cleaning up LinuxCNC...
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
Unexpected realtime delay on task 0 with period 1000000
This Message will only display once per session.
Run the Latency Test and resolve before continuing.
./mux16.hal:11: parameter or pin 'mux_encoder.in0' not found
103825
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime

 
  • michaeln
  • michaeln
  • upplib
  • upplib
20 Sep 2025 18:27

Mesa hm2/hm2_7i96: error finishing read - Dell 3050 Realtek NIC r8168

Category: Installing LinuxCNC

Hello all
I installed linuxcnc on Dell Optiplex 3050 Micro Intel 7500T with 8GB Ram.  It has a Realtek Gigabit NIC.  When i start Linuxcnc i get the error finishing read multiple times.  Searching the forum and internet i installed r8168-dkms.  It did not solve the problem.

I have seen a suggestion to use original Realtek Drivers, any info on where I can find and how to install.

Thanks



$ sudo lspci -v -s $(lspci | grep -i realtek | awk '{print $1}')
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
    Subsystem: Dell RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller
    Flags: bus master, fast devsel, latency 0, IRQ 16, IOMMU group 10
    I/O ports at e000
    Memory at f7104000 (64-bit, non-prefetchable) [size=4K]
    Memory at f7100000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: [40] Power Management version 3
    Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
    Capabilities: [70] Express Endpoint, MSI 01
    Capabilities: [b0] MSI-X: Enable+ Count=4 Masked-
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [140] Virtual Channel
    Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
    Capabilities: [170] Latency Tolerance Reporting
    Capabilities: [178] L1 PM Substates
    Kernel driver in use: r8169
    Kernel modules: r8169


driver: r8169
version: 6.1.0-30-rt-amd64
firmware-version: rtl8168h-2_0.0.2 02/26/15
expansion-rom-version: 
bus-info: 0000:02:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no



 
  • anli
  • anli's Avatar
20 Sep 2025 17:27

Update LinuxCNC 2.9.5 on debian 13

Category: Installing LinuxCNC

Hi,
I used Debian 12 LinuxCNC image to install LinuxCNC. Afterwards I updated to Debian 13 as shown here in the forum because I needed the newer drivers for display and network because I use an Asus NUC 15 pro. However, I can't upgrade to the new 2.9.5 release using apt:
root@linuxcnc:/home/anli# apt update
OK:1 http://security.debian.org/debian-security trixie-security InRelease
OK:2 http://deb.debian.org/debian trixie InRelease                                                                                                          
OK:3 http://deb.debian.org/debian trixie-updates InRelease                                                                                                  
OK:4 http://download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ InRelease                                                                     
OK:5 https://repository.qtpyvcp.com/apt develop InRelease                                                                                                   
OK:6 https://dl.google.com/linux/chrome/deb stable InRelease                                         
Holen:7 https://www.linuxcnc.org bookworm InRelease [31,1 kB]                
Fehl:7 https://www.linuxcnc.org bookworm InRelease
  Sub-process /usr/bin/sqv returned an error code (1), error message is: Signing key on EEDD0D29F81DCAA0D258661F3CB9FD148F374FEF is not bound:            Policy rejected asymmetric algorithm   because: DSA1024 is not considered secure since 2014-02-01T00:00:00Z
Warnung: http://download.opensuse.org/repositories/science:/EtherLab/Debian_12/./InRelease: Policy will reject signature within a year, see --audit for details
Warnung: OpenPGP-Signaturüberprüfung fehlgeschlagen: https://www.linuxcnc.org bookworm InRelease: Sub-process /usr/bin/sqv returned an error code (1), error message is: Signing key on EEDD0D29F81DCAA0D258661F3CB9FD148F374FEF is not bound:            Policy rejected asymmetric algorithm   because: DSA1024 is not considered secure since 2014-02-01T00:00:00Z
Fehler: Das Depot »https://www.linuxcnc.org bookworm InRelease« ist nicht signiert.
Hinweis: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
Hinweis: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).

I ran linuxcnc-install.sh as described in linuxcnc.org/docs/stable/html/getting-st...th_preempt_rt_kernel

How can I update to the latest release? Thanks for your help in advance!
  • BoS
  • BoS
20 Sep 2025 15:58 - 20 Sep 2025 19:33
Replied by BoS on topic Gmoccapy Macros

Gmoccapy Macros

Category: Gmoccapy

I have the same problem: the tab appears but is empty. Version 2.8.4.
The configuration from the SIM examples works.

By the way, it installs on 2.9.4 without any problems, but... there are other latency issues that I also can't solve.

I got the files for 2.8.4 from here github.com/andypugh/LatheMacros/releases/tag/v2.0
And for 2.9.4 from /3.1

I put everything in the machine's configuration folder
And added the EMBED_TAB.... lines from your lathe_macros.ini to my .ini file.

What am I doing wrong?
  • ccc774
  • ccc774
20 Sep 2025 14:31
Replied by ccc774 on topic Can the OPI5 be Configured to Run LCNC?

Can the OPI5 be Configured to Run LCNC?

Category: Computers and Hardware

sorry I only replied now, I was sick. I installed and tested your packages today and they work better than last time. I appreciate your help which is always of the best quality and very prompt. Thank you Royka!
  • RobotMatic
  • RobotMatic's Avatar
20 Sep 2025 12:00
Replied by RobotMatic on topic 7i76E Spindle configuration

7i76E Spindle configuration

Category: PnCConf Wizard

 I am going to check the connection, I should have connected TB2 pin 2-4 with the white wires [ Pulse - ] [ Dir - ]  from the Driver. 
the pink cable from the X connector seems to enter pin 2, I need to check!!

 thank you very much for the observation !!!!!!!!!!
Displaying 4381 - 4395 out of 21886 results.
Time to create page: 0.231 seconds
Powered by Kunena Forum