Operating systems have some flaws, however, many have a solution. For this, you should know What to do if linux does not detect a USB device?
Solutions for Linux to detect your USB device
Surely at some point you had a connection problem in your operating system, when connecting a keyboard, a USB drive, a mouse, among others.
This can be caused by many reasons, one of them is that the USB port is damagedor, but, in case this is not the problem, there are also other solutions, which we will show you today.
Verify that the USB port is detected correctly
The first solution we have for your problem is to verify that when connecting the USB device it is if it is detected by the computer.
If the problem occurs in Windows, the way to verify is by looking directly in the device manager where you can see if it is being detected or not.
In the case of the Linux operating system, it is recommended to perform a patch using a command. You must write »Isusb», immediately a list appears with all the devices and USB ports that are detected.
Executing the command you will realize through the list, that the device is not connected.
You can execute the command in two ways, one of them is with your device connected to the USB port, and the other is disconnected.
When it comes to storage devices, the reason why the system does not detect it may be due to the following:
- There is no partition on the device that can recognize it, or it does not have a partition table, as the case may be.
- The partition format cannot be supported by the system,
Check the status of the USB port
Another problem that can occur is directly with the USB port. For this reason, it is important to verify its status.
The easiest way to check its operation is to using any other USB port on the computer. If it detects the device quickly, then the problem is solved, it is the port that has some faults or is damaged.
In case your computer does not have any other port available for verification, you should try the USB device on another computer, it can be a PC or laptop.
If the device is not detected on any computer, there are two reasons. The first is that the drivers are not installed on the computer system, and the second is that the device simply does not work anymore.
For many users, this solution may not be the best, however, according to experts, it does fix the problem.
The first thing you should do is check if the automatic suspension is the one that generates the problem. Now, if the USB device works perfectly, it means that it is receiving power.
Restarting Ubuntu 18.10 is simple, however, you must know a few tricks so that the process is carried out correctly, and avoid failures during its operation. For this reason, here are some steps:
- The first step is to open a window in the terminal to type the following: cat /sys/module/usbcore/parameters/autosuspend
- The display should show a value of "2", which means that the automatic suspension is fully active.
- To fix this problem, you can edit the grub file by entering the following command: sudo nano /etc/default/grub
- Once there, you should look for the following: GRUB_CMDLINE_LINUX_DEFAULT = »quiet splash»
- When you find it you must modify it, placing: GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash usbcore.autosuspend=-1″
- Then you must press Ctrl X so that the file is saved without problems, and finally exit.
- Update grub by typing the command: sudo update-grub
- Voila, the last thing left to do is reboot the system.
In the event that none of these solutions help you with your problem, it is best to visit a specialist in Linux operating systems and computers to determine the true causes.