LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Paul Fulghum <paulkf@microgate.com>
To: Arjan van de Ven <arjan@infradead.org>
Cc: Mockern@yandex.ru, alan@lxorguk.ukuu.org.uk,
	linux-kernel@vger.kernel.org
Subject: Re: how to limit flip buffer size in tty driver?
Date: Tue, 20 Feb 2007 09:39:50 -0600	[thread overview]
Message-ID: <45DB1646.4040909@microgate.com> (raw)
In-Reply-To: <1171976314.3531.125.camel@laptopd505.fenrus.org>

Arjan van de Ven wrote:
> On Tue, 2007-02-20 at 15:50 +0300, Mockern wrote:
>> Thank you Alan for your respond,
>>
>> Could you help me with a problem which I have with my tty driver, please?
> 
> 
> I suspect Alan would be able to help you a whole lot better if you
> actually included the full source code of your driver...

Not to mention responding to the previous advice
of others (including myself and Theodore) who stated
there is no magic function in a driver that
directly supports the user mode cat program, and that
he should look at the tty settings controllable by stty.
(in particular clocal)

I also suggested running cat on a standard serial port
and getting that working first. Then applying those stty
settings to his custom device/driver.

(Background: he says other user mode programs work
to read/write but that cat < /dev/foocustom does nothing.)

-- 
Paul Fulghum
Microgate Systems, Ltd.

  reply	other threads:[~2007-02-20 15:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-20  8:24 Mockern
2007-02-20 12:53 ` Alan
2007-02-20 12:50   ` Mockern
2007-02-20 12:58     ` Arjan van de Ven
2007-02-20 15:39       ` Paul Fulghum [this message]
2007-02-21 16:07     ` Alan

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=45DB1646.4040909@microgate.com \
    --to=paulkf@microgate.com \
    --cc=Mockern@yandex.ru \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=arjan@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: how to limit flip buffer size in tty driver?' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).