LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   CDROM Emulation Using NAND Through USB (https://www.linuxquestions.org/questions/linux-general-1/cdrom-emulation-using-nand-through-usb-626290/)

andy_galvez 03-06-2008 08:42 PM

CDROM Emulation Using NAND Through USB
 
Hi,

I would like to ask if anybody here knows how I can emulate CDROM device using my target board with NAND flash devices running Linux 2.6 through USB port. I would like to do this so I may be able to make my device run autorun on Windows machines. I hope somebody could help me on this.

Thanks and best regards,
Andy

jschiwal 03-06-2008 10:59 PM

Maybe this will help. However it might not be needed for a device to be a CDROM for autorun to work.
https://www.udrw.com/tour/download/U...ation_120E.pdf

andy_galvez 03-07-2008 02:07 AM

Quote:

Originally Posted by jschiwal (Post 3080726)
Maybe this will help. However it might not be needed for a device to be a CDROM for autorun to work.
https://www.udrw.com/tour/download/U...ation_120E.pdf

But how do I do it in devices running Linux kernel? Sorry for asking very simple questions here. I'm just a newbie in Linux. Like what commands should I study or what procedure should I follow?

Thanks and best regards,
Andy

jschiwal 03-08-2008 05:57 AM

As I understand it, Windows will not autorun a program from a normal usb pendrive. The ones that can do so, emulate a CD Disc and drive. Chances are that they would also appear as a CDROM & a Pendrive in Linux as well. The probably have an embedded USB hub as well.

You will be able to have an icon appear in the task bar with a context menu. You might want to follow this howto on installing truecrypt on a pen drive:

http://www.ericsprojects.com/?p=102

andy_galvez 03-12-2008 04:49 AM

Autorun using pendrives may not work on all host PC's. Which is why I would like to focus on making my device emulate a CDROM. How do I do it using embedded linux. My device can already be seen as USB mass storage. Is there a way to modify this so I may report my device as a USB mass storage plus CDROM? Can this be done using simple parameter to g_file_storage? Thanks in advance.

Thanks and best regards,
Andy


All times are GMT -5. The time now is 12:17 AM.