[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: reassigning X server keybounce to kernel per XFree86 upstream



On Sat, Sep 07, 2002 at 04:02:22PM +0200, Michel D?nzer wrote:
> 
> I'm not sure if this is the same problem as that recently brought up on
> the Xpert list again. The problem Mac users see seems to be in the new
> input layer. Which is also definitely in the kernel though. :)

The problem referred to in this thread is certainly not one of unexpected
release events.  As that thread's subject indicated, it's because release
events go missing.  Since X does repeating on its own, a missing release
event could mean that autorepeating lasts forever.

However, I'm still not convinced that this is a kernel bug since no one
has given a report of seeing this on the console.  Both the USB drivers
and the old ADB keyboard driver do repeating in software for the console
as well, so a missng release event should be visible there.

It's not difficult to convince me that it is a kernel bug, just print
out all the events you're getting from the hardware and show that there
are legitimate ones going missing.  To see what X would get use
showkey -s, to see what the driver is getting just add some printks
to the right places.  For ADB that simply involes setting dump_adb_input
to 1, for USB just add something to the right completion function in
your keyboard driver.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Reply to: