LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-20-2004, 03:03 AM   #1
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Rep: Reputation: 44
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
 
Old 10-21-2004, 03:56 AM   #2
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Original Poster
Rep: Reputation: 44
I have tried the gnokii tools but the dialog hangs on "working".

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


mark
 
Old 10-22-2004, 02:40 AM   #3
slackist
Member
 
Registered: Feb 2004
Location: Phuket
Distribution: Slackware 14.2 and Slackware Arm
Posts: 479

Original Poster
Rep: Reputation: 44
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

/mark
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Should I buy a Thinkpad R51? dj_segfailt Linux - Laptop and Netbook 9 01-02-2006 08:34 AM
How to interface Nokia 6610 thru Irda to fedora core 4 tweety_7011 Linux - Networking 1 06-30-2005 04:26 AM
Thinkpad R51, Slack 9.1, how to move forward? slackist Linux - Laptop and Netbook 1 10-05-2004 08:36 PM
thinkpad r51 and mdk10, shutdown problems fuzzhead85 Mandriva 3 08-10-2004 09:10 PM
IrDA connection on linux RH9 with Nokia 6610 possible ? Jingle Linux - Software 0 11-15-2003 04:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration