Permission denied with gpio

More
10 Oct 2024 18:38 #311760 by TheProcessTechnician
Hello There
new problem, new topic:

Newbie here, i am trying to set up my milling machine, but i keep getting errors from hal_gpio:

Note: Using POSIX realtime
The GPIO line GPIO4 can not be found
hal_gpio: rtapi_app_main: Operation not permitted (-1)

if I am trying to do it in the terminal it still doesnt work:

halcmd: loadrt hal_gpio outputs=GPIO13,GPIO19
Note: Using POSIX realtime
The GPIO line GPIO13 can not be found
hal_gpio: rtapi_app_main: Operation not permitted (-1)
<stdin>:6: waitpid failed /usr/bin/rtapi_app hal_gpio
<stdin>:6: /usr/bin/rtapi_app exited without becoming ready
<stdin>:6: insmod for hal_gpio failed, returned -1

Tried fixes:
adduser and gpasswd
linuxcnc.org/docs/devel/html/dr ... _gpio.html troubleshooting
archlinuxarm.org/forum/viewtopi ... 65&t=16838 (i know its arch, not debian..)
viewtopic.php?t=8999 (poor mans fix)

i really need some help quickly, have to present it to my team in 12 hours. Thanks for everything in advance!

Setup:
Raspi5
LinuxCNC 2.9.1 (debian)
Milling machine BADOG Cubique
Driver: Badog CNC MikroNC
me (Noob, LinuxCNC beginner)

Please Log in or Create an account to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum