Package Details: xpadneo-dkms-git 0.9.r54.g7d1e6fd-4

Git Clone URL: (read-only, click to copy)
Package Base: xpadneo-dkms-git
Description: Advanced Linux Driver for Xbox One Wireless Gamepad
Upstream URL:
Licenses: GPL
Conflicts: xpadneo-dkms
Provides: xpadneo-dkms
Submitter: yangtsesu
Maintainer: joeleg
Last Packager: joeleg
Votes: 35
Popularity: 1.37
First Submitted: 2018-06-12 16:34
Last Updated: 2021-04-03 00:38

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

mike_penner commented on 2020-11-13 20:45

After removing all traces of this package and the xpadneo-dkms package, I've been using this PKGBUILD with success.

pkgdesc='Advanced Linux Driver for Xbox One Wireless Gamepad'
depends=('dkms' 'bluez' 'bluez-utils' 'linux-headers')

pkgver() {
    cd "${srcdir}/${_pkgname}"
    git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'

package() {
    cd "${srcdir}/${_pkgname}"

    echo "* replacing version string if necessary"
    sed -i 's/PACKAGE_VERSION="@DO_NOT_CHANGE@"/PACKAGE_VERSION="'${pkgver}'"/g' hid-xpadneo/dkms.conf
    sed -i 's/#define DRV_VER "@DO_NOT_CHANGE@"/#define DRV_VER "'${pkgver}'"/g' hid-xpadneo/src/version.h

    sed -i 's@/etc/udev/rules\.d@/usr/lib/udev/rules\.d@g' hid-xpadneo/dkms.post_install
    sed -i 's@/etc/udev/rules\.d@/usr/lib/udev/rules\.d@g' hid-xpadneo/dkms.post_remove

    echo "* copying module into /usr/src"
    install -dm755 ${pkgdir}/usr/src/hid-xpadneo-${pkgver}
    cp --recursive $PWD/hid-xpadneo/* ${pkgdir}/usr/src/hid-xpadneo-${pkgver}

hero commented on 2020-11-13 19:14

The dkms installation is broken, because the pkgversion contains hyphens (-). These are not allowed in the pkgversion as well as the dkms version, see

deemon commented on 2020-11-12 13:10

and the log does say:

DKMS make.log for hid-xpadneo-v0.8-57-g2126928 for kernel 4.19.154-1-MANJARO (x86_64)
N 12 nov   2020 15:04:32 EET
make: Entering directory '/usr/lib/modules/4.19.154-1-MANJARO/build'
scripts/ /var/lib/dkms/hid-xpadneo/v0.8-57-g2126928/build/src/Makefile: No such file or directory
make[1]: *** No rule to make target '/var/lib/dkms/hid-xpadneo/v0.8-57-g2126928/build/src/Makefile'.  Stop.
make: *** [Makefile:1550: _module_/var/lib/dkms/hid-xpadneo/v0.8-57-g2126928/build/src] Error 2
make: Leaving directory '/usr/lib/modules/4.19.154-1-MANJARO/build'

deemon commented on 2020-11-12 13:08

(2/3) Install DKMS modules
==> dkms install --no-depmod -m hid-xpadneo-v0.8-57 -v g2126928 -k 5.4.74-1-MANJARO
Error! Bad return status for module build on kernel: 5.4.74-1-MANJARO (x86_64)
Consult /var/lib/dkms/hid-xpadneo-v0.8-57/g2126928/build/make.log for more information.
==> Warning, `dkms install --no-depmod -m hid-xpadneo-v0.8-57 -v g2126928 -k 5.4.74-1-MANJARO' returned 10
==> dkms install --no-depmod -m hid-xpadneo-v0.8-57 -v g2126928 -k 4.19.154-1-MANJARO
Error! Bad return status for module build on kernel: 4.19.154-1-MANJARO (x86_64)
Consult /var/lib/dkms/hid-xpadneo-v0.8-57/g2126928/build/make.log for more information.
==> Warning, `dkms install --no-depmod -m hid-xpadneo-v0.8-57 -v g2126928 -k 4.19.154-1-MANJARO' returned 10

xrayfur commented on 2020-11-11 13:00

Works now, thanks @joeleg!

xrayfur commented on 2020-11-09 16:06

==> Starting package()...
cat: VERSION: No such file or directory
==> ERROR: A failure occurred in package().
error making: xpadneo-dkms-git

Broken after:

Lucki commented on 2020-07-14 23:53

The sed replacement fails:

-   sed -i 's@/etc/udev/rules.d/@/usr/lib/udev/rules.d/@g' hid-xpadneo/dkms.post_install
-   sed -i 's@/etc/udev/rules.d/@/usr/lib/udev/rules.d/@g' hid-xpadneo/dkms.post_remove
+   sed -i 's@/etc/udev/rules\.d@/usr/lib/udev/rules\.d@g' hid-xpadneo/dkms.post_install
+   sed -i 's@/etc/udev/rules\.d@/usr/lib/udev/rules\.d@g' hid-xpadneo/dkms.post_remove

katt commented on 2020-07-13 16:06

Hi, could you make this provide and conflict with xpadneo-dkms?

Also since upstream decided to slap a "v" at the start of their versions, could you do something about that too? Cheers.

deemon commented on 2020-04-22 23:22

Ran into problem with this not adding/building itself after adding kernel 5.6 or 5.7 for respective kernels. Reinstalling xpadneo (AFTER installing kernel 5.6 or 5.7) fixed the problem. Dunno why the order matters here.

yangtsesu commented on 2020-01-09 00:04

@maxbla It is not suggested.

@deemon It is a git package. Package version is updated everytime you run makepkg -s.