On Mon, Mar 21, 2022 at 7:27 PM Hans Kurscheidt <lve0200@xxxxxxxxx> wrote: > > Hi thanks, that makes hope. First of all, please do not top-post. > Unfortunately apt-get gpiod on my OrangePi Armbian board gives me > version 1.2, while the dev is already at 1.6. I probably have to build > it from source. > > Keeping fingers crossed . I don't remember the details of old versions of libgpiod (Bart? Kent?) I think it was available even there. > Am 21.03.2022 um 17:26 schrieb Andy Shevchenko: > > On Mon, Mar 21, 2022 at 1:30 PM Hans Kurscheidt <lve0200@xxxxxxxxx> wrote: > >> Despite deep searching, I cannot find any information, if gpiod allow > >> specifying pull-ups to input lines and how to do/handle it. > > Have you followed this code from libgpiod? > > https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/tree/tools/gpioset.c#n44 -- With Best Regards, Andy Shevchenko