Article snapshot taken from Wikipedia with creative commons attribution-sharealike license.
Give it a read and then ask your questions in the chat.
We can research this topic together.
This article needs attention from an expert in technology. The specific problem is: Very little found on this topic, not finding any good sources..WikiProject Technology may be able to help recruit an expert. (August 2024)
Virtual CD-ROM switching utilities are programs to disable the virtual CD-ROM drive found on some devices like mobile broadband modem. A virtual CD-ROM switching utility is a mode switching tool for controlling "flip flop" (multiple device) USB gear. Several USB devices (especially high-speed wireless WAN equipment offer a feature where they have their Microsoft Windows device drivers onboard; when plugged in for the first time they act like a USB flash drive and start installing the device driver from there. All succeeding insertions of the device switches the mode internally, resulting in the virtual CD-ROM drive or USB mass storage device class disappearing and being replaced with the actual device itself. The Wireless WAN (WWAN) gear maker Option calls that feature "ZeroCD (TM)". With USB sniffing programs and libusb it is possible to eavesdrop the communication of the Windows device driver and isolate the command or action that does the switching and to reproduce the same event under an unsupported environment like Linux or BSD variants.
The problem with most USB 3G modems is they have two modes. In one mode they are a USB flash drive and in the other mode they are a modem. Typically they only ship with Windows device drivers, sometimes Mac device drivers as well. In any case, they seemingly seldom, if ever, ship with Linux device drivers. What normally happens with Windows is the device starts up as a USB flash drive, the hardware drivers are installed and then they are responsible for "switching" the device in to modem mode so you can use it. This "switch" is done via some codes, specific to the device, which controlling software can pass as a command to switch from disk to modem mode. The virtual CD-ROM switching utility manages the switch of mode from disk to modem, the latter disconnects any mounted disk containing software we do not care about that will not work anyway and, crucially, creates a modem port/serial device (usually /dev/ttyUSB0) for the networkmanager.
The approach of adding Virtual CD-ROM with software drivers on 3G or storage devices has two problems: it presumably raises the cost of the device, and it may ship outdated software or even viruses. Most of the times, up-to-date drivers are anyway built into the operating systems (after all, on systems implementing the USB standard like Linux, any 3G device is a USB serial port, and any storage device is a ... USB storage device). Virtual CD-ROM on U3-compatible devices can be removed by a software tool. Some 3G devices such as the Huawei support complete disabling of the Virtual CD-ROM.
Available software utilities include the following:
ZeroCD: When a device uses the ZeroCD method means that it behaves as a USB CD-ROM when first connected, with a virtual CD-ROM inserted with the Windows device drivers and related Cosmote control program. Once the Windows device drivers are installed, a special USB command is sent to the device to “switch” it to modem mode.
Ozerocdoff: It temporarily disables ZeroCD for USB Option WWAN modem. The new USB Option WWAN modem devices support a CD-ROM device, which holds the needed Windows device driver to use the WWAN modem. Therefore, the firmware of the WWAN modem announces during the USB enumeration process to work as a virtual CD-ROM device with its vendor name "ZOPTION". This device is now called ZERO-CD. Ozerocdoff is a solution to switch off the ZERO-CD and allow the modem to be a used as a modem.
USB_ModeSwitch: It is a virtual CD-ROM switching utility. From version 1.0.3 upwards there is a simple framework for integrating the switching with udev (the device manager) to make it fully automatic.
Switch2modem: It is designed for switching a 3G USB modem. The program works under OpenSolaris.
Fetch utility: huaweiAktBbo.c is a utility that can be compiled and re-creates the USB communication which is used in Windows.