Re: Linux tty driver question

2007-02-27 Thread Jiri Slaby
Mockern napsal(a): Thank you, I have no problem with my tty driver, except one thing: it does not work with cat (but there are no problems to write,read from user space application). I'll try to follow your adwise to support cat. But the read *works* according to the strace output, which you'

Re: Linux tty driver question

2007-02-17 Thread Mockern
The problem is (probably???) that I did not implement ready_til_block in my driver. OK, thank you, i need to investigate it with strace. >Mockern napsal(a): >> Thank you, >> >> I have no problem with my tty driver, except one thing: it does not work >> with cat (but there are no problems to

Re: Linux tty driver question

2007-02-17 Thread Jiri Slaby
Mockern napsal(a): Thank you, I have no problem with my tty driver, except one thing: it does not work with cat (but there are no problems to write,read from user space application). I'll try to follow your adwise to support cat. And where does it stuck? use ptrace (e.g. strace) to investigat

Re: Linux tty driver question

2007-02-17 Thread Mockern
Thank you, I have no problem with my tty driver, except one thing: it does not work with cat (but there are no problems to write,read from user space application). I'll try to follow your adwise to support cat. >Mockern napsal(a): >> Hi, >> >> I'm working on Linux tty driver (based on tiny_

Re: Linux tty driver question

2007-02-17 Thread Jiri Slaby
Mockern napsal(a): Hi, I'm working on Linux tty driver (based on tiny_tty). How can I provide in my driver Linux cat operation (e.g.cat < ttyS3)? call tty_insert_flip_*() from somewhere to put some data into tty recieve buffer, which is pushed into ldisc by tty_flip_buffer_push() and then se

Linux tty driver question

2007-02-17 Thread Mockern
Hi, I'm working on Linux tty driver (based on tiny_tty). How can I provide in my driver Linux cat operation (e.g.cat < ttyS3)? What should I implement exactly? Thankx - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More maj