how to limit flip buffer size in tty driver?
Hello,
how to limit flip buffer size in tty driver?
thanks,
Andy
Quoted 3 lines · On Tue, 20 Feb 2007 11:24:10 +0300 (MSK) "Mockern" <[email protected]> wrote:
Hello,
how to limit flip buffer size in tty driver?
You don't.
See Documentation/tty.txt and throttle/unthrottle
Alan
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
Quoted 12 lines
Quoted 3 lines · On Tue, 20 Feb 2007 11:24:10 +0300 (MSK) "Mockern" <[email protected]> wrote:
Hello,
how to limit flip buffer size in tty driver?
You don't.
See
Documentation/tty.txtand throttle/unthrottleAlan
Signature · 1 line
Сегодня удачный день, чтобы завести почту на Яндексе http://mail.yandex.ru
Quoted 3 lines · Mockern
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...
Quoted 8 lines · Arjan van de Ven
Quoted 3 lines · Mockern
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.)
Signature · 2 lines
Paul Fulghum Microgate Systems, Ltd.
Quoted 5 lines · On Tue, 20 Feb 2007 15:50:27 +0300 (MSK) "Mockern" <[email protected]> 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 ?