linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* libgpiod 2.1.1: Installation under ubuntu 22.04.4
@ 2024-04-08 14:47 Oliver Schütt
  2024-04-09  2:15 ` Kent Gibson
  0 siblings, 1 reply; 2+ messages in thread
From: Oliver Schütt @ 2024-04-08 14:47 UTC (permalink / raw)
  To: linux-gpio

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?

Thank you very much in advance and with best regards

Oliver


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: libgpiod 2.1.1: Installation under ubuntu 22.04.4
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Kent Gibson @ 2024-04-09  2:15 UTC (permalink / raw)
  To: Oliver Schütt; +Cc: linux-gpio

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-04-09  2:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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 NNTP newsgroup(s).