For some reason, my USB headphones stop working from time to time and I need to manually replug the USB connector of the headphones. I am looking for a program to reset a given USB port. If possible, it should be possible to disable and enable one of several USB ports at once (one reason being that it would help to find the USB port I want to reset as USB port names can sometimes be not entirely explicit).
-
1What OS do you need it for?– UndoApr 26, 2014 at 22:31
-
I have the issue on Windows but I'm curious for Mac and Linux as well in case.– Franck DernoncourtApr 26, 2014 at 22:34
-
You can try to disable/enable the device directly from Windows'es device manager. For Linux, see this (it's about Ubuntu but it should work on any distribution).– user111Apr 27, 2014 at 21:18
2 Answers
You can use USBDeview:
- free and portable
- supports Windows
- can disable and enable one or several given USB ports at once just as if you were unplugging or plugging the USB cable manually:
- gives the date of the last time the USB device has been plugged, which can be handy (otherwise try to find my headphones in the above pictures!).
Microsoft's devcon tool can do it for you. It can perform Enable, Disable, Restart, Remove and other operations on any device by it's name. This tool is part of Windows Driver Kit, but you can find it as separate file in the Internet.
-
1See superuser.com/questions/1002950/… for a fast and easy way to download
devcon
. Oct 15, 2018 at 3:36