- Posts: 16
- Thank you received: 1
this code works for rpi 4 model B but not working for rpi 5
2 years 3 months ago #305563
by yathish
This code is not working for RPI 5 it shows some debug error related to permissions,
error is like:
Debug file information:
Note: Using POSIX realtime
The GPIO line GPIO16 can not be found
hal_gpio: rtapi_app_main: Operation not permitted (-1)
./xy.hal:8: waitpid failed /usr/bin/rtapi_app hal_gpio
./xy.hal:8: /usr/bin/rtapi_app exited without becoming ready
./xy.hal:8: insmod for hal_gpio failed, returned -1
1564
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
Anybody has any idea to solve this problem kindly reply.
error is like:
Debug file information:
Note: Using POSIX realtime
The GPIO line GPIO16 can not be found
hal_gpio: rtapi_app_main: Operation not permitted (-1)
./xy.hal:8: waitpid failed /usr/bin/rtapi_app hal_gpio
./xy.hal:8: /usr/bin/rtapi_app exited without becoming ready
./xy.hal:8: insmod for hal_gpio failed, returned -1
1564
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
Anybody has any idea to solve this problem kindly reply.
Please Log in or Create an account to join the conversation.
- Cant do this anymore bye all
- Offline
- Platinum Member
-
Less
More
- Posts: 1199
- Thank you received: 426
2 years 3 months ago #305566
by Cant do this anymore bye all
Replied by Cant do this anymore bye all on topic this code works for rpi 4 model B but not working for rpi 5
Have a read thru this thread.
forum.linuxcnc.org/9-installing-linuxcnc...4-and-raspberry-pi-5
forum.linuxcnc.org/9-installing-linuxcnc...4-and-raspberry-pi-5
Please Log in or Create an account to join the conversation.
2 years 3 months ago #305833
by yathish
Replied by yathish on topic this code works for rpi 4 model B but not working for rpi 5
yes i read thru this thread. Do u have any idea ?
Please Log in or Create an account to join the conversation.
- tommylight
-
- Offline
- Moderator
-
2 years 3 months ago #305852
by tommylight
Replied by tommylight on topic this code works for rpi 4 model B but not working for rpi 5
Seems to be permissions issue with gpio, might have better luck in the RPI forums, although no idea how often it is used there.
Please Log in or Create an account to join the conversation.
2 years 3 months ago #305871
by rodw
Replied by rodw on topic this code works for rpi 4 model B but not working for rpi 5
My guess is gpio16 does not exist. remove it
Please Log in or Create an account to join the conversation.
Time to create page: 0.090 seconds