Hi,
I am trying to connect to a Motorola L7089 mobile phone over the infrared
port, but it won't work. Or better said: I can open the device file
/dev/ircomm0 but the connection is `dead', the mobile phone won't respond
anything.
It worked exactly once with the command `cu' and I was able to send commands
like ati and atz via the infrared interface (which were replied by the phone
with OK or ERROR) but this was not repeatable.
I tested it with an unpatched Kernel 2.3.34 and with the original SuSE
Kernel from 6.3, Version 2.2.13 (In SuSE Linux 6.3 IrDA generally works when
used for example with the Siemens S25 or on the Canon BJC-80 - perhaps it is
some trouble especially with this mobile phone?)
I included the output of irdadump when trying to send something with cu
(babbage is my desktop system using a motherboard adapter and the irport
driver).
If you need more debugging output please let me know. As you can see the
mobile phone is in range (sorry for long lines):
14:06:22.006322 xid:cmd ffffffff < 97833cb5 S=6 s=4 (14)
14:06:22.006373 xid:rsp df462422 > 97833cb5 S=6 s=4 Babbage hint=0400 [ Computer ]
(23)
14:06:22.148784 xid:cmd ffffffff < 97833cb5 S=6 s=5 (14)
14:06:22.248357 xid:cmd ffffffff < 97833cb5 S=6 s=* L Series hint=9104 [ PnP Modem
IrCOMM ] (25)
14:06:23.435489 xid:cmd df462422 > ffffffff S=6 s=0 (14)
14:06:23.525514 xid:cmd df462422 > ffffffff S=6 s=1 (14)
14:06:23.615637 xid:cmd df462422 > ffffffff S=6 s=2 (14)
14:06:23.705471 xid:cmd df462422 > ffffffff S=6 s=3 (14)
14:06:23.784591 xid:rsp df462422 < 97833cb5 S=6 s=3 L Series hint=9104 [ PnP Modem
IrCOMM ] (25)
14:06:23.795470 xid:cmd df462422 > ffffffff S=6 s=4 (14)
14:06:23.885476 xid:cmd df462422 > ffffffff S=6 s=5 (14)
14:06:23.975533 xid:cmd df462422 > ffffffff S=6 s=* Babbage hint=0400 [ Computer ]
(23)
[ I am opening /dev/ircomm0 here ]
14:06:24.556843 snrm:cmd ca=fe pf=1 df462422 > 97833cb5 new-ca=20 (32)
14:06:24.662351 ua:rsp ca=20 pf=1 df462422 < 97833cb5 (31)
14:06:24.662415 rr:cmd > ca=20 pf=1 nr=0 (2)
14:06:24.905494 rr:cmd > ca=20 pf=1 nr=0 (2)
14:06:24.913883 rr:rsp < ca=20 pf=1 nr=0 (2)
14:06:24.913922 i:cmd > ca=20 pf=1 nr=0 ns=0 LM slsap=16 dlsap=00 CONN_CMD (6)
14:06:24.923016 i:rsp < ca=20 pf=1 nr=1 ns=0 LM slsap=00 dlsap=16 CONN_RSP (6)
14:06:24.923075 i:cmd > ca=20 pf=1 nr=1 ns=1 LM slsap=16 dlsap=00 GET_VALUE_BY_CLASS:
"IrDA:IrCOMM" "Parameters" (28)
14:06:24.934935 i:rsp < ca=20 pf=1 nr=2 ns=1 LM slsap=00 dlsap=16 GET_VALUE_BY_CLASS:
Success N/A (16)
14:06:24.934994 i:cmd > ca=20 pf=1 nr=2 ns=2 LM slsap=16 dlsap=00 DISC (6)
14:06:24.943643 rr:rsp < ca=20 pf=1 nr=3 (2)
14:06:24.943682 i:cmd > ca=20 pf=1 nr=2 ns=3 LM slsap=17 dlsap=00 CONN_CMD (6)
14:06:24.952762 i:rsp < ca=20 pf=1 nr=4 ns=2 LM slsap=00 dlsap=17 CONN_RSP (6)
14:06:24.952812 i:cmd > ca=20 pf=1 nr=3 ns=4 LM slsap=17 dlsap=00 GET_VALUE_BY_CLASS:
"IrDA:IrCOMM" "IrDA:TinyTP:LsapSel" (37)
14:06:24.965744 i:rsp < ca=20 pf=1 nr=5 ns=3 LM slsap=00 dlsap=17 GET_VALUE_BY_CLASS:
Success Integer: 03 (15)
14:06:24.965809 i:cmd > ca=20 pf=1 nr=4 ns=5 LM slsap=17 dlsap=00 DISC (6)
14:06:24.974520 rr:rsp < ca=20 pf=1 nr=6 (2)
14:06:24.974560 i:cmd > ca=20 pf=1 nr=4 ns=6 LM slsap=15 dlsap=03 CONN_CMD TTP
credits=0(7)
14:06:24.983309 i:rsp < ca=20 pf=1 nr=7 ns=4 LM slsap=03 dlsap=15 CONN_RSP TTP
credits=0(17)
14:06:24.983455 i:cmd > ca=20 pf=1 nr=5 ns=7 LM slsap=15 dlsap=03 TTP credits=0 (24)
14:06:24.992546 i:rsp < ca=20 pf=1 nr=0 ns=5 LM slsap=03 dlsap=15 TTP credits=1 (5)
14:06:24.992599 rr:cmd > ca=20 pf=1 nr=6 (2)
14:06:25.000888 rr:rsp < ca=20 pf=1 nr=0 (2)
14:06:25.045539 rr:cmd > ca=20 pf=1 nr=6 (2)
14:06:25.053834 rr:rsp < ca=20 pf=1 nr=0 (2)
14:06:25.145492 rr:cmd > ca=20 pf=1 nr=6 (2)
[ repeats around 30-40 times, trying to enter something ]
[ and killing cu ]
14:06:44.831913 i:cmd > ca=20 pf=1 nr=6 ns=0 LM slsap=15 dlsap=03 DISC (6)
14:06:44.840609 rr:rsp < ca=20 pf=1 nr=1 (2)
14:06:44.840667 rr:cmd > ca=20 pf=1 nr=6 (2)
rd:rsp < ca=0x20 pf=1 (2)
14:06:44.849098 ua:rsp ca=20 pf=1 df462422 > 97833cb5 (10)
14:06:47.435978 xid:cmd df462422 > ffffffff S=6 s=0 (14)
14:06:47.525951 xid:cmd df462422 > ffffffff S=6 s=1 (14)
14:06:47.615956 xid:cmd df462422 > ffffffff S=6 s=2 (14)
14:06:47.705952 xid:cmd df462422 > ffffffff S=6 s=3 (14)
14:06:47.795953 xid:cmd df462422 > ffffffff S=6 s=4 (14)
14:06:47.885964 xid:cmd df462422 > ffffffff S=6 s=5 (14)
14:06:47.975972 xid:cmd df462422 > ffffffff S=6 s=* Babbage hint=0400 [ Computer ]
(23)
14:06:48.655200 xid:cmd ffffffff < 97833cb5 S=6 s=0 (14)
14:06:48.742814 xid:cmd ffffffff < 97833cb5 S=6 s=1 (14)
14:06:48.830503 xid:cmd ffffffff < 97833cb5 S=6 s=2 (14)
14:06:48.918194 xid:cmd ffffffff < 97833cb5 S=6 s=3 (14)
14:06:49.005966 xid:cmd ffffffff < 97833cb5 S=6 s=4 (14)
14:06:49.006026 xid:rsp df462422 > 97833cb5 S=6 s=4 Babbage hint=0400 [ Computer ]
(23)
14:06:49.148975 xid:cmd ffffffff < 97833cb5 S=6 s=5 (14)
14:06:49.248539 xid:cmd ffffffff < 97833cb5 S=6 s=* L Series hint=9104 [ PnP Modem
IrCOMM ] (25)
14:06:50.436047 xid:cmd df462422 > ffffffff S=6 s=0 (14)
[...]
Regards and thanks
Carsten
--
Opinions written above are my own.
Carsten Gro� SuSE GmbH
[EMAIL PROTECTED] Schanz�ckerstra�e 10
privat: Kappengasse 13, 90402 N�rnberg 90443 N�rnberg
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www4.pasta.cs.UiT.No/mailman/listinfo/linux-irda