Emulating a floppy drive?

61 views
Skip to first unread message

ShapeShifter499

unread,
Oct 24, 2016, 6:00:30 AM10/24/16
to DriveDroid
Hi,

I'm loving drive droid but I wonder if it's possible to emulate a floppy drive. Would be useful for legacy computers that accept floppy drives via usb or only use floppy drives via usb. I'm wondering what I need to patch if such functionality is possible and if drive droid would ever add support.

Regards, ShapeShifter499

FrozenCow

unread,
Oct 26, 2016, 2:43:48 AM10/26/16
to ShapeShifter499, DriveDroid

It should be possible. I'm on mobile now, so I can't give you exact lines, but have a look at storage_common.c and f_mass_storage.c. The cdrom flag should give you hints where the device subclass is set. From what I gathered from documentation subclass 2 is for CD-ROM and subclass 4 for floppy. I'm not sure whether additional commands need to be added. Let me know if you find anything or stuck.


--
You received this message because you are subscribed to the Google Groups "DriveDroid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drivedroid+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

ShapeShifter499

unread,
Oct 26, 2016, 8:21:33 AM10/26/16
to DriveDroid, gero...@gmail.com
If I make the appropriate edits to my kernel will the DriveDroid app need to be updated?

Lance G.

unread,
Oct 26, 2016, 8:59:41 AM10/26/16
to DriveDroid
I've compiled the kernel in the past and was able to search around for solutions to errors when I got them. But I don't really know what I'm doing when it comes to editing the code of a kernel. I have no idea what to even begin to edit in f_mass_storage.c and storage_common.c.

Lance G.

unread,
Oct 26, 2016, 9:47:55 AM10/26/16
to DriveDroid
Just to be clear, the idea I have is being able to switch between 4 modes. Normal USB mode so I can sync, USB thumb drive emulation, CD-Rom emulation, and Floppy Disk emulation.  Right now I can switch between 3 modes, no Floppy Disk emulation.
Reply all
Reply to author
Forward
0 new messages