6

I'm wondering if anyone knows of a CDROM emulator that runs on Linux. I want to emulate this configuration:

[CDROM DRIVE]----USB CABLE----[COMPUTER UNDER TEST]

Where [COMPUTER UNDER TEST] is a computer that boots from a physical CD inserted into the [CDROM DRIVE]. Only instead of the [CDROM DRIVE] I want the following configuration:

[CD IMAGE BUILD MACHINE]-----USB CABLE-----[COMPUTER UNDER TEST].

I want to build an ISO image on the [CD IMAGE BUILD MACHINE] and have some sort of USB CDROM emulator running on it to serve up the ISO image to the [COMPUTER UNDER TEST] as though it was talking to the [CDROM DRIVE]. Does this exist? If it does, I can't find it.

I want to do this so I can test out bootable CDs without burning a lot of coasters.

quack quixote
  • 43,504

3 Answers3

2

You can connect to PCs via usb using special bridge: http://www.hardwaresecrets.com/printpage/248

The bridge shown can be used as network card emulator, network mode (each pc will have new network card and they will be "connected" like crossover)

In the link mode bridge allows to send files.

I don't know about usb storage bridges. (USB mass-storage device class, usb Cdroms use this usb class)

ps. bridges does work with ordinary USB interfaces, without usb on-the-go

osgx
  • 7,017
1

There is an android app called DriveDroid that can do it (if you recompile the kernel with a patch)

Here is the xda thread http://forum.xda-developers.com/showthread.php?t=2196707

The cdrom emulation patch is in modern cm10.1 kernels anyway, it just needs an extra patch to let drivedroid switch to cd-mode.

This sort of capability has long since found its way into standard linux kernel source, but your computer would have to have some sort of USB OTG chip which would let it pretend to be a device. More details here http://www.armadeus.com/wiki/index.php?title=USB_Gadget

0

Look at the loopback filesystem mount...

studiohack
  • 13,477
t0mm13b
  • 723