All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Stein <alexander.stein-93q1YBGzJSMe9JSWTWOYM3xStJ4P+DSV@public.gmane.org>
To: Bartosz Golaszewski
	<bgolaszewski-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
Cc: Linus Walleij
	<linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	Lars-Peter Clausen <lars-Qo5EllUWu/uELgA04lAiVw@public.gmane.org>,
	linux-gpio <linux-gpio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Jonathan Cameron <jic23-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Geert Uytterhoeven
	<geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>,
	Alexandre Courbot
	<gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: libgpiod v0.1: C library and command-line tools for controlling GPIOs
Date: Thu, 19 Jan 2017 15:05:23 +0100	[thread overview]
Message-ID: <4449310.gRYbpx7f9x@ws-stein> (raw)
In-Reply-To: <CAMpxmJUHfo7FRzzx7MxdADyVMYZiSLEPCtCSDLkq540M1fZTkg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Hi,

On Wednesday 18 January 2017 16:48:08, Bartosz Golaszewski wrote:
> I'd like to announce the first release of libgpiod. The project
> consists of a C library and a set of command-line tools for
> controlling GPIOs over the new character device interface.
> 
> The tools support reading & setting values, keeping the lines
> exported, finding GPIO lines by name, monitoring events etc.
> 
> The source code can be found at: https://github.com/brgl/libgpiod

Cool thing. thanks! One bug found:
https://github.com/brgl/libgpiod/blob/master/src/tools/gpiomon.c#L31
shortopts is missing 's' so the following occurs:
> gpiomon -l -r -s --num-events=1 gpiochip2 1
> gpiomon: invalid option -- 's'
> gpiomon: try gpiomon --help

> gpiomon -l -r --silent --num-events=1 gpiochip2 1
works as expected

Best regards,
Alexander
-- 
Dipl.-Inf. Alexander Stein
SYS TEC electronic GmbH
alexander.stein-93q1YBGzJSMe9JSWTWOYM3xStJ4P+DSV@public.gmane.org

Legal and Commercial Address:
Am Windrad 2
08468 Heinsdorfergrund
Germany

Office: +49 (0) 3765 38600-0
Fax:    +49 (0) 3765 38600-4100
 
Managing Directors:
	Director Technology/CEO: Dipl.-Phys. Siegmar Schmidt;
	Director Commercial Affairs/COO: Dipl. Ing. (FH) Armin von Collrepp
Commercial Registry:
	Amtsgericht Chemnitz, HRB 28082; USt.-Id Nr. DE150534010

WARNING: multiple messages have this Message-ID (diff)
From: Alexander Stein <alexander.stein@systec-electronic.com>
To: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Cc: Linus Walleij <linus.walleij@linaro.org>,
	Lars-Peter Clausen <lars@metafoo.de>,
	linux-gpio <linux-gpio@vger.kernel.org>,
	Jonathan Cameron <jic23@kernel.org>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	Alexandre Courbot <gnurou@gmail.com>,
	linux-iio@vger.kernel.org
Subject: Re: libgpiod v0.1: C library and command-line tools for controlling GPIOs
Date: Thu, 19 Jan 2017 15:05:23 +0100	[thread overview]
Message-ID: <4449310.gRYbpx7f9x@ws-stein> (raw)
In-Reply-To: <CAMpxmJUHfo7FRzzx7MxdADyVMYZiSLEPCtCSDLkq540M1fZTkg@mail.gmail.com>

Hi,

On Wednesday 18 January 2017 16:48:08, Bartosz Golaszewski wrote:
> I'd like to announce the first release of libgpiod. The project
> consists of a C library and a set of command-line tools for
> controlling GPIOs over the new character device interface.
> 
> The tools support reading & setting values, keeping the lines
> exported, finding GPIO lines by name, monitoring events etc.
> 
> The source code can be found at: https://github.com/brgl/libgpiod

Cool thing. thanks! One bug found:
https://github.com/brgl/libgpiod/blob/master/src/tools/gpiomon.c#L31
shortopts is missing 's' so the following occurs:
> gpiomon -l -r -s --num-events=1 gpiochip2 1
> gpiomon: invalid option -- 's'
> gpiomon: try gpiomon --help

> gpiomon -l -r --silent --num-events=1 gpiochip2 1
works as expected

Best regards,
Alexander
-- 
Dipl.-Inf. Alexander Stein
SYS TEC electronic GmbH
alexander.stein@systec-electronic.com

Legal and Commercial Address:
Am Windrad 2
08468 Heinsdorfergrund
Germany

Office: +49 (0) 3765 38600-0
Fax:    +49 (0) 3765 38600-4100
 
Managing Directors:
	Director Technology/CEO: Dipl.-Phys. Siegmar Schmidt;
	Director Commercial Affairs/COO: Dipl. Ing. (FH) Armin von Collrepp
Commercial Registry:
	Amtsgericht Chemnitz, HRB 28082; USt.-Id Nr. DE150534010


  parent reply	other threads:[~2017-01-19 14:05 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-18 15:48 libgpiod v0.1: C library and command-line tools for controlling GPIOs Bartosz Golaszewski
2017-01-18 15:48 ` Bartosz Golaszewski
2017-01-19  9:34 ` Linus Walleij
     [not found]   ` <CACRpkdbq5aFZZfNN1UxjrxTzsHQBdkLcz9LCx3BSp-JoirXR6A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-01-19 10:10     ` Bartosz Golaszewski
2017-01-19 10:10       ` Bartosz Golaszewski
2017-01-19 10:58       ` Angelo Compagnucci
2017-01-19 11:06         ` Bartosz Golaszewski
     [not found] ` <CAMpxmJUHfo7FRzzx7MxdADyVMYZiSLEPCtCSDLkq540M1fZTkg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-01-19 14:05   ` Alexander Stein [this message]
2017-01-19 14:05     ` Alexander Stein
2017-01-19 14:12     ` Bartosz Golaszewski
     [not found]       ` <CAMpxmJUAKOqcBQ=p9Y=wrFk7Ms=dVGCRDWhmiijuUMQ2-MAHug-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-01-19 14:30         ` Alexander Stein
2017-01-19 14:30           ` Alexander Stein
2017-01-19 14:59           ` Bartosz Golaszewski

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=4449310.gRYbpx7f9x@ws-stein \
    --to=alexander.stein-93q1ybgzjsme9jswtwoym3xstj4p+dsv@public.gmane.org \
    --cc=bgolaszewski-rdvid1DuHRBWk0Htik3J/w@public.gmane.org \
    --cc=geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org \
    --cc=gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=jic23-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=lars-Qo5EllUWu/uELgA04lAiVw@public.gmane.org \
    --cc=linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=linux-gpio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.