Why does my USB device keep connecting and disconnecting?

Why does my USB device keep connecting and disconnecting?

It can be that your USB device happens to be faulty or the USB port you’re plugging your devices into are failing. To rule out this as a possibility: Connect your USB devices to a different computer. If it’s working properly on the other computer, then your USB device is most likely at fault.

What causes USB ports to malfunction?

A computer’s USB ports might not work because of internal hardware issues, improper software configuration, problems with a previously connected device or use of an incompatible USB extension cable.

What to do if USB port 2 does not work?

For Port 2 : To disconnect USB : Reset the device, or the hub it is connected to, and the device should reappear. Here is a small program to do that: It works for most USB drives I’ve tried, but there are exceptions, like my Kingston DT 101 II 4GB, which fails INQUIRY and READ CAPACITY commands after reset, and remains unusable until power-cycled.

Can a USB storage device be logically disconnected?

It is possible for a USB storage device to become logically disconnected: the device is still plugged in, but is invisible from the operating system (e.g. it’s not listed under /proc/bus/usb).

How to get rid of a USB device?

Open the Windows Device Manager by going to Start » Run, type in devmgmt.msc, and then click the OK button. You will now need to determine which USB hub (port) the troubled device is connected to. To do this, expand the Universal Serial Bus controllers group at the bottom of the list.

How do you reset a USB device from the command line?

Quickest way to reset will be to reset the USB controller itself. Doing so will enforce udev to unregister the device on disconnection, and register is back once you enable it. This should work for most PC environment. However, if you are using some custom hardware you can simply iterate through the device names.