(Taken from ch341.rst) The CH341 has several flavors and can support one or more of UART, SPI, I2C and GPIO, but not always simultaneously.
The source code was taken from a patch series add driver for the WCH CH341 in I2C/GPIO mode by Frank Zago.
To generate your own package: run the following command in the projects main directory.
dpkg-buildpackage
Install the generated package via dpkg -i ch341-dkms*deb
.