Re: USB host controller and client driver
- From: "aman" <amitjobs05@xxxxxxxxx>
- Date: 24 Jan 2007 00:53:34 -0800
Hi Henrik
This is in reference to your reply to my question regaring Function
Drivers
Functions are actually USB devices and there might be multiple
functions connected to host via hub.
So now accoring to your statement
"Now, due to the asymetry of the protocol (the host polls the
functions), if you want your device to be the USB function (think PDA
connecting to PC) you'd use the USB function drivers and special usb
function hardware rather than USB host drivers and hardware.
"
What I can assume that you are referring to client driver - that in
mine case will be a dll named - usbmsfn.dll which will actually be
available by building code corresping to client driver. So then how can
you diferentiate b/w Client driver and function drivers.
Also I would be greatful if you can validate my other statements :-
1. Always, during the boot time the USB host controller driver DLL -
ohci2.dll gets loaded. It is taken care by device manager.
2. This means that although my ohci2.dll gets loaded during boot time
but it starts its job only after device is attached . During this time
, control is given by device manager to HcdPdd_Init inbul_ohci.cpp
(C:\WINCE500\PUBLIC\COMMON\OAK\CSP\ARM\INTEL\PXA27X\HCD)which then
initializes the OHCI card within host controller and then configures
the device.
Now I am not sure what exactly configuration check takes place ??
Whether its device id , vendor id only or subinterface class also ??
3. Then once this configuration check is over , Device ?Manager
actually loads the correponding client driver - ie maybe usbmsfn.dll by
means of ActivateDeviceex().
Thanks & Regards
Aman
On Jan 24, 12:36 pm, "Henrik Viklund" <henrik.vikl...@xxxxxxxxx>
wrote:
On Jan 24, 5:47 am, "aman" <amitjob...@xxxxxxxxx> wrote:
What is the role of function drivers ?? Are client drivers and hostthe USB host and to that you connect USB functions (in your case the
drivers enough to handle all situations ??As you might know the USB protocol is asymetric -on one side you have
USB function is the USB mass storage device, and the host is your WinCE
device).
Now, due to the asymetry of the protocol (the host polls the
functions), if you want your device to be the USB function (think PDA
connecting to PC) you'd use the USB function drivers and special usb
function hardware rather than USB host drivers and hardware.
Henrik Viklundhttp://www.addlogic.se
Thanks & Regards
Amit- Hide quoted text -- Show quoted text -
.
- Follow-Ups:
- Re: USB host controller and client driver
- From: Henrik Viklund
- Re: USB host controller and client driver
- References:
- USB host controller and client driver
- From: aman
- Re: USB host controller and client driver
- From: Henrik Viklund
- USB host controller and client driver
- Prev by Date: Bluetooth On/Off cannot close serial port unless call wprintf function
- Next by Date: Re: lanch image problem in Wince5.0
- Previous by thread: Re: USB host controller and client driver
- Next by thread: Re: USB host controller and client driver
- Index(es):
Relevant Pages
|
Loading