Package Details: i2c-ch341-dkms 20190628-2

Git Clone URL: https://aur.archlinux.org/i2c-ch341-dkms.git (read-only, click to copy)
Package Base: i2c-ch341-dkms
Description: CH341 USB-I2C adapter driver
Upstream URL: https://github.com/gmarco/i2c-ch341
Licenses: GPL
Submitter: sergej
Maintainer: sergej
Last Packager: sergej
Votes: 7
Popularity: 0.007026
First Submitted: 2015-11-16 12:07
Last Updated: 2019-06-28 15:24

Latest Comments

rootpeer commented on 2020-11-18 12:40

Cannot build on 5.9.8:

cat /var/lib/dkms/i2c-ch341/20190628/build/make.log 
DKMS make.log for i2c-ch341-20190628 for kernel 5.9.8-arch1-1 (x86_64)
Wed 18 Nov 14:31:45 EET 2020
make: Entering directory '/usr/lib/modules/5.9.8-arch1-1/build'
make[1]: Nothing to be done for 'objtool'.
make[1]: *** No rule to make target 'bpf/resolve_btfids'.  Stop.
make: *** [Makefile:1885: tools/bpf/resolve_btfids] Error 2
make: *** Waiting for unfinished jobs....
scripts/Makefile.build:44: arch/x86/entry/syscalls/Makefile: No such file or directory
make[1]: *** No rule to make target 'arch/x86/entry/syscalls/Makefile'.  Stop.
make: *** [arch/x86/Makefile:219: archheaders] Error 2
make: Leaving directory '/usr/lib/modules/5.9.8-arch1-1/build'

dimich commented on 2018-05-29 21:50

Makefile from driver sources can't build the module for newly installed kernel (different from currently running).

Using

MAKE[0]="make -C /lib/modules/${kernelver}/build M=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build modules"

CLEAN="make -C /lib/modules/${kernelver}/build M=${dkms_tree}/${PACKAGE_NAME} /${PACKAGE_VERSION}/build clean"

instead of

MAKE[0]="make KVERSION=$kernelver BUILD_KERNEL=$kernelver"

CLEAN="make clean"

in dkms.conf.in works for me.