Package Details: xone-dkms 0.3-4

Git Clone URL: https://aur.archlinux.org/xone-dkms.git (read-only, click to copy)
Package Base: xone-dkms
Description: Modern Linux driver for Xbox One and Xbox Series X|S controllers
Upstream URL: https://github.com/medusalix/xone
Licenses: GPL2
Conflicts: xone-dkms, xow
Provides: xone-dkms
Submitter: mkopec
Maintainer: mkopec
Last Packager: mkopec
Votes: 40
Popularity: 1.21
First Submitted: 2021-07-02 19:25 (UTC)
Last Updated: 2024-01-10 14:06 (UTC)

Pinned Comments

mkopec commented on 2024-01-10 14:08 (UTC)

@maxlefou Thanks for reporting, I've decided to just cherrypick the commit that fixes compilation on kernels v6.3+. Also updated the PKGBUILD:

  • Download sources over HTTPS and verify sha256sums
  • Added aarch64 to list of supported architectures
  • Disabled DEBUG flag to make xone print fewer messages to dmesg

mkopec commented on 2022-06-28 20:34 (UTC) (edited on 2022-06-28 20:34 (UTC) by mkopec)

Notice: The update to v0.3 split the dongle firmware into a separate package xone-dongle-firmware. This package conflicts with the previous version of the xone package, causing conflicts during update using certain AUR helpers:

error: failed to commit transaction (conflicting files)
xone-dongle-firmware: /usr/lib/firmware/xow_dongle.bin exists in filesystem (owned by xone-dkms)
Errors occurred, no packages were upgraded.
 -> exit status 1

The recommended course of action is to first uninstall xone-dkms, and then install the updated version which will pull in xone-dongle-firmware as a dependency.

Sorry for the breakage everyone, let's hope it doesn't again.

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

Shiroi_Bara commented on 2023-07-23 11:13 (UTC)

@NoXPhasma Thank you for reply. I temporary switched to LTS kernel version 6.1.39-1-lts, where no errors appears.

NoXPhasma commented on 2023-07-22 16:48 (UTC)

@Shiroi_Bara Until there is a new release, you'll need to install xone-dkms-git on Kernel 6.4 or newer.

Shiroi_Bara commented on 2023-07-21 10:51 (UTC)

Hello! getting this errors when trying to install package:

:: Running pre-transaction hooks...
(1/1) Remove upgraded DKMS modules
==> dkms remove xone/0.3
:: Processing package changes...
(1/1) reinstalling xone-dkms                       [######################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Install DKMS modules
==> dkms install --no-depmod xone/0.3 -k 6.4.4-arch1-1
Error! Bad return status for module build on kernel: 6.4.4-arch1-1 (x86_64)
Consult /var/lib/dkms/xone/0.3/build/make.log for more information.
==> WARNING: `dkms install --no-depmod xone/0.3 -k 6.4.4-arch1-1' exited 10

The log file contains this:

DKMS make.log for xone-0.3 for kernel 6.4.4-arch1-1 (x86_64)
Fri Jul 21 01:38:44 PM MSK 2023
  CC [M]  /var/lib/dkms/xone/0.3/build/transport/wired.o
  CC [M]  /var/lib/dkms/xone/0.3/build/transport/dongle.o
  CC [M]  /var/lib/dkms/xone/0.3/build/transport/mt76.o
  CC [M]  /var/lib/dkms/xone/0.3/build/bus/bus.o
/var/lib/dkms/xone/0.3/build/bus/bus.c:91:19: error: initialization of ‘int (*)(const struct device *, struct kobj_uevent_env *)’ from incompatible pointer type ‘int (*)(struct device *, struct kobj_uevent_env *)’ [-Werror=incompatible-pointer-types]
   91 |         .uevent = gip_client_uevent,
      |                   ^~~~~~~~~~~~~~~~~
/var/lib/dkms/xone/0.3/build/bus/bus.c:91:19: note: (near initialization for ‘gip_client_type.uevent’)
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:252: /var/lib/dkms/xone/0.3/build/bus/bus.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:2026: /var/lib/dkms/xone/0.3/build] Error 2

Any suggestions?

gameslayer commented on 2023-06-15 07:23 (UTC)

hey can you add aarch64 to this and xone-dongle-firmware please, both of them install and work fine on the raspberry pi

beanow commented on 2023-05-27 10:30 (UTC)

Just mentioning some papercuts when I used this package.

The install didn't fail/warn when I didn't have linux headers installed.

And the log prints blacklisting xpad, but mt76x2u is as well. Important in my case, as that was the module being used before installing.

Saiyaman commented on 2023-05-11 18:12 (UTC) (edited on 2023-06-19 04:24 (UTC) by Saiyaman)

Flagged out of date but on https://github.com/medusalix/xone/pull/21 the fix is marked merged. Reportedly there is a fork. Doesn't seem to work atm.

EDIT: I followed instructions from the git page with ./install.sh and this works just fine because its using the master branch that contains the commit. I think this AUR package must be using mainline release and doesn't work for me.

murlakatamenka commented on 2023-04-26 20:07 (UTC)

For kernel 6.3 a patch is necessary, see here:

https://github.com/medusalix/xone/pull/21/commits/6b745b72e4259b19d7548a2ce440bcfddbf6f506

<deleted-account> commented on 2023-03-07 22:04 (UTC)

It doesn't build succesfully on 6.3 kernel.

NYI_87 commented on 2022-10-18 02:54 (UTC)

Users may receive a cannot stat error in line 29 since the copy from directory is not wrapped in double quotes:

cp -r ${srcdir}/$_pkgname/* "${pkgdir}/usr/src/${_pkgname}-${pkgver}"

mkopec commented on 2022-06-28 20:34 (UTC) (edited on 2022-06-28 20:34 (UTC) by mkopec)

Notice: The update to v0.3 split the dongle firmware into a separate package xone-dongle-firmware. This package conflicts with the previous version of the xone package, causing conflicts during update using certain AUR helpers:

error: failed to commit transaction (conflicting files)
xone-dongle-firmware: /usr/lib/firmware/xow_dongle.bin exists in filesystem (owned by xone-dkms)
Errors occurred, no packages were upgraded.
 -> exit status 1

The recommended course of action is to first uninstall xone-dkms, and then install the updated version which will pull in xone-dongle-firmware as a dependency.

Sorry for the breakage everyone, let's hope it doesn't again.