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

Christian van den Bosch cjb at cjb.ie
Fri Oct 1 13:03:04 IST 2004


Kieran.Tully AT acm.org wrote:

> Once you know the serial settings, maybe put a Linux machine with twin
> serial ports between Windows and the touchscreen and write or find
> something on Linux to log and forward the data (avoids need to makeup
> a cable.).

- but note that your forwarder may need to forward states of handshake
lines too. This applies particularly for mice (serial mice, not that
anyone uses them any more, tended to need specific handshake lines
asserted because they powered themselves from them!) and modems, which
may refuse to go off-hook without a suitable handshake assertion, unless
explicitly configured otherwise (I forget the relevant Hayes commands to
set this option, but they are out there somewhere).

Dale: this is also worth bearing in mind if you're writing a driver; you
may need to do more than just send and receive bytes to the device.
You'll probably know the serial ioctls very well when you're done :)

Christian / cjb

http://www.cjb.ie/



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