Without having to use usb-modeswitch switching the USB modem can be done easily. In this example I use USB CDMA modem with vendor ID 201e and product ID 1023 (when detected as CD-ROM storage) and product ID 1022 (when detected as USB modem or USB storage).
Requirements
Most of these module are present in all modern linux distro.- Kernel module: option (USB Driver for GSM modems)
- Kernel module: usbserial (USB Serial Driver core)
Step 1: Detach the CD-ROM Storage
When you first plug your USB modem it might detected as CD-ROM storage. To identify the modem you can usedmesg and lsusb commands. Make sure running these commands as root.