Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: gpioctl on the ODROID C2
vincent.defert%posteo.net@localhost (Vincent DEFERT) writes:
>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.
You can configure GPIO modes in single-user and you can read
or write GPIO pin values in multi-user.
The argument is that specific hardware requires correct modes
(input, output, ...) and modifying that can be dangerous.
Of course that limits the gpio driver to more simple operations,
but it's limited anyway.
You can make a custom kernel with 'options INSECURE', this allows
several less secure operations, including reconfiguring the GPIO
hardware.
Home |
Main Index |
Thread Index |
Old Index