Advanced Search

Search Results (Searched for: raspberry pi 3)

  • unknown
  • unknown
24 Nov 2025 01:59

Gmoccapy Raspberry Pi 4/5 OS based on Debian Trixie Tool Table Error?

Category: Gmoccapy

It shouldn't be the OS it should be the version of Liunxcnc installed.

What happens if you upgrade the version of Linuxcnc on the current install. I only use axis.
  • garulus
  • garulus
23 Nov 2025 20:06 - 23 Nov 2025 21:36

Gmoccapy Raspberry Pi 4/5 OS based on Debian Trixie Tool Table Error?

Category: Gmoccapy

Zdavim!
Doesn't seem so(I don't know). Switched from Raspberry PI to PC and Debian 12 Bookworm and I can edit tool offsets no problem.

Edit: Just tried previous version rpi-5-debian-bookworm-6.12.11-arm64-ext4-2025-01-27-0140.img.xz, and editing tools works!
  • garulus
  • garulus
23 Nov 2025 18:45

Gmoccapy Raspberry Pi 4/5 OS based on Debian Trixie Tool Table Error?

Category: Gmoccapy

I don't know if it belongs to here, but after fresh install Raspberry Pi 4/5 OS based on Debian Trixie, and initial setup I'm not able change tool offsets at all. Also work offset changes are displayed only after clicking off and back on "work offsets" page.
  • Ul
  • Ul
21 Nov 2025 12:52 - 21 Nov 2025 13:26

Tipps für aktuelle LinuxCNC Hardware gesucht

Category: Deutsch

Habe meine Mesakarten vorgestern erhalten, gestern getestet. Sowohl die 7i92, als auch die 7i98 funktionieren einwandfrei mit originaler Mesa Firmware. Auch die Busschalter funktionieren so, wie sie sollen (inkl. Pegelwandlerfunktion). Die Widerstände an den Pins sind externe pull-up Widerstände.
 

Bei der 7i92 ist es wichtig, die richtige ZIP-Datei herunterzuladen (für die 7i92H oder 7i92TH). 7i92t.zip lässt sich nicht flashen.
Wichtig zu wissen ist, dass der Fallback-Jumper nicht funktioniert.

Falls die Karte vom Raspberry nicht erkannt wird, muss man zuerst die Verbindung über die Konsole herstellen:

sudo ip addr add 10.10.10.11/8 dev eth0
sudo ip link set eth0 up

Ich bin mit dem Kauf jedenfalls so zufrieden, dass ich eine weitere 7i98 bestellt habe, diesmal in 7i92-Größe: de.aliexpress.com/item/1005010164826951.html
  • dgdodo
  • dgdodo
21 Nov 2025 09:19
Replied by dgdodo on topic [SOLVED] Backlash issues on Y-AXIS

[SOLVED] Backlash issues on Y-AXIS

Category: Advanced Configuration

unknown,

Do you have a Debian Trixie version with RT-PREEMPT kernel for a RaspberryPi 3B+?
It is everywhere written that Trixie already is ' real-time', but I faced a lot of issues when trying to run LinuxCNC on Trixie. Especially on a RaspberryPi 3B+.

Regards, DGdodo
  • EdWorks
  • EdWorks's Avatar
19 Nov 2025 01:46

I would like to know how to connect GPIO to LinuxCNC’s E-Stop chain.

Category: Basic Configuration

My SetupRaspberry Pi 5 8GBByte2Bot Parallel Port Raspberry Pi HatByte2Bot 5 Axis CNC Interface Adapter Parallel Breakout Board For Stepper Motor DriversPicture 1My wiring is as follows:Picture2

