LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-06-2008, 08:42 PM   #1
andy_galvez
LQ Newbie
 
Registered: Mar 2008
Posts: 11

Rep: Reputation: 0
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
 
Old 03-06-2008, 10:59 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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
 
Old 03-07-2008, 02:07 AM   #3
andy_galvez
LQ Newbie
 
Registered: Mar 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jschiwal View Post
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
 
Old 03-08-2008, 05:57 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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

Last edited by jschiwal; 03-08-2008 at 09:19 AM. Reason: fixed typo
 
Old 03-12-2008, 04:49 AM   #5
andy_galvez
LQ Newbie
 
Registered: Mar 2008
Posts: 11

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CDROM Emulation Using NAND Through USB andy_galvez Linux - Hardware 1 03-06-2008 08:54 PM
MP3-USB with SCSI emulation & USB/ATM ItalianMetallic Linux - Hardware 1 03-20-2006 03:13 PM
cdrom not shown with ide-scsi emulation RestInPieces Linux - General 4 08-30-2004 12:55 PM
SCSI CDROM emulation atheist Linux - Hardware 4 02-10-2004 06:35 PM
can't mnt cdrom with scsi-emulation redhat8 Linux - Hardware 3 11-16-2003 10:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration