public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
From: Wolfram Sang <wsa@kernel.org>
To: Steven Stallion <sstallion@gmail.com>, Jean Delvare <jdelvare@suse.de>
Cc: linux-i2c@vger.kernel.org
Subject: Re: Introducing libi2cd
Date: Tue, 21 Sep 2021 09:07:37 +0200	[thread overview]
Message-ID: <YUmEufe0eUPB+SBA@ninjato> (raw)
In-Reply-To: <CAGGHmKF6HH+0cQL9_DK+-osSLFJodQODpaaxxF0r0HYXqo82Ww@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1571 bytes --]

Hi Steven,

On Mon, Sep 20, 2021 at 02:19:17PM -0500, Steven Stallion wrote:
> 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/

Thank you for this work and the heads up. I'll CC Jean Delvare who
implemented the library in i2c-tools to raise his attention.

Happy hacking,

   Wolfram


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2021-09-21  7:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-20 19:19 Introducing libi2cd Steven Stallion
2021-09-21  7:07 ` Wolfram Sang [this message]
2021-09-21 20:26   ` Steven Stallion

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YUmEufe0eUPB+SBA@ninjato \
    --to=wsa@kernel.org \
    --cc=jdelvare@suse.de \
    --cc=linux-i2c@vger.kernel.org \
    --cc=sstallion@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox