[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can't make gnokii work
From: |
Rodolfo Medina |
Subject: |
Re: Can't make gnokii work |
Date: |
Fri, 18 Aug 2006 15:39:42 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
Rodolfo Medina wrote:
> My system is GNU/Linux Debian 3.1 kernel 2.4, my phone is a
> Nokia 6630 plugged via USB cable, of which I wish to read and copy
> phonebook and sms.
>
> [...]
>
> the checking gnokii options `identify' and `monitor' seem to work,
> but not the operative ones such as `getphonebook', `displayoutput',
> `getdatetime' and `getsms'.
"Pawel Kot" <address@hidden> writes:
> Try model = 6510, connection = dku2libusb (or similiar whatever manual
> says). Make sure that the usb device is created with correct
> permissions (how to do it, depends on what you use: udev, hotplug,
> ...)
The command `gnokii --identify' works only if I put:
model = AT-HW
connection = serial
, otherwise it fails. Below I'm reporting the various outputs.
> I think we discussed this particular case with Alex Kanavin some time
> ago and got some results. Will check that out on Sunday.
Alexander Kanavin from the openobex mailing list suggested that I should
need latest opensync with syncml support.
But they from the opensync mailing list said that OpenSync would not
deal with SMS.
Thanks, regards,
Rodolfo
----------------------------------------------------------
With: `model = AT-HW' and `connection = serial' I got:
# gnokii --identify
GNOKII Version 0.6.13
LOG: debug mask is 0x1
phone instance config:
model: AT-HW
port_device: /dev/ttyACM0
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/ttyACM0
Serial device: setting RTS to high and DTR to high
Serial device: setting RTS to high and DTR to low
Serial device: setting RTS to high and DTR to high
Message sent: 0x00 / 0x0004
41 54 5a 0d | ATZ
write: [ATZ<cr>]
read : [OK<cr><lf>]
Message received: 0x00 / 0x0004
02 4f 4b 0d | 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>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 / 0x0008
41 54 2b 43 47 4d 4d 0d | AT+CGMM
write: [AT+CGMM<cr>]
read : [AT+CGMM<cr><cr><lf>Nokia 6630<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x001c
02 41 54 2b 43 47 4d 4d 0d 0d 0a 4e 6f 6b 69 61 | AT+CGMM Nokia
20 36 36 33 30 0d 0a 0d 0a 4f 4b 0d | 6630 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>Nokia<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0017
02 41 54 2b 43 47 4d 49 0d 0d 0a 4e 6f 6b 69 61 | AT+CGMI Nokia
0d 0a 0d 0a 4f 4b 0d | 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: "PCCP437"<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x61 / 0x0023
02 41 54 2b 43 53 43 53 3f 0d 0d 0a 2b 43 53 43 | AT+CSCS? +CSC
53 3a 20 22 50 43 43 50 34 33 37 22 0d 0a 0d 0a | S: "PCCP437"
4f 4b 0d | OK
Received message type 61
Initialisation completed
Message sent: 0x06 / 0x0008
41 54 2b 43 47 4d 4d 0d | AT+CGMM
write: [AT+CGMM<cr>]
read : [AT+CGMM<cr><cr><lf>Nokia 6630<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x001c
02 41 54 2b 43 47 4d 4d 0d 0d 0a 4e 6f 6b 69 61 | AT+CGMM Nokia
20 36 36 33 30 0d 0a 0d 0a 4f 4b 0d | 6630 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>Nokia<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0017
02 41 54 2b 43 47 4d 49 0d 0d 0a 4e 6f 6b 69 61 | AT+CGMI Nokia
0d 0a 0d 0a 4f 4b 0d | 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>V 04wk47_m_v5<cr><lf>17-08-05<cr><lf>RM-1<cr><lf>(c)
Nokia. <cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x003f
02 41 54 2b 43 47 4d 52 0d 0d 0a 56 20 30 34 77 | AT+CGMR V 04w
6b 34 37 5f 6d 5f 76 35 0d 0a 31 37 2d 30 38 2d | k47_m_v5 17-08-
30 35 0d 0a 52 4d 2d 31 0d 0a 28 63 29 20 4e 6f | 05 RM-1 (c) No
6b 69 61 2e 20 20 20 20 0d 0a 0d 0a 4f 4b 0d | kia. 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>356657005008450<cr><lf><cr><lf>OK<cr><lf>]
Message received: 0x06 / 0x0021
02 41 54 2b 43 47 53 4e 0d 0d 0a 33 35 36 36 35 | AT+CGSN 35665
37 30 30 35 30 30 38 34 35 30 0d 0a 0d 0a 4f 4b | 7005008450 OK
0d |
Received message type 06
IMEI : 356657005008450
Manufacturer : Nokia
Model : Nokia 6630
Product name : Nokia 6630
Revision : V 04wk47_m_v5
Serial device: closing device
With: `model = AT-HW' and `connection = dku2' I got:
# gnokii --identify
GNOKII Version 0.6.13
LOG: debug mask is 0x1
phone instance config:
model: AT-HW
port_device: /dev/ttyACM0
connection_type: 9
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 ...
Initialization failed (6)
Telephone interface init failed: Function or connection type not supported by
the phone.
Quitting.
Function or connection type not supported by the phone.
With: `model = 6510' and `connection = serial' I got:
# gnokii --identify
GNOKII Version 0.6.13
LOG: debug mask is 0x1
Lockfile /var/lock/LCK..ttyACM0 is stale. Overriding it..
phone instance config:
model: 6510
port_device: /dev/ttyACM0
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/ttyACM0
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 |
[Echo cancelled]
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 07 01 00 |
[Echo cancelled]
SM_Block: exiting the retry loop
Serial device: opening device /dev/ttyACM0
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 |
[Echo cancelled]
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 07 01 00 |
[Echo cancelled]
SM_Block: exiting the retry loop
Serial device: opening device /dev/ttyACM0
Serial device: setting RTS to low and DTR to low
Serial device: setting RTS to high and DTR to high
Serial device: setting speed to 19200
Switching to FBUS mode
Serial device: setting speed to 115200
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
Serial write: transmitter busy, waiting
Serial write: transmitter ready
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 |
[Echo cancelled]
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 07 01 00 |
[Echo cancelled]
SM_Block: exiting the retry loop
Identifying...
Message sent: 0x1b / 0x0005
00 01 00 00 41 | A
Message sent: 0x1b / 0x0006
00 01 00 07 01 00 |
Serial write: transmitter busy, waiting
Serial write: transmitter ready
[Echo cancelled]
[Echo cancelled]
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 07 01 00 |
[Echo cancelled]
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 07 01 00 |
[Echo cancelled]
SM_Block: exiting the retry loop
IMEI : Unknown
Manufacturer : Nokia
Model : Unknown
Product name : Unknown
Revision : Unknown
Serial device: closing device
- Re: Can't make gnokii work, (continued)
- Re: Can't make gnokii work, Rodolfo Medina, 2006/08/17
- Re: Can't make gnokii work, Pawel Kot, 2006/08/17
- Re: Can't make gnokii work, Rodolfo Medina, 2006/08/18
- Re: Can't make gnokii work, Pawel Kot, 2006/08/18
- Re: Can't make gnokii work,
Rodolfo Medina <=
- Re: Can't make gnokii work, Pawel Kot, 2006/08/18
- Re: Can't make gnokii work, Rodolfo Medina, 2006/08/19
- Nokia 6070 works fine for gprs via ca-42, Anish Parameswaran, 2006/08/21
- Re: Can't make gnokii work, Daniele Forsi, 2006/08/18
- Re: Can't make gnokii work, Rodolfo Medina, 2006/08/18
Can't make gnokii work, Rodolfo Medina, 2006/08/05