The motors move, the home switches register as functioning, the probe is not hooked up and the eStop appears to do nothing.From LinuxCNC V2.9.7 Documentation PDF Page 1854.9.3.7 External ESTOP button The standard_pinout.hal file assumes no external ESTOP button. For more information on an external E-Stop see the estop_latch man page.Yet from 2 pages earlier in LinuxCNC V2.9.7 Documentation PDF Page 183 I see this line in the HAL file:# create a signal for the estop loopbacknet estop-loop iocontrol.0.user-enable-out iocontrol.0.emc-enable-in I assume “man page” is a typo and this is unnecessary if I am trying to connect it to  GPIO25. A search of the document looking for “estop_latch” only reveals this on page 254Picture 3So my estop is on pin10, but that is GPIO25 on the Pi 5. I must refer to it as such.In my .Hal file I have the following lines:loadrt hal_gpio inputs=GPIO7,GPIO8,GPIO25,GPIO12,GPIO13 outputs=GPIO5,GPIO6,GPIO11,GPIO9,GPIO10,GPIO23,GPIO16,GPIO17,GPIO19,GPIO20,GPIO21,GPIO22,GPIO24,GPIO26net estop-out   <= hal_gpio.GPIO25-in  ornet estop-ext <= hal_gpio.GPIO25-in Using tools I can identify that all my limit switches are being read, but I have nothing to suggest the estop is being read.I have added“Addf gpio-input servo-thread” as recommended by ChatGPT, and that is not read by the programThe advice I am looking for is:
I would like to know how to connect GPIO25 to LinuxCNC’s E-Stop chain.I have tried:

net estop-out hal_GPIO.GPIO25.out => iocontrol.0.emc-enable-inand any variation thereof I could think of, failed.Eventually, I lost control of my servos and only when I removed all lines I gained control of F1, which controls the estop and F2, which powers the servos. 
  • abs32
  • abs32
18 Nov 2025 15:01 - 18 Nov 2025 15:20

Installation v2.9.7 linuxcnc in November 2025.

Category: Installing LinuxCNC

So, it doesn't work.

To begin with, we had to solve the problems of inaccuracy of the installation description instructions. The downloaded attribute immediately after installation shows us v2.9.7 userspace. In order to install 2.9.2 rt you had to -

1. Overcome the distribution configuration error by removing the file stub for the raspberry -
forum.linuxcnc.org/38-general-linuxcnc-q...d-apt-problem#332403
sudo rm /etc/{initramfs/post-update.d/,kernel/{postinst.d/,postrm.d/}}z50-raspi-firmware

2.then you need to fix the first line of the file by adding 2.9-rt to its end
vi /etc/apt/sources.list.d/linuxcnc-uspace.list
deb [arch=amd64,arm64 signed-by=/etc/apt/trusted.gpg.d/linuxcnc.gpg.key.binary.gpg] www.linuxcnc.org/ bookworm base 2.9-uspace 2.9-rt

3. then you need to completely remove version 2.9.7
forum.linuxcnc.org/9-installing-linuxcnc...tall-rtai-got-errors
-
apt-get purge linuxcnc-uspace
apt-get purge linuxcnc-doc*

4. then you need to put the kernel (and only the kernel!)
wget www.linuxcnc.org/dists/bookworm/base/bin...ai-amd64-2_amd64.deb
dpkg -i linux-image-5.4.258-rtai-amd64_5.4.258-rtai-amd64-2_amd64.deb

5. This new kernel will now appear in boot options, you need to reboot the computer by selecting this particular kernel 5. And only now supply additional components -
wget www.linuxcnc.org/dists/bookworm/base/bin...xcnc-delta_amd64.deb
dpkg -i rtai-modules-5.4.258_5.3.3-linuxcnc-delta_amd64.deb

Now you can apt-get update + apt-get update

A running real-time kernel will always show 100% CPU load and does not need a swap. latensy-test starts and shows normal numbers.

An attempt to start the existing machine configuration leads to a system crash and reboot. Okay, stepconf and I create a new configuration, extremely simple. I launch it and also get a reboot.

Debug file information:
/usr/bin/linuxcnc: line 977:913 Segmentation error $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
/usr/bin/milltask exiting

How to overcome this problem?
A discussion of the problem has been initiated here, but there is no solution
forum.linuxcnc.org/18-computer/51070-fro...-kernel-rtai-5-4-258
  • unknown
  • unknown
16 Nov 2025 02:30 - 16 Nov 2025 02:33

I think StepConf does not work for my installation?

Category: StepConf Wizard

Stepconf is only for PC parallel ports.
Byte2Bot Parallel Port Raspberry Pi Hat is not an actual Parallel Port, yes it is confusing and probably somewhat misleading the way the Vendor names it. It does not provide any of the logical functions of a PC Parallel Port only presents the pins in a DB25 format and provides some level shifting.

The below is a thread that is more or less an index for the Main RPi4/5 thread.
forum.linuxcnc.org/38-general-linuxcnc-q...l-images-only#325007
Has a section regarding GPIO and there is a working config if you follow the links.
They are there you just have to look.

Just about everything regarding the Rpi4/5 is in this thread
forum.linuxcnc.org/9-installing-linuxcnc...official-images-only

The reason for these 2 threads was to provide users with a "self service and all in one stop".
  • EdWorks
  • EdWorks's Avatar
16 Nov 2025 01:29 - 16 Nov 2025 01:33

I think StepConf does not work for my installation?

Category: StepConf Wizard

Hello. I am a new user. I've been at this for days and no joy. I just came to the realization that StepConf Wizard does not work on my setup. Here is my logic. 
I have a Raspberry Pi 5 with a :
Byte2Bot Parallel Port Raspberry Pi Hat                  byte2bot.com/products/parallel-port-raspberry-pi-hat
5 Axis CNC Interface Adapter Parallel Breakout Board For Stepper Motor Drivers      byte2bot.com/products/5-axis-cnc-interfa...tepper-motor-drivers.

I am running Linux Bookworm with an installation of LinuxCNC. 

When I run StepConf Wizard and get to the X-Axis page I attempt ot see if I can move that axis - no joy. 

My theory is that it doesn't work. I feel that when I complete the process for a machine which I will call Machine, I end up with a Machine.hal program that has lines containing "hal_gpio.PIN21-out" or "hal_gpio.PIN12-out".

Using the Byte2Bot parallel port, you are NOT allowed to refer to the output on the DB25 connector as PIN1, PIN2, PIN3 etc. Using a Byte2Bot hat with a Raspberry Pi 5, you must refer to the GPIO pin that is connected to PIN2 or PIN3 as it's corresponding GPIO pin on the Raspberry Pi. As an example, PIN2 is actually GPIO9, so the line would have to be "hal_gpio.GPIO9-out" to activate PIN2. 

Seeing how StepConf Wizard is asking me what feature I want to assign to PIN2, I assume it is passing on the command ""hal_gpio.PIN2-out" which doesn't work, rather than "hal_gpio.GPIO9-out" which is required. 

I have noticed that you can pick different interfaces prior to getting to the Axis X page, and the assignments change, BUT there is no corresponding change for the Byte2Bot setup.

I might also point out that I have found examples that PIN2 etc. that reportedly works on the Pi 4  

Having made my case I suspect that I will hear "We can't set it up for every possibility" but I think I am missing something. 

EdWorks


 
  • unknown
  • unknown
12 Nov 2025 05:44
Replied by unknown on topic Experimental raspios Linuxcnc Trixie images.

Experimental raspios Linuxcnc Trixie images.

Category: Installing LinuxCNC

See above post to links for rc3 downloads.
Stupid things fixed:
Firefox-ESR installed
evince (pdf reader) installed
default kernel is aarch64 6.12.34+rpt-rpi-v8-rt (Raspberry Pi built RT_PREEMPT kernel)
  • OBi
  • OBi
12 Nov 2025 01:12

Remora - Rpi Software Stepping Using External Microcontroller via SPI

Category: Computers and Hardware

I have a newly minted Linuxcnc 2.9.7 installed on a Raspberry PI 4. 

I have successfully compiled the remora.c component from cakeslob/rrw_lab
trying 'sudo halcompile --install remora-spi.c' from cakeslob/main and scottalford75 will not compile. Lots of errors. 
Components/Remora-spi/rp1lib.c:94:9: error: assignment to ‘struct spi_device *’ from incompatible pointer type ‘struct spi_device **’ [-Wincompatible-pointer-types]    94 |     dev = &inst->spi_dev[spi_num];

I have also a working linuxcnc 2.9.3 that compiles remora-spi.c fine

Are there any changes in linuxcnc from version 2.9.3 to 2.9.7 that makes this happen? 
I will make do with the earlier remora component...

I just wanted to inform that there is some issues
  • dgdodo
  • dgdodo
12 Nov 2025 00:23
Replied by dgdodo on topic [SOLVED] Backlash issues on Y-AXIS

[SOLVED] Backlash issues on Y-AXIS

Category: Advanced Configuration

tommylight,

Thanks for your info.
I changed the X-axis with an other old (3 fase) steppenmotor and a M3 spindle movement without any problem.
Nothing has been changed to the (4 fase) Y-axis steppenmotor, but there the issue starts.

Mechanically the Y-axis is indeed a mess, it is gear driven with 2 gears before moving a gear-bar (on which the laser is mounted)
Willing to change it into a spindle driven movement too, but the 28BYJ-48 is already x64 slowed down and is too slow for that.

But the old setup did worked for several years without problems, although the backlash of 1.315 (mm) on the Y-axis.
My setup was always with a Raspberry Pi 3B+ controlling 2 L293D and 2 (28BYJ-48) steppenmotors.

Now i only changed X-axis and updated the Raspberry OS which result in weird backlash issues on th Y-movement.
It looks like on picture drawings (2 way y-movement) it does now turn on the laser before doing the backlash.
On one way the laser burns much longer than usual (earlier).
I will add a picture with on top the old burning (g-code) and below the new ones, same g-code.
You will see much lines extra (longer) burned on the new ones (one way) regardless what backlash i give, although backlash does something.
In red the given backlash is written,

Btw: I added the BACKLASH_VELICITY as i found is somewhere on the internet, but it does not speed up the backlash nowadays.


Unknown,

Back to my original whould be building it completely new, as it broke after upgrading Raspberry OS the first time.
Although i can read the old (linuxCNC) data.
But I will try, but it was a big trouble to get the RT-OS version (bullseye?) working the first time, i know.
Ad need the 2.8.2 version of LinuxCNC.

Regards, DG.
 
  • DemonClaW
  • DemonClaW
11 Nov 2025 19:16 - 15 Nov 2025 07:50

Beckhoff Problem with Communication (TwinCAT, LinuxCNC)

Category: EtherCAT

Hey Guys,some of you know so much about this Topic so I hope I can find someone in the mood to help me.Im trying to make a CNC 3-Axis on Raspberry PI5 and Beckhoff, the problem is that im completly new in this topic and try to learn as much as possible but i got already stuck in the beginning. EtherCAT works fine and i got the "Koppler" and Cards but if im trying to get them into LinuxCNC like some videos teach the Programm wont start anymore

If i start i get the message: Failed to register PDO entry: No such file or directory
LCEC: master 0 PDO enty registration failed

A friend and myself checked the code 10x, and it seems that the problem starts before. I cant get the EK1100 connected to TwinCat or CodeSYS, too. Whats kind of weird to me because as i said if I try it with the "ethercat slaves" command, it knows The Ek1100 and all Cards


Thanks for everybody who can help me with this and invests some of his time for me
  • unknown
  • unknown
11 Nov 2025 09:06 - 09 Dec 2025 04:31

Experimental raspios Linuxcnc Trixie images.

Category: Installing LinuxCNC

I've been working on using a new build system for Raspberry images based on the utilities that are used on the official images. No custom kernel as RPi does provide pre-built RT kernels, but the 6.12.47 version has had reports of crashing. And yes raspi-config is included.
Benefits include being able to use Raspberry Pi Imager to preconfigure user name & password, local, all other things Raspberry Imager enable you to configure. There is now a single image for the 4 & 5 models. These are the only models supported. No there is no wayland, so don't try to changes this via raspi-config. The desktop environment is xfce.

I haven't included vnc as that brings in all the CUPS (printing) software and the associated services.

Only one browser is included, Firefox-esr.
Some simple screensver & power management items have been configured.
There is a network applet near the clock to simplify configuring a wired network. Please take note that the Raspberry's network address should not be that same as your mesa card, ie the last number in the address should differ. (sorry for those that are aware, but it pops up from time to time)
I have also included a fix for the CNC items appearing under multiple categories. This will survive upgrades. Due to the way Debian runs these "hooks" it will run after every time apt, apt-get or dpkg is run. Changes will only be made when it is required. No isolcpus has been added to the commandline, but this can be added by the usual methods.

Downloads are here - currently waiting to be updated 09 Dec 2025;


Please note the image on the Linuxcnc downloads page is missing a browser and a pdf reader, but will still run Linuxcnc itself fine. I apologise but so far I've been "on my own" building and testing.

If anyone is willing to test and point out any glaring errors it would be most welcome.
Rob

Any issues please raise here
github.com/ozzyrob/linuxcnc-rpi-2.9.7-image-issues/tree/main
Displaying 31 - 45 out of 796 results.
Time to create page: 0.768 seconds
Powered by Kunena Forum