Hi, all

I am trying to my device as mass storage to Apple Mac OS.
I could not see my device on Mac system.

The usb mass storage function is compatible with Mac OS?

Please give me some suggestions.

Best Regards,
Hanko

Re: usbmsfn on wince 5.0 by Valter

Valter
Fri Mar 21 01:11:58 PDT 2008

=?Utf-8?B?SGFua28=?= <Hanko@discussions.microsoft.com> wrote in
news:D848EBA3-B994-4C91-8E57-D346A50E712E@microsoft.com:

> Hi, all
>
> I am trying to my device as mass storage to Apple Mac OS.
> I could not see my device on Mac system.
>
> The usb mass storage function is compatible with Mac OS?
>
> Please give me some suggestions.

MacOS (at least the latest MacOSX releases) supports the USB mass-
storage class and my home mac mini works with all my USB mass-storage
devices, so I suppose that this kind of support is quite reliable
inside the OS.

Did you try your device with different PCs?
The block device that you are exposing via USBFN is formatted using
FAT or other filesystems?
Is your device powered via USB?
If that's the case you may try to use a self-powered hub to connect
you device to the mac, ruling out power-related issues.
It may be that the USB mass-storage implementation of MacOS and other
operating systems performs operations in a different order or with
different timings and this may expose some problems inside your USB
function driver or other layers of the USB FN mass-storage stack.
Did you install all the latest QFEs? I remember some USB mass-storage
related bugfixes, but I don't recall if they were for the USB host or
for the USB function components.

--
Valter Minute
www.fortechembeddedlabs.it
Training, support and development for Windows CE
(the reply address of this message is invalid)

Re: usbmsfn on wince 5.0 by Hanko

Hanko
Fri Mar 21 01:46:01 PDT 2008

Thanks for your reply.

This function is workable on my win2000/xp system.
The device format is FAT32.
And I try to connect the device to Hub-Powered, it still not work.
My test system is MacOS X 10.3.9

I have updated all QFE.

Do you expose the usbmsfn on your Mac system?

Best Regards,
Hanko

"Valter Minute" wrote:

> =?Utf-8?B?SGFua28=?= <Hanko@discussions.microsoft.com> wrote in
> news:D848EBA3-B994-4C91-8E57-D346A50E712E@microsoft.com:
>
> > Hi, all
> >
> > I am trying to my device as mass storage to Apple Mac OS.
> > I could not see my device on Mac system.
> >
> > The usb mass storage function is compatible with Mac OS?
> >
> > Please give me some suggestions.
>
> MacOS (at least the latest MacOSX releases) supports the USB mass-
> storage class and my home mac mini works with all my USB mass-storage
> devices, so I suppose that this kind of support is quite reliable
> inside the OS.
>
> Did you try your device with different PCs?
> The block device that you are exposing via USBFN is formatted using
> FAT or other filesystems?
> Is your device powered via USB?
> If that's the case you may try to use a self-powered hub to connect
> you device to the mac, ruling out power-related issues.
> It may be that the USB mass-storage implementation of MacOS and other
> operating systems performs operations in a different order or with
> different timings and this may expose some problems inside your USB
> function driver or other layers of the USB FN mass-storage stack.
> Did you install all the latest QFEs? I remember some USB mass-storage
> related bugfixes, but I don't recall if they were for the USB host or
> for the USB function components.
>
> --
> Valter Minute
> www.fortechembeddedlabs.it
> Training, support and development for Windows CE
> (the reply address of this message is invalid)
>

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)