Question: half-duplex and full-duplex serial driver
Hi,
Could you help me please, how can my serial driver to work in half-duplex and full-duplex mode?
Thank you
Quoted 5 lines · Mockern
Hi,
Could you help me please, how can my serial driver to work in half-duplex and full-duplex mode?
Thank you
Since you don't seem to have gotten an answer, and while this is probably the wrong list for your question, I can give you a pointer which may help.
The communications program "kermit" can do this, google for the source, or try kermit.columbia.edu first, and read the source to see how they do it. I'm reasonably sure ioctl() is the answer, but that's choice three for your research.
Signature · 3 lines
bill davidsen <[email protected]> CTO TMR Associates, Inc Doing interesting things with small computers since 1979
Quoted 10 lines · Bill Davidsen
Quoted 5 lines · Mockern
Hi,
Could you help me please, how can my serial driver to work in half-duplex and full-duplex mode?
Thank you
Since you don't seem to have gotten an answer, and while this is probably the wrong list for your question, I can give you a pointer which may help.
I got the impression that they were trying to write an in-kernel driver for a serial card, and it was oopsing. My first guess is "bad locking", and my first suggestion is 'Linux Device Drivers, 3rd edition'
http://lwn.net/Kernel/LDD3 last I remember.