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}"
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: | GPL-2.0-or-later |
Submitter: | None |
Maintainer: | xiota |
Last Packager: | xiota |
Votes: | 40 |
Popularity: | 0.074251 |
First Submitted: | 2021-07-02 19:25 (UTC) |
Last Updated: | 2025-02-11 21:50 (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}"
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.
Updated to v0.3. dongle firmware has been moved to a separate package, which is added here as a dependency. Additionally, added xow
to conflicts. Please let me know if you have any problems with this update!
Right, I should add conflicts=('xow')
to the PKGBUILD. Thanks for the suggestion
It's not really clear to me how to use this. pacman -Ql xone-dkms
doesn't show any systemd services or binaries to run.
Am I supposed to add it to kernel options in /etc/mkinitcpio.conf
or to my boot config /boot/loader/entires/arch.conf
Perhaps my controller firmware is out of date? I can't get it to sync or even get a white solid or blinking light on my USB XBONE RF Dongle.
I don't even think there is a conflict with xow-git
should there be?
Any clarification would be appreciated.
Edit: I didn't realize I still had xow-git installed, I removed it, rebooted and it seems to have connected. I will now try on my other Living Room Machine.
Edit 2: For added notation: for some reason, after pairing the controller successfully, I had to unplug the Dongle and plug it into a new port to fix it not being recognized by Steam.
@tcamargo Sure, and it's probably a good idea from the licensing standpoint. Will try to do it today
Would be possible to split pkg in two: driver and firmware?
@Jannis3005 you're correct. DKMS modules won't be installed successfully until linux-headers installed explicitly. In my case, it's linux515-headers package.
@Jannis3005 I'm not sure, someone might be using a non-default kernel like linux-lts
. Headers are optional dependencies of dkms
already
@mkopec i think linux-headers should be added as a dependency as it does not work without
Pinned Comments
xiota commented on 2025-04-11 23:17 (UTC)
The upcoming 6.15 kernel may include changes that break this module. When the new kernel is released, this package will likely be switched to the dlundqvist fork. ETA is 6-8 weeks. During this time, anyone who feels this package should stay with the medusalix version, despite becoming unusable, please briefly explain.
xiota commented on 2025-02-11 09:05 (UTC) (edited on 2025-04-07 01:16 (UTC) by xiota)
Since development in the medusalix repo appears to have stalled, this package is pinned to the last commit (0.3.r57) with patch to build for current (6.12.x) kernel.
aur/xone-dongle-firmware
is now optional.