[ltp] IR on TP (600 specifically)
Dirk Husemann
linux-thinkpad@www.bm-soft.com
08 Sep 1999 17:07:58 +0200
Leif,
>>>>> "LJ" == Leif Jonsson <Leif.von.Jonsson@era-t.ericsson.se> writes:
LJ> Hello all!
LJ> Has anyone had any luck getting IR to work on any thinkpad?
LJ> I specifically have a 600 and I seem to be able to talk
LJ> to the ir-chip in some basic way (irmanager seems to start
LJ> it) but irattach doesnt seem to get any valid connection,
LJ> because when I try the 'dip' trick in the HOWTO, it just
LJ> locks up.
What I did is the following (no guarantee though)
(1) Got a fresh copy of the " TP General - Utility Features for DOS"
disk (via http://www.pc.ibm.com/support/ and then click through to
ThinkPad support, downloadable files, and then Utility---sorry
can't post the URL as it seems to be personalized).
(2) Created a bootable disk with the extracted utility SW on it. Boot
it.
(3) Enable the IR port and the serial port:
ps2 sera address 1
ps2 ir address 2
ps2 sera enable
ps2 ir enable
(4) Reboot to linux. You should see something like the following in the
boot messages
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
The first one is the serial port, the second one the IR.
(5) Configure your linux kernel (e.g., I'm running 2.2.11) to include
the IR stuff (I enabled/moduled everything there).
(6) Reboot with the new kernel.
(7) create the /dev/irnine device.
(8) Update /etc/conf.modules to include
alias tty-ldisc-11 irtty
alias char-major-60 ircomm_tty
That did the trick for me. I'm now using the IR port to talk to my Palm V,
eh, WorkPad and synchronize with it (using PilotMgr and malsync for
AvantGo). Quite nice 8=)
Good luck and have fun,
Dirk
--
Dr. Dirk Husemann Phone +41 1 724 8573
IBM Research Division FAX +41 1 724 8953
IBM Zurich Research Laboratory Email hud@zurich.ibm.com
Saeumerstrasse 4 WWW: http://www.zurich.ibm.com/~hud/
CH-8803 Rueschlikon GPG: http://www.zurich.ibm.com/~hud/GPG/
Switzerland PGP: http://www.zurich.ibm.com/~hud/PGP/