Search Criteria
Package Details: i2c-ch341-dkms 20210501-1
Package Actions
| 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: | None |
| Last Packager: | carlosal1015 |
| Votes: | 9 |
| Popularity: | 0.014227 |
| First Submitted: | 2015-11-16 12:07 (UTC) |
| Last Updated: | 2022-03-15 16:11 (UTC) |
Dependencies (5)
- dkms (dkms-gitAUR)
- git (git-gitAUR, git-glAUR) (make)
- linux-ck-headers (optional) – build the module against Linux-ck kernel
- linux-headers (optional) – build the module against Arch kernel
- linux-lts-headers (optional) – build the module against LTS Arch kernel
Required by (6)
- mounriver-studio-community (optional)
- mounriver-studio-toolchain-bin (optional)
- mounriver-studio-toolchain-openocd-bin (optional)
- mounriver-studio-toolchain-riscv-gcc-bin (optional)
- mounriver-studio-toolchain-riscv-gcc12-bin (optional)
- mounriverstudio-bin (optional)
Latest Comments
dimich commented on 2021-05-29 21:19 (UTC) (edited on 2021-05-29 21:21 (UTC) by dimich)
Module failed to build again after next kernel update. Seems MAKE and CLEAN instructions aren't required for DKMS. This patch fix issue:
diff --git a/PKGBUILD b/PKGBUILD index 3755fb1..21f23cb 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -13,7 +13,7 @@ url='https://github.com/gmarco/i2c-ch341' source=("git://github.com/gmarco/i2c-ch341.git" 'dkms.conf.in') md5sums=('SKIP' - '4d3cb44f5d9d97cb4b72a9e2470789e2') + '2ecaebde0d8628a26932eb5ec21af6a8') package() { cd ${srcdir}/i2c-ch341 diff --git a/dkms.conf.in b/dkms.conf.in index 9eace61..8728b17 100644 --- a/dkms.conf.in +++ b/dkms.conf.in @@ -1,9 +1,6 @@ PACKAGE_NAME="i2c-ch341" PACKAGE_VERSION="#MODULE_VERSION#" -MAKE[0]="make KERNEL_DIR=${kernel_source_dir} all" -CLEAN="make KERNEL_DIR=${kernel_source_dir} clean" - BUILT_MODULE_NAME[0]="i2c-ch341" DEST_MODULE_LOCATION[0]="/extramodules" AUTOINSTALL="yes"sankayop commented on 2021-05-01 21:46 (UTC)
same error as @rootpeer with 5.10 and 5.12. Would be very thankful to @sergej if he could have a look at this :)
rootpeer commented on 2020-11-18 12:40 (UTC)
Cannot build on 5.9.8:
dimich commented on 2018-05-29 21:50 (UTC) (edited on 2018-05-29 21:54 (UTC) by dimich)
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.