Package Details: hid-nintendo-dkms 3.2-2

Git Clone URL: https://aur.archlinux.org/hid-nintendo-dkms.git (read-only, click to copy)
Package Base: hid-nintendo-dkms
Description: hid-nintendo Driver (DKMS)
Upstream URL: https://github.com/nicman23/dkms-hid-nintendo
Licenses: GPLv2
Provides: hid-nintendo
Submitter: nicman23
Maintainer: nicman23
Last Packager: nicman23
Votes: 11
Popularity: 0.000206
First Submitted: 2020-03-26 15:52 (UTC)
Last Updated: 2021-08-16 17:11 (UTC)

Latest Comments

« First ‹ Previous 1 2 3

Celti commented on 2020-06-10 05:32 (UTC) (edited on 2020-06-10 05:40 (UTC) by Celti)

Packages with unversioned git sources should have a -git suffix and a pkgver() function, and as previously mentioned packages with any git sources need git as a makedepend.

bscubed commented on 2020-05-31 02:57 (UTC)

@nicman23 as @D1SoveR mentioned, could you please update the PKGBUILD pkgrel? It's quite annoying constantly showing one package to update in my AUR helper.

D1SoveR commented on 2020-04-29 14:58 (UTC) (edited on 2020-04-29 14:59 (UTC) by D1SoveR)

Note on small discrepancy: .SRCINFO lists pkgrel as 2, whereas PKGBUILD lists it as 1. This leads to AUR helpers repeatedly marking the package for update as the built version looks like it's behind the one available in AUR.

ruy16109 commented on 2020-04-17 22:47 (UTC)

Since this package has a git source, it should have a make dependency for git which it currently doesn't.

Grimish commented on 2020-04-17 21:50 (UTC) (edited on 2020-04-17 21:51 (UTC) by Grimish)

Like previous comments stated Do your git clone; Edit the dkms.conf replace the two 'MAKE' & 'CLEAN' lines with:

MAKE="make -C $kernel_source_dir M=$dkms_tree/$PACKAGE_NAME/$PACKAGE_VERSION/build/src modules"

CLEAN="make -C $kernel_source_dir M+$dkms_tree/$PACKAGE_NAME/$PACKAGE_VERSION/build/src clean"

Pacman the built package in and viola!

chrhasse commented on 2020-04-10 05:34 (UTC)

The included dkms.conf fails to compile the module the first time for me with a custom kernel. Make indicates a success, but dkms says it failed.

$ sudo dkms install hid-nintendo/1.0 -k 5.6.0-1-amd-staging-drm-next-git-00192-g5ca28f3f536f        

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j16 KERNELRELEASE=5.6.0-1-amd-staging-drm-next-git-00192-g5ca28f3f536f -C /usr/lib/modules/5.6.0-1-amd-staging-drm-next-git-00192-g5ca28f3f536f/build M=/usr/src/hid-nintendo-1.0/src/ modules...
Error!  Build of hid-nintendo.ko failed for: 5.6.0-1-amd-staging-drm-next-git-00192-g5ca28f3f536f (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/hid-nintendo/1.0/build/ for more information.

$ cat make.log 
DKMS make.log for hid-nintendo-1.0 for kernel 5.6.0-1-amd-staging-drm-next-git-00192-g5ca28f3f536f (x86_64)
Thu 09 Apr 2020 10:33:02 PM CDT
make: Entering directory '/usr/lib/modules/5.6.0-1-amd-staging-drm-next-git-00192-g5ca28f3f536f/build'
  CC [M]  /usr/src/hid-nintendo-1.0/src//hid-nintendo.o
  MODPOST 1 modules
  CC [M]  /usr/src/hid-nintendo-1.0/src//hid-nintendo.mod.o
  LD [M]  /usr/src/hid-nintendo-1.0/src//hid-nintendo.ko
make: Leaving directory '/usr/lib/modules/5.6.0-1-amd-staging-drm-next-git-00192-g5ca28f3f536f/build'

After that if I try to run sudo dkms install hid-nintendo/1.0 -k 5.6.0-1-amd-staging-drm-next-git-00192-g5ca28f3f536f again it installs properly. though if I run sudo dkms remove hid-nintendo/1.0 -k 5.6.0-1-amd-staging-drm-next-git-00192-g5ca28f3f536f it will fail again on the first attempt. Changing the included dkms.conf to

MAKE="make -C $kernel_source_dir M=$dkms_tree/$PACKAGE_NAME/$PACKAGE_VERSION/build/src modules"
CLEAN="make -C $kernel_source_dir M+$dkms_tree/$PACKAGE_NAME/$PACKAGE_VERSION/build/src clean"

to match how it is in the git source fixes the issue entirely.