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: 33
Popularity: 2.71
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

1 2 3 Next › Last »

skunkietronic commented on 2024-03-17 15:40 (UTC)

A fix needs to be applied in order to compile using kernel 6.8. Upstream commit https://github.com/medusalix/xone/commit/1b4344ab8d9d7891f843dc993b0c5447f46c9889

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

maxlefou commented on 2024-01-09 22:17 (UTC)

This specific version stops working past kernel 6.4.x. Using Linux LTS kernels was fixing it... Until LTS passed to 6.4.x. Still no new tag from dev so maybe mark this package as obsolete?

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