Hi All, 1. I looked at Linux Device Drive 3rd Edition for TTY driver. I tried with tiny_tty driver mentioned in book. I am able to open the /dev/ttty0 and also get the attribute using TCGETA ioctl from user space. As I am trying to write e.g. echo "hi" > /dev/ttty0. I am not getting any data in tiny_write function. 2. Any information on when to use function related to flushing the data as flush_chars, wait_until_sent etc. Any information on above will be helpful. Thanks. Regards, _-_Mayank Rana_-_
--- On Mon, 9/8/08, Greg KH <[EMAIL PROTECTED]> wrote: From: Greg KH <[EMAIL PROTECTED]> Subject: Re: Writing Virtual Serial Comm port Driver To: "mayank rana" <[EMAIL PROTECTED]> Cc: "kernelgroup linux" <[email protected]> Date: Monday, September 8, 2008, 11:24 AM On Fri, Sep 05, 2008 at 11:45:45AM +0530, mayank rana wrote: > Hi All, > > Is there any way to write virtual serial comm port driver in Linux ? Yes, it's not that hard. > I tried to get some information from all standard Linux Drivers book > and google, but not able to get anything on it. What specific problems are you having? Have you tried starting with the tiny-tty driver in the Linux Device Drivers book? thanks, greg k-h
