brgl / libgpiod

This is a mirror of the original repository over at kernel.org. This github page is for discussions and issue reporting only. PRs can be discussed here but the patches need to go through the linux-gpio mailing list.
https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/
Other
306 stars 106 forks source link

Persistent state #77

Closed dakejahl closed 3 weeks ago

dakejahl commented 5 months ago

A common complaint from users about gpioset is that the state of a line is not retained once the program exits. While this is precisely the way linux character devices work, it's understandable that most users will want some centralized way of controlling GPIOs - similar to how sysfs worked

Oof. This is going to break literally everyones code...

dakejahl commented 5 months ago

oh thank god :sweat_smile: https://github.com/brgl/libgpiod-private/compare/master...topic/dbus

context, Jetpack 6 just released and uses libgpiod and no one can figure out why their GPIOs don't work. The python implementaiton will need to use this manager otherwise it will break everyones code. Gods speed.

brgl commented 5 months ago

I think you'll need to be more precise here because I have no idea what you're trying to report here.