Re: gpiod: Set pullup for Input Line

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

 




Am 21.03.2022 um 18:33 schrieb Andy Shevchenko:
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
I don't think that the Bias option is in 1.2.3, because help is mute about it

  Trying to build it from source, doesn't work for me. I get:
hk@orangepizeroplus:~/libgpiod$ ./autogen.sh --enable-tools=yes --prefix=/usr/bin
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
aclocal: warning: couldn't open directory 'm4': No such file or directory
autoreconf: configure.ac: tracing
autoreconf: configure.ac: creating directory autostuff
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
configure.ac:163: error: possibly undefined macro: AC_LIBTOOL_CXX
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:165: error: Unexpanded AX_ macro found. Please install GNU autoconf-archive. configure.ac:179: error: Unexpanded AX_ macro found. Please install GNU autoconf-archive.
autoreconf: /usr/bin/autoconf failed with exit status: 1
hk@orangepizeroplus:~/libgpiod$


??

RGDS





[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