pigpio: Cannot start pigpiod: mmap gpio failed
Hi, I know this issue has already been talked about, but I got the following issue: running sudo pigpiod returns:
initPeripherals: mmap gpio failed (Operation not permitted)
Can't initialise pigpio library
I tried adding iomem=relaxed to the boot parameters (which applied correcly as stated by /proc/cmdline), same result.
Raspberry Pi 3 B+ Arch Linux ARM aarch64 Kernel 4.20.3-1-ARCH Latest commit (34b33c3bf3c6f302539b9fcd0dfff52bd83a21a5)
Thanks for any feedback
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 17 (5 by maintainers)
I also see the issue with 32bit Ubuntu 20 server on RP3 and I can confirm the fix (removing PROT_EXEC) works.
Libgpiod https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/ - but it does not support PWM.