PCI Serial Port testing
Nils Kassube
kassube at gmx.net
Wed Mar 10 06:33:50 UTC 2010
Karl Larsen wrote:
> My question is, how do I test this serial port? I am not
> sure which port is being used, /dev/ttyS0 - /dev/ttyS3. I want to
> send something from the computer side to the serial port but don't
> know how to do it.
setserial -g /dev/ttyS*
should give you the information which port is found by the kernel. Only
the port with an entry "UART: 16550A" (the number may be different
depending on the chip) is used. If it says "UART: unknown" for a
particular port, that port isn't available. You can use the program
minicom on both ends to test the comunication.
Nils
More information about the ubuntu-users
mailing list