Package Details: spi-ch341-usb-dkms r16.79bbe57-1

Git Clone URL: https://aur.archlinux.org/spi-ch341-usb-dkms.git (read-only, click to copy)
Package Base: spi-ch341-usb-dkms
Description: SPI/GPIO driver for CH341
Upstream URL: https://github.com/gschorcht/spi-ch341-usb
Licenses: GPL
Submitter: sergej
Maintainer: sergej
Last Packager: sergej
Votes: 1
Popularity: 0.045451
First Submitted: 2019-06-28 14:43
Last Updated: 2019-06-28 14:43

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

dimich commented on 2020-02-12 11:52

I faced some issues while installing the driver for 5.5.2-arch2-2. They can be fixed by following changes:

1. In Makefile change KERNEL_DIR = /usr/src/linux-headers-$(KVERSION)/
to
KERNEL_DIR = /lib/modules/$(KVERSION)/build/
or
KERNEL_DIR = /usr/src/linux/

2. In spi-ch341-usb.c add
#define SPI_BIT_MASK(bits) (((bits) == 32) ? ~0U : (BIT(bits) - 1))