ubuntu:joystick:troubleshooting:libusb_error_not_found
This is an old revision of the document!
Table of Contents
Ubuntu - Joystick - Troubleshooting - LIBUSB_ERROR_NOT_FOUND
The problem
Plugging an Xbox controller into a USB port The xboxdrv tool 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.1687808476.txt.gz · Last modified: 2023/06/26 19:41 by peter