ubuntu:joystick:troubleshooting:libusb_error_not_found
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ubuntu:joystick:troubleshooting:libusb_error_not_found [2023/06/26 19:37] – created peter | ubuntu:joystick:troubleshooting:libusb_error_not_found [2023/06/26 19:43] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Ubuntu - Joystick - Troubleshooting - LIBUSB_ERROR_NOT_FOUND ====== | ====== Ubuntu - Joystick - Troubleshooting - LIBUSB_ERROR_NOT_FOUND ====== | ||
- | The xboxdrv tool throws a LIBUSB_ERROR_NOT_FOUND error. | + | ===== The Problem ===== |
+ | |||
+ | A Xbox controller is not working. | ||
+ | |||
+ | * The xboxdrv tool also throws a LIBUSB_ERROR_NOT_FOUND error. | ||
To reproduce the error: | To reproduce the error: | ||
- | * Connect the controller to an USB port in your computer. | + | * Connect the controller to an USB port. |
* The Xbox button lights start blinking non stop. | * The Xbox button lights start blinking non stop. | ||
* Type the following command <code bash> | * Type the following command <code bash> | ||
- | * The command throws the following error: | + | |
+ | The command throws the following error: | ||
<code bash> | <code bash> | ||
Line 14: | Line 19: | ||
</ | </ | ||
+ | ---- | ||
+ | |||
+ | ===== The fix ===== | ||
+ | |||
+ | Disable the autosuspend feature of the usbcore module. | ||
+ | |||
+ | * See [[https:// | ||
+ | |||
+ | Set the **usbcore.autosuspend option** to -1 in the GRUB_COMDLINE_LINUX line in the Grub configuration file / | ||
+ | |||
+ | <file bash / | ||
+ | GRUB_CMDLINE_LINUX=" | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | Update the grub configuration: | ||
+ | |||
+ | <code bash> | ||
+ | sudo update-grub | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | Restart the computer. | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | </ | ||
+ | |||
+ | ---- | ||
ubuntu/joystick/troubleshooting/libusb_error_not_found.1687808253.txt.gz · Last modified: 2023/06/26 19:37 by peter