Steam Deck

Steam Deck

Cyba Apr 26, 2022 @ 12:39pm
3
14
3
2
2
12
Xbox One Controller Wireless usb adapter Driver XONE support
Hi,
https://github.com/medusalix/xone Is the driver to have support for "old" Xbox one controllers (and new ones) via the wireless adapter. I been using it for a while and it works beautifully and I actually prefer it since it doesn't need pairing.

The probIem:
Cannot install it in the SteamDeck since it needs the kernel headers and I don't know where to look for:
1 Kernel Headers ?
2 Include XONE in SteamOS?
3 Emotional Support

Someone in reddit said to me that I only need to ask nicely to have this so...

Can I have XONE driver in SteamOS 3.0 Pleeaaaase? :steamhappy::steamthumbsup::flowey:

update: there's this script to install XONE easily. Since it modifies the core system ... here could be dragons .. read carefully and mind that you'll have to do it after every update
Last edited by Cyba; Apr 30, 2024 @ 7:03pm
< >
Showing 1-15 of 97 comments
SeeGeeArtist May 24, 2022 @ 12:22pm 
plzplzplz
Cyba May 26, 2022 @ 7:51am 
Pls pls pls pls pls @gabe pls
j0hnnyclaymore Jun 3, 2022 @ 5:28am 
This is something I would like to see aswell!
Roknua Jun 3, 2022 @ 8:23am 
+1 there is less lag when using 4 controllers than using bluetooth
moose1207 Jun 3, 2022 @ 3:37pm 
My two cents for what its worth.

Having xone pre-installed would be nice but there are also other options such as xpadneo, I'm sure a lot of people would like to have a choice and not be locked in to one option.

That being said if you anyone is not familiar with Linux, or Arch specifically I understand it can seem daunting to figure out what headers are or what a kernel is. The simple answer is that the kernel is essentially the brain and the headers are kind of a go between.

QUOTE "linux-headers is a package providing the Linux kernel headers. These are part of the kernel, although they are shipped separately (further reasoning is available: [1]). The headers act as an interface between internal kernel components and also between userspace and the kernel."

The steam deck is running a customized version of Arch Linux and headers are simple to install in desktop mode using Konsole which is similar to cmd prompt in windows. One difference between Windows and Linux is that you usually don't need to search for a provider in Linux, you simply enter a command in Konsole(or Terminal) and it will get it from the repository.

Here is a great website that shows how to update headers and decide what you need.
https://linuxconfig.org/manjaro-linux-kernel-headers-installation

NOTE pay attention to what you input into the terminal, and make sure you READ clearly. Do not just barrel through clicking yes and accepting things because you can cause software instability.

I am not a master with Linux and have only been using it for about 2 years exclusively. This is just some of the knowledge I have learned on my journey . If you know more about Linux then me, and see I have made a mistake - feel free to let me know.
Last edited by moose1207; Jun 3, 2022 @ 3:38pm
j0hnnyclaymore Jun 4, 2022 @ 4:11am 
Dont we have an immutable fs, I would definetly get IT Up and running but IT wont be persistent on reboot?
Marlock Jun 4, 2022 @ 7:21am 
Originally posted by j0hnnyclaymore:
Dont we have an immutable fs, I would definetly get IT Up and running but IT wont be persistent on reboot?
yes, exactly...

@moose1207 means well but their advice doesn't take the Deck's immutable system and A/B upgrade scheme into account
flusher998 Jun 7, 2022 @ 10:32am 
This would be nice to add)
Cpt. Amarao Jul 5, 2022 @ 11:48am 
I hate lag, so count me in. :cozyspaceengineersc:
CrazyCoder Jul 5, 2022 @ 7:42pm 
sudo steamos-readonly disable && sudo pacman-key --init && sudo pacman-key --populate archlinux && sudo pacman -Syu curl wget git base-devel gcc cabextract linux-neptune-headers

^ the command above installs the kernel headers and the necessary tools to build and install the drivers by following the guide at https://github.com/medusalix/xone. I just tried it on the current SteamOS beta on my Steam Deck and was able to pair MICROSOFT XBOX ELITE CONTROLLER 2 with the wireless dongle plugged into the USB hub connected to the Deck.

I recommend installing without "--release" option so that you can see debug logs in "journalctl -f" output. Plug in the dongle, press the button once, you should see in the logs that it's in pairing mode: "xone-dongle 1-1.1.4:1.0: xone_dongle_toggle_pairing: enabled=1", then turn on the controller and press the pair button on it. Took me a couple of attempts until it finally paired and started to work.
flusher998 Jul 6, 2022 @ 6:22am 
Originally posted by CrazyCoder:
sudo steamos-readonly disable && sudo pacman-key --init && sudo pacman-key --populate archlinux && sudo pacman -Syu curl wget git base-devel gcc cabextract linux-neptune-headers

^ the command above installs the kernel headers and the necessary tools to build and install the drivers by following the guide at https://github.com/medusalix/xone. I just tried it on the current SteamOS beta on my Steam Deck and was able to pair MICROSOFT XBOX ELITE CONTROLLER 2 with the wireless dongle plugged into the USB hub connected to the Deck.

I recommend installing without "--release" option so that you can see debug logs in "journalctl -f" output. Plug in the dongle, press the button once, you should see in the logs that it's in pairing mode: "xone-dongle 1-1.1.4:1.0: xone_dongle_toggle_pairing: enabled=1", then turn on the controller and press the pair button on it. Took me a couple of attempts until it finally paired and started to work.

and this maintained to work after rebooting into gaming mode and back? if yes, do you think it will keep working after an update?
CrazyCoder Jul 6, 2022 @ 8:47am 
Originally posted by flusher998:
and this maintained to work after rebooting into gaming mode and back? if yes, do you think it will keep working after an update?

Yes, works in all modes and after reboot. As for the update, it should survive it as well. Even if the kernel is updated, DKMS drivers are linked to the new kernel automatically. I can't confirm it till the next updates are released, but will post here if anything breaks. In any case, re-installing the driver is a matter of minutes, if needed.
flusher998 Jul 6, 2022 @ 8:57am 
Originally posted by CrazyCoder:
Originally posted by flusher998:
and this maintained to work after rebooting into gaming mode and back? if yes, do you think it will keep working after an update?

Yes, works in all modes and after reboot. As for the update, it should survive it as well. Even if the kernel is updated, DKMS drivers are linked to the new kernel automatically. I can't confirm it till the next updates are released, but will post here if anything breaks. In any case, re-installing the driver is a matter of minutes, if needed.

As I understand, this also will keep readonly disabled. Is this also retained after reboot?
CrazyCoder Jul 6, 2022 @ 9:00am 
Yes, readonly remains after reboot.
Marlock Jul 6, 2022 @ 9:48am 
there is a high chance the fix will not survive SteamOS 3 updates because of the A/B system update method, which replaces a system image with a new one and hops between two of those... afaik making the system writeable doesn't change this behaviour

in any case, it's a small procedure that can be redone every time a system update erases it, which won't happen terribly often
< >
Showing 1-15 of 97 comments
Per page: 1530 50

Date Posted: Apr 26, 2022 @ 12:39pm
Posts: 97