Xbox series S|X controller

Hello, I am attempting to connect an xbox series s controller to my old lenovo x200 tablet through usb. I am able to get my computer to recognize the controller but no inputs will work.

lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 045e:0b12 Microsoft Corp. Xbox Controller

[ 384.985296] usb 1-1: new full-speed USB device number 4 using uhci_hcd
[ 385.173644] usb 1-1: New USB device found, idVendor=045e, idProduct=0b12, bcdDevice= 5.09
[ 385.173651] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 385.173655] usb 1-1: Product: Controller
[ 385.173657] usb 1-1: Manufacturer: Microsoft
[ 385.173660] usb 1-1: SerialNumber: 3039373130353535303133333431
[ 385.177374] input: Microsoft Xbox Series S|X Controller as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1:1.0/input/input26

when i run evtest i don’t get any responses. I have retroarch downloaded and it detects the device but no inputs work. Any advice is much appreciated.

Running usbview it shows

ntroller
Manufacturer: Microsoft
Serial Number: 3039373130353535303133333431
Speed: 12Mb/s (full)
Bus: 1
Address: 4
USB Version: 2.00
Device Class: ff
Device Subclass: 47
Device Protocol: d0
Maximum Default Endpoint Size: 64
Number of Configurations: 1
Vendor Id: 045e
Product Id: 0b12
Revision Number: 05.09

Config Number: 1
Number of Interfaces: 3
Attributes: a0
MaxPower Needed: 500mA

Interface Number: 0
	Name: xpad
	Alternate Number: 0
	Class: ff
	Sub Class: 47
	Protocol: d0
	Number of Endpoints: 2

		Endpoint Address: 02
		Direction: out
		Attribute: 3
		Type: Interrupt
		Max Packet Size: 64
		Interval: 4ms

		Endpoint Address: 82
		Direction: in
		Attribute: 3
		Type: Interrupt
		Max Packet Size: 64
		Interval: 4ms

Interface Number: 1
	Name: (none)
	Alternate Number: 0
	Class: ff
	Sub Class: 47
	Protocol: d0
	Number of Endpoints: 0

Interface Number: 2
	Name: (none)
	Alternate Number: 0
	Class: ff
	Sub Class: 47
	Protocol: d0
	Number of Endpoints: 0

I am using the same usb cable i’ve used to install grapheneOS on my android so i don’t think its the cable. I connected my controller to my mac with asahilinux installed. It runs fedora and works perfectly. I’ve noticed when i connect it to my mac the xbox logo lights up but on my lenovo it vibrates but stays dark. Any advice is much apprecited. Hopefully this isn’t to confusing of a post.

Have a look into the wiki:

https://wiki.archlinux.org/title/Gamepad

Thanks Wollie! I was looking at the arch wiki from gamepads and Im not sure where to go next. In my first post i showed that the usb is working. If i check my modules they appear to be loaded

lsmod | grep usb  1 ✘  13s 
btusb 86016 0
btrtl 32768 1 btusb
btintel 57344 1 btusb
btbcm 24576 1 btusb
btmtk 12288 1 btusb
bluetooth 1114112 30 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
usbhid 77824 2 hid_logitech_dj,hid_logitech_hidpp
   ~  lsmod | grep joydev  :heavy_check_mark:
joydev 24576 0
   ~ 

but when i run evtest I can’t get any inputs from my controller. I tried changing the udev rules, as there wasnt a file in my /etc/udev/rules.d
I created a file named 10-xbox.rules and this is the contents of the file SUBSYSTEMS==“usb”, ATTRS{idVendor}==“045e”, ATTRS{idProduct}==“0b12”, MODE=“0660”, TAG+=“uaccess”

I reset my laptop but i still can’t get any inputs. :\ It’s weird it works right away on my other laptop through usb. Which is running fedora. I don’t even bother with bluetooth on this laptop as I don’t think 4.0 bluetooth is compatible with 2.0.