View previous topic :: View next topic |
Author |
Message |
Raist_BlackRobe n00b
Joined: 15 Jun 2014 Posts: 16
|
Posted: Wed Sep 25, 2024 9:28 am Post subject: [SOLVED]Microsoft Xbox Series X Controller not working |
|
|
Hello all.
I'm trying to make my Microsoft Xbox Series X Controller work for some time now and I'm not getting anywhere, so I'll explain my case to you in case you can help me.
First of all, I'm trying to make the controller work when it's plugged with an USB cable. I'm not trying to make Bluetooth work at the moment, it's not a priorty for me since I use the controller with the cable always.
Second, the firmware of the controller is updated to the last version. I have a dual booting system and I have updated the firmware in Windows.
I will explain how the controller behaves in Windows and, afterwards, I'll explain how it behaves in Linux.
In Windows:
1. I boot the system, and the light in the X button of the controller is turned off.
2. I press the X button, the light turns on, and the controller works.
Now, in Linux:
1. I boot the system, dmesg registers that my controller has been recognized:
Code: |
[ 4.703486] usb 1-11.3: new full-speed USB device number 8 using xhci_hcd
[ 4.780292] usb 1-11.3: device descriptor read/64, error -32
[ 4.963613] usb 1-11.3: device descriptor read/64, error -32
[ 5.146774] usb 1-11.3: new full-speed USB device number 9 using xhci_hcd
[ 5.242886] usb 1-11.3: New USB device found, idVendor=045e, idProduct=0b12, bcdDevice= 5.16
[ 5.245400] usb 1-11.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5.247879] usb 1-11.3: Product: Controller
[ 5.250128] usb 1-11.3: Manufacturer: Microsoft
[ 5.250868] usb 1-11.3: SerialNumber: 3039373130303037383537323230
[ 5.258396] input: Microsoft Xbox Series S|X Controller as /devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11.3/1-11.3:1.0/input/input8
|
(I have read that the error -32 is normal when the controller is being recognized, but be free of correct me if that's not the case).
2. The light in the X button of the controller is turned off.
3. I press the X button and this time the light is blinking. The controller doesn't work.
4. If I unplug and re-plug the cable, the light in the X button turns on by itself and the controller works. Obviously, this is not the proper way to use the controller everyday.
Frankly, I don't have a clue of the place where the problem could be and I don't know which log of what component should I inspect so any help will be welcome.
I think that, since re-plugging the controller makes it work, it shouldn't be a kernel problem, but I'm not sure if could be a module problem (as I said, I'm out of ideas).
Last edited by Raist_BlackRobe on Mon Oct 07, 2024 10:11 am; edited 1 time in total |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5167 Location: Bavaria
|
Posted: Wed Sep 25, 2024 3:41 pm Post subject: |
|
|
I guess you have in your kernel configuration already CONFIG_USB_ANNOUNCE_NEW_DEVICES enabled (but check it). You will need also all 3:
CONFIG_USB_HID
CONFIG_HID_PID *)
CONFIG_USB_HIDDEV
Especially (*) because:
Quote: | Say Y here if you have a PID-compliant device and wish to enable force feedback for it. Microsoft Sidewinder Force Feedback 2 is one of such devices. |
I dont know your device, so maybe you will need also:
CONFIG_HID_MICROSOFT
... and maybe these (you must enable in this order to get all options):
CONFIG_USB_GADGET
CONFIG_USB_G_HID
CONFIG_USB_CONFIGFS
CONFIG_USB_CONFIGFS_F_HID
If this all does not help then I am sorry and cannot help further (because these are all options I know). _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
Raist_BlackRobe n00b
Joined: 15 Jun 2014 Posts: 16
|
Posted: Thu Sep 26, 2024 6:45 am Post subject: |
|
|
It didn't work.
I was missing CONFIG_USB_GADGET and all the options below it that you posted, but, as I said, it didn't work.
Thanks for the ideas, though. There were things that I had not tested. One of those things I have not tested will be the correct solution. Eventually. |
|
Back to top |
|
|
Raist_BlackRobe n00b
Joined: 15 Jun 2014 Posts: 16
|
Posted: Mon Oct 07, 2024 10:09 am Post subject: |
|
|
Well, after several months of failures, it seems that writing the problem down has cleared my mind and I've been able to solve it.
The steps I took are the following:
1. I recompiled the kernel without the xpad driver, since its documentation doesn't mention having Series X controller support.
2. I installed the driver xone from the src_prepare-overlay overlay. There are 2 drivers for the XBox Series X controller: xone and xpadneo. I think xpadneo supports Bluetooth operation and xone wired operation, so I chose xone.
3. I added the module xone-wired to /etc/modules-load.d/drivers.conf, to load the module during boot.
After rebooting the system, once I press the X button, the controller activates and it works perfectly. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5167 Location: Bavaria
|
Posted: Mon Oct 07, 2024 11:07 am Post subject: |
|
|
Raist_BlackRobe wrote: | [...] The steps I took are the following:
1. I recompiled the kernel without the xpad driver, since its documentation doesn't mention having Series X controller support.
2. I installed the driver xone from the src_prepare-overlay overlay. There are 2 drivers for the XBox Series X controller: xone and xpadneo. I think xpadneo supports Bluetooth operation and xone wired operation, so I chose xone.
3. I added the module xone-wired to /etc/modules-load.d/drivers.conf, to load the module during boot.
After rebooting the system, once I press the X button, the controller activates and it works perfectly. |
Thank you for your report. It will certainly help other users as well.
Have fun with Gentoo! _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|