Package Details: spi-ch341-usb-dkms r34.af6fb1b-3

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/dimich-dmb/spi-ch341-usb
Licenses: GPL
Submitter: sergej
Maintainer: None
Last Packager: emilss
Votes: 3
Popularity: 0.000000
First Submitted: 2019-06-28 14:43 (UTC)
Last Updated: 2022-05-26 13:59 (UTC)

Latest Comments

« First ‹ Previous 1 2

dimich commented on 2020-02-12 11:52 (UTC) (edited on 2020-02-12 12:05 (UTC) by dimich)

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))