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

Bug#998243: ITP: lg-gpio -- Control GPIO pins via the kernel's gpiochip device interface



Package: wnpp
Severity: wishlist
Owner: Dave Jones <dave@waveform.org.uk>

* Package name    : lg-gpio
  Version         : 0.2.0.0-1
  Upstream Author : https://github.com/joan2937/lg
* URL             : https://abyz.me.uk/lg
* License         : public-domain
  Programming Lang: C, Python
* Vcs             : https://salsa.debian.org/python-team/packages/lg-gpio
  Section         : electronics
  Description     : Control GPIO pins via the kernel's gpiochip device interface

This package provides a comprehensive userspace GPIO interface akin to 
libgpiod (which is already in Debian), but crucially with additional 
methods for performing PWM (and other interfaces).

This makes it a viable replacement for RPi.GPIO (also in Debian) both in 
scripts that directly use that library, as well as those using gpiozero 
(again, already in Debian). In the latter case, the current Debian 
version of gpiozero (1.4 in stable) relies upon RPi.GPIO as its pin 
driver. However from 1.6 onwards (in unstable) it also supports lg-gpio 
as a (preferred) pin driver (though I don't think the patch for 
preferring lg is currently in the Debian version of the packaging).

I'm happy to maintain this package as part of the Python team (although 
the Raspi team might seem more appropriate, there's nothing Raspberry Pi 
specific in lg-gpio).

A request for sponsorship is (possibly prematurely!) open in #990280.


Reply to: