PCI Serial Port testing

Karl Larsen klarsen1 at gmail.com
Wed Mar 10 13:15:57 UTC 2010


On 03/09/2010 11:33 PM, Nils Kassube wrote:
> 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
>
>    
     Thanks Nils, I went through a learning process. I got out my good 
digital voltmeter and on Google figured out which pins had what and 
verified the rs232 voltages were there, after apt-get setserial I set 
the paths to 115200 baud as on web page said this pci card requires. It 
does require this. This device is on /dev/ttyS1. Then discovered I 
needed to set the voltage on the card to zero volts to make my serial 
port happy.

     The Oxford Semiconductor Ltd pci serial card is now working fine.


73 Karl






More information about the ubuntu-users mailing list