Forum Discussion
Altera_Forum
Honored Contributor
21 years agoinput overrun(s)
I have a serial communications problem.
I'm using NIOSserial device at the speed of 115200, and when I transfer a burst of 30 char, sometimes kernel send me a error message: ttyS0: input overrun(s) What about this? thanx in advance3 Replies
- Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by teo_icks@Jun 21 2005, 06:02 PM what about this? --- Quote End --- Use the source Luke!
and in the source file$ find . -type f |xargs grep input\ overrun ./drivers/char/n_tty.c: printk(KERN_WARNING "%s: %d input overrun(s)\n", tty_name(tty, buf), $ vim ./drivers/char/n_tty.c/** * n_tty_receive_overrun - handle overrun reporting * @tty: terminal * * Data arrived faster than we could process it. While the tty * driver has flagged this the bits that were missed are gone * forever. * * Called from the receive_buf path so single threaded. Does not * need locking as num_overrun and overrun_time are function * private. */ - Altera_Forum
Honored Contributor
TO_BE_DONE
- Altera_Forum
Honored Contributor
Hi teo_icKs,
did you find a way to solve your problem ? That would help me... Thanks cetic