LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   serial port linux (https://www.linuxquestions.org/questions/linux-hardware-18/serial-port-linux-887155/)

alex4evr 06-19-2011 06:34 AM

serial port linux
 
Hello,

I have communication problems with my serial port. I made a loop-back cable (shunting pins 2-3) that I connected to my serial port, while using gtkterm (which opens ttyS0 successfully) I do not have characters echoed back to the terminal window. Here is my laptop configuration:

Laptop:
IBM t42, with serial port enabled (bios) on port replicator, port adress 0x3f8, irq 4

Code:

dmseg | grep tty
console [tty0] enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a NS16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a NS16550A
00:0a: ttyS0 at I/O 0x3f8 (irq = 4) is a NS16550A
ttyS1: LSR safety check engaged!
ttyS1: LSR safety check engaged!
ttyS1: LSR safety check engaged!

Code:

setserial -g /dev/ttyS0
/dev/ttyS0, UART: undefined, Port: 0x03f8, IRQ: 4

Code:

setserial -g /dev/ttyS1
/dev/ttyS1: No such device

Could anyone help please?

Regards;
Alex.

alex4evr 06-19-2011 03:55 PM

hi again,

I found the problem, it was the damn db9 connector which is messy. I know this is stupid but huhhh...
thanks for your help pfffff!!!!

Alex.

archtoad6 07-10-2011 02:05 PM

Welcome to LQ.

Congratulations on solving your own problem & thank you for posting the solution.


All times are GMT -5. The time now is 06:46 AM.