Re: libgpiod 2.1.1: Installation under ubuntu 22.04.4

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

 



On Mon, Apr 08, 2024 at 04:47:54PM +0200, Oliver Schütt wrote:
> Hi All,
>
> i am currently trying to utilize the GPIO pins on an embedded plattform,
> a PicoSYS PC with a Fintek SuperI/O chip and Ubuntu 22.04.4 installed.
>
> For this i want to use libgpiod and gpiod but i am very new to this and
> wondering if you could kindly give me some guidance.
>
> I downloaded the tar.gz for version 2.1.1 and extracted into my home
> directory, then installed autoconf and invoked the autogen.sh installing
> it into a dedicated folder in my home folder. After make and make install it
> seemed to install just fine, i could call gpiodetect from terminal but
> it gave me an error: "cannot find GPIO chip character device". Do i need
> to install it in a seperate directory or am i missing some
> driver/dependency?
>

The error means it cannot find /dev/gpiochip0, or more generally any
/dev/gpiochipN, and that is due to your kernel missing the appropriate
GPIO driver or configuration to setup that driver.

So your problem is with your kernel, not libgpiod.

Cheers,
Kent.





[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