this code works for rpi 4 model B but not working for rpi 5

More
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.

Please Log in to join the conversation.

More
More
2 years 3 months ago #305833 by yathish
yes i read thru this thread. Do u have any idea ?

Please Log in to join the conversation.

More
2 years 3 months ago #305852 by tommylight
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 to join the conversation.

More
2 years 3 months ago #305871 by rodw
My guess is gpio16 does not exist. remove it

Please Log in to join the conversation.

Time to create page: 0.133 seconds
Powered by Kunena Forum