public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
* Introducing libi2cd
@ 2021-09-20 19:19 Steven Stallion
  2021-09-21  7:07 ` Wolfram Sang
  0 siblings, 1 reply; 3+ messages in thread
From: Steven Stallion @ 2021-09-20 19:19 UTC (permalink / raw)
  To: linux-i2c

All,

Over the years, I've had the (mis)fortune of needing to write various
I2C userspace drivers. I've long enjoyed working with the i2c-dev uAPI,
but it does lead to a bit of repetitive code between projects and
testing system calls is cumbersome at best. I had some extra time this
summer to put together a small library in a similar vein to libgpiod to
help with these issues.

I was curious if there was any appetite for having these sources hosted
on kernel.org to reach a wider audience? I'd appreciate any feedback the
list may have!

If you're still interested, here is the introductory bit from the
README:

libi2cd provides a simple and straightforward API for accessing I2C
devices from userspace. It relies on the i2c-dev Linux kernel module and
is intended to complement existing tools and libraries, such as those
provided by i2c-tools. The design for libi2cd was inspired by libgpiod;
it provides both high- and low-level access to the underlying ioctl
requests and has no dependencies apart from the standard C library.

The project is licensed under the LGPL-2.1 and can be found on GitHub:
  https://github.com/sstallion/libi2cd

API documentation can also be found on GitHub Pages:
  https://sstallion.github.io/libi2cd/

Cheers,
Steve

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

end of thread, other threads:[~2021-09-21 20:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-20 19:19 Introducing libi2cd Steven Stallion
2021-09-21  7:07 ` Wolfram Sang
2021-09-21 20:26   ` Steven Stallion

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox