[PLUG] Serial Port Programming

Terry Griffin griffint at pobox.com
Mon Nov 29 05:50:54 UTC 2004


On Sunday 28 November 2004 9:28 pm, Vincent Yau wrote:
> Hi:
>
> I have a different by related question.
> I am trying to talk to my TV settop box via serial
> interface.  I have a script from someone who
> has done it before.  I am trying to modified
> it.  I have tried various combinations but
> each time I just get back a very generic error (0x00).
> It is the same generic error (0x00) even if I have nothing
> connected to my serial port.
> I am beginning to wonder if my serial port is "working" or not.
> I don't k now what is a good way to test my serial port connection.
>
> Can someone offer any tip on how I can capture the serial port output
> so I know that data is passing through it?
>
> thanks  for any tip.
>
>

Just use your oscilloscope. Or...

What I usually do is plug in an old serial mouse and fire up the gpm
program with the serial port options. (See the gpm man page.) If I
can move the console mouse cursor around using the serial mouse then
I know the port works.

Terry



More information about the PLUG mailing list