Re: shared access to gpio pin

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

 



Sorry for noise, meant for linux-gpio

Tomas

On 3/10/21 3:31 PM, Tomas Melin 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?


Tomas







[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux