IBM ThinkPad 600E running Linux
Hardware configuration to enable both IrDA and serial interface
The first thing I did with this machine was install Linux from a CDrom,
so I have not used any Windows utilities to explore the configuration.
The
tpctl package allows for some configuration
to be done by Linux, but not the enabling/disabling of the IrDA and
serial interfaces, both of which I needed to be able to use.
IBM makes available a DOS utility PS2.EXE as a part of a
utility package which can be extracted onto a standalone MSDOS floppy
disk. I found I had to run it repeatedly with a number of arguments:
ps2 imodem disable
ps2 ir disable
ps2 sera disable
ps2 ir address 1
ps2 sera address 2
ps2 ir enable
ps2 sera enable
This configures:
-
IrDA port on /dev/ttyS0
-
Rear serial 9-pin port on /dev/ttyS1
and disables the internal modem which otherwise has an IRQ conflict
with the serial port. It would probably be possible to change the interrupts
on the internal modem to enable it as well, but since it is probably of
little use with Linux, and I need the IRQs for PCMCIA cards, disabling it
suits my applications.
When configured with PS2 as described above, tpctl -rsx gives the output:
resource state: current
serial port 1: enable 0x2f8 IRQ3
serial port 2: enable 0x3f8 IRQ4
86 accesses.
Last updated 13 April 2002
<--
by daved on 26 January 2003 to add tpctl output
by daved on 13 April 2002 - changed counter on move to corpus
created by daved 9 November 1999
-->