this code works for rpi 4 model B but not working for rpi 5
18 Jul 2024 09:19 #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.
18 Jul 2024 10:36 #305566
by cornholio
Replied by cornholio 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.
22 Jul 2024 06:24 #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
- Away
- Moderator
Less
More
- Posts: 19196
- Thank you received: 6434
22 Jul 2024 12:30 #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.
22 Jul 2024 19:59 #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.070 seconds