Home Store Blog Development

Xbox360 controller



It appears that my xbox360 controller is not correctly detected by default in ubuntu-budgie 18.10 whereas in xubuntu 18.10 it is directly operational out of the box.

Work around:
I installed xboxdrv:

sudo apt install xboxdrv

I unloaded xpad:

sudo rmmod xpad

I created a service file for xboxdrv (found here):

Description=Xbox controller driver daemon

ExecStart=/usr/bin/xboxdrv --daemon --silent --pid-file /var/run/xboxdrv.pid --dbus disabled $XBOXDRV_OPTIONS $PAD_OPTIONS $CONTROLLER0_OPTIONS --next-controller $PAD_OPTIONS $CONTROLLER1_OPTIONS --next-controller $PAD_OPTIONS $CONTROLLER2_OPTIONS --next-controller $PAD_OPTIONS $CONTROLLER3_OPTIONS


I enabled this service to load at startup and launched it:

sudo systemctl enable xboxdrv
sudo service xboxdrv start

I’m not sure I’m doing the right thing but it works.
If you have a better solution, it would be great.


Not sure if this will help, but I had similar issues getting my PS4 controller working. I added a service for DS4 controllers (ds4drv) but after running:

sudo chmod 666 /dev/uinput

The controller worked just as plug and play, without the service enabled.