ubuntu:joystick:troubleshooting:libusb_error_not_found
Table of Contents
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.
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.
ubuntu/joystick/troubleshooting/libusb_error_not_found.txt · Last modified: 2023/06/26 19:43 by peter