[ltp] Serial port on Thinkpad 600x (Mandrake 9.0)

wes schreiner linux-thinkpad@linux-thinkpad.org
Tue, 15 Oct 2002 00:11:26 -0500

Buchan Milne wrote:

> AFAICR, the serial port works as COM2,irq3,0x2f8 under windows. 

OK, the hardware works, but Windows can always change the setting to 
suit itself, so we can't trust them.

> Here is some output from tpctl and setserial after a normal boot and 
> no configuration/playing with tpctl/setserial:
> [root@bgmilne-thinkpad bgmilne]# setserial /dev/tts/0
> /dev/tts/0, UART: 16550A, Port: 0x03f8, IRQ: 4
> [root@bgmilne-thinkpad bgmilne]# setserial /dev/tts/1
> /dev/tts/1, UART: 16550A, Port: 0x02f8, IRQ: 3 

OK, this looks fine.

> [root@bgmilne-thinkpad bgmilne]# tpctl --rs1 --rs2
> resource state: ioaddr irq# able? mode/power
> serial port 1: 0x2f8 IRQ3 enable on
> serial port 2: 0x3f8 IRQ4 enable 

Enabled but not ON?

> What should I be aiming to do now? Move rs2 to 0x2f8/irq3 (after 
> moving rs1 away?). 

No, make sure the IR port is disabled with ps2.exe. The IR port is 
probably set to the serial port 2 settings, and that is conflicting with 
the external serial port. Of the three serial devices, modem, external 
port, and IR port, you can only have at most two working at once. 
Disable the IR port and I think your serial port will start to work.