Linux-GPIO Archive mirror
 help / color / mirror / Atom feed
From: Kent Gibson <warthog618@gmail.com>
To: "Oliver Schütt" <oliverschuett@t-online.de>
Cc: linux-gpio@vger.kernel.org
Subject: Re: libgpiod 2.1.1: Installation under ubuntu 22.04.4
Date: Tue, 9 Apr 2024 10:15:42 +0800	[thread overview]
Message-ID: <20240409021542.GA6010@rigel> (raw)
In-Reply-To: <02ee3fea-5099-442e-9fcd-4167c7bb4a80@t-online.de>

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.


      reply	other threads:[~2024-04-09  2:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-08 14:47 libgpiod 2.1.1: Installation under ubuntu 22.04.4 Oliver Schütt
2024-04-09  2:15 ` Kent Gibson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240409021542.GA6010@rigel \
    --to=warthog618@gmail.com \
    --cc=linux-gpio@vger.kernel.org \
    --cc=oliverschuett@t-online.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).