Messages in this thread | | | Date | Wed, 21 Feb 2007 15:09:04 -0500 | Subject | Re: cat problem in tiny_tty driver (the source included) | From | (Lennart Sorensen) |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |