- Posts: 63
- Thank you received: 0
Raspberry pi 5
2 years 9 months ago - 2 years 9 months ago #291078
by rohit269
Replied by rohit269 on topic Raspberry pi 5
Thanks for reply, sirI am already add user rohit to group gpio but same error show.
Last edit: 2 years 9 months ago by rohit269.
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 9 months ago #291094
by Cant do this anymore bye all
Replied by Cant do this anymore bye all on topic Raspberry pi 5
The error is
HAL_PI_GPIO: can't open /dev/gpiomem: 2 - No such file or directory
/dev/gpiomem doesn't exist
A replied previously
At the moment (2023-07-16) this driver only seems to work on Raspbian as the generic Debian image does not set up the correct interfaces in /dev/gpiomem and restricts access to the /sys/mem interface.
So have will have to start with a Raspbian image, build & install a rt kernel and then build & install linuxcnc.
But just for completeness can you run
and report the result
HAL_PI_GPIO: can't open /dev/gpiomem: 2 - No such file or directory
/dev/gpiomem doesn't exist
A replied previously
At the moment (2023-07-16) this driver only seems to work on Raspbian as the generic Debian image does not set up the correct interfaces in /dev/gpiomem and restricts access to the /sys/mem interface.
So have will have to start with a Raspbian image, build & install a rt kernel and then build & install linuxcnc.
But just for completeness can you run
Code:
ls -a /dev/*mem*
and report the result
Please Log in or Create an account to join the conversation.
2 years 9 months ago #291119
by elovalvo
Replied by elovalvo on topic Raspberry pi 5
This problem was already known:
forum.linuxcnc.org/9-installing-linuxcnc...-pi-5?start=0#285243
My advice is to use this new module (hal_gpio) which, in addition to working on Pi 5, in my opinion is more versatile and easier to configure
For changes to be made to .hal files it may be useful to refer to this video
forum.linuxcnc.org/9-installing-linuxcnc...i-5?start=110#290838
forum.linuxcnc.org/9-installing-linuxcnc...-pi-5?start=0#285243
My advice is to use this new module (hal_gpio) which, in addition to working on Pi 5, in my opinion is more versatile and easier to configure
For changes to be made to .hal files it may be useful to refer to this video
forum.linuxcnc.org/9-installing-linuxcnc...i-5?start=110#290838
Please Log in or Create an account to join the conversation.
2 years 9 months ago #291247
by rohit269
Replied by rohit269 on topic Raspberry pi 5
Many thanks.
Please Log in or Create an account to join the conversation.
2 years 9 months ago #291258
by rohit269
Replied by rohit269 on topic Raspberry pi 5
Sir,
Please tell how to change pin status ( input , output, active low and active high) in gpioinfo.
Please tell how to change pin status ( input , output, active low and active high) in gpioinfo.
Please Log in or Create an account to join the conversation.
2 years 9 months ago #291418
by elovalvo
lloydrochester.com/post/hardware/libgpiod-intro-rpi/
Replied by elovalvo on topic Raspberry pi 5
Sir,
Please tell how to change pin status ( input , output, active low and active high) in gpioinfo.
lloydrochester.com/post/hardware/libgpiod-intro-rpi/
Please Log in or Create an account to join the conversation.
Time to create page: 0.162 seconds