Re: How to use "UsbBuildVendorRequest"? by Randy
Randy
Tue Jul 01 22:43:49 CDT 2003
Thanks for your reply,
I write a filter driver on the usbhub.sys and I want to use it to close or
open the port of the Hub. I guess I should use URB to control the Hub , but
I can't find some useful sample code.
Thanks for your help
Randy
"Tim Roberts" <timr@probo.com> ?????
news:0a62gvg1c5sbobk18merac0cah9p3ai4dg@4ax.com...
> "Randy" <randy@email.geniusnet.comt.tw> wrote:
> >
> > I want to control USB hub. I found the command
"UsbBuildVendorRequest"
> >may be work ,but I can't find some example which can teach me . Could
> >anybody tell me how to use that or where to find some example?
>
> UsbBuildVendorRequest is used to send a vendor commands to a USB device,
> not a USB hub.
>
> What is it you hope to do to your USB hub? 99.99% of everything a USB hub
> needs to do is handled automatically by the standard USB hub drivers,
> USBHUB.SYS or USBCCGP.SYS.
> --
> - Tim Roberts, timr@probo.com
> Providenza & Boekelheide, Inc.