Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Removable media again

0 views
Skip to first unread message

Andrei Narkevitch

unread,
May 13, 2003, 6:29:49 PM5/13/03
to
Hello,

Seems like this is an everlasting topic here :-)

Long time ago here was a mention about new features in WinCE.NET to support
removable medias (see below).

I have to port our old CE3.0 floppy drive driver where we used to use an
application to allow user manualy to mount or update floppy folder.
So what is the approach to get floppy working under the CE.NET now?
How can I let the fatfs driver know about that media is changed? Due some
FDD specific I can check the "disk was changed" signal only while real
access to disk, i.e upon on a read request. The CeResyncFilesys() function
didn't work there. Is there any chance to get it working? How?

And one more problem: when booting driver tries to read FAT. If disk isn't
inserted, it reads dummy fat and caches it. Now we have an empty folder. But
there are not requests to driver anymore to have a chance to resync folder.


I skimed over MSDN and didn't find answers.
Could someone put me on the right way?

Thanks, Andrei


> "Steve Maillet (eMVP)" <nos...@EntelechyConsulting.com> wrote in message
> news:uiwTR98NCHA.2596@tkmsftngp13...
> > There is nothing inherent about Windows CE.NET that makes a floppy
> > impossible. The problem as I see it is one of economics. To port a
> > floppy driver over to the new Windows CE.NET storage model would
> > require a good deal of effort. (Note this effort is unique to the
> > FLOPPY for the reasons you listed) The payback on that is minimal or
> > non-existent - not a lot of people are using FLOPPY disks in devices
> > any more. Even when the ETK V2.0 came out the number of devices
> > demanding floppy were minimal.
> >
> > --
> > Steve Maillet (eMVP - Windows CE)
> > Entelechy Consulting
> > smaillet_EntelechyConsulting_Com


Michel Verhagen [eMVP]

unread,
May 14, 2003, 3:45:54 PM5/14/03
to
Keep a separate thread running that periodically checks the floppy driver,
and mount if you detect a disk insertion and unmount if you detect no disk
is in the drive. Anyway, a CE.NET floppy driver is also available from
pfaadt software: http://www.pfaadtsoft.de


Hope this helps,

Michel Verhagen [eMVP]
Windows CE Consultant
PTS Software
The Netherlands


"Andrei Narkevitch" <solu...@land.ru> wrote in message
news:OcQtq8ZG...@TK2MSFTNGP12.phx.gbl...

Andrew Rogers [MS]

unread,
May 14, 2003, 5:53:44 PM5/14/03
to
You might also look at the implementation of the USB Mass Storage Class
sample driver
(%_WINCEROOT%\public\common\oak\drivers\usb\class\storage\disk). This driver
supports removable media (such as USB floppy) by polling the device and
calling CeResynchFilesys when the media changes.

--
Andrew Rogers
arogers AT microsoft DOT com
___________________________________________________________
This posting is provided "AS IS" with no warranties, and confers no rights.
"Michel Verhagen [eMVP]" <michel....@nospam.pts.nl> wrote in message
news:Ox3XoFlG...@TK2MSFTNGP10.phx.gbl...

Andrei Narkevitch

unread,
May 14, 2003, 6:42:36 PM5/14/03
to
Thanks for answer, but unfortunately it doesn't work...This thread has to
turn floppy each time on to check disk insertion. Moreover it has to bother
floppy quite often, user doesn't have to wait too long till new disk is
recognized, so imagine floppy drive with a funny blinking LED :)

Regard to the pfaadt software floppy driver, we already have had
functionality like that, but it's far away from convenient "PC-style" floppy
functionality.

Thank you very much,

Andrei


"Michel Verhagen [eMVP]" <michel....@nospam.pts.nl> wrote in message
news:Ox3XoFlG...@TK2MSFTNGP10.phx.gbl...

Andrei Narkevitch

unread,
May 14, 2003, 6:49:45 PM5/14/03
to
Thanks for idea, I'll have a look.

"Andrew Rogers [MS]" <arogers AT microsoft DOT com> wrote in message
news:eEm2lLmG...@TK2MSFTNGP10.phx.gbl...

0 new messages