Re: cat problem in tiny_tty driver (the source included)

From: Mockern
Date: Wed Feb 21 2007 - 15:21:42 EST


cat < /dev/my_tty does nothing, just stopped for reading. I tried to send a data,
but there was no respond, just waiting.


>On Wed, Feb 21, 2007 at 10:33:52PM +0300, Mockern wrote:
>> Thank you very much for you help.
>>
>> BTW, for cat < /dev/my_tty1 can see here something wrong?
>> as I understand tiny_timer function sends data to tty level
>> by calling tty_flip_buffer_push(tty).
>>
>> Is this enough to support cat < /dev/my_tty1?
>
>I don't really know the tty layer very much. I just saw a very obvious
>bug in the code.
>
>Does cat from the device give an error or does it just not do anything?
>
>What does strace say for that?
>
>--
>Len Sorensen
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@xxxxxxxxxxxxxxx
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.tux.org/lkml/


--
Сегодня удачный день, чтобы завести почту на Яндексе http://mail.yandex.ru
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/