D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] RxTx on Ubuntu

 

cat /dev/ttyS0 &
echo you smell > /dev/ttyS0

will work as well enough won't it?

On 3/26/07, Robin Cornelius <robin.cornelius@xxxxxxxxx> wrote:
> On 3/26/07, Peter Lloyd-Jones <peter@xxxxxxxxxxxxxxxxxxxx> wrote:
> > "Robin Has suggested I test the serial port"
> >
> > Thanks Robin
> >
> > I think a quick look up in the attic for a "steam" modem is in order.  If I
> > can get it to make a noise the serial port is OK.
>
> A good test
>
> >
> > Or.  What I used to do was short out two wires on the end of the cable
> > connected to the serial port (1 and 2??) and then type "something" (cant
> > remember what) at the consol.  If is echoed back it was working.
> >
>
> Wires 2 and 3 rx to Tx, creates a loop back
>
> Make sure the terminal program you use dosn't have a software echo as
> well! or you will think it is working when it is not.
>
>
>
> --
> Robin Cornelius
> http://www.byteme.org.uk
>
> --
> The Mailing List for the Devon & Cornwall LUG
> http://mailman.dclug.org.uk/listinfo/list
> FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html
>

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html