4 ms·
Show HN: Linux driver for the Xbox One wireless dongle
- seba_dos1 7y agoFinally! :) I have one with borked USB port (I think the 1537 one), if it works this may make it useful again. Thanks for working on this!
- carc1n0gen 7y agoCurious how you charge if if the usb is "borked"
- 0XAFFE 7y agoReplacing the AA-bateries? At least my xbox one controller has a slot for two aa bateries on the back.
- carc1n0gen 7y agoInteresting. My controller that I got only a few months after xbox one launch has a proprietary rechargeable battery in that slot
- sjagoe 7y agoAt least the original xbox one controller used AA batteries by default, and had an optional accessory rechargeable battery pack to replace the AA batteries. Maybe the later models are different; I don't have an xbox anymore.
- martinmunk 7y agoNice project! Initial thought: apart from ease of development, is there any reason to do it in user space? I looked into uinput before to get a Bluetooth mfi controller working, but couldn't figure out which modules of the kernel did what.
- chewzerita 7y agoNot OP, but there is a history of writing game controller drivers for linux: https://github.com/chrippa/ds4drv https://github.com/chrippa/ds4drv https://xboxdrv.gitlab.io/ https://xboxdrv.gitlab.io/ https://github.com/kozec/sc-controller https://github.com/kozec/sc-controller I recently bought myself a dualshock4 for use with Kodi and RetroArch. No driver was needed, even for bluetooth! Edit: formatting
- fulafel 7y agoIt's this is the major factor limiting driver development on Linux, so it hardly needs another reason. But security is another thing that userspace implementation can do better on, no idea about this case specifically.
- loeg 7y agoUntil performance is an obstacle, writing drivers in user space first is all benefit. Quick prototyping, crashes don't bring down the system, choice of programming language, etc, etc.
- Medusalix 7y agoOne of the major points for me was how cumbersome the installation process for kernel modules is. Now I can just do make install which works on most Linux distributions.
- chupasaurus 7y agoDKMS is the only way to do it without losing sanity.
- rubicks 7y agoTell that to a friend that runs secure boot enabled.
- chupasaurus 7y agoYou can add a step to DKMS build scripts for signing the modules.
- alufers 7y agoThank you so much! I was just to buy the Bluetooth ones but it seems like I don't have to.
- IlegCowcat 7y ago> Most of the reverse engineering was done by capturing the communication between the dongle and a Windows PC using Wireshark Haha that's pretty cool
- hnarn 7y agoIf Windows is the only platform (apart from the Xbox) where the dongle works, there's also not much of an option if you want to intercept valid traffic relatively easily.
- samueloph 7y agoThanks for working on it, I'll see if I can get it packaged to Debian during the holidays.