Re: Determining Full speed or High speed in Win2K
- From: "Doron Holan [MS]" <doronh@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 30 Mar 2007 19:14:47 -0700
this will work on win2k as well, but win2k doesn't support high speed with
in box drivers, so the V1 interface will not be supported
d
--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
"michelle" <michelle@xxxxxxxxxxxxx> wrote in message
news:1DFD36DF-7861-4B8E-994B-2980AE3F7EFE@xxxxxxxxxxxxxxxx
Thank you Doron but I think there is no usbccgp.sys on Windows 2000 even
on
SP4
usbccgp.sys is present only on Win Me and Win XP .In Win 2000 usbhub.sys
also acts a generic parent driver .
Does thin imply that I can't use this on win 2000 ?
"Doron Holan [MS]" wrote:
#define INITGUID
#include <initguid.h>
#include <usbbusif.h>
to resolve the symbol problem. usbccgp is a generic parent on a
multifunction device, not usbhub
d
--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no
rights.
"michelle" <michelle@xxxxxxxxxxxxx> wrote in message
news:03E973BC-461B-4763-8BEB-E19538FD2B63@xxxxxxxxxxxxxxxx
To be more precise,I included usbbusif.h and used
USB_BUS_INTERFACE_USBDI_GUID but I am getting an error LNK2001:
unresolved
external symbol _USB_BUS_INTERFACE_USBDI_GUID . I have included the
relevant
libraries : usbd.lib ksguid.lib .
"michelle" wrote:
Hi Doron
Thanks for your help.
My device is a composite device for which usbhub.sys acts as a generic
parent device.My filter driver is a lower filter for usbhub.sys
because
it
makes some changes in the USB Descriptors sent from the device.For
using
USB_BUS_INTERFACE_USBDI_V1 , I just need to include usbbusif.h right ?
I got confused because the comments in the header file state that :
/*
Bus interfaces are supported for Windows XP and later only
*/
#if (NTDDI_VERSION >= NTDDI_WINXP)
I included this file and started compiling but in my (custom) build
WDK6000
environment, the compiler started spewing out errors in usbbusif.h
@Tim
Could you please elaborate your answer a bit.
My device does support USB Device Qualifier Descriptors etc.
Which Descriptors do you suggest I look into ?
In my device Qualifier Descriptor ,the field
bNumConfigurations which denotes the Number of Other-speed
Configurations
is
set to 0.
TIA
"Tim Roberts" wrote:
michelle <michelle@xxxxxxxxxxxxx> wrote:
In a system running Win 2000-SP4 ,how can we determine the speed of
the USB
port that a USB device is attached to in a driver i.e in Kernel
Mode ?
That is in my filter driver for a USB device that supports both
High
speed
and full speed,I would like to determine if the device has been
attached to
a High Speed port or a full speed port,then do manipulation of the
descriptors sent to the upper layers (usbhub.sys)
But somewhere, there is a physical device that supports both
high-speed
and
full-speed? In that case, you should be able to tell by reading the
device's actual descriptors. There should be a different set for
the
two
speeds.
--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.
- References:
- Re: Determining Full speed or High speed in Win2K
- From: Tim Roberts
- Re: Determining Full speed or High speed in Win2K
- From: Doron Holan [MS]
- Re: Determining Full speed or High speed in Win2K
- From: michelle
- Re: Determining Full speed or High speed in Win2K
- Prev by Date: Re: "Error 2" in setupapi.dev.log
- Next by Date: Re: PsCreateSystemThread Crashes
- Previous by thread: Re: Determining Full speed or High speed in Win2K
- Next by thread: System hang with ATI x1600 or x300 video card installed
- Index(es):
Relevant Pages
|