USB Modem



I'm running Fedora 10 and have been using KPPP to talk to my cellphone,
which emulates an AT command set modem over RS-232, which is then adapted
to USB. I'm interested in using Network Manager instead of KPPP. Looking
around the web, I found a suggestion that a file
/etc/hal/fdi/information/3gmodem.fdi be created. I named it cellphone.fdi
. The file contains the following:

<?xml version="1.0" encoding="UTF-8"?>

<deviceinfo version="0.2">
  <device>
    <match key="serial.device" string="/dev/ttyUSB0">
        <append key="info.capabilities" type="strlist">modem</append>
        <append key="modem.command_sets" type="strlist">IS-707-A</append>
    </match>
  </device>
</deviceinfo>

When the phone is plugged in, it shows up in Network Manager as CDMA
Connection 1 (I created the connection in Network Manager).

The cellphone modem uses the Hayes AT command set, and I suspect that is
not the command set listed in the above XML.

Looking at /var/log/messages, I see the following when I tell NM to
connect to CDMA Connection 1:

Feb  6 21:29:19 localhost NetworkManager: <info>  Activation (ttyUSB0)
starting connection 'CDMA connection 1'
Feb  6 21:29:19 localhost NetworkManager: <info>  (ttyUSB0): device state
change: 3 -> 4
Feb  6 21:29:19 localhost NetworkManager: <info>  Activation (ttyUSB0)
Stage 1 of 5 (Device Prepare) scheduled...
Feb  6 21:29:19 localhost NetworkManager: <info>  Activation (ttyUSB0)
Stage 1 of 5 (Device Prepare) started...
Feb  6 21:29:19 localhost NetworkManager: <info>  Activation (ttyUSB0)
Stage 1 of 5 (Device Prepare) complete.
Feb  6 21:29:29 localhost NetworkManager: <WARN>  init_done(): Modem
initialization timed out
Feb  6 21:29:29 localhost NetworkManager: <info>  (ttyUSB0): device state
change: 4 -> 9
Feb  6 21:29:30 localhost NetworkManager: <info>  Marking connection 'CDMA
connection 1' invalid.
Feb  6 21:29:30 localhost NetworkManager: <info>  Activation (ttyUSB0)
failed.
Feb  6 21:29:30 localhost NetworkManager: <info>  (ttyUSB0): device state
change: 9 -> 3
Feb  6 21:29:30 localhost NetworkManager: <info>  (ttyUSB0): deactivating
device (reason: 0).
F

Also, on the cellphone display, I see no evidence of the phone attempting
to dial. So... is the modem command set the problem? What is the modem
command set for an AT modem?

THANKS!

Harold


-- 
FCC Rules Updated Daily at http://www.hallikainen.com - Advertising
opportunities available!


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]