This is not a kernel problem. The problem is that the pigpio library is
trying to mmap the GPIOs with PROT_EXEC which is a security risk. In
Focal /dev is mounted with the noexec flag so that's no longer possible.
They could patch the pigpio library to remove the PROT_EXEC flag from
the mmap call but I don't know if the library relies on that in other
places (it really shouldn't). There's probably a library in Ubuntu to
access GPIOs which is really what they should use so they get support if
something doesn't work. Closing as invalid as this is not a bug.


** Changed in: linux-raspi (Ubuntu Focal)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1889926

Title:
  Can't access gpio mapped memory on focal armhf server on pi

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1889926/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to