Re: [libgpiod] Strange error
From: Andy Shevchenko <hidden>
Date: 2021-11-22 22:13:43
Please, reply to all, including the mailing list. (Asn do not top-post!) On Mon, Nov 22, 2021 at 9:42 PM James Nugen [off-list ref] 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 [off-list ref] wrote:quoted
On Mon, Nov 22, 2021 at 9:00 PM James Nugen [off-list ref] wrote:quoted
Hello,quoted
Thanks, James Nugen
quoted
quoted
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`?quoted
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