{"id":13589992,"url":"https://github.com/medusalix/xone","last_synced_at":"2025-05-15T07:03:48.594Z","repository":{"id":37421215,"uuid":"382113989","full_name":"medusalix/xone","owner":"medusalix","description":"Linux kernel driver for Xbox One and Xbox Series X|S accessories","archived":false,"fork":false,"pushed_at":"2024-08-17T16:48:09.000Z","size":295,"stargazers_count":2187,"open_issues_count":15,"forks_count":145,"subscribers_count":42,"default_branch":"master","last_synced_at":"2025-05-15T07:02:58.391Z","etag":null,"topics":["kernel","linux","usb","wireless","xbox","xbox-one"],"latest_commit_sha":null,"homepage":"https://discord.gg/FDQxwWk","language":"C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/medusalix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":"https://www.paypal.com/donate?hosted_button_id=BWUECKFDNY446"}},"created_at":"2021-07-01T17:49:12.000Z","updated_at":"2025-05-14T11:38:33.000Z","dependencies_parsed_at":"2024-04-24T14:42:37.923Z","dependency_job_id":"d99604be-b651-44bd-bff0-e2d4c7f96a88","html_url":"https://github.com/medusalix/xone","commit_stats":{"total_commits":120,"total_committers":6,"mean_commits":20.0,"dds":"0.050000000000000044","last_synced_commit":"24674076034e21d99e5e09f9b5fbbeaf21a5f8b4"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/medusalix%2Fxone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/medusalix%2Fxone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/medusalix%2Fxone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/medusalix%2Fxone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/medusalix","download_url":"https://codeload.github.com/medusalix/xone/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254291961,"owners_count":22046424,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kernel","linux","usb","wireless","xbox","xbox-one"],"created_at":"2024-08-01T16:00:37.350Z","updated_at":"2025-05-15T07:03:48.569Z","avatar_url":"https://github.com/medusalix.png","language":"C","funding_links":["https://www.paypal.com/donate?hosted_button_id=BWUECKFDNY446"],"categories":["C","游戏"],"sub_categories":["资源传输下载"],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"logo.svg\" alt=\"Logo\" width=\"200\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/medusalix/xone/releases/latest\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/medusalix/xone?logo=github\" alt=\"Release Badge\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://discord.gg/FDQxwWk\"\u003e\u003cimg src=\"https://img.shields.io/discord/733964971842732042?label=discord\u0026logo=discord\" alt=\"Discord Badge\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://www.paypal.com/donate?hosted_button_id=BWUECKFDNY446\"\u003e\u003cimg src=\"https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif\" alt=\"Donate Button\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n`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).\n\n## Compatibility\n\n- [x] Wired devices (via USB)\n- [x] Wireless devices (with Xbox Wireless Dongle)\n- [ ] Bluetooth devices (check out [`xpadneo`](https://github.com/atar-axis/xpadneo))\n\nInstalling `xone` will disable the `xpad` kernel driver. If you are still using Xbox or Xbox 360 peripherals, you will have to install [`xpad-noone`](https://github.com/medusalix/xpad-noone) as a replacement for `xpad`.\n\n## Important notes\n\nThis driver is still in active development. Use at your own risk!\nIf you are running `xow` upgrading to `xone` is *highly recommended*!\nAlways update your Xbox devices to the latest firmware version!\n**Any feedback including bug reports, suggestions or ideas is [*greatly appreciated*](https://discord.gg/FDQxwWk).**\n\n## Features\n\n- [x] Input and force feedback (rumble)\n- [x] Battery reporting (`UPower` integration)\n- [x] LED control (using `/sys/class/leds`)\n- [x] Audio capture/playback (through `ALSA`)\n- [x] Power management (suspend/resume and remote/wireless wakeup)\n\n## Supported devices\n\n- [x] Gamepads\n    - [x] Xbox One Controllers\n    - [x] Xbox Series X|S Controllers\n    - [x] Xbox Adaptive Controller\n    - [x] Third party controllers (PowerA, PDP, etc.)\n- [x] Headsets\n    - [x] Xbox One Chat Headset\n    - [x] Xbox One Stereo Headset (adapter or jack)\n    - [x] Xbox Wireless Headset\n    - [x] Third party wireless headsets (SteelSeries, Razer, etc.)\n- [x] Guitars \u0026 Drums\n    - [x] Mad Catz Rock Band 4 Wireless Fender Stratocaster\n    - [x] Mad Catz Rock Band 4 Wireless Drum Kit\n    - [x] PDP Rock Band 4 Wireless Fender Jaguar\n- [x] Xbox One Chatpad\n- [ ] Third party racing wheels (Thrustmaster, Logitech, etc.)\n\n## Releases\n\n[![Packaging status](https://repology.org/badge/vertical-allrepos/xone.svg)](https://repology.org/project/xone/versions)\n\nFeel free to package `xone` for any Linux distribution or hardware you like.\nAny issues regarding the packaging should be reported to the respective maintainers.\n\n## Installation\n\n### Prerequisites\n\n- Linux (kernel 5.13+ and headers)\n- DKMS\n- curl (for firmware download)\n- cabextract (for firmware extraction)\n\n### Guide\n\n1. Unplug your Xbox devices.\n\n2. Clone the repository:\n\n```\ngit clone https://github.com/medusalix/xone\n```\n\n3. Install `xone`:\n\n```\ncd xone\nsudo ./install.sh\n```\n\n**NOTE:** You can use the `--release` flag to disable debug logging.\n\n4. Download the firmware for the wireless dongle:\n\n```\nsudo xone-get-firmware.sh\n```\n\n**NOTE:** The `--skip-disclaimer` flag might be useful for scripting purposes.\n\n5. Plug in your Xbox devices.\n\n### Updating\n\nMake sure to completely uninstall `xone` before updating:\n\n```\nsudo ./uninstall.sh\n```\n\n## Wireless pairing\n\nXbox 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.\n\nInstructions for pairing your devices can be found [here](https://support.xbox.com/en-US/help/hardware-network/controller/connect-xbox-wireless-controller-to-pc) (see the section on *Xbox Wireless*).\n\n## LED control\n\nThe guide button LED can be controlled via `sysfs`:\n\n```\necho 2 | sudo tee /sys/class/leds/gip*/mode\necho 5 | sudo tee /sys/class/leds/gip*/brightness\n```\n\nChanging 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:\n\n```\nACTION==\"add\", SUBSYSTEM==\"leds\", KERNEL==\"gip*\", ATTR{mode}=\"2\", ATTR{brightness}=\"5\"\n```\n\nReplace the wildcard (`gip*`) if you want to control the LED of a specific device.\nThe modes and the maximum brightness can vary from device to device.\n\n## Troubleshooting\n\nUninstall the release version and install a debug build of `xone` (see installation guide).\nRun `sudo dmesg` to gather logs and check for any error messages related to `xone`.\nIf `xone` is not being loaded automatically you might have to reboot your system.\n\n### Error messages\n\n- `Direct firmware load for xow_dongle.bin failed with error -2`\n    - Download the firmware for the wireless dongle (see installation guide).\n\n### Input issues\n\nYou can use `evtest` and `fftest` to check the input and force feedback functionality of your devices.\n\n### Other problems\n\nPlease join the [Discord server](https://discord.gg/FDQxwWk) in case of any other problems.\n\n## License\n\n`xone` is released under the [GNU General Public License, Version 2](LICENSE).\n\n```\nCopyright (C) 2021 Severin von Wnuck-Lipinski\n\nThis program is free software; you can redistribute it and/or\nmodify it under the terms of the GNU General Public License\nas published by the Free Software Foundation; either version 2\nof the License, or (at your option) any later version.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmedusalix%2Fxone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmedusalix%2Fxone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmedusalix%2Fxone/lists"}