GPIO pin is reset to default value after release.

Vijay Khemka vijaykhemkalinux at gmail.com
Wed Jan 6 04:21:08 AEDT 2021


On Tue, Jan 5, 2021 at 8:29 AM Thu Nguyen <thu at amperemail.onmicrosoft.com>
wrote:

> Hi,
>
>
> Current I'm using two difference GPIO libs gpiod and gpioplus to setting
> GPIO pins.
>
> I can set the GPIO pin to expected value in a service. And GPIO keep
> unchanging when the service is running.
>
> But when the service is exited, the GPIO handler is released then GPIO
> is reset to default value.
>

Can you make service "run always". systemd service allows this.

>
>
> Do we have any gpio lib which don't reset the GPIO when the handler is
> released?
>
>
> Thanks.
>
> Thu Nguyen.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20210105/796c3b19/attachment.htm>


More information about the openbmc mailing list