Re: Identify attached devices to an usb hub
- From: "DriverStarter" <driverstarter@xxxxxxxxxxxxxxxx>
- Date: Tue, 9 Aug 2005 15:02:43 -0400
I one did it (USB printer) by checking registry.
<Mario.Becker@xxxxxxx> wrote in message
news:1123599665.478855.88510@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> 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
>
.
- References:
- Identify attached devices to an usb hub
- From: Mario . Becker
- Identify attached devices to an usb hub
- Prev by Date: Re: Problem with UnbindFrom()
- Next by Date: Re: How to detect a objects (Vector, text, or Image) in a customed printer driver
- Previous by thread: Identify attached devices to an usb hub
- Next by thread: Re: Identify attached devices to an usb hub
- Index(es):
Relevant Pages
|