This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

I'm having a very bad day trying to get a working copy of libgpiod for the tinkerboard.
I have compiled successfully
but when I run any of the gpio commands (eg. gpiodetect, gpioinfo, etc) The prompt just returns.

I have compiled this same code on beaglebone black and all the functions work.

We have dozens of tinkerboards and plan on buying hundreds for a project we are on. Presently we are using python and asus.gpio but we need to switch to a library that works on various boards so that we can share libraries.

We are also working on userspaceio.

But for now, our immediate problem is trying to get a libgpiod working so we can call the command line functions from any language that we develop in.

Any suggestions?

Thanks in advance
Ibrahim Salim Omari
(02-08-2020, 07:59 AM)iomari Wrote: Any suggestions?

TinkerOS or Armbian?
Armbian. Lightweight Debian Stretch or Ubuntu Bionic for Tinker Board.
It won't work on this "Ubuntu" nor on TinkerOS while it will work on Armbian. With a modern kernel 5.4.y, for stock 4.4.y not this way.
Armbian. Lightweight Debian Stretch or Ubuntu Bionic for Tinker Board.
OK. Is there any gpio library that will work that is not specific for tinker?
What of userspaceio?
Quote:not specific for tinker?

Tinker is just one of the boards supported by Armbian. And Armbian tends to provide as much unique experience as possible on different hardware. Alternatives are years away.

Quote:What of userspaceio?
User Space IO is Python 3 and Java 8 bindings for Linux user space GPIO, SPI, I2C, PWM, MMIO, LED and Serial interfaces. Using best of breed user space C libraries provides a cross platform solution to SBC development. Primarly User Space IO will be targeting Armbian

And do some searching:
Armbian. Lightweight Debian Stretch or Ubuntu Bionic for Tinker Board.

Forum Jump:

Users browsing this thread: 1 Guest(s)