Re: Need Help: CE5.0 flash is not shown as USB mass storage device by Bruce
Bruce
Fri May 02 10:43:17 PDT 2008
You haven't bothered to answer my questions yet. I need you to answer those
questions before I go further, nor does it appear that you bothered to try
my suggestions. Both my questions and my suggestions are meant to help
debug your problem.
--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com
EuroTech Inc.
www.EuroTech.com
"saravana" <saravana@discussions.microsoft.com> wrote in message
news:2A6C931C-F720-4556-8810-0EB0B90350BA@microsoft.com...
> 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@discussions.microsoft.com> wrote in message
>> news:A356B017-5188-44E1-A3A9-34A459371844@microsoft.com...
>> > 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@discussions.microsoft.com> wrote in message
>> >> news:23C0480A-7D55-48BF-9D7E-8CBC1F931E40@microsoft.com...
>> >> > 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
>> >>
>> >>
>> >>
>>
>>
>>