>
> so if i do this
>
>         echo l7>/dev/eiaU6/eiaUctl
>         cat /dev/eiaU6/eiaUctl
>
> that's two opens, isn't it?  then isn't l reset to 8 by the second
> open?
>

It has been a while and I don´t have the code at hand now, but once
it is at a known state, it shouldn´t set it again, that is probably a bug.

It should be something like:

if(!setonce){
      setonce = 1;
      serialctl(p, "l8 i1");  /* default line parameters */
}

G.

Reply via email to