Table of Contents

Ubuntu - Joystick - Troubleshooting - LIBUSB_ERROR_NOT_FOUND

The Problem

A Xbox controller is not working.

To reproduce the error:

The command throws the following error:

Error couldn’t claim the USB interface: LIBUSB_ERROR_NOT_FOUND

The fix

Disable the autosuspend feature of the usbcore module.

Set the usbcore.autosuspend option to -1 in the GRUB_COMDLINE_LINUX line in the Grub configuration file /etc/default/grub:

/etc/default/grub
GRUB_CMDLINE_LINUX="usbcore.autosuspend=-1"

Update the grub configuration:

sudo update-grub

Restart the computer.

NOTE: Once you restart the computer, the Xbox button lights stop blinking.