Re: Identify attached devices to an usb hub



Mario.Becker@xxxxxxx wrote:
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

Look at the usbview sample in the ddk.

--

=====================
Mark Roddy DDK MVP
Windows 2003/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com
.



Relevant Pages

  • Re: External USB Drive not detected
    ... "USB device recognized. ... One of the USB devices attached to the computer ... I then plugged a regular 2G memory stick into the same port, ... port without having to rely on your Windows installation. ...
    (microsoft.public.windowsxp.general)
  • Re: Problems with USB Hubs
    ... I there there something endemically wrong with USB hubs and WinXP Pro, or maybe Toshiba notebooks, even if years apart in design and manufacture? ... Every other time the computer is rebooted, the hubs flash several of the port green lights, and then go dark. ...
    (microsoft.public.windowsxp.hardware)
  • Re: Problems with USB Hubs
    ... with JASCO GE 7 port hubs. ... If I unplug the usb from the ... Toshiba Tecra M5 duo core processor 2.0 GHz. ...
    (microsoft.public.windowsxp.hardware)
  • Re: Half OT: USB devices and an Onda.
    ... In other words it recognises something has been ... it's that USB digital tv device thing. ... Bluetooth adaptor work perfectly in every port I've tried the TV stick in. ... crap USB hubs don't provide enough power to USB devices. ...
    (uk.rec.motorcycles)
  • Re: Vista doesnt recognine new external HD
    ... If the port is not enabled surley it wouldn't work with other USB' devices? ... Its works fine with other USB devices. ... recommendation was to re-install Vista which I have done, ...
    (microsoft.public.windows.vista.general)

Loading