Advanced Search

Search Results (Searched for: raspberry)

  • bladekel
  • bladekel
20 Jun 2025 14:15 - 20 Jun 2025 14:19

(SOLVED) hal_gpio: Operation not permitted fault cannot be solved

Category: HAL

Hello to all.
I'm using Linuxcnc 2.9.4 on rpi5 debian bookworm that is installed from linuxcnc rpi5 image.
I have a problem on running my setup.
I tried many things like adding gpio to my user, creating a file 90-gpio-access that is mentioned on hal_gpio manual (linuxcnc.org/docs/devel/html/drivers/hal_gpio.html)

but I failed.

Here is my fault information;
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/my-mill'
Machine configuration file is 'my-mill.ini'
INIFILE=/home/cnc/linuxcnc/configs/my-mill/my-mill.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=
DISPLAY=axis
COORDINATES=X Y Z A
KINEMATICS=trivkins coordinates=XYZA
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): ./my-mill.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
Failed to register output pin collection
hal_gpio: rtapi_app_main: Operation not permitted (-1)
./my-mill.hal:4: waitpid failed /usr/bin/rtapi_app hal_gpio
./my-mill.hal:4: /usr/bin/rtapi_app exited without becoming ready
./my-mill.hal:4: insmod for hal_gpio failed, returned -1
2307
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime

my groups are;
cnc@raspberrypi:~$ groups
cnc tty disk dialout sudo audio video plugdev users input render netdev i2c bluetooth gpio spi
  • JAMSys
  • JAMSys
17 Jun 2025 11:01

Linuxcnc 2.9.2 and 2.93 images for Raspberry Pi 4b & 5

Category: Installing LinuxCNC

Thanks a lot. This is the info I was looking for.
  • unknown
  • unknown
17 Jun 2025 10:41

Linuxcnc 2.9.2 and 2.93 images for Raspberry Pi 4b & 5

Category: Installing LinuxCNC

Hi,
The Linuxcnc 2.9.2 and 2.93 images for Raspberry Pi 4b & 5 are
special OS. The menu-config configuration does not have the option for auto login.
 

Rod's the one that has put them together, apart from the RT kernel & the addition of the Linuxcnc packages it's just Debian. Nothing special about the actual OS.
  • rodw
  • rodw's Avatar
17 Jun 2025 10:19

Linuxcnc 2.9.2 and 2.93 images for Raspberry Pi 4b & 5

Category: Installing LinuxCNC

Hi,
The Linuxcnc 2.9.2 and 2.93 images for Raspberry Pi 4b & 5 are
special OS. The menu-config configuration does not have the option for auto login.

Nothing to do with menu-config. Its all Linux
gnipsel.com/linuxcnc/debian-11-fix.html
  • JAMSys
  • JAMSys
17 Jun 2025 05:38

Linuxcnc 2.9.2 and 2.93 images for Raspberry Pi 4b & 5

Category: Installing LinuxCNC

Hi,
The Linuxcnc 2.9.2 and 2.93 images for Raspberry Pi 4b & 5 are
special OS. The menu-config configuration does not have the option for auto login.
  • rodw
  • rodw's Avatar
16 Jun 2025 12:05

Linuxcnc 2.9.2 and 2.93 images for Raspberry Pi 4b & 5

Category: Installing LinuxCNC

You should be able to set up auto login the same way it is done with an x86 machine as its the OS you are logging into
  • JAMSys
  • JAMSys
16 Jun 2025 08:50

Linuxcnc 2.9.2 and 2.93 images for Raspberry Pi 4b & 5

Category: Installing LinuxCNC

Hi,

Is it possible to create an auto-login for the raspberryPi in order to create a keyboard less system with gmoccapy?
  • billykid
  • billykid's Avatar
15 Jun 2025 14:08 - 15 Jun 2025 14:14

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

so it's perfect! if I think how much time I wasted with a nuc i3 to improve the latency without succeeding... I need it to tune up some drives that I recovered 2 years ago, now I also have the servos. if anyone knows these maybe they can give me some advice on how to use them in the best way.
drive Sanmotion rs2aa03a0al0 motor r2aa06040fxp
  • unknown
  • unknown
15 Jun 2025 07:26

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

That's the easiest way, I think I mentioned that earlier, I like Network Manager as I can turn the wifi off whilst running a job.
  • billykid
  • billykid's Avatar
15 Jun 2025 07:12

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

I installed network manager and both connections, 7i80 and internet are fine.
  • billykid
  • billykid's Avatar
14 Jun 2025 09:28

Linuxcnc & the Raspberry Pi (4 & 5) Official Images Only!!!

Category: Installing LinuxCNC

hi, i installed linuxcnc raspberry5 4gb image on ssd and it starts normally but i am not able to connect to wifi. i followed the instructions, used menuconfig with my data and country=IT but nothing. maybe because in the ssid there are two spaces? "FRITZ.Box 7590 BX" i tried before asking... god knows how much i tried :-)
  • rodw
  • rodw's Avatar
13 Jun 2025 22:51
Replied by rodw on topic WiFi Problem on Raspberry Pi

WiFi Problem on Raspberry Pi

Category: General LinuxCNC Questions

Brisbane here.

Personally, I would not use a wifi extender. Instead, I would install a Ubiquiti wireless link with a couple of these
www.computeralliance.com.au/ubiquiti-loc...nostation-cpe-airmax
I ran an 800m link with Ubiquiti Loco M5's which are about $10 more. It was a bulletproof 150 mb link for about 10 years. In the shed, attach to a switch and add a Wireless Access point. In the house, just attach it to your network. Run them on 5G where they can use frequencies still legal but outside of the congested? 5G space.

This would let you use a network port (even if a USB one) on your machine and would be much more robust.
  • unknown
  • unknown
12 Jun 2025 10:22 - 12 Jun 2025 10:24
Replied by unknown on topic WiFi Problem on Raspberry Pi

WiFi Problem on Raspberry Pi

Category: General LinuxCNC Questions

A grounded steel enclosure is not the best place to be emitting radio signals from.

Nowadays just about any wifi dongle will work, but it will need an external antennae.

Should a good starting point for usable wifi adapters, anything that works with Debian Bookworm will work.
github.com/morrownr/USB-WiFi

If you need extra help I'm located in Sydney as well.
  • electrosteam
  • electrosteam
12 Jun 2025 08:41 - 12 Jun 2025 08:44
Replied by electrosteam on topic WiFi Problem on Raspberry Pi

WiFi Problem on Raspberry Pi

Category: General LinuxCNC Questions

Steel, 400 x 600 x 190.
See attached (poor) photo showing RPi hanging in space:
Row 1: stepper drivers,
Row 2: RPi stacked on Mesa, I/O PSU,
Row 3: 12 Vdc relays, Mesa core PSU,
Row 4: Terminals,
Side: stepper sockets, hole for monitor+keyboard+mouse cables, GPO for monitor + RPi.
Terminals and cables as appropriate, much neater generally.

I have a virtually identical cubicle with some electrical equipment in it.
Stripping and testing should begin next week.

The RPi 4GB and L2.9.2 need to go back to their day job of cutting metal.
John.
  • unknown
  • unknown
12 Jun 2025 01:59
Replied by unknown on topic WiFi Problem on Raspberry Pi

WiFi Problem on Raspberry Pi

Category: General LinuxCNC Questions

What material is the enclosure ?
Displaying 226 - 240 out of 801 results.
Time to create page: 0.510 seconds
Powered by Kunena Forum