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

Buchan Milne linux-thinkpad@linux-thinkpad.org
Mon, 14 Oct 2002 19:50:47 +0200


I recently acquired a 600X, and installed Mandrake 9.0 on it, dual 
booting with Windows 2000.

Almost everything worked out the box (PCMCIA NIC, display, usb etc), 
except the modem (which was easily fixed with the ltmodem drivers) and 
the serial port.

I have compiled the kernel modules and tpctl, but I am still having 
problems getting the serial port working (and I *need* the serial port 
to talk to the GPS I am hooking up to the grass GIS for my M.Sc(Eng) 
project).

I have tried running various commands with ps2 (I think 'sera enable' 
and 'ser on' or something similar), and using tpctl, but can't seem to 
see how to get it to work.

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

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

[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

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

Of course, 'works on windows' disclaimer applies.

Buchan

-- 
|----------------Registered Linux User #182071-----------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7