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

Git Clone URL: https://aur.archlinux.org/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://github.com/Fred78290/nct6687d
Keywords: nct6687
Licenses: GPLv2
Submitter: benlypan
Maintainer: darose
Last Packager: darose
Votes: 8
Popularity: 0.25
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 Next › Last »

darose commented on 2023-07-22 00:14 (UTC)

Anyone interested in adopting this orphan? I guess I'll step up if no one else does, but kernel modules aren't really my strong suit.

barrybingo commented on 2023-06-17 11:29 (UTC)

To get this package working apply this patch

diff --git a/PKGBUILD b/PKGBUILD
index 568b502..95b4b5e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Frederic Boltz <frederic.boltz@gmail.com>

 pkgname=nct6687d-dkms-git
-pkgver=r13.b7a988d
+pkgver=r78.df1565a
 pkgrel=2
 pkgdesc="Nuvoton module for NCT6687-R synced with latest upstream kernel."
 arch=('i686' 'x86_64')
@@ -9,10 +9,10 @@ url="https://github.com/Fred78290/nct6687d"
 license=('GPLv2')
 makedepends=('git')
 depends=('dkms')
-source=("${pkgname}::git://github.com/Fred78290/nct6687d.git"
+source=("${pkgname}::git+https://github.com/Fred78290/nct6687d"
         "dkms.conf.in")
 sha256sums=('SKIP'
-            '22c57de66af431804e9f4e9e4fd435f6f24d7d0b5b562b5574b331f5919e5915')
+            'SKIP')

 pkgver() {
    cd "${pkgname}"
@@ -26,7 +26,10 @@ package() {
    install -dm755 "${pkgdir}/usr/src/${pkgname}-${pkgver}"
    cp -a LICENSE README* *.c "${pkgdir}/usr/src/${pkgname}-${pkgver}"

-   sed -e "s/(shell uname -r)/{TARGET}/" Makefile > \
+   commitcount=$(git rev-list --all --count)
+   commithash=$(git rev-parse --short HEAD)
+
+   sed -e "s/(shell uname -r)/{TARGET}/" -e "s/commitcount.*=.*/commitcount := $commitcount/" -e "s/commithash.*=.*/commithash := $commithash/" Makefile > \
        "${pkgdir}/usr/src/${pkgname}-${pkgver}/Makefile"

    sed -e "s/@PACKAGE_VERSION@/${pkgver}/" "${srcdir}/dkms.conf.in" > \
diff --git a/dkms.conf.in b/dkms.conf.in
index 481b145..63fc621 100644
--- a/dkms.conf.in
+++ b/dkms.conf.in
@@ -4,6 +4,6 @@ AUTOINSTALL="yes"

 BUILT_MODULE_NAME[0]="nct6687"
 DEST_MODULE_LOCATION[0]="/updates"
-MAKE[0]="make TARGET=${kernelver} KERNEL_BUILD=${kernel_source_dir}"
+#MAKE[0]="make TARGET=${kernelver} KERNEL_BUILD=${kernel_source_dir}"

 #POST_REMOVE="rmdir /usr/lib/modules/${kernelver}/updates"
\ No newline at end of file

yar85 commented on 2022-06-24 19:58 (UTC)

@quark23, this error message comes from git. Removing temporary dir (/var/tmp/pamac-build-$USERNAME/nct6687d-dkms-git/) beforehand might help.

quark23 commented on 2022-06-02 16:41 (UTC) (edited on 2022-06-02 16:43 (UTC) by quark23)

if I modify ::git: to ::git+https: then I get fatal: this operation must be run in a work tree
with the stock config it hangs at Cloning into bare repository

pipes80 commented on 2022-04-21 20:43 (UTC)

==> ERRORE: Impossibile scaricare dal repository nct6687d-dkms-git git

I take this error

pipes80 commented on 2022-04-21 20:38 (UTC)

==> ERRORE: Impossibile scaricare dal repository nct6687d-dkms-git git

I take this error

yar85 commented on 2022-04-16 17:47 (UTC) (edited on 2023-02-18 23:21 (UTC) by yar85)

Manjaro users can also make it installable by making the following changes:

  • in PKGBUILD replace source=... and sha256sums=... with
source=("${pkgname}::git+https://github.com/Fred78290/nct6687d" "dkms.conf.in")
sha256sums=('SKIP' 'SKIP')
  • in dkms.conf.in comment out the line as shallpion said:
# MAKE[0]="make TARGET=${kernelver} KERNEL_BUILD=${kernel_source_dir}"

2022-06-24: This method still works for me with kernel 5.18.5-1-MANJARO (rebuilt the package using the same steps).
2023-02-19: Another rebuild w/ kernel 6.1.11-1-MANJARO, no issues.

shallpion commented on 2022-03-11 09:02 (UTC)

For me I had to comment out this line

MAKE[0]="make TARGET=${kernelver} KERNEL_BUILD=${kernel_source_dir}"

to make it install-able. Otherwise I would receive:

(2/2) Install DKMS modules
==> dkms install --no-depmod nct6687d-dkms-git/r38.77aa637 -k 5.16.13-arch1-1
Error!  Build of nct6687.ko failed for: 5.16.13-arch1-1 (x86_64)
Make sure the name of the generated module is correct and at the root of the
build directory, or consult make.log in the build directory
/var/lib/dkms/nct6687d-dkms-git/r38.77aa637/build for more information.
==> WARNING: `dkms install --no-depmod nct6687d-dkms-git/r38.77aa637 -k 5.16.13-arch1-1' exited 7

chapa commented on 2021-08-12 00:44 (UTC)

thanks, it's very useful prog.

benlypan commented on 2021-03-03 05:11 (UTC)

@DoXer It works fine on my computer. Could you provide me with the content of main.log?