LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Reverse engineering serial protocol

[ILUG] Reverse engineering serial protocol

Dale Dunlea daledunlea at commergy.com
Fri Oct 1 10:00:55 IST 2004


Hi All,

I need to puzzle out an RS232 serial protocol. I made a rather silly
presumption and bought a touch screen (CTX PV500T) and assumed that it
wouldn't need any fancy drivers but would just work as a standard serial
mouse.

This of course was wrong seeing as how a mouse reports relative
coordinates while a touch screen works on absolute coordinates. But I
reckon it should be a reasonably straight forward matter to puzzle out
what it's doing.

The first thing I need to do is verify the baud rate. I suspect that it
is 9600 8N1, but have no way of being sure. Does anyone know of a way to
verify the baud-rate/data/parity/stop-bits for an RS232 interface that
doesn't require an oscilloscope?

I've tried listening with minicom, and wrote a program to read bytes
from /dev/ttyS0 and print them to the screen in the hope of something
readily apparent, but no joy so far. My next step is to connect an RS232
cable from my linux box to my windows laptop that has the drivers
installed, sned it some characters, and see what the mouse pointer does.

I've googled and only found drivers for other manufacturers. Don't
suppose anyone else has had any experience with such a device? 

Thanks in advance,
Dale.

--
http://www.commergy.com
 





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell