gnokii-users
[Top][All Lists]
Advanced

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

Re: Is Sony Ericsson F3507g module supported?


From: Mateusz Loskot
Subject: Re: Is Sony Ericsson F3507g module supported?
Date: Sun, 4 Apr 2010 00:53:08 +0200
User-agent: SquirrelMail/1.4.19

Pawel Kot wrote:
> 2010/4/3 Mateusz Loskot <address@hidden>:
>> I use ThinkPad T400 with built-in GSM chipset Sony Ericsson F3507g
>> (http://www.thinkwiki.org/wiki/Ericsson_F3507g_Mobile_Broadband_Module)
>>
>> I have managed to configure connection for wammu/gammu
>> (http://wammu.eu/phones/sony-ericsson/3568/).
>> I also can connect to broadband.
>>
>> I'm wondering if it would be possible to configure gnokii to access
>> this GSM module and data written to SIM card (contacts, send/receive
>> SMS,
>> etc.)
>
> Yes, that should work just fine.

Sounds good.

>> gnokii --identify does not find the module:
>>
>> Gnokii serial_open: tcgetattr: Input/output error
>> Couldn't open FBUS device: Input/output error
>
> You have shown neither config file nor full debug log. Therefore it's
> hard to say where the problem may be. Configuration should be pretty
> the same as for gammu. Make sure that port setting matches device file
> created by kernel module (the name should be revealed in dmesg).

Yes, I understand my post lacks of details. I tried to solve the problem
myself and I think it works.

I crafted the following settings in my ~/.gnokiirc file:

####################################
[global]
port = /dev/ttyACM1
model = AT
connection = serial
use_locking = no
serial_baudrate = 19200

[xgnokii]
allow_breakage = 0

[gnokiid]
bindir = /usr/sbin/

[logging]
debug = on
rlpdebug = on
xdebug = on
####################################

The F3507g module is visible in the system as 3 devices,
I suppose it's because the module has built-in GPS, so
there is a dedicated interface to talk it which is separate
from GSM interface.

Initially, I tried with /dev/ttyACM0 and I was getting:

##############################################################
Initializing AT capable mobile phone ...
Serial device: opening device /dev/ttyACM0
Gnokii serial_open: open: Device or resource busy
Couldn't open ATBUS device: Device or resource busy
AT bus initialization failed (1)
Initialization failed (1)
Serial device: closing device
Telephone interface init failed: Command failed.
##############################################################

I changed to /dev/ttyACM1 and also set use_locking=no and
it looks everything works well:

##############################################################
address@hidden:~$ gnokii --identify
GNOKII Version 0.6.27
LOG: debug mask is 0x1
LOG: rlpdebug mask is 0x1
LOG: xdebug mask is 0x1
Config read from file /home/mloskot/.gnokiirc.
phone instance config:
model = AT
port = /dev/ttyACM1
connection = serial
initlength = default
serial_baudrate = 19200
serial_write_usleep = -1
handshake = software
require_dcd = 0
smsc_timeout = 10
rfcomm_channel = 0
sm_retry = 0
Initializing AT capable mobile phone ...
Serial device: opening device /dev/ttyACM1
Serial device: setting RTS to high and DTR to high
Message sent: 0x00 / 0x0004
41 54 5a 0d                                     | ATZ
write: [ATZ<cr>]
read : [^A^FZ<cr><cr><lf>+CME ERROR: 262<cr><lf>]
Message received: 0x00 / 0x0017
05 01 06 5a 0d 0d 0a 2b 43 4d 45 20 45 52 52 4f |    Z   +CME ERRO
52 3a 20 32 36 32 0d                            | R: 262
Received message type 00
Message sent: 0x00 / 0x0005
41 54 45 31 0d                                  | ATE1
write: [ATE1<cr>]
read : [ATE1<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x000b
02 41 54 45 31 0d 0d 0a 4f 4b 0d                |  ATE1   OK
Received message type 00
Message sent: 0x00 / 0x000a
41 54 2b 43 4d 45 45 3d 31 0d                   | AT+CMEE=1
write: [AT+CMEE=1<cr>]
read : [AT+CMEE=1<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x0010
02 41 54 2b 43 4d 45 45 3d 31 0d 0d 0a 4f 4b 0d |  AT+CMEE=1   OK
Received message type 00
Message sent: 0x06 / 0x0007
41 54 2b 47 4d 4d 0d                            | AT+GMM
write: [AT+GMM<cr>]
read : [AT+GMM<cr><cr><lf>F3507g<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0017
02 41 54 2b 47 4d 4d 0d 0d 0a 46 33 35 30 37 67 |  AT+GMM   F3507g
0d 0a 0d 0a 4f 4b 0d                            |     OK
Received message type 06
Message sent: 0x06 / 0x0008
41 54 2b 43 47 4d 49 0d                         | AT+CGMI
write: [AT+CGMI<cr>]
read : [AT+CGMI<cr><cr><lf>Ericsson<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x001a
02 41 54 2b 43 47 4d 49 0d 0d 0a 45 72 69 63 73 |  AT+CGMI   Erics
73 6f 6e 0d 0a 0d 0a 4f 4b 0d                   | son    OK
Received message type 06
Message sent: 0x61 / 0x0009
41 54 2b 43 53 43 53 3f 0d                      | AT+CSCS?
write: [AT+CSCS?<cr>]
read : [AT+CSCS?<cr><cr><lf>+CSCS:
"0055004300530032"<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x61 / 0x002c
02 41 54 2b 43 53 43 53 3f 0d 0d 0a 2b 43 53 43 |  AT+CSCS?   +CSC
53 3a 20 22 30 30 35 35 30 30 34 33 30 30 35 33 | S: "005500430053
30 30 33 32 22 0d 0a 0d 0a 4f 4b 0d             | 0032"    OK
Received message type 61
Initialisation completed
Message sent: 0x06 / 0x0007
41 54 2b 47 4d 4d 0d                            | AT+GMM
write: [AT+GMM<cr>]
read : [AT+GMM<cr><cr><lf>F3507g<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0017
02 41 54 2b 47 4d 4d 0d 0d 0a 46 33 35 30 37 67 |  AT+GMM   F3507g
0d 0a 0d 0a 4f 4b 0d                            |     OK
Received message type 06
Message sent: 0x06 / 0x0008
41 54 2b 43 47 4d 49 0d                         | AT+CGMI
write: [AT+CGMI<cr>]
read : [AT+CGMI<cr><cr><lf>Ericsson<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x001a
02 41 54 2b 43 47 4d 49 0d 0d 0a 45 72 69 63 73 |  AT+CGMI   Erics
73 6f 6e 0d 0a 0d 0a 4f 4b 0d                   | son    OK
Received message type 06
Message sent: 0x06 / 0x0008
41 54 2b 43 47 4d 52 0d                         | AT+CGMR
write: [AT+CGMR<cr>]
read : [AT+CGMR<cr><cr><lf>R1A034<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0018
02 41 54 2b 43 47 4d 52 0d 0d 0a 52 31 41 30 33 |  AT+CGMR   R1A03
34 0d 0a 0d 0a 4f 4b 0d                         | 4    OK
Received message type 06
Message sent: 0x06 / 0x0008
41 54 2b 43 47 53 4e 0d                         | AT+CGSN
write: [AT+CGSN<cr>]
read : [AT+CGSN<cr><cr><lf>354143020112918<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0021
02 41 54 2b 43 47 53 4e 0d 0d 0a 33 35 34 31 34 |  AT+CGSN   35414
33 30 32 30 31 31 32 39 31 38 0d 0a 0d 0a 4f 4b | 3020112918    OK
0d                                              |
Received message type 06
IMEI         : 354143020112918
Manufacturer : Ericsson
Model        : F3507g
Product name : F3507g
Revision     : R1A034
Serial device: closing device
address@hidden:~$
##############################################################

I can also send SMS and I tried to dial numbers too.

Apparently, the GSM module does not have any memory built-in
but it's possible to can access some of the GSM services with gnokii.
So, great and thanks for gnokii!

Best regards,
-- 
Mateusz Loskot
http://mateusz.loskot.net





reply via email to

[Prev in Thread] Current Thread [Next in Thread]