I am running on the raspberry pi 3B+ archlinux arm64 and am required to run all gpio commands with sudo.
Doing some research it seems that the issue is that the GPIO service will use /dev/gpiomem if it exists, otherwise it will use /dev/mem. My pi does not have /dev/gpiomem
I believe the distinction is made so that everyone in gpio can see only the gpio registers without reading all of RAM?
Would this be a kernel issue?
I am using this as a wrapper
https://github.com/TheNextLVL/RPi.GPIO.64