惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

小众软件
小众软件
B
Blog RSS Feed
美团技术团队
博客园 - 【当耐特】
C
Check Point Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
M
MIT News - Artificial intelligence
aimingoo的专栏
aimingoo的专栏
J
Java Code Geeks
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 司徒正美
T
Tailwind CSS Blog
Last Week in AI
Last Week in AI
Google DeepMind News
Google DeepMind News
D
DataBreaches.Net
人人都是产品经理
人人都是产品经理
N
Netflix TechBlog - Medium
Vercel News
Vercel News
P
Proofpoint News Feed
IT之家
IT之家
I
InfoQ
腾讯CDC
H
Hackread – Cybersecurity News, Data Breaches, AI and More

AUR Newest Packages

AUR (en) - linuxqq-clipsync-git AUR (en) - libtslitex-git AUR (en) - libtslitex-git AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - neovim-base16-git AUR (en) - pirata AUR (en) - rpi-imager-git-non-root AUR (en) - python-fastapi-sso AUR (en) - tmux-ai-titles AUR (en) - zeed-bin AUR (en) - bclone-bin AUR (en) - dwl-git-azerty AUR (en) - auggie-bin AUR (en) - libspatialaudio-git AUR (en) - libspatialaudio AUR (en) - miniupnpd-iptables-legacy AUR (en) - miniupnpd-nft AUR (en) - jeeves-bin AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-bin AUR (en) - classfi-git AUR (en) - classfi AUR (en) - giff-git AUR (en) - budget-tracker-bin
AUR (en) - i2c-ch341-dkms
2026-06-12 · via AUR Newest Packages

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:

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 (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.