Keyboard delay in ttys (from 2.6.28-16-generic to 2.6.31.6 on Ubuntu 9.04 Jaunty)
Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have recently started a Linux kernel hacking course at university. So I enjoyed taking a closer look at kernels, and decided I wanted to have the latest kernel on my Ubuntu.
So I downloaded 2.6.31.6 from kernel.org. I configured it by copying the default 2.6.28-16-generic config that comes in the Ubuntu kernel package, doing `make oldconfig` and answering new question ALL with the defaults.
Compiled it and installed it -- it works like a charm. Everything is as before, if not better. However.
I seem to have a strange delay problem with terminals.
If I open a terminal and start writing, my keyboard input hangs for exactly for 1/4 of second every two seconds, and then everything I typed in that 1/4 second shows up all at once.
As a clarifying example: if I keep the `T` key pressed, it repeats as normal, but every 2 seconds it seems to stop for a 1/4 second, after which all the `T`s which would have been printed in that time are printed all at once.
I have this problem every time I type into a terminal, be it gnome-terminal, xterm, or even the CTRL+ALT+F1 console. But this does NOT happen if I type in GUI applications. For example, if I type in Firefox or gedit, everything works ok. It's just ttys that have this problem. Also, programs writing on standard output don't hang like that - only input does. Killing X doesn't help.
Booting with the old kernel removes the problem. So this looks like a new kernel feature that my hardware doesn't like.
Anyone that successfully addressed the same problem?
Thank you very much.
Last edited by fsantandrea; 11-15-2009 at 11:07 AM..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.