Dig some archieves from users list, there's a post from me about
configuring P990i as AT SMSC. TIA.


Willy
A tall, dark stranger will have more fun than you.


-----Original Message-----
From: Jovan Kostovski <[email protected]>
To: David Edwards <[email protected]>
Cc: [email protected]
Subject: Re: Connecting a GSM Phone to Linux
Date: Wed, 31 Dec 2008 18:16:49 +0100

On Wed, Dec 31, 2008 at 3:04 PM, David Edwards <[email protected]> wrote:
> Hi,
>
> I have a very lame question, I want to use a Sony Ericsson P990i as a modem
> SMSC via Kannel, but I don't know how to connect it to Linux?  Can someone
> help me?  My system is as follows:
>
> Desktop:
> Ubuntu 8.04 (2.6.24-22-generic)
>
> Kannel:
> 1.4.1-2ubuntu1 (installed via package manager).
>
> I don't have bluetooth enabled on my desktop, I do have a USB cable for the
> P990i.
>
> Sorry if this is a lame request, but I am reasonable new to Linux and very
> new to Kannel, if someone could send me in the right direction, I would
> appreciate it.

When you connect the phone to the computer with usb cable ubuntu
should detect it (you'll see a message saying "New mobile broadband
device detected" in the network manager)
Than open a terminal and type: sudo wvdialconf

You'll get output similar to the one in wvdialconf.log - see the
attachment (i'm using my SE K750i)

Take note on lines
"ttyACM0<*1>: Modem Identifier: ATI -- Sony Ericsson K750" - you'll
need this info for the modems group detection-string and detection
string parameters. I presume you'll get something like "Sony Ericsson
P990"

"Found an USB modem on /dev/ttyACM0" - for smsc group - device parameter

Create a smsc group:
group = smsc
smsc = at
modemtype = auto
device=/dev/ttyACM0
my-number = YOUR_MOBILE_NUMBER
connect-allow-ip = 127.0.0.1

than create a modem group
group = modems
id = "sonyericsson_K750"
name = "Sony Ericsson_K750"
detect-string = "Sony Ericsson"
detect-string2 = "K750"
init-string = "AT+CNMI=2,3,0,0,0"
# speed = 9600 [Default]
# enable-hwhs = "AT+IFC=2,2" [Default]
# need-sleep = false [Default]
# no-pin = false [Default]
# no-smsc = false [Default]
# sendline-sleep = 100 [Default, miliseconds]
# keepalive-cmd = "AT" [Default]
# broken = false [Default]
# message-storage = "SM"
# enable-mms = false [Default]

You might check the init-string and the other parameters i order to
get it working.
Usually people are experiencing problems due to bad init string

after this try to start the bearerbox manually in debug mode:
./bearerbox -v 0 /etc/kannel.conf
i think that ubuntu stores the config in /etc/kannel.conf if not
change it to the right file location.

Somewhere in the debug output of bearerbox between the at commands you
should see something similar to:
DEBUG: AT2[/dev/ttyACM0]: found string <Sony Ericsson> plus <K750>,
using modem definition <Sony Ericsson_K750>

and at the end:
INFO: AT2[/dev/ttyACM0]: AT SMSC successfully opened.

which means that bearerbox has successfully created connection to the phone.


One more thing, I suggest you to download the kannel source and
compile it your self to conform your needs.
The compiled package is sort of generically compiled ;)

BR, Jovan


Reply via email to