Thank you!That's unfortunate because in multi-user mode, kern.securelevel is forced to 1. This means that the GPIO is unusable in practice. That's a rather curious design decision.
On 07/07/2025 20:08, Robert Swindells wrote:
Vincent DEFERT <vincent.defert%posteo.net@localhost> wrote:How is that enforced? I've had a look at gpioctl.c, gpio.c and mesongxbb_pinctrl.c and they don't even contain the word 'secure'...See gpio_ioctl() in sys/dev/gpio/gpio.c, in the GPIOREAD case of the select there is a call to kauth_authorize_device(). If you are looking for a project, meson_pinctrl.c doesn't have support for configuring pins to generate interrupts.