Re: libgpiod v0.1: C library and command-line tools for controlling GPIOs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 19 January 2017 15:12:43, Bartosz Golaszewski wrote:
> 2017-01-19 15:05 GMT+01:00 Alexander Stein
> 
> <alexander.stein@xxxxxxxxxxxxxxxxxxxxx>:
> > 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
> 
> Thanks, fixed in git.

Thanks, also for defines of GPIOHANDLE_REQUEST_INPUT and friends you actually 
need kernel headers >=4.8. README.md says >=4.7

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

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

--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux