Re: Need Help: CE5.0 flash is not shown as USB mass storage device
- From: saravana <saravana@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 8 May 2008 10:45:04 -0700
Thanks Milind,
I will the suggestion provided by you and update the status in this newsgroup.
saravana
"embedinfo" wrote:
On May 7, 11:00 am, saravana <sarav...@xxxxxxxxxxxxxxxxxxxxxxxxx>.
wrote:
Hi Bruce,
After enabling the following variables, my device is recognized as a mass
storage device.
BSP_NOUSBCLIENT=1
BSP_NOUSBFN=
SYSGEN_USBFN=1
SYSGEN_USBFN_STORAGE=1
But now i am facing a new problem. The device recognized as mass storage
device but does not show any drive letter for the flash.
I believe its a problem with mounting the filesystem.
Could you please guide me regarding this?
Thanks
Saravana
"Bruce Eitman [eMVP]" wrote:
Then I do not think that your USBF driver is bus agnostic. Yes it works
with CE 5.0, but it is not consistent with the new for CE 5.0 USBF
architecture. That architecture is only needed if you want to do something
other than serial over USB for ActiveSync.
--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com
EuroTech Inc.
www.EuroTech.com
"saravana" <sarav...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C0FCD488-8461-4841-8C3F-E76B782386EA@xxxxxxxxxxxxxxxx
Hi Bruce,
In my build serialusbfn.dll is not included. When i connect the device,
wceusbsh.sys is getting loaded and in the device manager i could see it as
windows ce devices. Once i enable, still active sync works. It seems the
OS
always tries to load wceusbsh.sys for my device. Please give me your
inputs.
Saravana
"Bruce Eitman [eMVP]" wrote:
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" <sarav...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:2A6C931C-F720-4556-8810-0EB0B90350BA@xxxxxxxxxxxxxxxx
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" <sarav...@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" <sarav...@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- Hide quoted text -
- Show quoted text -
Hi there,
Use "usb-monitor-pro" tool (evaluation copy is available for download)
to see what is going wrong. See if you are sending UFN_ATTACH,
UFN_DETACH and UFN_RESET notifications to MDD properly in your
function driver. (Since in my BSP UFN BUS RESET event was not handled,
I was getting similar problem)
Hope that helps!
Thanks
-Milind
- References:
- Re: Need Help: CE5.0 flash is not shown as USB mass storage device
- From: saravana
- Re: Need Help: CE5.0 flash is not shown as USB mass storage device
- From: Bruce Eitman [eMVP]
- Re: Need Help: CE5.0 flash is not shown as USB mass storage device
- From: saravana
- Re: Need Help: CE5.0 flash is not shown as USB mass storage device
- From: Bruce Eitman [eMVP]
- Re: Need Help: CE5.0 flash is not shown as USB mass storage device
- From: saravana
- Re: Need Help: CE5.0 flash is not shown as USB mass storage device
- From: embedinfo
- Re: Need Help: CE5.0 flash is not shown as USB mass storage device
- Prev by Date: Re: How to add WZC?
- Next by Date: Ethernet Throughput Too Slow for Wince 5.0
- Previous by thread: Re: Need Help: CE5.0 flash is not shown as USB mass storage device
- Next by thread: Re: Problems Disabling Automatic Screen Off for Display Driver.
- Index(es):
Relevant Pages
|
|