Re: kernel 2.6.13, USB keyboard and X.org

From: Frank van Maarseveen
Date: Tue Sep 27 2005 - 15:16:33 EST


On Sat, Sep 24, 2005 at 05:04:17PM -0700, Carlo J. Calica wrote:
> Piter Punk wrote:
>
> > But, when i start X i got a second problem, is impossible to type
> > only one letter, one touch in a key makes a lot of letters, like that:
> >
> > lllllliiiiiiinnnnnnnnuuuuxxxxx
> >
> > instead
> >
> > linux
> >
>
> I have the same problem, with my dual core athlon64. Booting a uniprocessor
> kernel solves it. Another work around is turning off key repeat.
>
> Best solution is setting processor affinity for the keyboard irq handler and
> X to the same cpu. Seems to be a race condition of some sort. If a X

You just might be hitting a TSC related problem, see bug #5105 at
bugzilla.kernel.org. In that case you will probably see funny timings
when doing an strace -tt of the xclock program, for example.

A workaround for i386 kernels is "clock=pit" on the kernel commandline.
In x86_64 mode, try "notsc" instead. Well, try that anyway but it didn't
work in my case.

--
Frank
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/