Advanced Search

Search Results (Searched for: raspberry pi 3)

  • AndyUAZ
  • AndyUAZ
19 Aug 2025 20:07
Replied by AndyUAZ on topic Linuxcnc auf 32bit

Linuxcnc auf 32bit

Category: General LinuxCNC Questions

Ich habe jetzt das linuxcnc Image auf dem raspberry pi4 installiert und wollte es per Remotedesktop direkt verbinden .
Da ich vor Ort kein Netzwerk habe. Jetzt sehe ich nur einen verpixselten Bildschirm auf mein PC. Ich habe xrdp installiert, die IP Adresse passen auch ,was habe ich falsch gemacht?
  • AndyUAZ
  • AndyUAZ
19 Aug 2025 18:11
Replied by AndyUAZ on topic Linuxcnc auf 32bit

Linuxcnc auf 32bit

Category: General LinuxCNC Questions

gibt es noch andere alternativen z.b. Raspberry pi4 ?
  • my1987toyota
  • my1987toyota's Avatar
18 Aug 2025 09:54 - 18 Aug 2025 10:56
Compleatly off line Voron image possible ? was created by my1987toyota

Compleatly off line Voron image possible ?

Category: Additive Manufacturing

  For the last few weeks there has been a lot of talk and coordinated maneuvering by world governments
