Re: How to detect USB speed support by OS by Vetzak
Vetzak
Mon Oct 17 03:36:18 CDT 2005
Do you want to detect whether your pc is equiped with an high-speed
EHCI host controller, or do you want to detect whether the installed OS
has a EHCI driver ?
In the former case, have a look at usbuser.h in the DDK. There's a
define USB_PACKETFLAG_HIGH_SPEED that you can check for. You can also
walk the device tree and check check for PCI IDs and/or PCI class for
EHCI.
In the latter case, check the OS version, or look for the presence of
usbehci.sys in the drivers directory.