All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH] When setting the serial port, the previous settings need to be preserved.
Date: Mon, 19 Oct 2009 12:32:45 -0500	[thread overview]
Message-ID: <200910191232.45844.denkenz@gmail.com> (raw)
In-Reply-To: <632f5f310910190728l2256681es4f8627b179d1ec84@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 517 bytes --]

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

  reply	other threads:[~2009-10-19 17:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-19 14:28 [PATCH] When setting the serial port, the previous settings need to be preserved Ryan Raasch
2009-10-19 17:32 ` Denis Kenzior [this message]
2009-10-20  7:43   ` Ryan Raasch
2009-10-20  9:10     ` Ryan Raasch
2009-10-20 15:13       ` Denis Kenzior
2009-10-20 15:51         ` Ryan Raasch
2009-10-20 15:36           ` Denis Kenzior
2009-10-21  8:43             ` Ryan Raasch
2009-10-22  0:09               ` Denis Kenzior
  -- strict thread matches above, loose matches on Subject: below --
2009-10-19 17:18 Ryan Raasch
2009-10-19 17:21 ` Ryan Raasch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200910191232.45844.denkenz@gmail.com \
    --to=denkenz@gmail.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.