Community Documentation

How to Detect Your Modem

Last updated November 23, 2012. Created by drupalisme on October 5, 2012.
Edited by no_longer_active_13. Log in to edit this page.

Linux

Simply run wvdialconf

root@proxmox-111:/# wvdialconf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S1   S2   S3
WvModem<*1>: Cannot get information for serial port.
ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB0<*1>: ATQ0 V1 E1 --
ttyUSB0<*1>: failed with 9600 baud, next try: 115200 baud
ttyUSB0<*1>: ATQ0 V1 E1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB0<*1>: Modem Identifier: ATI -- WAVECOM MODEM
ttyUSB0<*1>: Speed 230400: AT -- x[18]
ttyUSB0<*1>: Speed 230400: AT -- xø
ttyUSB0<*1>: Speed 230400: AT -- xø
ttyUSB0<*1>: Max speed is 115200; that should be safe.
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found a modem on /dev/ttyUSB0.
Modem configuration written to /etc/wvdial.conf.
ttyUSB0<Info>: Speed 115200; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
root@proxmox-111:/#

Based on above results, here is our modem:

ttyUSB0<*1>: Modem Identifier: ATI -- WAVECOM MODEM
ttyUSB0<*1>: Max speed is 115200; that should be safe.

Windows

First, you must install the modem drivers, in this example we use Wavecom Fastrack USB, plugin the USB modem. You will see:
http://drupal.org/gammu windows modem install

Click on "Update Driver" then point to your CD ROM that contains Modem Driver, if finished, you can determine on which port your modem installed by open Device Manager again, see this example:
gammu windows modem port detect

Above info show your modem installed on COM10.

How to Force Windows to Read Your Drivers Disk

Sometimes Windows uses the newest drivers but some modems won't work with that Windows drivers. You can force Windows to read drivers file provided by your modem, see detais:

  1. Uninstall the modem drivers if already installed
  2. On Device Manager - right click to choose "add legacy hardware, as shown:add windows drivers manually
  3. Windows Hardware Wizard will popup and help you step by step
AttachmentSize
gammu_windows_modem_install.png42.33 KB
gammu_windows_modem_port_detect.png45.08 KB
add drivers manually.jpg43.9 KB

About this page

Drupal version
Drupal 6.x, Drupal 7.x
Audience
Contributors, Programmers, Site administrators
Level
Intermediate, Advanced
Keywords
gammu, Mobile, modem, sms, sms gateway, wavecom

Site Building Guide

Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.
nobody click here