Re: USB Composite driver and multiple interfaces
- From: "Bruce Eitman [eMVP]" <bruce.eitman.nospam@xxxxxxxxxxxxxxxxxxx>
- Date: Fri, 5 Jun 2009 22:59:29 -0400
No you are not trying to load a composite client driver, that is how **you**
decided to implement a solution to what you are really trying to do.
What you are implementing simply is wrong. Can't help you with settings,
because it is so wrong that no settings will ever make it work. You can
quit wasting my time giving me links to pages that have nothing to do with
your requirements, they all deal with your ridiculous solution. If the page
says **USB Function**, then it is not going to help you implement a solution
for this requirement. Again, read the page on my blog that explains this.
I believe the CompositeFN.dll is the equivalent of usbccgp.sys in
Windows CE. CE 6.0 MSDN documenation just explains how to do it, but
does not substantiate it with proper example settings.
What you **believe** is wrong. You will never get it to work.
What you are really trying to do is support a composite device plugged into
your USB Host port.
If you want to try a different path to support your real requirements then
what you need are multiple USB Host Class drivers, one for each of the
interfaces that the connected USB device exposes. What interfaces does the
USB device expose?
--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com
My BLOG http://geekswithblogs.net/bruceeitman
EuroTech Inc.
www.EuroTech.com
"RR" <ravikreddy@xxxxxxxxx> wrote in message
news:f77e16b7-dd42-4aab-9b46-5ff3915ec233@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Well, what I am trying to do is load composite client driver for my
device. My device has 2 interfaces and I need to load 2 client drivers
for that device (on top of the composite driver). On Windows desktop
systems, usgccgp.sys automatically detects this device and asks for
the drivers for the two intefaces (MI_00 and MI_02), separately. I
believe the CompositeFN.dll is the equivalent of usbccgp.sys in
Windows CE. CE 6.0 MSDN documenation just explains how to do it, but
does not substantiate it with proper example settings.
For usb composite driver architecture, please see:
http://msdn.microsoft.com/en-us/library/aa912451.aspx
And, as per this thread,
http://groups.google.com/group/microsoft.public.windowsce.platbuilder/browse_thread/thread/b4ec037ecb37087b/751ce72ef26aeff8#751ce72ef26aeff8
he was successful in loading driver for one of the interface, but he
ran into problems loading the second. So, I believe my settings are
right according to the MSN, but the way the registry settings are done
is confusing.
In fact, it makes no sense to use or need a composite driver on the Host
side.
BTW, this device is connected to the CE host hub. So, the driver is
needed on the host side. The connection is:
USB Host -> Root Hub ->Device with multiple interfaces (composite
driver) - 2 client drivers.
Thanks,
RR
On Jun 5, 1:17 pm, "Bruce Eitman [eMVP]"
<bruce.eitman.nos...@xxxxxxxxxxxxxxxxxxx> wrote:
You should re-read that MSDN page in the context of the link that I
provided
and your hardware. Then tell us what you think that you are doing in the
context of the link that I provided.
I know that what you are currently trying to do the impossible. I don't
know what you are really trying to accomplish.
Here is what you are currently doing:
USB Function Client driver <-- this does not belong here it only works on
the other end of the cable
USB Hub Driver
USB Bus Driver
USB Host driver ------------------ USB Host Controller - cable - something
plugged in
In fact, it makes no sense to use or need a composite driver on the Host
side.
--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com
My BLOGhttp://geekswithblogs.net/bruceeitman
EuroTech Inc.www.EuroTech.com
.
- Follow-Ups:
- References:
- USB Composite driver and multiple interfaces
- From: RR
- Re: USB Composite driver and multiple interfaces
- From: Bruce Eitman [eMVP]
- Re: USB Composite driver and multiple interfaces
- From: RR
- Re: USB Composite driver and multiple interfaces
- From: Bruce Eitman [eMVP]
- Re: USB Composite driver and multiple interfaces
- From: RR
- USB Composite driver and multiple interfaces
- Prev by Date: Re: Newbie: CE4.2 migration to CE 6.0 - what tools to use?
- Next by Date: Install new wwan driver
- Previous by thread: Re: USB Composite driver and multiple interfaces
- Next by thread: Re: USB Composite driver and multiple interfaces
- Index(es):
Relevant Pages
|