I foud this great tutorial in how to set up the Com ports in linux and
it helped me get my serial ports working like I needed. The tutorial
is here:
http://www.easysw.com/~mike/serial/serial.html#2_1
Hope this helps you.
Loki
--- In "Yan Seiner" <> wrote:
>
> --- In "Elizabeth" <piojito42@> wrote:
> >
> > Hi everyone,
> > Im trying to change a code for serial transmission over a TS7300 card
> > but I can�t make echo to work (I want to see what im writting to sent
> > through the port).
> > Here are the two lines that I supposed make echo to turn on:
> >
> > newtio.c_lflag = ICANON;
> > newtio.c_lflag = ECHO;
> >
> > Is this enough or should i add more code? Any help will be great.
Thanks
> >
>
> Not sure, but off-hand I'd say you need to OR those:
>
> newtio.c_lflag = ICANON;
> newtio.c_lflag |= ECHO;
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|