[PATCH] When setting the serial port, the previous settings need to be preserved.
Denis Kenzior
denkenz at gmail.com
Mon Oct 19 10:32:45 PDT 2009
Hi Ryan,
> This took a while to locate. Shouldn't it be possible to use stty
> outside the daemon, and then daemon would just continue as usual?
>
> In my case, the cread was being removed, so no input data could be read.
Sorry but the patch is wrong, since you're blowing away all options that have
been set via the GHashTable.
GAtTty is really a convenience method, if you need something specific, pass the
option in the GHashTable or setup the fd however you wish by yourself.
Regards,
-Denis
More information about the ofono
mailing list