Re: Determining Full speed or High speed in Win2K

Tech-Archive recommends: Fix windows errors by optimizing your registry



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.






.



Relevant Pages

  • Re: Determining Full speed or High speed in Win2K
    ... also acts a generic parent driver. ... My device does support USB Device Qualifier Descriptors etc. ... speeds. ...
    (microsoft.public.development.device.drivers)
  • Re: Does Linux support acoustic couplers ? ? ?
    ... That poster was a troll by a contestant in a hacking contest. ... >> There is no driver for them, i.e. no OS support. ... The serial driver section of the kernel handles that. ... Legitimate speeds for 'pppd' are defined in pppd/sys-linux.c in the ...
    (comp.os.linux.hardware)
  • Re: Intel displays USB3.0 at Gbps
    ... Microsoft's customers in this regard are the OEMS, the people making motherboards and systems. ... Chances are they have been told that 1394b support is something that will be built into future systems. ... Microsoft including a driver into their OS is not stopping any OEM or 3rd party add-in card maker from adding 1394b with their own driver. ... and the slower speeds are just coming along for the ride. ...
    (comp.sys.mac.advocacy)
  • Re: Response to Brighton cyclists death
    ... The cyclist, James Danson-Hatcher, was my son. ... The motorist was an inexperienced driver (full licence for 4 ... At the inquest the motorist was unable to cite cyclists as ... Driving at speeds too fast for the road ...
    (uk.rec.cycling)
  • Re: N.J. Gov.s SUV Went 91 Mph Before Crash
    ... driver, based on the article that I saw in the Inquirer reconstructing ... noted the approach from behind of an emergency vehicle. ... We don't know the relative speeds here so it's just speculation. ... Well, by hat reasoning, neither then is the red pickup the "cause." ...
    (misc.transport.road)