Re: Need Help: CE5.0 flash is not shown as USB mass storage device



Hi Bruce,
Thanks for the reply. Even though i made the usb mass storage function
driver usbmsfn.dll as the default client driver, whenever i connect the CE5.0
terminal to the PC, only usb serial function driver is getting loaded. I have
enabled the debug info in BOT.cpp and block.cpp and am not getting any debug
messages from those files which tells me that usbmsfn.dll is not at getting
loaded.
I believe excluding serialusbfn.dll from the image is sufficient.
Please let me know your inputs regarding this.

Saravana

"Bruce Eitman [eMVP]" wrote:

Modified to be a bus agnostic driver, or modified to just work on CE 5.0?
There is a big difference.

Do you have the serialusbfn.dll in your build? If you remove it does
ActiveSync still work?

--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com

EuroTech Inc.
www.EuroTech.com

"saravana" <saravana@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A356B017-5188-44E1-A3A9-34A459371844@xxxxxxxxxxxxxxxx
Hi Bruce,
Thanks for your reply. Yes we have the USBFN driver which was derived from
CE4.2 and modified according to CE5.0 USB function driver requirements.
USB active sync works fine without any problem. usbmsfn.dll is present in
the release directory. But this dll does not seem to be loaded.
Awaiting your reply.

Saravana

"Bruce Eitman [eMVP]" wrote:

Is your USBF driver originally from CE 4.x, or do you have a bus agnostic
driver?

--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com

EuroTech Inc.
www.EuroTech.com

"saravana" <saravana@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:23C0480A-7D55-48BF-9D7E-8CBC1F931E40@xxxxxxxxxxxxxxxx
Hi All,
I am trying to expose my flash folders as a USB mass storage device.
Added SYSGEN_USBFN_STORAGE catalog item and added following regisry.
settings to my platform.reg:
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
"DefaultClientDriver"=- ; erase previous default
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
"DefaultClientDriver"="Mass_Storage_Class"

[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Mass_Storage_Class]
"Dll"="usbmsfn.dll"
"InterfaceSubClass"=dword:06
"InterfaceProtocol"=dword:50
"DeviceName"="DSK1:"
"FriendlyName"="Mass Storage"
"idVendor"=dword:045E
"Manufacturer"="Generic Manufacturer (PROTOTYPE--Remember to change
idVendor)"
"idProduct"=dword:FFFF
"Product"="Generic Mass Storage (PROTOTYPE--Remember to change
idVendor)"
"bcdDevice"=dword:0
But still if i connect my ce5.0 device(active sync disabled), it is
getting
recognized as "Windows CE devices" and not as a mass storage device. If
i
enable active sync, it works with USB.
When i check with Remote Process viewer, i could not see the
usbmsfn.dll.
I checked the device names using storage manager application and in the
registry too. The name is DSK1,DSK2 for platform&application and DSK3
is
for
SD cards.
I am not sure, whether i need to make any code changes in USBFN driver
to
show my flash folders as a SUSB mass storage device.

Could anyone please tell me what are changes we need to make to show as
terminal's flash as USB storage device?

Please give me your valuable inputs. I appreciate your help in advance.

Thanks
Saravana






.



Relevant Pages

  • Re: Need Help: CE5.0 flash is not shown as USB mass storage device
    ... Even though i made the usb mass storage function ... driver usbmsfn.dll as the default client driver, ... USB active sync works fine without any problem. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: USB mass storage
    ... "How to switch default usb client function driver on wince 5.0 at ... then later disable mass storage and then enable activesync? ... added the USBF mass storage, which causes your device to show up as a USB ... I tried changing the registry entries as shown below. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Need Help: CE5.0 flash is not shown as USB mass storage device
    ... Bruce.Eitman AT EuroTech DOT com ... driver usbmsfn.dll as the default client driver, ... only usb serial function driver is getting loaded. ... I am trying to expose my flash folders as a USB mass storage ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Need Help: CE5.0 flash is not shown as USB mass storage device
    ... Bruce.Eitman AT EuroTech DOT com ... driver usbmsfn.dll as the default client driver, ... only usb serial function driver is getting loaded. ... I am trying to expose my flash folders as a USB mass storage device. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: USB Drivers Update? QFX?
    ... Is it any way to use USB Mass Storage function under ... I want to connect my device to PC host ... function driver + USB Function POD Transport driver + ...
    (microsoft.public.windowsce.platbuilder)