Advanced Search

Search Results (Searched for: )

  • 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?

 
  • tommylight
  • tommylight's Avatar
10 Oct 2025 23:45
Replied by tommylight on topic Strugling with installation

Strugling with installation

Category: Installing LinuxCNC

Nope, not entirely, but something did, so give this a go
sudo rm /etc/{initramfs/post-update.d/,kernel/{postinst.d/,postrm.d/}}z50-raspi-firmware
sudo apt purge raspi-firmware
and post the result.
  • Digger011
  • Digger011
10 Oct 2025 23:28
Replied by Digger011 on topic Strugling with installation

Strugling with installation

Category: Installing LinuxCNC

No problem Tommy, I should be sorry to bug you for all of this.
Here is what is going on:
milos@cnc:~$ sudo apt purge *raspi*
[sudo] password for milos: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'linux-firmware-raspi3' for glob '*raspi*'
Note, selecting 'raspi-firmware' for glob '*raspi*'
Note, selecting 'raspi3-firmware' for glob '*raspi*'
Package 'linux-firmware-raspi3' is not installed, so not removed
Package 'raspi3-firmware' is not installed, so not removed
The following packages will be REMOVED:
  raspi-firmware*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
3 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 initramfs-tools (0.142+deb12u3) ...
update-initramfs: deferring update (trigger activated)
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
raspi-firmware: missing /boot/firmware, did you forget to mount it?
run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return code 1
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-6.1.0-40-rt-amd64 (--configure):
 installed linux-image-6.1.0-40-rt-amd64 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-rt-amd64:
 linux-image-rt-amd64 depends on linux-image-6.1.0-40-rt-amd64 (= 6.1.153-1); however:
  Package linux-image-6.1.0-40-rt-amd64 is not configured yet.

dpkg: error processing package linux-image-rt-amd64 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-6.1.0-40-rt-amd64
 linux-image-rt-amd64

E: Sub-process /usr/bin/dpkg returned an error code (1)
milos@cnc:~$ sudo apt update
Hit:1 deb.debian.org/debian bookworm InRelease
Hit:2 deb.debian.org/debian bookworm-updates InRelease
Hit:3 security.debian.org/debian-security bookworm-security InRelease
Hit:4 www.linuxcnc.org bookworm InRelease
Hit:5 repository.qtpyvcp.com/apt develop InRelease    
Hit:6 download.opensuse.org/repositories/science:/EtherLab/Debian_12 ./ InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.

Does it mean that everything is ok now? There was an error, but after update it looks ok.

M

 
  • maruf1777
  • maruf1777
10 Oct 2025 23:16 - 10 Oct 2025 23:18
Replied by maruf1777 on topic Probe Basic Probing Location

Probe Basic Probing Location

Category: QtPyVCP

Thanks For Info I Fixed It. Followed Directions From LinuxCNC Docs On Referncing Axis Movement And Directions Noted by pommen
  • Lcvette
  • Lcvette's Avatar
10 Oct 2025 23:13
Replied by Lcvette on topic Probe Basic Probing Location

Probe Basic Probing Location

Category: QtPyVCP

Axis direction is the direction the cutter moves through the work on a Cartesian coordinate system. For moving gantry machines it is literal but for table motion machines it can be confusing because it's inverse of what one might expect (if thinking the table is what is traveling in the + or - direction. When the table moves toward the front, the cutter is moving in the y+ direction through the work, when the table moves to the left it is the x+ direction because the cutter moves through the work in the positive direction. So setup your machine accordingly. Home should be 0's, if your switches are on the wrong side you can use the home offset setting to correct.
  • Hakan
  • Hakan
10 Oct 2025 22:58

Ethercat drives not responding, mesa error finishing read

Category: EtherCAT

So you built ethercat master from source? Rebuild with the option --disable-eoe or something that makes it exclude eoe.
The three lines you showed from the syslog says it want to establish eoe network interfaces. Disable that.
Displaying 331 - 345 out of 22719 results.
Time to create page: 0.268 seconds
Powered by Kunena Forum