and private companies to compartmentalize sensor/block  web sites. I do worry how long before sites like
Linux, Voron, LinuxCNC, Github, and the like get blocked. ( Won't somebody Please think of the children )
The reason this is relevant is because of how many software providers distribute there software via 
downloads from the Web instead of  from physical media. Even Raspberry Pi pretty much encourages
everyone to use the online Pi imager tool.

  So my question is, Has anyone made a full image for Voron  2.4 with- Klipper, Mainsail, Moonraker,
KlipperScreen and so on?

I know at least Linux sells physical media for most of the main distros so at least there's that.

A lot of what's been going on wreaks of Prohibition 2.0. It also shows that since big companies can't
seem to offer anything of value anymore so they are pivoting to pay extorsion schemes. Sure you can
buy the physical device but you must pay a monthly fee for it to operate. Or pay even more and they
will add something extra. Oh and it also has to be connected to the internet at all times  to make sure
it is being used properly. You know for Safety and Security reasons.

  I know this has been a bit of a rant. That said stock up / Back up as much software as you can. It's
going to get worse out there.
 
  • gundamgear
  • gundamgear
16 Aug 2025 13:51 - 16 Aug 2025 14:02
Replied by gundamgear on topic Arduino IO Expansion

Arduino IO Expansion

Category: Show Your Stuff

Hello I try to use arduino connector when I set hal file to loadusr arduino-connector it not load and when I start linuxcnc it spit pin does not exist
Error report created by /usr/lib/tcltk/linuxcnc/show_errors.tcl:

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/test'
Machine configuration file is 'test.ini'
INIFILE=/home/cnc/linuxcnc/configs/test/test.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=
DISPLAY=axis
COORDINATES=X Y Z
KINEMATICS=trivkins coordinates=XYZ
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./test.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
./test.hal:95: Pin 'arduino.din.9' does not exist
7233
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime



-----------------------------------------------------------------------
Info report created by linuxcnc_info:
The file:    /tmp/linuxcnc_info.txt
can be posted to a forum or a web site like:
     http://pastebin.com
in order to provide information about the linuxcnc
system and configuration.

                Date: Sat Aug 16 20:30:11 +07 2025
            UTC Date: Sat Aug 16 13:30:11 UTC 2025
        this program: /usr/bin/linuxcnc_info
              uptime: 20:30:11 up 1:44, 1 user, load average: 0.24, 0.30, 0.33
     lsb_release -sa: Debian Debian GNU/Linux 12 (bookworm) 12 bookworm
            linuxcnc: /usr/bin/linuxcnc
                 pwd: /home/cnc/linuxcnc/configs/test
                USER: cnc
             LOGNAME: cnc
                HOME: /home/cnc
              EDITOR:
              VISUAL:
            LANGUAGE:
                TERM: dumb
           COLORTERM:
             DISPLAY: :0.0
             DESKTOP: lightdm-xsession
        display size: 1920x1080 pixels (508x286 millimeters)
                PATH: /usr/bin:/home/cnc/linuxcnc/configs/test/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

uname items:
         nodename -n: raspberrypi
      kernel-name -s: Linux
      kernel-vers -v: #1 SMP PREEMPT_RT Mon Jan 27 00:10:15 AEDT 2025
          machine -m: aarch64
        processor -p: unknown
         platform -i: unknown
      oper system -o: GNU/Linux

/proc items:
             cmdline: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe cgroup_disable=memory numa_policy=interleave smsc95xx.macaddr=2C:CF:67:BC:6D:E4 vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000 console=ttyAMA10,115200 console=tty1 root=PARTUUID=a27d77aa-02 rootfstype=ext4 fsck.repair=yes loglevel=5 net.ifnames=0 processor.max_cstate=1 isolcpus=2,3 firmware_class.path=/lib/firmware/updates/brcm rootwait
          model name:
               cores:
             cpu MHz:
             parport:
              serial:

Versions:
                 gcc: gcc (Debian 12.2.0-14) 12.2.0
              python: Python 3.11.2
                 git: git version 2.39.5
          git commit: NA
                 tcl: 8.6
                  tk: 8.6
               glade: not_in_PATH

linuxcnc_var all:

     LINUXCNCVERSION: 2.9.4
LINUXCNC_AUX_GLADEVCP: /usr/share/linuxcnc/aux_gladevcp
LINUXCNC_AUX_EXAMPLES: /usr/share/linuxcnc/aux_examples
            REALTIME: /usr/lib/linuxcnc/realtime
                 RTS: uspace
          HALLIB_DIR: /usr/share/linuxcnc/hallib
              PYTHON: /usr/bin/python3

dpkg -l '*linuxcnc*':
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                Version           Architecture Description
+++-===================-=================-============-=====================================================================
un  linuxcnc            <none>            <none>       (no description available)
un  linuxcnc-dev        <none>            <none>       (no description available)
un  linuxcnc-doc        <none>            <none>       (no description available)
ii  linuxcnc-doc-en     1:2.9.4           all          motion controller for CNC machines and robots (English documentation)
un  linuxcnc-doc-es     <none>            <none>       (no description available)
un  linuxcnc-doc-fr     <none>            <none>       (no description available)
ii  linuxcnc-ethercat   1.40.0.g8a607c0-0 arm64        LinuxCNC EtherCAT HAL driver
un  linuxcnc-sim        <none>            <none>       (no description available)
un  linuxcnc-sim-dev    <none>            <none>       (no description available)
ii  linuxcnc-uspace     1:2.9.4           arm64        motion controller for CNC machines and robots
ii  linuxcnc-uspace-dev 1:2.9.4           arm64        PC based motion controller for real-time Linux


only when I use terminal to run halrun and loadusr arduino-connector then I can start linuxcnc normally but when I quit program halrun is reset and I has to load it again in order to run linuxcnc.
What I try so far
loadusr arduino-connector at begin of hal file
loadusr arduino-connector at end of hal file
[HAL]TWOPASS = on in .ini
loadusr  python3 /usr/bin/ardino-connector
loadusr -Wn arduino-connector
non of it work only run halrun in terminal work.
  • hitchhiker
  • hitchhiker
13 Aug 2025 15:35
Replied by hitchhiker on topic ECMO VMC100 Retrofit with Carousel/Toolchanger

ECMO VMC100 Retrofit with Carousel/Toolchanger

Category: Milling Machines

sry for delay.

i have now the whole machine running with the original controller.

all works.. steppers,maindrive, all sensors and the spindleencoder.

in the next days i link up my raspberry pi 4 with a 7i92.
why the rasp? its easier for me instead a notebook.. i have the machine in my garage not in my basement...

if all works and linked to the mesa and is in my linuxcnc i came back.


parallel i would build a small model for the toolchanger to play in the apartment with the toolchanger carousel stuff.

thanks
  • KaveMan
  • KaveMan
13 Aug 2025 13:37
Replied by KaveMan on topic Raspbery pi5 pcie adapter to parport card

Raspbery pi5 pcie adapter to parport card

Category: General LinuxCNC Questions

FYI... tried a different Parport card. however appears the drivers are missing and I am struggling to get the them installed.

cnc@raspberrypi:~$ sudo lspci -v
0000:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 21) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 38
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: 80000000-800fffff =1M% [32-bit]cnc@raspberrypi:~$ sudo lspci -v
0000:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 21) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0, IRQ 38
    Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
    Memory behind bridge: 80000000-800fffff [size=1M] [32-bit]
    Prefetchable memory behind bridge: [disabled] [64-bit]
    Capabilities: [48] Power Management version 3
    Capabilities: [ac] Express Root Port (Slot-), MSI 00
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [160] Virtual Channel
    Capabilities: [180] Vendor Specific Information: ID=0000 Rev=0 Len=028 <?>
    Capabilities: [240] L1 PM Substates
    Capabilities: [300] Secondary PCI Express
    Kernel driver in use: pcieport

