Identify attached devices to an usb hub

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi freaks,

I'm looking for a way to solve the following problem:

I've a pc with several usb hubs attached to. To these hubs there are
usb devices attached in turn (typical 4 usb-serial converter and a
memery stick). Due to the undefined connection sequence I'm not able to
predict which COM port is located to which usb hub - but my software
have to know it for sure.

I've been able to find a way to identify all to the system attached usb
devices (.NET framework: System.Management.PropertyDataCollection). But
further more I have to know, which usb device is attached to which usb
hub. Is there something like a path which shows me the actual physical
tree structure of hubs and devices and their assigned com ports? (I
know: It is a bus system ;-) )

\\pc\usb_01\hub_02\device_01->(ComPort 05)
\device_02->(ComPort 02)
\device_03->(ComPort 03)
\device_04->(ComPort 04)
\\pc\usb_03\hub_01\device_01->(ComPort 01)
...

Where can I get these information (registry) an how can I obtain this
information by software (e.g. C#)

Thanks in advance!
Mario

.



Relevant Pages

  • Re: Identify attached devices to an usb hub
    ... I've a pc with several usb hubs attached to. ... usb devices attached in turn (typical 4 usb-serial converter and a ... predict which COM port is located to which usb hub - but my software ...
    (microsoft.public.development.device.drivers)
  • Re: Active Sync 4.1 & Windows Mobile 5.0
    ... It's not complicated to create a USB network adapter and it's not ... be problems with hubs, etc. ... number of USB devices out there. ... Trying to plug in another USB device - no chance. ...
    (microsoft.public.pocketpc.activesync)
  • Re: Spending that Economy Booster
    ... computer shop down the road that will build them to order. ... I've tried two different USB hubs. ... Windows starts looking for drivers and can find none. ...
    (rec.boats)
  • Re: Re USB hubs - changing them
    ... All I have ever done when changing USB Hubs is to disconnect everything from the original Hub, disconnect it from the Computer and power source [one of the worst decisions is to buy a Hub which does not have its own power source. ... I would not worry about any difference between USB 1.1 and USB 2.0 cables. ...
    (microsoft.public.windowsxp.general)
  • Re: [linux-usb-devel] USB devices fail unnecessarily on unpowered hubs
    ... It works flawlessly on all hubs you tested, ... 100% underrun on USB flash drives. ... Linux kernel coders dream sweet dreams of not violating USB power rules. ...
    (Linux-Kernel)