Comments on: How to Reset USB Device Using Command Line in Linux https://www.tecmint.com/reset-usb-device-linux/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Fri, 11 Oct 2024 04:23:34 +0000 hourly 1 By: Ravi Saive https://www.tecmint.com/reset-usb-device-linux/comment-page-1/#comment-2226959 Fri, 11 Oct 2024 04:23:34 +0000 https://www.tecmint.com/?p=58177#comment-2226959 In reply to dragonmouth.

@Dragonmouth,

Thank you for your question!

If the USB device is not being detected, you can still try to identify it using the following commands:

lsusb
dmesg | grep -i usb

Once you identify the device using these commands, you can proceed with resetting it.

Let me know if you need further assistance!

]]>
By: Ravi Saive https://www.tecmint.com/reset-usb-device-linux/comment-page-1/#comment-2226956 Fri, 11 Oct 2024 04:20:12 +0000 https://www.tecmint.com/?p=58177#comment-2226956 In reply to Gérard.

@Gerard,

Thank you for your message and for pointing out the issue regarding the blank space in the Device Mount Point.

You are correct to be cautious when dealing with spaces in mount points. When there is a blank space in the path, you have two valid options:

Escape the space using a backslash (\):

sudo umount /media/ravi/Windows\ USB

Enclose the entire path in quotes:

sudo umount "/media/ravi/Windows USB"

Both options will work correctly.

As for the trailing /, it is not strictly necessary, but including or omitting it doesn’t affect the command’s functionality in this case.

You can leave it out:

sudo umount /media/ravi/Windows\ USB

I hope this clarifies your concern! Feel free to reach out if you have any further questions.

]]>
By: Gérard https://www.tecmint.com/reset-usb-device-linux/comment-page-1/#comment-2226544 Thu, 10 Oct 2024 13:46:10 +0000 https://www.tecmint.com/?p=58177#comment-2226544 Dear Sir,

In Step 2, “Unmount the USB Device in Linux,” the syntax you provide is:

sudo umount /media/username/device_name

However, how would that apply to your example? I ask because, in your example, the Device Mount Point contains a blank space.

So, which of the following would be correct?

sudo umount /media/ravi/Windows USB
OR
sudo umount /media/ravi/"Windows USB"

Addendum: I think I found it! Based on Step 4, it seems the correct command might be:

sudo umount /media/ravi/Windows\ USB/

I am still unsure, especially regarding the trailing / at the end. Could you please clarify this issue, particularly when there is a blank space in the Device Mount Point?

Regards,
Gérard

]]>
By: dragonmouth https://www.tecmint.com/reset-usb-device-linux/comment-page-1/#comment-2226493 Thu, 10 Oct 2024 11:36:13 +0000 https://www.tecmint.com/?p=58177#comment-2226493 In reply to Ravi Saive.

If the USB device is not being detected, how do you know its address to reset it?

]]>
By: Ravi Saive https://www.tecmint.com/reset-usb-device-linux/comment-page-1/#comment-2226367 Thu, 10 Oct 2024 04:27:42 +0000 https://www.tecmint.com/?p=58177#comment-2226367 In reply to dragonmouth.

@dragonmouth,

By ‘resetting the USB device,’ I mean forcing the system to reinitialize the USB device, similar to unplugging it and plugging it back in without physically doing so. This can help resolve issues like the device not being recognized, errors with file transfers, or problems with power management.

For example:

If your USB drive isn’t being detected after plugging it in, resetting the device can make it recognizable again.
It can fix glitches when a USB mouse or keyboard becomes unresponsive.

Hope that helps!

]]>