Re: [libgpiod] Strange error

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

 



Please, reply to all, including the mailing list. (Asn do not top-post!)

On Mon, Nov 22, 2021 at 9:42 PM James Nugen <jnugen@xxxxxxxxx> wrote:
>
> 'gpiodetect' output:
> gpiochip0 [INT34BB:00] (312 lines)
> gpiochip1 [ftdi-cbus] (4 lines)
>
> I can try v5.15.

Please do.

> I should mention everything works correctly on a laptop running
> '5.4.0-89-generic'.

> Perhaps, I should try downgrading to 5.4 on the NUC.

It's too far from the current kernels, we wouldn't be able to bisect
in a reasonable time.

> On Mon, Nov 22, 2021 at 11:23 AM Andy Shevchenko
> <andy.shevchenko@xxxxxxxxx> wrote:
> >
> > On Mon, Nov 22, 2021 at 9:00 PM James Nugen <jnugen@xxxxxxxxx> wrote:
> > >
> > > Hello,
> > >>
> Thanks,
> James Nugen
>

> > > I'm getting a weird error when trying to access GPIOs from my machine.
> > > The "gpioinfo" command is returning this error message:
> > > "gpioinfo: error creating line iterator: Invalid argument"
> > > This happens as a regular user and as root (via sudo).
> > > "gpioget" returns a similar error.
> > > "gpiodetect" works and finds two devices.
> >
> > What's the output of `gpiodetect`?
> >
> > > The machine is an Intel NUC running Ubuntu 20.04.
> > > Here is the "uname" output:
> > > Linux nuc 5.11.0-38-generic #42~20.04.1-Ubuntu SMP Tue Sep 28 20:41:07
> > > UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
> > >
> > > The installed version of "libgpiod" is v1.4,1.
> > > I tried the latest version (v1.6.3) and got the same errors.
> >
> > Is it possible to try the v5.15 kernel on your side?
> >
> > --
> > With Best Regards,
> > Andy Shevchenko



-- 
With Best Regards,
Andy Shevchenko



[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