medusalix/xone

Cdiscord.gg/FDQxwWk
Linux

Linux kernel driver for Xbox One and Xbox Series X|S accessories

linuxusbxboxxbox-onekernelwireless
Star 增长趋势
Star
2.5k
Forks
210
周增长
+6
Issues
0
1k2k
2023年1月2024年3月2025年6月2026年9月
README

Logo

Release Badge Discord Badge Donate Button

xone is a Linux kernel driver for Xbox One and Xbox Series X|S accessories. It serves as a modern replacement for xpad, aiming to be compatible with Microsoft's Game Input Protocol (GIP).

Compatibility

  • Wired devices (via USB)
  • Wireless devices (with Xbox Wireless Dongle)
  • Bluetooth devices (check out xpadneo)

Installing xone will disable the xpad kernel driver. If you are still using Xbox or Xbox 360 peripherals, you will have to install xpad-noone as a replacement for xpad.

[!IMPORTANT] This project is in maintenance mode and will receive only occasional minor fixes. An actively developed fork is available here.

Features

  • Input and force feedback (rumble)
  • Battery reporting (UPower integration)
  • LED control (using /sys/class/leds)
  • Audio capture/playback (through ALSA)
  • Power management (suspend/resume and remote/wireless wakeup)

Supported devices

  • Gamepads
    • Xbox One Controllers
    • Xbox Series X|S Controllers
    • Xbox Adaptive Controller
    • Third party controllers (PowerA, PDP, etc.)
  • Headsets
    • Xbox One Chat Headset
    • Xbox One Stereo Headset (adapter or jack)
    • Xbox Wireless Headset
    • Third party wireless headsets (SteelSeries, Razer, etc.)
  • Guitars & Drums
    • Mad Catz Rock Band 4 Wireless Fender Stratocaster
    • Mad Catz Rock Band 4 Wireless Drum Kit
    • PDP Rock Band 4 Wireless Fender Jaguar
  • Xbox One Chatpad
  • Third party racing wheels (Thrustmaster, Logitech, etc.)

Releases

Packaging status

Feel free to package xone for any Linux distribution or hardware you like. Any issues regarding the packaging should be reported to the respective maintainers.

Installation

Prerequisites

  • Linux (kernel 5.13+ and headers)
  • DKMS
  • curl (for firmware download)
  • cabextract (for firmware extraction)

Guide

  1. Unplug your Xbox devices.

  2. Clone the repository:

git clone https://github.com/medusalix/xone
  1. Install xone:
cd xone
sudo ./install.sh

NOTE: You can use the --release flag to disable debug logging.

  1. Download the firmware for the wireless dongle:
sudo xone-get-firmware.sh

NOTE: The --skip-disclaimer flag might be useful for scripting purposes.

  1. Plug in your Xbox devices.

Updating

Make sure to completely uninstall xone before updating:

sudo ./uninstall.sh

Wireless pairing

Xbox devices have to be paired to the wireless dongle. They will not automatically connect to the dongle if they have been previously plugged into a USB port or used via Bluetooth.

Instructions for pairing your devices can be found here (see the section on Xbox Wireless).

LED control

The guide button LED can be controlled via sysfs:

echo 2 | sudo tee /sys/class/leds/gip*/mode
echo 5 | sudo tee /sys/class/leds/gip*/brightness

Changing the LED in the above way is temporary, it will only last until the device disconnects. To apply these settings automatically when a device connects, you can create a new udev rule in /etc/udev/rules.d/50-xone.rules with the following content:

ACTION=="add", SUBSYSTEM=="leds", KERNEL=="gip*", ATTR{mode}="2", ATTR{brightness}="5"

Replace the wildcard (gip*) if you want to control the LED of a specific device. The modes and the maximum brightness can vary from device to device.

Troubleshooting

Uninstall the release version and install a debug build of xone (see installation guide). Run sudo dmesg to gather logs and check for any error messages related to xone. If xone is not being loaded automatically you might have to reboot your system.

Error messages

  • Direct firmware load for xow_dongle.bin failed with error -2
    • Download the firmware for the wireless dongle (see installation guide).

Input issues

You can use evtest and fftest to check the input and force feedback functionality of your devices.

Other problems

Please join the Discord server in case of any other problems.

License

xone is released under the GNU General Public License, Version 2.

Copyright (C) 2021 Severin von Wnuck-Lipinski

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
相关仓库
trimstray/the-book-of-secret-knowledge

A collection of inspiring lists, manuals, cheatsheets, blogs, hacks, one-liners, cli/web tools and more.

awesomeMIT Licenseawesomeawesome-list
242.9k14.3k
jlevy/the-art-of-command-line

Master the command line, in one page

tutorialbashunix
162.3k14.8k
clash-verge-rev/clash-verge-rev

A modern GUI client based on Tauri, designed to run in Windows, macOS and Linux for tailored proxy experience

Rustcrates.ioappGNU General Public License v3.0clashclash-meta
clashverge.dev
143.4k10.3k
rustdesk/rustdesk

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

Rustcrates.ioappGNU Affero General Public License v3.0remote-controlremote-desktop
rustdesk.com
123k18.9k
nodejs/node

Node.js JavaScript runtime ✨🐢🚀✨

JavaScriptnpmOthernodejsjavascript
nodejs.org
121.2k36.7k
sherlock-project/sherlock

Hunt down social media accounts by username across social networks

PythonPyPIcliMIT Licenseosintreconnaissance
sherlockproject.xyz
91.2k10.7k
bregman-arie/devops-exercises

Linux, Jenkins, AWS, SRE, Prometheus, Docker, Python, Ansible, Git, Kubernetes, Terraform, OpenStack, SQL, NoSQL, Azure, GCP, DNS, Elastic, Network, Virtualization. DevOps Interview Questions

PythonPyPIinterviewOtherdevopsaws
84.4k20.3k
netdata/netdata

The fastest path to AI-powered full stack observability, even for lean teams.

GoGo ModulesGNU General Public License v3.0monitoringdocker
netdata.cloud
80.5k6.6k
Z4nzu/hackingtool

ALL IN ONE Hacking Tool For Hackers

PythonPyPIcliMIT Licenseallinonehackingtoolweb-attack
79.4k9k
ventoy/Ventoy

A new bootable USB solution.

CappGNU General Public License v3.0bootable-usbmultiboot
ventoy.net
79.2k4.9k
alacritty/alacritty

A cross-platform, OpenGL terminal emulator.

Rustcrates.iocliApache License 2.0terminal-emulatorsopengl
alacritty.org
65.7k3.6k
warpdotdev/warp

Warp is an agentic development environment, born out of the terminal.

Rustcrates.iocliGNU Affero General Public License v3.0rustlinux
warp.dev
64.9k5.5k