Re: usbmsfn on wince 5.0 by Valter
Valter
Fri Mar 21 02:25:32 PDT 2008
=?Utf-8?B?SGFua28=?= <Hanko@discussions.microsoft.com> wrote in
news:EDECC0F0-9B07-4F6D-B142-D2D71D8D3C80@microsoft.com:
> Thanks for your reply.
>
> This function is workable on my win2000/xp system.
Did you try with other PCs? If it's a timing-related issues
connecting it to other PCs (slower or faster ones) can bring it out.
If the implementation works with no problems on many different PCs
it may be that MacOSX performs the same operation that the PC
implementation does in a different order or using some "variations"
of the same USB-mass-storage (SCSI based) commands.
> The device format is FAT32.
> And I try to connect the device to Hub-Powered, it still not work.
Ok, that should rule-out power-related issues.
> My test system is MacOS X 10.3.9
> I have updated all QFE.
Can you attach your device running a Windows CE debug build to that
mac? If you can enable debug zones I think you may get some useful
hints about the problem.
If you can't use a debug build you may enable debug output on a
serial port, include a debug version of the drivers involved in the
attach process (USBFN and USBFN mass-storage) and enable their debug
zones.
> Do you expose the usbmsfn on your Mac system?
My mac mini has MacOSX 10.5 (leopard) upgraded from 10.4 (tiger).
I never tried to use a usbfn Windows CE device connected to it, but
as I told you, it works with all the USB mass-storage devices I
attached to it (at least 3 external hard drivers, lots of
thumbdrives, 3 cameras, a CF/SD reader, MP3 players etc.).
That does not mean that you can rule-out a problem inside its USB
mass-storage stack, you may try to check MacOSX support forums and
newsgroups to know if someone reported problems attaching Windows CE
based devices to their Mac using a USB connection (there is a
software for Windows Mobile called WMStorage that allows you to
connect a Windows Mobile device as a mass-storage device to any PC
or Mac, you may try this but I don't know if it relies on the same
USB-mass-storage device implementation).
You should check logs on the mac (IIRC they are under /var/logs or
Library/logs, but I didn't have to use them often so it's better to
ask on some mac support forum or newsgroup about where USB-related
informations are logged).
If you have other Windows CE devices based on different hardwares
you may try to build an OS image for them and connect them to the
mac.
If they work you can suspect your USB function driver. If they don't
work you should investigate about an incompatibiliy between USB
mass-storage implementation on MacOsX as host side and CE as device
side. The "core" of MacOSX is called Darwin and is avalable as open
source, maybe installing it on an x86 based PC may allow you to find
more information about what's happening on the host side.
--
Valter Minute
www.fortechembeddedlabs.it
Training, support and development for Windows CE
(the reply address of this message is invalid)