Re: Shared access to gpio pin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 10, 2021 at 3:38 PM Tomas Melin <tomas.melin@xxxxxxxxxxx> wrote:
>
> Hello,
>
> Is there a preferred way of providing shared access to a gpio pin?
>
> Use case is such that there is one application which only monitors the
> state of gpio pins, while another
>
> actually controls those pins. It would be enough if the monitoring
> application could read the state of those pins regularly.
>
> With the old sysfs approach, it was rather easy to share read/writes to
> a certain pin, but is there a
>
> way to provide similar functionality with gpio character devices?

I think it's a matter of having D-Bus interface and corresponding access rules.

I dunno what the state of affairs right now is in libgpiod.

-- 
With Best Regards,
Andy Shevchenko



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux