Advanced Search

Search Results (Searched for: )

  • DerKlotz
  • DerKlotz
12 Oct 2025 11:06 - 12 Oct 2025 11:36

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

Category: GladeVCP

My Ini already had the POSTGUI_HALFILE = custom_postgui.hal

In my Display Section ii this ->
GLADEVCP= -u ./hitcounter.py /home/cnc/linuxcnc/configs/Fräse/test.ui

BUT i receive the "hitcounter.py" error from my post before

Today i did a Sudo ... update and upgrade. During the upgrade i got these errors. Somewhere there the problem?
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 subpro
cess returned error exit status 1
Setting up libgs10-common (10.0.0~dfsg-11+deb12u8) ...
Setting up libtiff-dev:amd64 (4.5.0-6+deb12u3) ...
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); ho
wever:
  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
Setting up libgs10:amd64 (10.0.0~dfsg-11+deb12u8) ...
Setting up ghostscript (10.0.0~dfsg-11+deb12u8) ...
Processing triggers for libc-bin (2.36-9+deb12u13) ...
Processing triggers for man-db (2.11.2-2) ...
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
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)

Error during glade install
~$ sudo apt install glade
[sudo] password for cnc: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
glade is already the newest version (3.40.0-3+b1).
The following packages were automatically installed and are no longer required:
  linux-headers-6.1.0-30-amd64 linux-headers-6.1.0-30-common
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 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 c
ode 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 subpro
cess 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); ho
wever:
  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
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
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)
  • unknown
  • unknown
12 Oct 2025 10:56 - 16 Oct 2025 01:17

fixing "raspi firmware" errors on the official amd64 ISO

Category: Installing LinuxCNC

Still even if it was Debian's fault we should have come up with a fix. I'm attempting to use Live-Build on a Debian install and hopefully I wont have the issue with dpkg and grub. Somehow start-stop-daemon was left out whilst building the ISO.

And it does appear the added line to preseed does what it should do when running the installer from the ISO.


Update:
ISO Build completed successfully on my Debian partition.
Quick eval via install on VirtualBox, successful no raspi-firmware installed, Linuxcnc-2.9.6 installed,
Issues: asks for root passwd, my fault will fix on another build, ISO still identifies as 2.9.4, need to update the config file.
  • unknown
  • unknown
12 Oct 2025 10:52
Replied by unknown on topic Probleme WIFI Rasperry Pi5 mit 2.9.6

Probleme WIFI Rasperry Pi5 mit 2.9.6

Category: Deutsch

Index for known RPi issues& solutions.

forum.linuxcnc.org/38-general-linuxcnc-q...official-images-only

On board Rpi Wifi does work, version of installed Linuxcnc does not matter, if you used the official images.

Any USB Dongle that works with Debian will work as the image is soley based on Debian with Linuxcnc installed and some stuff from the Official RPi github, kernel sources and so on.

Sorry I can only speak English.
  • rodw
  • rodw's Avatar
12 Oct 2025 10:49

fixing "raspi firmware" errors on the official amd64 ISO

Category: Installing LinuxCNC

bugs.debian.org/cgi-bin/bugreport.cgi?bug=1065640

It looks to have been recently fixed upstream.

(I am still not clear if you are blaming me, Rod or Roland Clobus)

I blame Debian for not fixing this 12.0 bug in their builder in subsequent releases of Bookworm eg 12.1
  • gravedigger
  • gravedigger
12 Oct 2025 10:32
Replied by gravedigger on topic Probleme WIFI Rasperry Pi5 mit 2.9.6

Probleme WIFI Rasperry Pi5 mit 2.9.6

Category: Deutsch

Weil ich schon gerne wüsste, warum es nicht geht.
Evtl. braucht man es ja doch mal.
  • spicer
  • spicer's Avatar
12 Oct 2025 09:54
Replied by spicer on topic Probleme WIFI Rasperry Pi5 mit 2.9.6

Probleme WIFI Rasperry Pi5 mit 2.9.6

Category: Deutsch

Und warum dann die Übung, wenn das Wlan dann gar nicht notwendig ist?
  • st2s
  • st2s
12 Oct 2025 09:23

XHC-WHB04B-6 установка для LINUXCNC

Category: Russian

Вроде разобрался
  • unknown
  • unknown
12 Oct 2025 08:43

fixing "raspi firmware" errors on the official amd64 ISO

Category: Installing LinuxCNC

OK I think I've found a fix for this thing when installing from the ISO. The ISO needs rebuilding, the one built failed during the grub install, this was tracked down to an issue to dpkg install when building the ISO.
So I had to do some messing about, to install grub inside the installed system in my virtual machine. I haven't had chance to fix/find out why I had the issue with the ISO.

A small edit is required to the config/includes.install/preseed.cfg
At the end of the file add this line:
d-i preseed/late_command string in-target apt-get -y purge raspi-firmeware
Obviously a new image ISO will need to be created, for this mod to be included.


Whilst the installer still installs raspi-firmware at the end of the install process the above line removes the package. The live session will still have the raspi-firmware but I really haven't heard of anyone attempting to update the kernel on a live session. Still a bit of a hack, but the system once installed to a HDD\SSD or large storage rock it wont have the raspi-firmware installed.

The ISO issue maybe cos I was using Mint to build the image and had to install live-build from the debian repo & there might have been a mis-match......I dunno
  • gravedigger
  • gravedigger
12 Oct 2025 08:37 - 12 Oct 2025 08:41
Probleme WIFI Rasperry Pi5 mit 2.9.6 was created by gravedigger

Probleme WIFI Rasperry Pi5 mit 2.9.6

Category: Deutsch

Ich möchte von Mach auf LinuxCNC mit Rasperry umrüsten und stehe am Anfang.

Nachdem ich es geschafft habe, dass der Raspi von SSD startet, habe ich noch ein Problem mit WIFI.

Mit der Raspi SD und Raspi OS läuft es mit dem WLAN und ich bekomme auch unter Linux CNC die SSID s von mir und meinen Nachbarn angezeigt, hab aber keine Verbindung ins Netz. 
In der Datei hab ich auch die SSID und das Passwort in der WPA Datei eingetragen. Es klappt aber im 2.4 und 5 Netz nicht. Hab auch schon probeweise auf feste IP umgestellt.
Was kann ich noch nachschauen bzw. testen?

Welche USB Ethernet Adapter funktionieren am Raspi? Habe Probeweise einen USB -Ethernet an den blauen USB Port gesteckt und der macht keinen Mucker, aber am PC klappt es mit dem .
Dauerhaft will ich an der Maschine eh kein WIFI haben, weil im Keller das Netz schlecht ist.

Grüße
Harald

 
  • unknown
  • unknown
12 Oct 2025 03:37

fixing "raspi firmware" errors on the official amd64 ISO

Category: Installing LinuxCNC

This is kind of preplexing, shouldn't the architecture be arm or similar
Package: raspi-firmware
Architecture: all
Version: 1.20220830+ds-1
Priority: optional
Section: non-free-firmware/misc
Maintainer: pkg-raspi <pkg-raspi-maintainers@lists.alioth.debian.org>
Installed-Size: 22281
Pre-Depends: dpkg (>= 1.17.14)
Depends: dosfstools
Suggests: firmware-brcm80211, firmware-misc-nonfree, bluez-firmware
Breaks: linux-firmware-raspi3 (<< 1.20161123-2), raspi3-firmware (<< 1.20190718-1~)
Replaces: linux-firmware-raspi3 (<< 1.20161123-2), raspi3-firmware (<< 1.20190718-1~)
Filename: pool/non-free-firmware/r/raspi-firmware/raspi-firmware_1.20220830+ds-1_all.deb
Size: 4815784
MD5sum: 02766adeeeea1246010c8a3c2851a73b
SHA1: f37dba3e827325667381703815ac227ee1aa9b64
SHA256: 0094ced47a7fbb6a220ff83e7b43aa637a5d8f6802461e2e4e474597fb796f62
SHA512: 2ef6547b160b9207ce6bdf33572a4eed389c56db0b7172e049c5bf4c8471ee60f7fd5f05fd8bf08075ec4e8baae8a602e219b5592a854ed3e6678222a989a2d7
Homepage: https://github.com/raspberrypi/firmware
Description: Raspberry Pi family GPU firmware and bootloaders
 This package contains all the proprietary files necessary to boot a
 Raspberry Pi board. This should work with all models in the 0, 1, 2, 3 and
 4 families.
 .
 Raspberry Pi is a trademark of the Raspberry Pi Foundation.
  • Fred G
  • Fred G
12 Oct 2025 03:00
Replied by Fred G on topic Gmoccapy tool setter install "errors"

Gmoccapy tool setter install "errors"

Category: Gmoccapy

I was able to figure out the end of line issue , but now not getting any movement after asking for tool change or pop up window?
  • Aciera
  • Aciera's Avatar
12 Oct 2025 01:30

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

Category: GladeVCP

I'm sorry, I forgot the ini file part:

[DISPLAY] section:
GLADEVCP = example.ui


[HAL]
POSTGUI_HALFILE = example_postgui.hal
  • tommylight
  • tommylight's Avatar
11 Oct 2025 23:50
Replied by tommylight on topic INI and HAL files

INI and HAL files

Category: General LinuxCNC Questions

/home/cnc/linuxcnc/configs/
Notice cnc is the user name so it will be whatever user name you have on that PC.
And it does not matter at all where the config files are, as long as they are readable and have no spaces in the name (this was an issue way way before, no idea if still true).
You can have configuration files on a USB stick or network share or ... and still they can be run and used to control the machine.
For editing the config files, never ever use windows or office suits, use only simple text editors like xed or gedit or geany or nano or vim.
Use the PncConf wizard, it can do pretty much everything needed, and it can also edit the created configs.
Another thing, you can have multiple configs for the same machine with different setups, so make as much as you like till you get things working as you like them to.
  • tommylight
  • tommylight's Avatar
11 Oct 2025 23:40

fixing "raspi firmware" errors on the official amd64 ISO

Category: Installing LinuxCNC

@Rob,
as long as you are chrooted into the ISO, you can do everything you can on a normally running system, so yes, easy to remove at any point in time while preparing and before building the final ISO.
  • Twitchy88
  • Twitchy88
11 Oct 2025 23:26
INI and HAL files was created by Twitchy88

INI and HAL files

Category: General LinuxCNC Questions

Hello 

Can someone give me a quick run down of the INI and HAL files.  I successfully got an axis on my Fadal mill moving today with mesa 7i96s and DMM Dyn4 servos using axis. I used PNCCONF and it still wouldn't work, then I realised the files needed to be put somewhere but for the life of me I couldn't figure out what files needed to go where. After watching a video I saw the button to "create desktop launcher to start linux with this configuration".

I would like to learn how to modify the files manually and put them where they need to go. If I were to start from scratch without PNCCONF what files need to be modified and put where?

Thanks 
Displaying 271 - 285 out of 22724 results.
Time to create page: 0.310 seconds
Powered by Kunena Forum