Trying to get wired xbox 360 controller to work
So i started with just plugging the controller in and having 4 blinking green lights keep flashing. No inputs were recognized. But lsusb listed the device correctly. I started stardew valley and it gave me a prompt to connect a xbox360 controller.
I then tried to do modprobe -r xpad and modprobe xpad. The result was:
modprobe: FATAL: Module xpad not found in directory /lib/modules/4.20.4-arch1-1-ARCH
I then tried to use the xboxdrv AUR package. I tried setting the config to whats listed in: https://wiki.archlinux.org/index.php/Gamepad#Xbox_360_controller
I restarted the service with systemctl restart xboxdrv. I did sudo xboxdrv and the controller swapped from four blinking lights to a single light listed as first player (top left).
I restarted lutris/steam/stardew valley and not only did i not get any inputs - there was also no prompt to connect a xbox 360 controller.
I mucked about trying different flags, even went so far as to try this:
sudo xboxdrv --mimic-xpad --deadzone 10% --trigger-as-zaxis --buttonmap tl=tr,tr=tl --axismap -trigger=trigger
To no avail, the controller is still unresponsive.
SO I decided what the hell I'll try steam-os driver from the AUR. Installed it and dkms.
Tried to follow instructions and did rmmod xpad but got:
rmmod: ERROR: Module xpad is not currently loaded
I figured what the hell might as well try the modprobe steamos-xpad command thats suppose to follow:
modprobe: FATAL: Module steamos-xpad not found in directory /lib/modules/4.20.4-arch1-1-ARCH
Low and behold the controller still doesn't work.
I'm at a loss. Its been a long day so maybe i missed something simple.
Thanks in advance for any help!
About this post
- Posted
- Archived
- Score
- 4 · 100% up
- Kind
- Text
- ID
- allyop
4 comments
If you've updated recently your installed kernel will be 4.20.5 and your modules for 4.20.4 don't exist anymore.
The versions reported there must match.
To fix that you should reboot. If the issue remains, then you didn't have your /boot partition mounted while installing the kernel in which case you might have to use a live disk properly mount the correct partitions, chroot, update and explicitly reinstall the linux kernel (and add your /boot to your fstab so you don't have to do that again)
You shouldn't need to use xboxdrv at all. In my experience, the Xbox 360 controller works perfectly out the gate. Have you tried that by chance?
Did you modprobe 'xpad'?
Second paragraph of his initial posting.