Tuesday, March 10, 2009

USB Mass Storage Issues

This all started with the 2009 New Year Party. Someone spilled some beer on my laptop and I started facing strange USB issues. So I uninstalled a few thinsg and things went worse. Sometimes the mouse wont work but a simple plugout-plugin makes it work.

Last week I tried to work on my external USB hard disk storage device and it simply did not work. Windows initially reported an error like:


Application popup: Windows - Delayed Write Failed : Windows was unable to save all the data for the file G:\$Mft. The data has been lost. This error may be caused by a failure of your computer hardware or network connection. Please try to save this file elsewhere.


Then it stopped recognizing it completely reporting Unknown Device.
So here's the way to troubleshoot it:
  1. Check whether the USB external storage is working or not: I plugged in my USB external storage to another laptop and it worked. So the USB drive does not have any issue.
  2. Check whether the laptop USB port is working or not: I used the same port for my mouse and even a keyboard and it worked. So the USB port does not have any issue.

So the problem is neither with the USB port nor with the USB device so what's the problem. The problem is the special USB feature which Mass storage devices use i.e. USB 2.0. So how to check it:

  1. Go to the "My Computer" icon and do a right click + Properties. Select the "Hardware" tab on the top. You should find a "Device Manager" button in there.


  2. Open the device manager. At the end of all components, you will find "Universal Serial Bus Controllers" (USB Controllers). I have 4 USB ports which are listed below and I have a USB 2.0 controller which sits on top of these 4 USB ports and enable USB 2.0 technology for all the 4 USB port.

  3. Now the problem which we face with Mass storage drives is that they use this USB 2.0 Enhanced port. Other USB devices like mouse, keyboard, webcam use only standard USB features.
  4. You might see all these elements in your Device Manager too. The problem lies with the driver which might have been corrupted. So to remedy it.
  5. Select the USB2 Enhance port controller and do a Right Click + Uninstall. These will remove the existing USB2 driver.
  6. To play safe (and to start from scratch), do a Right Click + Uninstall on the other 4 USB Controllers too. You will see the USB Root Hubs disappearing from the list.
  7. Once the whole list of items under "Universal Serial Bus Controllers" is empty, go to the menu on the top and select Action -> Scan for Hardware Changes.
  8. Your Microsoft Windows OS will automatically detect the USB port and will install its default drivers for them. Note: It might detect the USB2.0 controller too and install its driver for it but the MS driver does not work. If it does it automatically, uninstall it as in Step 6.
  9. So now all your ports are USB compliant. Plug in your mouse and see that it works fine.
  10. Plug in you USB mass storage hard disk. It will recognize it but will report a faster USB2.0 device inserted to a slower USB1.0 port. Hurrah !! - we have got out USB mass storage hard disk working although at slower speeds.
  11. Now we need to enable the USB2.0 controller. To do you need to get your original chipset driver cd. If you have it, good or browse to your laptop's vendor page and loop for chipset driver for your laptop.
  12. Install your chipset drivers again. The USB 2.0 drivers are part of chipset drivers collection.
  13. Post this, check in device manager. The USB2 Enhanced controller will be recognized. If you do a Right Click + Properties to it and go to the Driver tab on top, you will see the driver details (and it will be a non-Microsoft driver).
  14. Plug you USB mass storage hard disk again and it should work fine this time:)

P.S: More details on USB can be found at wikipedia.

4 comments:

blackhillsmom said...

First of all...THANK YOU THANK YOU THANK YOU!!!! I am not very tech savvy, and I spent an hour and a hal on the phone with Dell plus a couple of hours on hte internet searching for a fix to this problem. I followed your instructions and uninstalled the USB 2.0 Enhanced ports. Aha! For the first time, I can access my flash drive. However, it does come up with the message that it is not running as fast as it could. Windows wants to automatically reinstall the 2.0 ports. When I looked for chipset drivers for my computer, all I could find are the Intell ones. How do I find any that aren't Microsoft and are still compatible?? Help Please!

Sandeep Kumar said...

Go to http://www.intel.com/support/graphics/detect.htm and update your chipset drivers.
This should solve the problem.

Hans Hess said...

Ok. I'm confused in step 8. After I have it search for new Hardware it repopulates the list exactly like it was before. When I plug in the mass storage device I don't see any reference to it being too fast - everything is just like it was before.

sumit said...

i have done it................but the prob remains same......i checked the BIOS .......where usb mass storage device driver is uninstalled....!!!