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

2007-02-21 Thread Lennart Sorensen
On Wed, Feb 21, 2007 at 11:21:10PM +0300, Mockern wrote: > cat < /dev/my_tty does nothing, just stopped for reading. I tried to send a > data, > but there was no respond, just waiting. Well certainly using the jsm driver (which is what I use for the pci card I play with), doing cat to the port

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

2007-02-21 Thread Mockern
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

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

2007-02-21 Thread 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 <

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

2007-02-21 Thread Mockern
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? >On Wed, Feb 21, 2007 at 06:03:16PM +0300, Mockern wrote:

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

2007-02-21 Thread Lennart Sorensen
On Wed, Feb 21, 2007 at 06:03:16PM +0300, Mockern wrote: > I tried to check cat operations for tiny_tty driver from LDD book. > > What is wrong with cat operation here? > > Here is the output from strace cat hello > /dev/my_tty1 > > [EMAIL PROTECTED]:/home# strace cat hello > /dev/my_tty1 >

cat problem in tiny_tty driver (the source included)

2007-02-21 Thread Mockern
I tried to check cat operations for tiny_tty driver from LDD book. What is wrong with cat operation here? Here is the output from strace cat hello > /dev/my_tty1 [EMAIL PROTECTED]:/home# strace cat hello > /dev/my_tty1 execve("/bin/cat", ["cat", "hello"], [/* 12 vars */]) = 0 brk(0)

cat problem in tiny_tty driver (the source included)

2007-02-21 Thread Mockern
I tried to check cat operations for tiny_tty driver from LDD book. What is wrong with cat operation here? Here is the output from strace cat hello /dev/my_tty1 [EMAIL PROTECTED]:/home# strace cat hello /dev/my_tty1 execve(/bin/cat, [cat, hello], [/* 12 vars */]) = 0 brk(0)

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

2007-02-21 Thread Lennart Sorensen
On Wed, Feb 21, 2007 at 06:03:16PM +0300, Mockern wrote: I tried to check cat operations for tiny_tty driver from LDD book. What is wrong with cat operation here? Here is the output from strace cat hello /dev/my_tty1 [EMAIL PROTECTED]:/home# strace cat hello /dev/my_tty1

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

2007-02-21 Thread Mockern
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? On Wed, Feb 21, 2007 at 06:03:16PM +0300, Mockern wrote: I

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

2007-02-21 Thread 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

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

2007-02-21 Thread Mockern
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

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

2007-02-21 Thread Lennart Sorensen
On Wed, Feb 21, 2007 at 11:21:10PM +0300, Mockern wrote: cat /dev/my_tty does nothing, just stopped for reading. I tried to send a data, but there was no respond, just waiting. Well certainly using the jsm driver (which is what I use for the pci card I play with), doing cat to the port send