Advanced Search

Search Results (Searched for: )

  • 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 !!!!!!!!!!
  • unknown
  • unknown
20 Sep 2025 05:55
Replied by unknown on topic Recommendations for a dual NIC SBC or mini-pc

Recommendations for a dual NIC SBC or mini-pc

Category: EtherCAT

I apologise for the previous answer by the previous user, it really doesn't address your issue..
I'd go for this
www.hardkernel.com/shop/odroid-h4-plus/

I've been using the H3 Plus for a few years and had no issues with it. The only thing you need to do is use the non-kernel realtek drivers for the nic. I'm pretty sure Rod from the forum also uses one.

Waveshare also have this setup
www.waveshare.com/product/raspberry-pi/b...ule-box.htm?___SID=U

I'm currently running a mill with the C box but you're situation would be better suited to the A box.
I like the fact the case and connectors are well integrated, full size HDMI ports, all but the power switch, Serial console connector, and the connector to power it from a non-usb supply (meanwell would be a good choice) are on one side.
The only caveat is that the NIC is a realtek based one, but as long as the cnc stuff goes thru the RPi interface everything should be ok.

Langdons would please provide an answer relevant to the question, the user was looking for a small form factor PC, almost a similar size as a RPi5.
  • CarbonNater
  • CarbonNater
20 Sep 2025 03:12
Replied by CarbonNater on topic ECMO VMC100 Retrofit with Carousel/Toolchanger

ECMO VMC100 Retrofit with Carousel/Toolchanger

Category: Milling Machines

This is awesome! I actually just today started wiring up the retrofit of my EMCO Concept Mill 155. Newbie to linuxcnc, so it’s been going slow so far. Would you be open to sharing your setup files? I’ve got the same tool changer, would love to see your code for that.
  • PCW
  • PCW's Avatar
20 Sep 2025 01:03
Replied by PCW on topic 7i76E Spindle configuration

7i76E Spindle configuration

Category: PnCConf Wizard

I'm a bit concerned about the STEP/DIR wiring.

It appears that the thick white wires are grounding the STEP- and DIR- pins
This should never be done as it shorts out the STEP- and DIR- pins
possible damaging the driver chip.

If STEP- / DIR- are unused, they should be left unconnected.
  • isaac
  • isaac's Avatar
20 Sep 2025 00:35

MPG whb04b-6 starts by default in MPG Mode

Category: HAL

Hello.

I Know that MPG mode is the default mode at startup for whb04b-6.  So When moving the handwheel  the FeedRate Override changes untill we press Cont or Step yellow button

Is there a way to start in Continuos o Step mode?????





 
  • RobotMatic
  • RobotMatic's Avatar
Displaying 2521 - 2535 out of 22578 results.
Time to create page: 0.695 seconds
Powered by Kunena Forum