[ltp] serial port on T40 with Redhat 9

Joel Ebel linux-thinkpad@linux-thinkpad.org
Mon, 27 Oct 2003 12:09:21 -0500


What serial port?  Are you in a dock?  My T40 has no serial port, 
although I believe the docks do.  I haven't been able to see if it 
works, but there is a BIOS setting for it.  Is it enabled in the BIOS?

Joel

Elaine Cheong wrote:

> I'm having trouble getting my serial port working (/dev/ttyS0) (and also
> I'm not sure if I'm testing it properly).  I have a T40 with Redhat 9
> installed with the 2.4.20-20.9 kernel from up2date.  I'm running a java
> program which uses the IBM Javacomm package and gives me the following
> error messsage:
> 
> tcgetattr() failed on /dev/ttyS0(5)!
> Error on serial@COM1:19200: java.io.IOException: Couldn't configure COM1
> 
> I get the following information (see below).  It doesn't look like the
> serial port is there...am I mistaken?
> 
> Thanks,
> Elaine
> 
> ======
> 
> topaz:~:setserial -a /dev/ttyS0
> /dev/ttyS0, Line 0, UART: unknown, Port: 0x03f8, IRQ: 4
>         Baud_base: 115200, close_delay: 50, divisor: 0
>         closing_wait: 3000
>         Flags: spd_normal skip_test
> 
> topaz:~:cat /proc/ioports
> 0000-001f : dma1
> 0020-003f : pic1
> 0040-005f : timer
> 0060-006f : keyboard
> 0070-007f : rtc
> 0080-008f : dma page reg
> 00a0-00bf : pic2
> 00c0-00df : dma2
> 00f0-00ff : fpu
> 0170-0177 : ide1
> 01f0-01f7 : ide0
> 0376-0376 : ide1
> 03bc-03be : parport0
> 03c0-03df : vga+
> 03f6-03f6 : ide0
> 0cf8-0cff : PCI conf1
> 1800-181f : Intel Corp. 82801DB USB (Hub #1)
>   1800-181f : usb-uhci
> 1820-183f : Intel Corp. 82801DB USB (Hub #2)
>   1820-183f : usb-uhci
> 1840-185f : Intel Corp. 82801DB USB (Hub #3)
>   1840-185f : usb-uhci
> 1860-186f : PCI device 8086:24ca (Intel Corp.)
>   1860-1867 : ide0
>   1868-186f : ide1
> 1880-189f : Intel Corp. 82801DB SMBus
> 18c0-18ff : Intel Corp. 82801DB AC'97 Audio
> 1c00-1cff : Intel Corp. 82801DB AC'97 Audio
> 2000-207f : Intel Corp. 82801DB AC'97 Modem
> 2400-24ff : Intel Corp. 82801DB AC'97 Modem
> 3000-3fff : PCI Bus #01
>   3000-30ff : PCI device 1002:4c66 (ATI Technologies Inc)
> 4000-40ff : PCI CardBus #03
> 4400-44ff : PCI CardBus #03
> 4800-48ff : PCI CardBus #06
> 4c00-4cff : PCI CardBus #06
> 8000-803f : PCI device 8086:101e (Intel Corp.)
>   8000-803f : e1000
> 
> 
>