Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Microsoft Xbox Series X Controller (with cable) not working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Raist_BlackRobe
n00b
n00b


Joined: 15 Jun 2014
Posts: 15

PostPosted: Wed Sep 25, 2024 9:28 am    Post subject: Microsoft Xbox Series X Controller (with cable) not working Reply with quote

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).
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4887
Location: Bavaria

PostPosted: Wed Sep 25, 2024 3:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
Raist_BlackRobe
n00b
n00b


Joined: 15 Jun 2014
Posts: 15

PostPosted: Thu Sep 26, 2024 6:45 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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