LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* how to limit flip buffer size in tty driver?
@ 2007-02-20  8:24 Mockern
  2007-02-20 12:53 ` Alan
  0 siblings, 1 reply; 6+ messages in thread
From: Mockern @ 2007-02-20  8:24 UTC (permalink / raw)
  To: linux-kernel

Hello,

how to limit flip buffer size in tty driver?

thanks,
Andy

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: how to limit flip buffer size in tty driver?
  2007-02-20 12:53 ` Alan
@ 2007-02-20 12:50   ` Mockern
  2007-02-20 12:58     ` Arjan van de Ven
  2007-02-21 16:07     ` Alan
  0 siblings, 2 replies; 6+ messages in thread
From: Mockern @ 2007-02-20 12:50 UTC (permalink / raw)
  To: alan; +Cc: linux-kernel

Thank you Alan for your respond,

Could you help me with a problem which I have with my tty driver, please?

It does not work with Linux cat operation (but there are no problems to write, read with select from user space application!). 

regards,

Andy  



>On Tue, 20 Feb 2007 11:24:10 +0300 (MSK)
>"Mockern" <Mockern@yandex.ru> wrote:
>
>> Hello,
>> 
>> how to limit flip buffer size in tty driver?
>
>You don't.
>
>See Documentation/tty.txt and throttle/unthrottle
>
>Alan


-- 
Сегодня удачный день, чтобы завести почту на Яндексе http://mail.yandex.ru

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: how to limit flip buffer size in tty driver?
  2007-02-20  8:24 how to limit flip buffer size in tty driver? Mockern
@ 2007-02-20 12:53 ` Alan
  2007-02-20 12:50   ` Mockern
  0 siblings, 1 reply; 6+ messages in thread
From: Alan @ 2007-02-20 12:53 UTC (permalink / raw)
  To: Mockern; +Cc: linux-kernel

On Tue, 20 Feb 2007 11:24:10 +0300 (MSK)
"Mockern" <Mockern@yandex.ru> wrote:

> Hello,
> 
> how to limit flip buffer size in tty driver?

You don't.

See Documentation/tty.txt and throttle/unthrottle

Alan

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: how to limit flip buffer size in tty driver?
  2007-02-20 12:50   ` Mockern
@ 2007-02-20 12:58     ` Arjan van de Ven
  2007-02-20 15:39       ` Paul Fulghum
  2007-02-21 16:07     ` Alan
  1 sibling, 1 reply; 6+ messages in thread
From: Arjan van de Ven @ 2007-02-20 12:58 UTC (permalink / raw)
  To: Mockern; +Cc: alan, linux-kernel

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...



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: how to limit flip buffer size in tty driver?
  2007-02-20 12:58     ` Arjan van de Ven
@ 2007-02-20 15:39       ` Paul Fulghum
  0 siblings, 0 replies; 6+ messages in thread
From: Paul Fulghum @ 2007-02-20 15:39 UTC (permalink / raw)
  To: Arjan van de Ven; +Cc: Mockern, alan, linux-kernel

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: how to limit flip buffer size in tty driver?
  2007-02-20 12:50   ` Mockern
  2007-02-20 12:58     ` Arjan van de Ven
@ 2007-02-21 16:07     ` Alan
  1 sibling, 0 replies; 6+ messages in thread
From: Alan @ 2007-02-21 16:07 UTC (permalink / raw)
  To: Mockern; +Cc: linux-kernel

On Tue, 20 Feb 2007 15:50:27 +0300 (MSK)
"Mockern" <Mockern@yandex.ru> wrote:

> Thank you Alan for your respond,
> 
> Could you help me with a problem which I have with my tty driver, please?
> 
> It does not work with Linux cat operation (but there are no problems to write, read with select from user space application!). 

Looking at the trace I am confused as to what does not work ? Can you
explain the way in which it doesn't work ?

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-02-21 15:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-20  8:24 how to limit flip buffer size in tty driver? 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
2007-02-21 16:07     ` Alan

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).