LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Connecting Nokia 8250 and Thinkpad r51 over irda (https://www.linuxquestions.org/questions/linux-hardware-18/connecting-nokia-8250-and-thinkpad-r51-over-irda-244959/)

slackist 10-20-2004 02:03 AM

Connecting Nokia 8250 and Thinkpad r51 over irda
 
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

slackist 10-21-2004 02:56 AM

I have tried the gnokii tools but the dialog hangs on "working".

If anyone has any other ideas it would be much appreciated,


mark

slackist 10-22-2004 01:40 AM

OK, I got it fixed.

I changed "connect = infrared" to "connect = irda" in /root/.gnokiirc and then xgnokii connects very quickly and gives a handy set of tools to send sms, manage phone #s, calendar etc --cool :D

/mark


All times are GMT -5. The time now is 11:35 PM.