====== Ubuntu - Joystick - Troubleshooting - LIBUSB_ERROR_NOT_FOUND ====== ===== The Problem ===== A Xbox controller is not working. * The xboxdrv tool also throws a LIBUSB_ERROR_NOT_FOUND error. To reproduce the error: * Connect the controller to an USB port. * The Xbox button lights start blinking non stop. * Type the following command sudo xboxdrv 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. * See [[https://www.kernel.org/doc/Documentation/usb/power-management.txt|Power Management for USB]]. Set the **usbcore.autosuspend option** to -1 in the GRUB_COMDLINE_LINUX line in the Grub configuration file /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. ----