Re: USB Client Driver loading in WCE 5.0



On Oct 19, 9:54 pm, "Michel Verhagen (eMVP)" <mic...@xxxxxxxxxx>
wrote:
Ok, but you are talking about USB function in your first message.
Normally phones don't support USB host, so plugging a device (as in a
mouse or other USB device) into your phone usually doesn't work. Phones
normally "act" like a USB device (like a hard drive, serial port, modem)
when you plug the phone into a PC.

Can you tell us what kind of device you are plugging into your phone?
Also show us debug messages, without it we can't say much.

Please also readhttp://guruce.com/blogpost/howtoaskquestionsonnewsgroups

Good luck,

Michel Verhagen, eMVP
Check out my blog:http://GuruCE.com/blog

  GuruCE
  Microsoft Embedded Partner
 http://GuruCE.com
  Consultancy, training and development services.



tpande...@xxxxxxxxx wrote:
On Oct 19, 3:30 pm, "Michel Verhagen (eMVP)" <mic...@xxxxxxxxxx>
wrote:
Looks like you're confusing USB Function with USB Host.

What does "plug this device into my bsp" and "unplug this device from my
bsp" mean?

A BSP is a board support package, it is a set of drivers and low level
kernel code that is used as a layer between the OS and the hardware.
Plugging something in a BSP doesn't make a whole lot of sense.

Tell us a bit more about your system and we may be able to deduct the
correct terminology from your situation.

Good luck,

Michel Verhagen, eMVP
Check out my blog:http://GuruCE.com/blog

  GuruCE
  Microsoft Embedded Partner
 http://GuruCE.com
  Consultancy, training and development services.

tpande...@xxxxxxxxx wrote:
Hi All,
I am working on integrating a 3rd party USB Client driver integration
into our BSP.
I have never worked on USB driver before.I have the registry keys
given to us by third party and that tells like it is a client driver.
I went through the msdn about it but could not get much about it.
I got to know that these drivers should be loaded by USB EHCI driver.
When I plug this device into my bsp I see as USB_FN and RNDISFN driver
unloaded and USB_EHCI and USBD loaded.I am not sure what should happen
next coz I didnt see any other debug messages.
When I unplug this device from my bsp I see as USB_FN and RNDISFN
driver loaded and USB_EHCI and USBD unloaded.
Can anybody help?
T Pandey

I am sorry about my terminology Michel.I know about the BSP and I
should not have used this term for plugging and unplugging.
I meant plugging and unplugging the USB device into my Phone device
that I am working on.

And the rest of the story remains same.I was told that EHCI will read
the registry entries for this driver when it will be plugged into the
phone device and will try loading that but I don't see any other debug
messages except the one I told above.

T Pandey- Hide quoted text -

- Show quoted text -


Here are the debug messages .I have this USB ethernet adaptor and when
I plug this into my device I got these debug messages.
Unloaded symbols for 'C:\FW\USBETH\FENWAY\WM\RELEASE
\WPC_QCMSM_RETAIL_FDOAAPAA\WPC\RNDISFN.DLL'
Unloaded symbols for 'C:\FW\USBETH\FENWAY\WM\RELEASE
\WPC_QCMSM_RETAIL_FDOAAPAA\WPC\MSM7X00_USBFN.DLL'
Loaded symbols for 'C:\FW\USBETH\FENWAY\WM\RELEASE
\WPC_QCMSM_RETAIL_FDOAAPAA\WPC\MSM7X00_EHCI.DLL'
Loaded symbols for 'C:\FW\USBETH\FENWAY\WM\RELEASE
\WPC_QCMSM_RETAIL_FDOAAPAA\WPC\USBD.DLL'

and when I unplug I got these messages:

Unloaded symbols for 'C:\FW\USBETH\FENWAY\WM\RELEASE
\WPC_QCMSM_RETAIL_FDOAAPAA\WPC\USBD.DLL'
Unloaded symbols for 'C:\FW\USBETH\FENWAY\WM\RELEASE
\WPC_QCMSM_RETAIL_FDOAAPAA\WPC\MSM7X00_EHCI.DLL'
Loaded symbols for 'C:\FW\USBETH\FENWAY\WM\RELEASE
\WPC_QCMSM_RETAIL_FDOAAPAA\WPC\MSM7X00_USBFN.DLL'
Loaded symbols for 'C:\FW\USBETH\FENWAY\WM\RELEASE
\WPC_QCMSM_RETAIL_FDOAAPAA\WPC\RNDISFN.DLL'

This USB device has a mini B connector and the phone has a mini AB
connector and the phone is working as a host I assume.
Pardon me if I missed something.
T Pandey

.



Relevant Pages

  • Re: USB Client Driver loading in WCE 5.0
    ... Normally phones don't support USB host, so plugging a device into your phone usually doesn't work. ... What does "plug this device into my bsp" and "unplug this device from my ... I am working on integrating a 3rd party USB Client driver integration ...
    (microsoft.public.windowsce.platbuilder)
  • Re: USB Client Driver loading in WCE 5.0
    ... Build a debug image, download it to your device, enable debug zones for USBD and look at the output. ... mouse or other USB device) into your phone usually doesn't work. ... I am working on integrating a 3rd party USB Client driver integration ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Trust 460L optical mouse not working properly
    ... Some time of research with Google brought no hints but plugging in ... I don't have any real solution here, but if you can help him, you could try to see if you can get the mouse to work with the ndiswrapper, you need the *.sys and *.inf file from the microsoft installation, this driver is mainly made for wireless network cards, but there are other usb devices that the driver has worked with. ...
    (alt.os.linux)
  • Re: [PATCH 0/7] [RFC] Sizing zones and holes in an architecture independent manner V2
    ... RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize ... SCSI device sda: drive cache: write back w/ FUA ... usbcore: registered new driver hub ... hub 1-0:1.0: USB hub found ...
    (Linux-Kernel)
  • WARNING: at net/ipv4/tcp_input.c:2927 tcp_ack+0xd55/0x1991()
    ... I'm running the latest git kernel and I've got ... # Bus options (PCI etc.) ... # Generic Driver Options ... # USB Network Adapters ...
    (Linux-Kernel)