Solved

Multiple USB scanners with the same Manufacturer device ID

Posted on 2007-04-05
8
493 Views
Last Modified: 2010-05-18
I have connected 6 Fujitsu fi-5110c scanners to a Windows 2003 server, using a USB hub. All the drivers are installed correctly and each device functions fine. The problem I have is that when I disconnect the devices and then re-connect in a different order to the original process, the scanners are being assigned incorrectly by Windows. (I.e. scanner 5 is connected first, and Windows recognizes this as being scanner 1). So I need to connect them in the same order I originally did.

Another problem seems to be the event handling when the scan button is pressed (i.e events are triggering the wrong device).

Is there a device ID in the registry that could be causing this? I notice the device IDs are the same for each one, event though the control set 001 .. 007 is OK.
0
Comment
Question by:encircle
[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
  • 2
  • 2
8 Comments
 
LVL 6

Expert Comment

by:kbens0n
ID: 18873893
The answer to both these questions lies in the registry. When a bus driver performs device enumeration, it reports device identifiers for the devices it detects back to the PnP manager. The identifiers are bus-specific; for a USB bus, an identifier consists of a vendor ID (VID) for the hardware vendor that made the device and a product ID (PID) that the vendor assigned to the device. (See the DDK for more information on device ID formats.) Together these IDs form what Plug and Play calls a device ID. The PnP manager also queries the bus driver for an instance ID to help it distinguish different instances of the same hardware. The instance ID can describe either a bus-relative location (for example, the USB port) or a globally unique descriptor (for example, a serial number). The device ID and instance ID are combined to form a device instance ID (DIID), which the PnP manager uses to locate the device's key in the enumeration branch of the registry (HKLM\SYSTEM\CurrentControlSet\Enum)

Disconnecting/reconnecting the devices is no different than powering them off. The registry enumeration remains, as originally detected, and subsequent operations will be directed at the "perceived" ports as they were -originally- ...despite their new locations. In order to account for changes that you make in which devices and in which ports... you must remove the hardware enumeration from Device Manager for the Root port for the USB Hub and re-initiate a new <Hardware Found> sequence of PnP manager to allow Windows to discover the new configuration and update the Registry linkage)s) to the appropriate driver(s) and PID/VID pairs.
0
 
LVL 6

Expert Comment

by:kbens0n
ID: 18873895
BTW, using a simple "marking" system on the Hub ports and each device (such as matching color dots -or- paper labels, etc.) will allow for reeconnection of the proper device to the proper hub port ;-)
0
 
LVL 3

Expert Comment

by:Comply
ID: 18970566
You can try to disable "Safely Remove this Device" by

Right clicking on the USB device in Explorer-Properties-Hardware, High light the device then click properties. On the Policies tab uncheck Enable Write Caching. Then check optimize for quick removal. This stops you from having to right click the device safely remove. It makes it hot swapable.
0
 

Author Comment

by:encircle
ID: 18985478
The real issue is one of support. The scanners are at remote locations connected to a central server using a Silex USB network adapter.

If more than one was turned off, they would need to be turned on and connected manually in the correct order. This is impractical as there's 29 of the little blighters dotted around a 100 mile radius :(

We'ver resorted to using VMs as there's no solution from MS, Fujitsu, or Silex!

Maybe I could as if anyone knows how to re-flash the BIOS on a Fujitsu 5110c to change the device ID? ;)
0
 
LVL 3

Accepted Solution

by:
Comply earned 500 total points
ID: 18987347
Then The only way to keep them in the right order is too leave them connected.

The ID is hard coded in the board. You might see if the Manufactor could tell you ow to change it.
0

Featured Post

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

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

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
Determining the an SCCM package name from the Package ID
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
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…

734 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