Is it possible to get the version of the USB?

It is possible to get the version that a *device* supports by querying that
individual device. But if I attempt to query the root hub, I don’t get the
version information. If I have a motherboard that only supports 1.0 USB and
I attach a 1.1 device, will that device report back 1.0 or 1.1?

My real process requirement is to tell if a user’s USB is 1.0 or 1.1. I
don’t see any to get this information. I’ve downloaded the 1.1 USB spec and
looked thru the NT DDK and the sample USBVIEW, but I don’t see any way to
get this information.

Thanks for any help,
Adam


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Adam,

The USB version information is in the device descriptor. This is reported
on a per device basis and is not filtered by the system.

See the code for USBView in the DDK for an example of obtaining the device
information.

Technically, the root hub, regardless of implementation, needs to respond
like a normal device (descriptors and all). However, it is also treated as
a special device and no interface is provided to clients.

You might try using the USBView code to get the info, I’ve never tried so I
can’t comment on likely success of that. The information might be available
to a kernel mode driver though.

Marc Reinig
System Solutions

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Adam Peterson
Sent: Monday, April 23, 2001 7:54 PM

It is possible to get the version that a *device* supports by querying that
individual device. But if I attempt to query the root hub, I don’t get the
version information. If I have a motherboard that only supports 1.0 USB and
I attach a 1.1 device, will that device report back 1.0 or 1.1?

My real process requirement is to tell if a user’s USB is 1.0 or 1.1. I
don’t see any to get this information. I’ve downloaded the 1.1 USB spec and
looked thru the NT DDK and the sample USBVIEW, but I don’t see any way to
get this information.


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com