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

Bug#282714: xserver-xfree86: randomly repeated keys caaaause probbbbblems

retitle 282714 xserver-xfree86: experiencing keybounce when XKB enabled
tag 282714 + upstream moreinfo help

On Tue, Nov 23, 2004 at 11:08:32PM +0100, Jens Nachtigall wrote:
> Package: xserver-xfree86
> Version: 4.3.0.dfsg.1-8
> Severity: normal
> I seem to have the problems as describe here:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=142569
> and 
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=121335
> Could it be that the patch was lost somewhere in between?

I don't think so.  The code described in <URL:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=142569&msg=58 > is still

    980 void
    981 EnqueueEvent(xE, device, count)
    982     xEvent              *xE;
    983     DeviceIntPtr        device;
    984     int                 count;
    985 {
    986     register QdEventPtr tail = *syncEvents.pendtail;
    987     register QdEventPtr qe;
    988     xEvent              *qxE;
    990     NoticeTime(xE);
    992 #ifdef XKB
    993     /* Fix for key repeating bug. */
    994     if (device->key != NULL && device->key->xkbInfo != NULL &&
    995         xE->u.u.type == KeyRelease)
    996         AccessXCancelRepeatKey(device->key->xkbInfo, xE->u.u.detail);
    997 #endif

Bug #121335 was a kernel-bug specific to some Toshiba laptops.  Do you have
such a laptop?  If not, that bug report is probably a red herring.

> Don't know if it is related, or not, but I also get some kind of delay
> sometimes between pressing a key and seeing it on screen (not much, but
> enough to notice, some millisec)

As mentioned in <URL:
http://marc.theaimsgroup.com/?l=xfree86&m=104879558008189&w=2 >, XKB
handles key repeating in software, so perhaps this is related.

> Under load it seems to be much worse.
> With
> Option 		"XkbDisable"
> it could not reproduce it, as proposed in #121335
> I upgrade my bios recently, good it also be caused by this? Maybe a
> problem with acpi. I have some problems since then (my laptop shutdowns
> randomly when plugged off).

A buggy BIOS probably wouldn't help, especially if it's fooling with the
timing of the delivery of keyboard interrupts.

> I would be willing to assist in tracking down this issue, if you tell me
> how. I could upgrade to x.org, if there is an easy way of doing so (maybe
> a package somewhere).

I don't know where to grab any X.Org .debs off the top of my head, but
someone else reading debian-x likely does.

> This is a very big problem to me.

I'm sorry, but I'm not really sure I can help you much with debugging XKB
at a low level like this.  Tagging the bug "help".

G. Branden Robinson                |    It was a typical net.exercise -- a
Debian GNU/Linux                   |    screaming mob pounding on a greasy
branden@debian.org                 |    spot on the pavement, where used to
http://people.debian.org/~branden/ |    lie the carcass of a dead horse.

Attachment: signature.asc
Description: Digital signature

Reply to: