Advanced Search

Search Results (Searched for: )

  • Dragan
  • Dragan
11 Oct 2025 08:52

NEW BUILD, need help with e-stop in tklinuxcnc

Category: Basic Configuration

Hello friends, thanks to everyone for the help. Unfortunately, it didn't work out, and after two days, I gave up and looked for another solution. I stumbled across an Arduino in my boxes and decided to go with UGS on Raspberry (VNC) & GRBL on Arduino. Everything worked flawlessly right away. I'm satisfied. Thanks again to all and best wishes.

Thanks,
Dragan
  • Aciera
  • Aciera's Avatar
11 Oct 2025 07:34
Replied by Aciera on topic rotary axis brakes

rotary axis brakes

Category: Advanced Configuration

I'm sorry but I cannot read anything on that screen shot with the error but maybe this example ini helps:
github.com/LinuxCNC/linuxcnc/blob/master...ng_indexer/xyyzb.ini
  • Hakan
  • Hakan
11 Oct 2025 07:34 - 11 Oct 2025 07:35

Ethercat drives not responding, mesa error finishing read

Category: EtherCAT

Since you have problems with the Realtek adapters, here is a tip.
Add an Intel PCIe network adapter. Of course you need a free PCIe slot. With an X4 slot you can use a board with multiple interfaces.
And if you only have an M.2 slot you can use that forum.linuxcnc.org/18-computer/55782-adding-a-m-2-ethernet-port
 
  • Aciera
  • Aciera's Avatar
11 Oct 2025 07:29

Button on Linuxcnc interface that switches an output on Mesa 7i76e on and off

Category: GladeVCP

You don't need a handler for what you want.

Here is an example that creates a led connected to 'halui.machine.is-on' and a button connected to 'halui.machine.on'  

 

File Attachment:

File Name: example.ui
File Size:2 KB


 

File Attachment:

File Name: example_postgui.hal
File Size:0 KB
  • jefsaro
  • jefsaro's Avatar
11 Oct 2025 07:15
Replied by jefsaro on topic rotary axis brakes

rotary axis brakes

Category: Advanced Configuration

par contre , j 'ai changer les ligne de [axis_a] a [joint3]  et linux demarre sans erreur ,mais le frein ne fonctionne pas , une idee?
  • jefsaro
  • jefsaro's Avatar
11 Oct 2025 07:13
Replied by jefsaro on topic rotary axis brakes

rotary axis brakes

Category: Advanced Configuration

merci pour la reponse , quand je retire emcmot , j 'ai cette erreur.
  • unknown
  • unknown
11 Oct 2025 04:42

fixing "raspi firmware" errors on the official amd64 ISO

Category: Installing LinuxCNC

A small shell script
download the file and open the directory (containing the file)in a terminal 

File Attachment:

File Name: amd64-rpi-...-fix.txt
File Size:0 KB

cp amd64-rpi-firmware-fix.txt amd64-rpi-firmware-fix.sh
chmod x amd64-rpi-firmware-fix.sh
./amd64-rpi-firmware-fix.sh

You can delete the files when done.
  • kb58
  • kb58
11 Oct 2025 04:19 - 11 Oct 2025 06:00
Single-stepping through a G-file was created by kb58

Single-stepping through a G-file

Category: General LinuxCNC Questions

I recently completed a wire EDM machine (not my design) and LinuxCNC runs it, and though I have a sw background, I have zero experience with it.
The very first job it's running, "First Cut" is very simple, checking that the hardware works, powering everything up, making a simple straight cut, then backing out and powering everything down. Because of all the new hardware, I want to single-step through this short job. See below.
The issues:
There are two buttons, "Run" and "Step." I first tried repeatedly pressing Stop and it seemed to work at first, but after about the fourth press, the program took off as though I'd pressed Run. An online reference (AI generated) said to press Step once, then repeatedly press Run, which will advance one line of G-code at a time. Thing is, when I press Step, Run grays out and cannot be pressed, so I don't understand (hence why I pressed Step repeatedly.)
On a related note, when pressing Step, I expected LinuxCNC to indicate the line of G-code that's being executed, but it does not. It's possible that's because I'm not using Step correctly, that it's never being activated, but I don't know.
Lastly, after pressing Step once or twice (don't remember), I get the following error message: "Cannot use axis values without a G code that uses them." I don't know what this means. [Edit: looking online, it appears that this is due to the line "X20" appearing along by itself, with no G-code ahead of it. A puzzle is how the program advanced all the way to the X20 line when I only pressed Step a couple times...]

Thanks! 

PS: the last line of the attached file is G30 (it was on the following page)
 
  • unknown
  • unknown
11 Oct 2025 02:59

fixing "raspi firmware" errors on the official amd64 ISO

Category: Installing LinuxCNC

Hopefully this should cover it, and there will no need to have 2 pages per thread, per instance.
  • tommylight
  • tommylight's Avatar
11 Oct 2025 02:51

fixing "raspi firmware" errors on the official amd64 ISO

Category: Installing LinuxCNC

I edited my previous post to reflect that it does require running both those lines.
Thank you.
  • COFHAL
  • COFHAL
11 Oct 2025 02:10
Replied by COFHAL on topic AC Servo change to run

AC Servo change to run

Category: General LinuxCNC Questions

You can configure it as C axis using the caxis or orient component, and work in both functions, i.e. in velocity or position mode.
  • unknown
  • unknown
11 Oct 2025 01:44 - 11 Oct 2025 01:50

fixing "raspi firmware" errors on the official amd64 ISO

Category: Installing LinuxCNC

More Details

You try to upgrade, add a package or install dkms and you get the following:
dkms: running auto installation service for kernel 6.1.0-40-amd64.
dkms: autoinstall for kernel: 6.1.0-40-amd64.
Setting up libqt5opengl5:amd64 (5.15.8+dfsg-11+deb12u3) ...
Setting up linux-headers-rt-amd64 (6.1.153-1) ...
Setting up libgimp2.0:amd64 (2.10.34-1+deb12u3) ...
Setting up libpoppler-qt5-1:amd64 (22.12.0-2+deb12u1) ...
Setting up linux-headers-amd64 (6.1.153-1) ...
Processing triggers for systemd (252.39-1~deb12u1) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for dbus (1.14.10-1~deb12u1) ...
Processing triggers for shared-mime-info (2.2-1) ...
Processing triggers for debianutils (5.7-0.5~deb12u1) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libc-bin (2.36-9+deb12u13) ...
Processing triggers for initramfs-tools (0.142+deb12u3) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-40-rt-amd64
raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return c
ode 1
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned
error exit status 1
Processing triggers for ca-certificates (20230311+deb12u1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Errors were encountered while processing:
linux-image-6.1.0-40-rt-amd64
linux-image-rt-amd64
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error

The error starts here:
update-initramfs: Generating /boot/initrd.img-6.1.0-40-rt-amd64

The error messages are here:

raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return c
ode 1
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned
error exit status 1
Processing triggers for ca-certificates (20230311+deb12u1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Errors were encountered while processing:
linux-image-6.1.0-40-rt-amd64
linux-image-rt-amd64
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)


The bad thing is here is here:

raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return c
ode 1


Fear not My Little Ones. We have an answer.


sudo rm /etc/{initramfs/post-update.d/,kernel/{postinst.d/,postrm.d/}}z50-raspi-firmware
sudo apt purge *raspi*
as noted by tommy above.


For a belts and braces check
sudo apt update


Now everything is good.

For further details you can refer to this thread:
forum.linuxcnc.org/9-installing-linuxcnc...ng-with-installation
  • Digger011
  • Digger011
11 Oct 2025 01:07
Replied by Digger011 on topic Strugling with installation

Strugling with installation

Category: Installing LinuxCNC

Tommy, thank you very very much for your help. Without it, I wouldn't be able to do anything. I hope all of this will help somebody else.

Thanks again,
Milos
  • tommylight
  • tommylight's Avatar
11 Oct 2025 01:01
Replied by tommylight on topic Strugling with installation

Strugling with installation

Category: Installing LinuxCNC

Yes we are :)
sudo apt update
sudo apt upgrade
just to be sure.
  • Digger011
  • Digger011
11 Oct 2025 00:55
Replied by Digger011 on topic Strugling with installation

Strugling with installation

Category: Installing LinuxCNC

Here they are:

milos@cnc:~$ sudo rm /etc/{initramfs/post-update.d/,kernel/{postinst.d/,postrm.d/}}z50-raspi-firmware
[sudo] password for milos: 
milos@cnc:~$ sudo apt purge raspi-firmware
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  raspi-firmware*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up linux-image-6.1.0-40-rt-amd64 (6.1.153-1) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-40-rt-amd64.
dkms: autoinstall for kernel: 6.1.0-40-rt-amd64.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.1.0-40-rt-amd64
/etc/kernel/postinst.d/zz-update-grub:
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-6.1.0-40-rt-amd64
Found initrd image: /boot/initrd.img-6.1.0-40-rt-amd64
Found linux image: /boot/vmlinuz-6.1.0-30-rt-amd64
Found initrd image: /boot/initrd.img-6.1.0-30-rt-amd64
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
done
Setting up linux-image-rt-amd64 (6.1.153-1) ...
Processing triggers for initramfs-tools (0.142+deb12u3) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-40-rt-amd64
(Reading database ... 180636 files and directories currently installed.)
Purging configuration files for raspi-firmware (1.20220830+ds-1) ...

First time that I don't see any error. Are we out of the woods now?

 
Displaying 316 - 330 out of 22724 results.
Time to create page: 3.226 seconds
Powered by Kunena Forum