[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Getting it going on a 6225
From: |
Rick Measham |
Subject: |
Getting it going on a 6225 |
Date: |
Tue, 31 May 2005 16:51:34 +1000 |
User-agent: |
Mozilla Thunderbird 1.0.2 (X11/20050317) |
OK, I feel I'm almost there ... I've tried two things:
1. Setting the phone to be an 'AT' phone. I think it almost works, but
maybe the lanugage has changed. Or else I'm not reading the logs properly
2. Setting the phone to be a 6230. I thought it was closest to the 6220,
but that uses a different cable, so I went to the 6230 and got a lot
closer. However I'm still not there.
My cable is a third-party cable and it shows up in lsusb as thus:
Bus 003 Device 004: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial
Port
As it's a prolific I've checked the my kernel module supports the
PL2303X chip which the cable uses, and there's no problem there.
(minutes later)
It seems that my phone will accept AT commands, as I run minicom and can
chat with the phone on a VERY limited basis:
ATZ
OK
AT+CGMI
ERROR
ATI
ERROR
ATI1
ERROR
None of the commands from the at command list in the docs will work
apart from the simplest (ATD 12345678' works fine .. but it times out
with NO CARRIER and the phone registers 'End of Data Call')
I'm so close, but not quite there. I've attached the output of the debug
when running "gnokii --identify" with both AT and 6230 settings in the
hope that more experienced users will be able to shed some light.
Cheers!
Rick Measham
GNOKII Version 0.6.5
LOG: debug mask is 0x1
LOG: xdebug mask is 0x1
phone instance config:
model: 6230
port_device: /dev/ttyUSB0
connection_type: 0
init_length: 0
serial_baudrate: 19200
serial_write_usleep: -1
hardware_handshake: 0
require_dcd: 0
smsc_timeout: 100
connect_script:
disconnect_script:
rfcomm_cn: 1
sm_retry: off
Connecting
Serial device: opening device /dev/ttyUSB0
Serial device: setting speed to 115200
Serial device: setting RTS to low and DTR to low
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01 00 |
Serial write: transmitter busy, waiting
Serial write: transmitter ready
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 07 01 00 |
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 07 01 00 |
SM_Block: exiting the retry loop
Serial device: opening device /dev/ttyUSB0
Serial device: setting speed to 115200
Serial device: setting RTS to low and DTR to high
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01 00 |
Serial write: transmitter busy, waiting
Serial write: transmitter ready
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 07 01 00 |
Timeout: aborting command ``/usr/lib/gnokii/gnokii'' with signal 9
/usr/bin/gnokii: line 16: 3284 Killed timeout $TIMEOUT
$BINARY "$@"
GNOKII Version 0.6.5
LOG: debug mask is 0x1
LOG: xdebug mask is 0x1
phone instance config:
model: AT
port_device: /dev/ttyUSB0
connection_type: 0
init_length: 0
serial_baudrate: 19200
serial_write_usleep: -1
hardware_handshake: 0
require_dcd: 0
smsc_timeout: 100
connect_script:
disconnect_script:
rfcomm_cn: 1
sm_retry: off
Initializing AT capable mobile phone ...
Serial device: opening device /dev/ttyUSB0
Serial device: setting RTS to high and DTR to high
Message sent: 0x00 / 0x0004
41 54 5a 0d | ATZ
write: [ATZ<cr>]
read : [TZ<cr><cr><lf>OK<cr><lf>]
Message received: 0x00 / 0x0009
02 54 5a 0d 0d 0a 4f 4b 0d | TZ OK
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>ERROR<cr><lf>]
Message received: 0x00 / 0x0013
03 41 54 2b 43 4d 45 45 3d 31 0d 0d 0a 45 52 52 | AT+CMEE=1 ERR
4f 52 0d | OR
Received message type 00
Message sent: 0x06 / 0x0008
41 54 2b 43 47 4d 4d 0d | AT+CGMM
write: [AT+CGMM<cr>]
read : [AT+CGMM<cr><cr><lf>ERROR<cr><lf>]
Message received: 0x06 / 0x0011
03 41 54 2b 43 47 4d 4d 0d 0d 0a 45 52 52 4f 52 | AT+CGMM ERROR
0d |
Received message type 06
Initialization failed (8)
Telephone interface init failed: Unknown error - well better than nothing!!
Quitting.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Getting it going on a 6225,
Rick Measham <=