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.