All Projects → medusalix → xone

medusalix / xone

Licence: GPL-2.0 license
Linux kernel driver for Xbox One and Xbox Series X|S accessories

Programming Languages

c
50402 projects - #5 most used programming language
shell
77523 projects
Makefile
30231 projects

Projects that are alternatives of or similar to xone

Xow
Linux driver for the Xbox One wireless dongle
Stars: ✭ 947 (+48.9%)
Mutual labels:  usb, xbox, wireless
usbip-service-discovery
USB/IP Service Discovery - Provide GUI and some enhancement for USB/IP userspace
Stars: ✭ 25 (-96.07%)
Mutual labels:  usb, wireless
pac-man-emulator
🕹 An emulator for the Pac-Man arcade machine (Zilog Z80 CPU) for Win/Mac/*nix and Xbox One.
Stars: ✭ 20 (-96.86%)
Mutual labels:  xbox, xbox-one
Arduinoxinput
XInput library for USB capable Arduino boards
Stars: ✭ 126 (-80.19%)
Mutual labels:  usb, xbox
QuantumTunnel
A Xbox One/Series Flash Dumper for SystemOS created in C#.
Stars: ✭ 19 (-97.01%)
Mutual labels:  xbox, xbox-one
Helenos
A portable microkernel-based multiserver operating system written from scratch.
Stars: ✭ 553 (-13.05%)
Mutual labels:  kernel, usb
Gimx
The GIMX software.
Stars: ✭ 421 (-33.81%)
Mutual labels:  usb, xbox
fix-linux-mouse
Hints how to fix USB mouse issues on Linux
Stars: ✭ 36 (-94.34%)
Mutual labels:  kernel, wireless
xbox kernel test suite
Xbox kernel APIs tester written using nxdk
Stars: ✭ 17 (-97.33%)
Mutual labels:  kernel, xbox
Realtek-USB-Wireless-Adapter-Drivers
Realtek USB Wireless Adapter Drivers [0bda:f179] (Kernel 4.15.x ~ 5.9.x)
Stars: ✭ 34 (-94.65%)
Mutual labels:  kernel, wireless
Android Usb Gadget
Convert your Android phone to any USB device you like! USB Gadget Tool allows you to create and activate USB device roles, like a mouse or a keyboard. 🛠🛡📱
Stars: ✭ 118 (-81.45%)
Mutual labels:  kernel, usb
Ipod Gadget
iPod usb gadget for audio playback
Stars: ✭ 94 (-85.22%)
Mutual labels:  kernel, usb
ArduinoXInput AVR
AVR boards package for the ArduinoXInput project
Stars: ✭ 53 (-91.67%)
Mutual labels:  usb, xbox
tinyos
An UNIX-like toy operating system runs on x86 CPU
Stars: ✭ 47 (-92.61%)
Mutual labels:  kernel
kernel-memtest
Hybrid memtest running in kernel mode, and userspace.
Stars: ✭ 17 (-97.33%)
Mutual labels:  kernel
MellOs
Minimal, collaboratively written kernel
Stars: ✭ 219 (-65.57%)
Mutual labels:  kernel
XB1ControllerBatteryIndicator
A tray application that shows a battery indicator for an Xbox-ish controller and gives a notification when the battery level drops to (almost) empty.
Stars: ✭ 536 (-15.72%)
Mutual labels:  xbox-one
qp-arduino
QP real-time embedded frameworks/RTOS for Arduino (AVR and SAM)
Stars: ✭ 37 (-94.18%)
Mutual labels:  kernel
ut61e python
Captures and Interprets Data from the Digital Multimeter Uni-T UT61E using Python
Stars: ✭ 23 (-96.38%)
Mutual labels:  usb
linux-prog
Some C code i write to study systems programming (while reading The Linux Programming Interface)
Stars: ✭ 43 (-93.24%)
Mutual labels:  kernel

xone 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)

Important notes

This driver is still in active development. Use at your own risk! If you are running xow upgrading to xone is highly recommended! Always update your Xbox devices to the latest firmware version! Any feedback including bug reports, suggestions or ideas is greatly appreciated.

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
    • 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.)
  • Third party racing wheels (Thrustmaster, Logitech, etc.)
  • Xbox One Chatpad
  • Xbox Adaptive Controller
  • Mad Catz Rock Band 4 Wireless Stratocaster

⚠️ Standalone wireless headsets are currently not supported!

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 4.15+ 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 --release

NOTE: Please omit the --release flag when asked for your debug logs.

  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

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

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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].