Comment 89 for bug 278078

Revision history for this message
In , Whitney-post (whitney-post) wrote :

Hello,

I recently upgraded to Fedora 11 (xorg-x11-drv-evdev-2.2.1-3.fc11.x86_64) on a dual seat machine, and I started having problems with repeating keys. That is, left arrow, down arrow, and end would not repeat, while right ctrl would repeat when it shouldn't.

I believe this behavior is indicative of the following: the auto repeating keys map as show by 'xset q' is appropriate for the keycodes generated by the kbd driver, but the keyboard is controlled by the evdev driver and generating a different set of keycodes. For some reason, some of the time this map is not getting initialized properly when using the evdev driver.

On my system, I narrowed it down to the following: if the ServerFlags "AutoAddDevices" and "AllowEmptyInput" are both true, then the repeating keys map is set correctly. If either one is false, then the repeating keys map is always set for kbd keycodes, even if the keyboard is controlled by evdev.

I hope this information helps in tracking down the problem.

Cheers, Wayne

P.S. Since I have a dual seat system, I need to control which input devices each X process uses. Originally I did this with AutoAddDevices = false, so X would only see the devices specified in xorg.conf. I was able to workaround the above problem by switching to AutoEnableDevices = false and AllowEmptyInput = true. Now X see all the input devices, but each X process only uses the devices specified in the xorg.conf.