Solved

XP won't recognize USB hubs

Posted on 2007-10-25
14
6,910 Views
Last Modified: 2013-12-09
I'm running XP 64 SP2 on a Tyan 2895 board. I can't install a USB 2.0 hub to any on-board USB 2.0 port. XP finds new hardware and the wizard opens, but going through the install drivers routine finds no drivers and the hub will not install. Normally, a hub should simply be recognized and installed automatically. There should be no drivers needed. I've tried a couple of different hubs with the same results. The same issue occurs with a wireless USB keyboard, but all other USB devices work okay. I have unistalled and reinstalled the hubs and controllers, but that did not help.  Thanks.  
0
Comment
Question by:sjw601
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 3
  • 3
  • +2
14 Comments
 
LVL 14

Expert Comment

by:bmsjeff
ID: 20151544
It could that is doesn't know where they drivers are...

***always backup the registry before making any changes***

Start the Registry Editor (Run -> Regedit). Check if under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion the item 'DevicePath' points to '%SystemRoot%\inf'. Additional items, separated by semicolons, are ok but '%SystemRoot%\inf' has to be one of them.
Then delete the file C:\WINDOWS\inf\infcache.1 - XP will recreate it.

The INF folder and the infcache.1 file are 'hidden'. To see them in the Windows Explorer:
Menu 'Tools' -> 'Folder Options' Tab 'View', mark 'show hidden files and folders'

If it still doesn't work after a restart, the files in C:\WINDOWS\inf might be corrupt. A Windows repair install should correct this.
 
Another thing to check is if the values 'FactoryPreInstallInProgress' and 'AuditInProgress' are set to '1' under
HKEY_LOCAL_MACHINE\SYSTEM\Setup
and
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Factory
They should be 0 or not present.
0
 

Author Comment

by:sjw601
ID: 20151720
Thanks very much.  %SystemRoot%\inf is in the proper key value.  I copied out the infcache.1 file to another location.  Then I rebooted, and the file was not re-created.  I plugged in a few USB devices, including a hub, and the hub still fails to install.  Should I replace original the infcache.1 file, or must something else be done for XP to recreate it?

A Windows repair is not an option, as it generally overwrites too many settings.  I could copy certain files from a similary configured machine, if I knew which one(s) to try.  

I have no Factory key in HKLM\SOFTWARE.  Neither value is present in the Setup key.  
0
 
LVL 14

Expert Comment

by:bmsjeff
ID: 20152237
0
The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

 

Author Comment

by:sjw601
ID: 20152255
Thanks.   I had seen that.  I'm afraid that it does not apply to XP 64.  
0
 
LVL 24

Expert Comment

by:Kenneniah
ID: 20158648
Hmm, guess I would try going to a command prompt and running...

SET DEVMGR_SHOW_NONPRESENT_DEVICES=1
START DEVMGMT.MSC

Once in device manager, go the View and place a check for "Show Hidden devices"
I would then remove any missing devices (grey shaded) under Universal Serial Bus Controllers and Human Interface Devices. It's possible some driver info stored there is messing up the install. If that doesn't work, I'd try removing all devices under both and then let Windows redetect all USB devices and root hubs etc.
0
 

Author Comment

by:sjw601
ID: 20159324
Thanks.  I had quite a few missing devices in HIDs and USBCs.  There were a few Generic USB Hub entries in USBCs.  Probably 20 USB Mass Storage Devices.  Under Other Devices, there were a bunch of USB Devices and USB2.0 Hub Controllers with the usual yellow ?, which I uninstalled.  I rebooted and plugged in my hub.  No joy, I'm afraid.  

I then uninstalled everything under USBC and rebooted.  Afterward, my attachhed USB mouse and dongles came back and work fine.  However, when XP tried to install my hub, the same problem occurred.  So, I'm afraid I'm still afflicted with this problem, but I do appreciate the help you've offered, and welcome more!  
0
 
LVL 24

Expert Comment

by:Kenneniah
ID: 20159354
Hmm, is the hub powered?
0
 

Author Comment

by:sjw601
ID: 20159494
Yes, and plugged in.  Same will happen with the hub unpowered.
0
 
LVL 24

Accepted Solution

by:
Kenneniah earned 500 total points
ID: 20159599
Figured, but was just checking as sometimes USB problems can be caused by the power supply or motherboard not providing enough power to the USB ports. A wall socket powered hub wouldn't be affected by that though.

Only other thing I can think of would be if usb.inf somehow is missing or corrupted in Windows\System32\Inf

Also look to see if usbhub.sys and usbd.sys exist in Windows\System32\Drivers
0
 

Author Comment

by:sjw601
ID: 20162896
Thanks.  usbhub.sys and usbd.sys are present in \System32\Drivers.  However, there was no usb,inf in \Windows\Inf.  I think that's what you meant (not Windows\System32\Inf).  I copied over a usb.inf file from an identically config'ed machine (same MB, chipset, OS).  Problem solved!!!!  

I have no idea of how the file got hosed.  Also, I can't tell you how many lists I've posted to with no answer.  You know your stuff!
0
 
LVL 14

Expert Comment

by:bmsjeff
ID: 20163500
That was my original diagnosis
"If it still doesn't work after a restart, the files in C:\WINDOWS\inf might be corrupt. A Windows repair install should correct this."
0
 

Author Comment

by:sjw601
ID: 20163523
Thanks again.  Pinpointing the exact file among many was the key.  I would have done a repair a long time ago, but, as I mentioned, a repair wasn't really an option.  Too many settings are affected.  If all else failed, I would have thrown in a USB card.  
0
 

Expert Comment

by:75THRGR
ID: 22797145
I had this problem with Windows XP 32 bit, this forum pointed me in the right direction, but the only alliby i would have to comment on this is if you have a problem with USB Hubs not acting as a plug and play device (prompting for install) on the windows XP 32 bit system, the inf directory is not in the system32 folder. check for the existance of this file:

Windows\inf\\usb.inf

If it's missing (like it was on mine) you'll get that issue.
0
 

Expert Comment

by:kchrisc
ID: 23283828
Hey thanks!

Restored PC from image file and lost USB hub install.

Was going crazy looking into it--I KNOW that drivers aren't needed, but found many PC uninitiated struggling to get drivers.

Don't have a clue about where my USB.inf went-maybe vacation.

Anyways, thank for the solution
0

Featured Post

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Windows 10 Creator Update has just been released and I have it working very well on my laptop. Read below for issues, fixes and ideas.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question