WinChipHead CH341 Linux kernel driver for I²C / SPI and GPIO mode

PPA description

Provides missing packages or backports for new upstream versions to
current Ubuntu LTS versions:

* Ubuntu 22.04 LTS (Jammy Jellyfish), until April 2027 (EOL April 2032)
* Ubuntu 20.04 LTS (Focal Fossa), until April 2025 (EOL April 2030)

This is the ch341-buses Linux kernel driver as found on GitHub at:
https://github.com/frank-zago/ch341-i2c-spi-gpio

Further documentation about I²C, SPI and GPIO:

- https://docs.kernel.org/i2c/index.html
- https://docs.kernel.org/i2c/dev-interface.html
- https://docs.kernel.org/spi/index.html
- https://docs.kernel.org/spi/spidev.html
- https://docs.kernel.org/driver-api/gpio/index.html
- https://docs.kernel.org/driver-api/gpio/using-gpio.html

As long as the driver goes into Linux main line kernel this PPA can
be used to install this driver with the help of the DKMS system,
for distribution on Debian based operating systems.

The packages were often automatically generated by the DKMS system.
In some cases the packages were updated for our self, added some small
fixes or did a few necessary changes to make the Debian build system
happy. See the changelogs for more details.

WARNING: On Ubuntu 22.04 (and so also on Ubuntu 20.04), the libgpio is
too old and will return an error when accessing the device:

    gpioinfo: error creating line iterator: Invalid argument

The GPIO character device v1 API (GPIO_CDEV_V1) were disabled in Ubuntu's
default kernel in the past. For more details and discussions, see:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1953613

Either use a more recent (but not yet relesed) version of libgpio. The
master branch from the git tree works well:
https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git

Or upgrade the Ubuntu 22.04 default kernel (should be fixed in the
meantime) or install Ubuntu's Hardware Enable Support (HWE) kernel
variant on Ubuntu 20.04: https://ubuntu.com/kernel/lifecycle

*Please note that if using this PPA I would *not* try upgrading to
20.10/21.04, ect. Do a fresh install instead. The intent here is
just for users wishing to stay on one of the LTS versions above.*

If upgrading anyway use ppa-purge first:

sudo ppa-purge ppa:tiac-systems/ch341-driver-linux

Also note that with apt-get a sudo apt-get dist-upgrade is needed for
initial setup & with some package upgrades.

Adding this PPA to your system

You can update your system with unsupported packages from this untrusted PPA by adding ppa:tiac-systems/ch341-driver-linux to your system's Software Sources. (Read about installing)

sudo add-apt-repository ppa:tiac-systems/ch341-driver-linux
sudo apt update
        
Technical details about this PPA

This PPA can be added to your system manually by copying the lines below and adding them to your system's software sources.

Display sources.list entries for:
deb https://ppa.launchpadcontent.net/tiac-systems/ch341-driver-linux/ubuntu YOUR_UBUNTU_VERSION_HERE main 
deb-src https://ppa.launchpadcontent.net/tiac-systems/ch341-driver-linux/ubuntu YOUR_UBUNTU_VERSION_HERE main 
Signing key:
4096R/A8F0494B097CDEB3C988DD472C005EEDB47D77E3 (What is this?)
Fingerprint:
A8F0494B097CDEB3C988DD472C005EEDB47D77E3

For questions and bugs with software in this PPA please contact TiaC Systems.

PPA statistics

Activity
0 updates added during the past month.
View package details

Overview of published packages

14 of 4 results
Package Version Uploaded by
ch341-buses 20220304~gb3112c6+ppa~tsn2~jammy rexut ()
ch341-buses 20220304~gb3112c6+ppa~tsn2~focal rexut ()
ch341-mfd 20220318~g1411853+ppa~tsn1~jammy rexut ()
ch341-mfd 20220318~g1411853+ppa~tsn1~focal rexut ()
14 of 4 results

Latest updates

  • ch341-mfd 76 weeks ago
    Successfully built
  • ch341-mfd 76 weeks ago
    Successfully built
  • ch341-buses 76 weeks ago
    Successfully built
  • ch341-buses 76 weeks ago
    Successfully built