0000:01:00.0 Serial controller: Nanjing Qinheng Microelectronics Co., Ltd. CH382L PCIe Parallel Port Adapter (rev 10) (prog-if 05 [16850])
    Subsystem: Nanjing Qinheng Microelectronics Co., Ltd. CH382L PCIe Parallel Port Adapter
    Flags: fast devsel, IRQ 38
    Memory at 1b80000000 (32-bit, prefetchable) [size=32K]
    Expansion ROM at 1b80008000 [virtual] [disabled] [size=32K]
    Capabilities: [60] Power Management version 3
    Capabilities: [68] MSI: Enable- Count=1/32 Maskable+ 64bit+
    Capabilities: [80] Express Legacy Endpoint, MSI 00
    Capabilities: [100] Advanced Error Reporting


 
  • KaveMan
  • KaveMan
13 Aug 2025 02:07
Replied by KaveMan on topic Raspbery pi5 pcie adapter to parport card

Raspbery pi5 pcie adapter to parport card

Category: General LinuxCNC Questions

Not sure if this helps?

cnc@raspberrypi:~$ sudo lspci -v
0000:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 21) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 39
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: 80000000-800fffff [size=1M] [32-bit]
Prefetchable memory behind bridge: [disabled] [64-bit]
Capabilities: [48] Power Management version 3
Capabilities: [ac] Express Root Port (Slot-), MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [160] Virtual Channel
Capabilities: [180] Vendor Specific Information: ID=0000 Rev=0 Len=028 <?>
Capabilities: [240] L1 PM Substates
Capabilities: [300] Secondary PCI Express
Kernel driver in use: pcieport

0000:01:00.0 Parallel controller: MosChip Semiconductor Technology Ltd. MCS9900 Multi-I/O Controller (prog-if 03 [IEEE1284])
Subsystem: Asix Electronics Corporation (Wrong ID) MCS9900 Multi-I/O Controller
Flags: fast devsel
Memory at 1b80000000 (32-bit, non-prefetchable) [disabled] [size=4K]
Memory at 1b80001000 (32-bit, non-prefetchable) [disabled] [size=4K]
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Power Management version 3
Capabilities: [80] Express Legacy Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [800] Advanced Error Reporting

0001:00:00.0 PCI bridge: Broadcom Inc. and subsi
  • KaveMan
  • KaveMan
12 Aug 2025 23:00

Raspbery pi5 pcie adapter to parport card

Category: General LinuxCNC Questions

I've been gone from LinuxCNC for about 10 yrs. Thought I'd give a try again. And with that I have been working with pi5 GPIOs work fine but thought I might attempt a waveshare pcie adapter and that to the MosChip parallel port card which works in my old PC to run my plasma table.
Where I am at is, LinuxCNC recognizes the MosChip card but shows this error below. Any help would be appreciated.

Note the pcie adapter is from Amazoncnc@raspberrypi:~$ lspci -vv
0000:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 21) (prog-if 00 [Normal decode])
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSELhttps://www.amazon.com/Waveshare-PCIe-x1-Board-Compatible/dp/B0DYCHPBL3/ref=sr_1_9?crid=33VGWMUG0BYP3&dib=eyJ2IjoiMSJ9.ypQynbq41MCoeL4QGbABJHPTLsXcsupt4y410Y7-ojV6fTZ0l1M0KgsBg1J-yDKzsnJKpEpvTI-4IPJQlz7VGpzcEdx4HVRXnVcwc6LUxmMsNXybT09m7bEUKP-XrAHi_aLbnWLF7A4PnWWFlLrgbw_c4POs6tvwYKhloFUVozBtrmY_6VMjehxaNp7EqRCznyaAfjPxqCbt5p75su5ewqCcAUu9DFlwG6k9lVeqdqE.BDsiMCAAEEQHMEl5wAkZVBy3hYMhbq_P1rJMjNTIVSc&dib_tag=se&sprefix=waveshare+pcie%2Caps%2C95

 =fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 39
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: 80000000-800fffff [size=1M] [32-bit]
Prefetchable memory behind bridge: [disabled] [64-bit]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport

0000:01:00.0 Parallel controller: MosChip Semiconductor Technology Ltd. MCS9900 Multi-I/O Controller (prog-if 03 [IEEE1284])
Subsystem: Asix Electronics Corporation (Wrong ID) MCS9900 Multi-I/O Controller
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast
>TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 0
Region 2: Memory at 1b80000000 (32-bit, non-prefetchable) [disabled] [size=4K]
Region 5: Memory at 1b80001000 (32-bit, non-prefetchable) [disabled] [size=4K]
Capabilities: <access denied>

0001:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 21) (prog-if 00 [Normal decode])
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 40
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: 00000000-005fffff [size=6M] [32-bit]
Prefetchable memory behind bridge: [disabled] [64-bit]
Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: <access denied>
Kernel driver in use: pcieport

0001:01:00.0 Ethernet controller: Raspberry Pi Ltd RP1 PCIe 2.0 South Bridge
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 40
Region 0: Memory at 1f00410000 (32-bit, non-prefetchable) [size=16K]
Region 1: Memory at 1f00000000 (32-bit, non-prefetchable) [virtual] [size=4M]
Region 2: Memory at 1f00400000 (32-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: rp1
  • andypugh
  • andypugh's Avatar
10 Aug 2025 15:53

New member from Germany - CNC retrofit of a Leinen FM1

Category: General LinuxCNC Questions

You _probably_ don't need to take the tachos to LinuxCNC.

Typically the tachos connect only to the servo drives to feed back velocity, and the analogue voltage input from the controller sends a velocity command based on position feedback from the glass scales.

The Leinien FM1 looks like a lovely little thing.

An all-in-one solution from Mesa would be: store.mesanet.com/index.php?route=produc...id=397&search=analog
But there might be cheaper options (for example 6i24 + 7i33TA) but the 7i97T ethernet option will work with just about any supported computer, including the Raspberry Pi.

Other options exist. EtherCAT, Pico PPMC for example.

One of the LinuxCNC developers lives in Münster, I think.
  • PCW
  • PCW's Avatar
07 Aug 2025 23:36 - 07 Aug 2025 23:52

Custom M codes don't work on Rasberry Pi 5 + Messa 7i95

Category: G&M Codes

halcmd (and hal)  are fine with true/false for bit types:

pcw@pcw-HP-Compaq-Elite-8300-USDT:~/linuxcnc-dev/src/hal/components$ halcmd setp hm2_7i96s.0.ssr.00.out-00 true
pcw@pcw-HP-Compaq-Elite-8300-USDT:~/linuxcnc-dev/src/hal/components$ halcmd getp hm2_7i96s.0.ssr.00.out-00 TRUE

pi@raspberrypi5:~/linuxcnc/nc_files $ ./M101
bash: ./M101: cannot execute: required file not found


Likely means that bash was not found.



 
  • Pashtet
  • Pashtet
07 Aug 2025 17:49 - 07 Aug 2025 17:50

Custom M codes don't work on Rasberry Pi 5 + Messa 7i95

Category: G&M Codes

 Sorry, I really didn't comment out these lines in Hal when I tested it from the command line. Here are the error messages.

pi@raspberrypi5:~/linuxcnc/nc_files $ bash M101
' invalid for bitvalue 'True
<commandline>:0: setp failed
: numeric argument required
pi@raspberrypi5:~/linuxcnc/nc_files $ 
 
  • Pashtet
  • Pashtet
07 Aug 2025 15:06

Custom M codes don't work on Rasberry Pi 5 + Messa 7i95

Category: G&M Codes

Tried it two ways, still doesn't work. In the first case it gives an error.

pi@raspberrypi5:~/linuxcnc/nc_files $ ./M101
bash: ./M101: cannot execute: required file not found
pi@raspberrypi5:~/linuxcnc/nc_files $ bash M101
<commandline>:0: pin 'hm2_7i95.0.ssr.00.out-01' is connected to a signal
: numeric argument required
  • Pashtet
  • Pashtet
07 Aug 2025 09:39 - 07 Aug 2025 10:38

Custom M codes don't work on Rasberry Pi 5 + Messa 7i95

Category: G&M Codes

Hello everyone! This is my first post on the forum. I have a problem with setting up custom M codes on Raspberry + 7i95. I need additional outputs to control the equipment. Just turn on and off some outputs on the 7i95.
In principle, nothing complicated, but when executing custom M code, linuxcnc does not display error messages and the pin states on the 7i95 outputs do not change.
There are no changes in halshow either.

I use this image www.linuxcnc.org/iso/rpi-5-debian-bookwo...25-01-27-0140.img.xz

Here is one of the commands (M101)
#!/bin/bash
halcmd setp hm2_7i95.0.ssr.00.out-01 True
exit 0

Even if you intentionally make a mistake in the M command file, linuxcnc still does not give any error messages.
Has anyone encountered this problem on Rasberry Pi?
  • warwickben
  • warwickben
01 Aug 2025 21:38
Mini pc recommendations? was created by warwickben

Mini pc recommendations?

Category: Computers and Hardware

I had bought a mini pc from Amazon and I’m not sure if it’s causing latency issues or not ? I’m using a mesa 7i96s .   This is the mini pc I bought.
www.amazon.com/gp/aw/d/B0DNT28BV1?psc=1&...pop_mob_b_asin_title 
i shut every thing i could off in the bios including WiFi. 

I was using probe basic but I get a latency error and random disconnects . 
Could I just switch to a raspberry pi5 16gih version? 
Displaying 61 - 75 out of 808 results.
Time to create page: 0.828 seconds
Powered by Kunena Forum