Jump to content

Virtual CD-ROM switching utility

From Wikipedia, the free encyclopedia

Virtual CD-ROM switching utilities are programs to disable the virtual CD-ROM drive found on some devices like mobile broadband modems.[1][failed verification][unreliable source] A virtual CD-ROM switching utility is a mode switching tool for controlling "flip flop" (multiple device) USB gear.

Several USB devices including high-speed wireless WAN equipment offer a feature where they have their device drivers onboard; when plugged in for the first time they act like a USB flash drive and start installing the device drivers. The device will then receive a command from the installed device driver and switch mode, 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)".[citation needed] The device can only be used on OS that support the device driver, as else the driver will never be able to send the command. [citation needed]

With USB sniffing programs and libusb it is possible to eavesdrop the communication of the device driver and isolate the command or action that does the switching and to reproduce the same event under an unsupported environment.[2][failed verification][unreliable source]

The virtual CD-ROM switching utility can act replicate the command, managing the switch of mode from flash drive to modem, the latter disconnects any mounted disk containing software, and crucially, creates a modem port/serial device (usually /dev/ttyUSB0) for the networkmanager.[3][failed verification][unreliable source]

Drivers are built into the operating systems as on systems implementing the USB standard like Linux, any 3G device is a USB serial port, and any storage device are really USB storage device, so devices that can't run their own driver may be able to use the built in one instead.[citation needed] Virtual CD-ROM on U3-compatible devices can be removed by a software tool.[4][failed verification][unreliable source] Some 3G devices such as the Huawei support complete disabling of the Virtual CD-ROM.[5][failed verification][unreliable source]

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.[6][unreliable source]
  • 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.[7] [citation needed]
  • 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.[2]
  • Switch2modem: It is designed[by whom?] for switching a 3G USB modem. The program works under OpenSolaris.[8][unreliable source]
  • Fetch utility: huaweiAktBbo.c is a utility that can be compiled and re-creates the USB communication which is used in Windows.[9][unreliable source]
[edit]

References

[edit]
  1. ^ "USB_modeswitch Virtual CD-ROM switching utility". Archived from the original on 2010-02-12. Retrieved 2010-11-03.
  2. ^ a b "USB_ModeSwitch - Activating Switchable USB Devices on Linux".
  3. ^ greg.harvey (28 April 2010). "Installing 3G USB Modems On Linux". Archived from the original on 2012-04-21. Retrieved 2019-02-10.
  4. ^ "u3_tool - Tool for controlling U3 drives". SourceForge. Retrieved 2021-01-04.
  5. ^ Martinović, Marko. "Disable virtual CD-ROM drive with built in software on Huawei and ZTE GSM modem devices". TechyTalk.info. Retrieved 2021-01-04.
  6. ^ "ZTE MF636 (Cosmote 3G USB Modem in Greece) & Linux". 5 November 2009. Archived from the original on 2010-01-09. Retrieved 2019-02-10.
  7. ^ Debian package ozerocdoff in sid
  8. ^ Getting the Telecom T-Stick working under OpenSolaris Archived June 2, 2010, at the Wayback Machine
  9. ^ NSLU2-Linux - HowTo / AddUsb3gModem browse