plz help with the serial port pgm....

Dave Hylands dhylands at gmail.com
Wed Nov 23 02:21:16 EST 2011


Hi shibin

On Tue, Nov 22, 2011 at 9:48 PM, shibin k reeny <shibinkreeny at gmail.com> wrote:
> rs232 read pgm is not working when i connect in loopback but write is
> wroking plz help...

Rather than trying to debug your program, I'll point you at this document:
http://tldp.org/HOWTO/Serial-Programming-HOWTO/

and point at some sample code which I wrote a while ago, which I know works:
http://svn.hylands.org/host/sertest/sertest.c

-- 
Dave Hylands
Shuswap, BC, Canada
http://www.davehylands.com



More information about the Kernelnewbies mailing list