On Mon, Mar 13, 2017 at 8:06 AM, Thierry Reding <thierry.reding@xxxxxxxxx> wrote: > By the way, I tested this using Bartosz Gołaszewski's excellent libgpiod > that provides a really nice set of userspace utilities to detect and > manipulate GPIO chips: > > https://github.com/brgl/libgpiod > > So for userspace access to the Tegra GPIOs we can now run something like > this in a shell script: > > #!/bin/sh > gpio=$(gpiofind PCC.00) > gpioget $gpio > > There's a bunch of other features that the library supports. I'm glad we > finally have a standard set of tools to deal with GPIOs in userspace. I share your high appraisal of this library, Bartosz work is really important for consolidating this mess to something we can contain. > It > seems the internet is full of libraries that deal with the GPIO sysfs > interface, I do not advocate Internet censorship, but ... ;) The world should be purged from them all. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html