ubuntu breezy, gnokii 0.6.8, ibm thinkpad t41p, nokia 6610, connecting over irda.
when i start up irdatadump: it shows my phone and computer are visible to each other:
13:13:13.072591 xid:rsp 801779de < 0000a08e S=6 s=2 Nokia 6610 hint=b125 [ PnP Modem Fax Telephony IrCOMM IrOBEX ] (27)
13:13:13.080276 xid:cmd 801779de > ffffffff S=6 s=3 (14)
13:13:13.170263 xid:cmd 801779de > ffffffff S=6 s=4 (14)
13:13:13.260331 xid:cmd 801779de > ffffffff S=6 s=5 (14)
13:13:13.350234 xid:cmd 801779de > ffffffff S=6 s=* shai-hulud hint=8404 [ Computer IrCOMM ] (27)
then i run gnokii --identify
GNOKII Version 0.6.8
LOG: debug mask is 0x1
LOG: rlpdebug mask is 0x1
phone instance config:
model: 6610
port_device: /dev/ircomm0
connection_type: 3
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/ircomm0
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01
00
|
Message sent: 0x1b / 0x0006
00 01 00 07 01
00
|
Message sent: 0x1b / 0x0006
00 01 00 07 01
00
|
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
Timeout: aborting command ``/usr/lib/gnokii/gnokii'' with signal 9
/usr/bin/gnokii: line 16: 8843
Killed
timeout $TIMEOUT $BINARY "$@"
update: after a reboot things seem to be better.
i still have to create the /dev/ircomm0 device by hand but once i do
gnokii can use it and the rest of the /dev/ircomm[1-31] devices are
created automatically
minicom works fine - the ati3 command producess the expected identity output.
gnokii can now connect to the phone and kind of communicate but with some problems:
# gnokii --identify
GNOKII Version 0.6.8
[. . . debug output same as before . . .]
Connecting
Serial device: opening device /dev/ircomm0
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01
00
|
The fbus stream is out of sync - expected 0x0c, got 0x00 (x2)
Message sent: 0x1b / 0x0006
00 01 00 07 01
00
|
The fbus stream is out of sync - expected 0x0c, got 0x00 (x2)
Message sent: 0x1b / 0x0006
00 01 00 07 01
00
|
The fbus stream is out of sync - expected 0x0c, got 0x00 (x2)
Identifying...
Message sent: 0x1b / 0x0005
00 01 00 00
41
| A
Message sent: 0x1b / 0x0006
00 01 00 07 01
00
|
The fbus stream is out of sync - expected 0x0c, got 0x00 (x4)
Message sent: 0x1b / 0x0006
00 01 00 07 01
00
|
The fbus stream is out of sync - expected 0x0c, got 0x00 (x2)
Message sent: 0x1b / 0x0006
00 01 00 07 01
00
|
The fbus stream is out of sync - expected 0x0c, got 0x00 (x2)
IMEI : (unknown)
Manufacturer : Nokia
Model : (unknown)
Revision : (unknown)
Serial device: closing device
that's the only gnokii command i have been able to get working so far -
the rest all give plenty of "out of sync" messages and then time out.
during this process the following is output in irdadump:
13:13:07.530380 snrm:cmd ca=fe pf=1 801779de > 0000a08e new-ca=52
LAP QoS: Baud Rate=115200bps
Max Turn Time=500ms Data Size=2048B Window Size=7 Add BOFS=0 Min Turn
Time=1000us Link Disc=12s (32)
13:13:07.635878 ua:rsp ca=52 pf=1 801779de < 0000a08e
LAP QoS: Baud Rate=115200bps
Max Turn Time=100ms Data Size=512B Window Size=1 Add BOFS=0 Min Turn
Time=1000us Link Disc=12s (31)
13:13:07.635956 rr:cmd > ca=52 pf=1 nr=0 (2)
13:13:07.885070 rr:cmd > ca=52 pf=1 nr=0 (2)
13:13:07.893323 rr:rsp < ca=52 pf=1 nr=0 (2)
13:13:07.893345 i:cmd > ca=52 pf=1 nr=0 ns=0 LM slsap=16 dlsap=00 CONN_CMD (6)
13:13:07.903679 i:rsp < ca=52 pf=1 nr=1 ns=0 LM slsap=00 dlsap=16 CONN_RSP (6)
13:13:07.903707 i:cmd > ca=52 pf=1 nr=1 ns=1 LM slsap=15 dlsap=00 CONN_CMD (6)
13:13:07.913330 rd:rsp < ca=0x52 pf=1 (2)
13:13:07.913348 disc:cmd > ca=0x52 pf=1 (2)
13:13:07.944215 ua:rsp ca=52 pf=1 801779de < 0000a08e (10)
this all happens after the first "Message sent" message in the gnokii output. after that all i see is again lines like
xid:rsp 801779de < 0000a08e S=6 s=2 Nokia 6610 hint=b125 [ PnP Modem Fax Telephony IrCOMM IrOBEX ] (27)
~/.gnokiirc :
[global]
port = /dev/ircomm0
model = 6610
initlength = default
connection = infrared
use_locking = yes
serial_baudrate = 19200
smsc_timeout = 10
[gnokiid]
bindir = /usr/sbin/
[logging]
debug = on
i'm not sure what to make of this - the phone and laptop seem to be communicating over the /dev/ircomm0 device, right?
t