What am I missing trying to get my nokia 8250 and my Thinkpad R51 to talk over the irda port?
I have compiled the kernel with IR support.
What I am trying:
put my phone into IR receive mode and put it in front of the IR port
irattach /dev/ttyS1 -s **no output or error messages
ifconfig irda0 up
Code:
root@darkstar:~# ifconfig
irda0 Link encap:IrLAP HWaddr 00:00:00:00
UP RUNNING NOARP MTU:2048 Metric:1
RX packets:200 errors:0 dropped:0 overruns:0 frame:0
TX packets:3436 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:8
RX bytes:5800 (5.6 Kb) TX bytes:53004 (51.7 Kb)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:69 errors:0 dropped:0 overruns:0 frame:0
TX packets:69 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8994 (8.7 Kb) TX bytes:8994 (8.7 Kb)
and then irdadump shows:
Code:
root@darkstar:~# irdadump
06:49:15.591141 xid:cmd 287428e2 > ffffffff S=6 s=0 (14)
06:49:15.681077 xid:cmd 287428e2 > ffffffff S=6 s=1 (14)
06:49:15.771062 xid:cmd 287428e2 > ffffffff S=6 s=2 (14)
06:49:15.857049 xid:rsp 287428e2 < c7590000 S=6 s=2 Nokia 8250 hint=b125 [ PnP Modem Fax Telephony IrCOMM IrOBEX ] (27)
06:49:15.861048 xid:cmd 287428e2 > ffffffff S=6 s=3 (14)
06:49:15.951034 xid:cmd 287428e2 > ffffffff S=6 s=4 (14)
06:49:16.041021 xid:cmd 287428e2 > ffffffff S=6 s=5 (14)
06:49:16.131007 xid:cmd 287428e2 > ffffffff S=6 s=* darkstar hint=4400 [ Computer LAN Access ] (24)
06:49:18.590638 xid:cmd 287428e2 > ffffffff S=6 s=0 (14)
06:49:18.680621 xid:cmd 287428e2 > ffffffff S=6 s=1 (14)
06:49:18.770606 xid:cmd 287428e2 > ffffffff S=6 s=2 (14)
11 packets received by filter
irdadump just keeps on running until I kill it with ctrl-c.
After a short time the phone automatically goes out of IR receive mode, should I mount the phone somewhere or what next?
Many thanks for any ideas,
mark