On Sun, Mar 23, 2014 at 7:09 PM, erik quanstrom <quans...@quanstro.net> wrote: > it seems odd to me that opening the ctl file would > reset some serial parameters. wouldn't it be better > to leave them alone? >
What do you return on read if you don´t know the state? For some devices if you don´t set the state, you have no idea. You can do it in read, but it seemed more intuitive in open at the time, (and you don´t set the state on every read). G.