Re: A question on serial driver

2012-08-07 Thread Shashidhar Hiremath
thanks guys, got it to work. the receive interrupt was somehow getting disabled. On Tue, Aug 7, 2012 at 4:12 PM, Jiri Slaby wrote: > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying

Re: A question on serial driver

2012-08-07 Thread Jiri Slaby
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? On 08/07/2012 11:51 AM, Shashidhar Hiremath wrote: > the code is a bit unclean to send directly. Whatever, just send it out.

Re: A question on serial driver

2012-08-07 Thread richard -rw- weinberger
On Tue, Aug 7, 2012 at 11:51 AM, Shashidhar Hiremath wrote: > the code is a bit unclean to send directly. But any information like > "does driver change modes once it prompts for login" > can be helpful for debugging since my code does not seem to work after login . Then clean it up. You have do

Re: A question on serial driver

2012-08-07 Thread Shashidhar Hiremath
the code is a bit unclean to send directly. But any information like "does driver change modes once it prompts for login" can be helpful for debugging since my code does not seem to work after login . Behaviour : Driver prints charecter untill devel login on console. It accepts characters before

Re: A question on serial driver

2012-08-07 Thread Jiri Slaby
On 08/07/2012 10:26 AM, Dan Luedtke wrote: > On Tue, 2012-08-07 at 13:52 +0530, Shashidhar Hiremath wrote: >> The driver for some reason does not >> print the content I type on console after login prompt. Any reason >> why this might be happening ? > > I don't know if it is just me, but a code

Re: A question on serial driver

2012-08-07 Thread richard -rw- weinberger
On Tue, Aug 7, 2012 at 10:49 AM, Shashidhar Hiremath wrote: > Hi Richard, >I am new to serial framework. Can you please elaborate on what you > mean by implementing a hangup ? struct tty_operations' hangup() -- Thanks, //richard -- To unsubscribe from this list: send the line "unsubscribe

Re: A question on serial driver

2012-08-07 Thread Shashidhar Hiremath
Hi Richard, I am new to serial framework. Can you please elaborate on what you mean by implementing a hangup ? On Tue, Aug 7, 2012 at 2:06 PM, richard -rw- weinberger wrote: > On Tue, Aug 7, 2012 at 10:22 AM, Shashidhar Hiremath > wrote: >> Hi, >> I have written a console driver where I also

Re: A question on serial driver

2012-08-07 Thread richard -rw- weinberger
On Tue, Aug 7, 2012 at 10:22 AM, Shashidhar Hiremath wrote: > Hi, > I have written a console driver where I also do the serial driver > registration and handling. The driver seems to work fine till the > login point(reads and writes). The driver for some reason does not > print the content I

Re: A question on serial driver

2012-08-07 Thread Dan Luedtke
On Tue, 2012-08-07 at 13:52 +0530, Shashidhar Hiremath wrote: > The driver for some reason does not > print the content I type on console after login prompt. Any reason > why this might be happening ? I don't know if it is just me, but a code snippet might help understanding what happens in your

A question on serial driver

2012-08-07 Thread Shashidhar Hiremath
Hi, I have written a console driver where I also do the serial driver registration and handling. The driver seems to work fine till the login point(reads and writes). The driver for some reason does not print the content I type on console after login prompt. Any reason why this might be

A question on serial driver

2012-08-07 Thread Shashidhar Hiremath
Hi, I have written a console driver where I also do the serial driver registration and handling. The driver seems to work fine till the login point(reads and writes). The driver for some reason does not print the content I type on console after login prompt. Any reason why this might be

Re: A question on serial driver

2012-08-07 Thread Dan Luedtke
On Tue, 2012-08-07 at 13:52 +0530, Shashidhar Hiremath wrote: The driver for some reason does not print the content I type on console after login prompt. Any reason why this might be happening ? I don't know if it is just me, but a code snippet might help understanding what happens in your

Re: A question on serial driver

2012-08-07 Thread richard -rw- weinberger
On Tue, Aug 7, 2012 at 10:22 AM, Shashidhar Hiremath shashidh...@vayavyalabs.com wrote: Hi, I have written a console driver where I also do the serial driver registration and handling. The driver seems to work fine till the login point(reads and writes). The driver for some reason does not

Re: A question on serial driver

2012-08-07 Thread Shashidhar Hiremath
Hi Richard, I am new to serial framework. Can you please elaborate on what you mean by implementing a hangup ? On Tue, Aug 7, 2012 at 2:06 PM, richard -rw- weinberger richard.weinber...@gmail.com wrote: On Tue, Aug 7, 2012 at 10:22 AM, Shashidhar Hiremath shashidh...@vayavyalabs.com wrote:

Re: A question on serial driver

2012-08-07 Thread richard -rw- weinberger
On Tue, Aug 7, 2012 at 10:49 AM, Shashidhar Hiremath shashidh...@vayavyalabs.com wrote: Hi Richard, I am new to serial framework. Can you please elaborate on what you mean by implementing a hangup ? struct tty_operations' hangup() -- Thanks, //richard -- To unsubscribe from this list:

Re: A question on serial driver

2012-08-07 Thread Jiri Slaby
On 08/07/2012 10:26 AM, Dan Luedtke wrote: On Tue, 2012-08-07 at 13:52 +0530, Shashidhar Hiremath wrote: The driver for some reason does not print the content I type on console after login prompt. Any reason why this might be happening ? I don't know if it is just me, but a code snippet

Re: A question on serial driver

2012-08-07 Thread Shashidhar Hiremath
the code is a bit unclean to send directly. But any information like does driver change modes once it prompts for login can be helpful for debugging since my code does not seem to work after login . Behaviour : Driver prints charecter untill devel login on console. It accepts characters before

Re: A question on serial driver

2012-08-07 Thread richard -rw- weinberger
On Tue, Aug 7, 2012 at 11:51 AM, Shashidhar Hiremath shashidh...@vayavyalabs.com wrote: the code is a bit unclean to send directly. But any information like does driver change modes once it prompts for login can be helpful for debugging since my code does not seem to work after login . Then

Re: A question on serial driver

2012-08-07 Thread Jiri Slaby
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? On 08/07/2012 11:51 AM, Shashidhar Hiremath wrote: the code is a bit unclean to send directly. Whatever, just send it out.

Re: A question on serial driver

2012-08-07 Thread Shashidhar Hiremath
thanks guys, got it to work. the receive interrupt was somehow getting disabled. On Tue, Aug 7, 2012 at 4:12 PM, Jiri Slaby jsl...@suse.cz wrote: A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most