[patch] Fix ability to modify keyboard repeat rate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xserver-xorg-input-evdev (Ubuntu) |
Fix Released
|
High
|
Bryce Harrington | ||
Bug Description
This bug is apparently fixed upstream: https:/
The patch is here: https:/
Jeff250 was kind enough to backport this fix, and he setup a ppa here: https:/
I tested it, and can confirm the fix works.
This bug report is a request that said fix be included in jaunty.
[Steps to reproduce:]
1. Use evdev for X keyboard input (on Intrepid, Jaunty should be default, i.e. if you have no xorg.conf file)
2. In gnome keyboard preferences, move repeat delay slider all the way to 'Long'
3. Move repeat rate slider all the way to 'Fast'
4. Test repeat rate at bottom of dialog
Expected results: Very fast repeat rate
Actual results: Normal repeat rate
[My understanding of the problem:]
It appears that the hardware repeat rate is tripping up Xorg's internal software repeat rate. If we set the software delay to be very long, i.e. such that it is longer than the hardware's delay, then the hardware's repeat will be triggered first. Once the hardware begins repeating key events, then the software's delay wait gets perpetually reset, so the software repeat rate will never be triggered.
[Some regression discussion:]
After patching evdev to ignore hardware repeat events, the hardware rate will be overridden by Xorg's software rate. E.g., before using this patch, you could use kbdrate in an rxvt to set the keyboard rate inside of X. After this patch, doing this has no effect. But I believe that this is OK and expected behavior. Any thoughts other concerns from any X gurus?
We tried backporting this patch to intrepid, but we found that this produced a regression: some keys such as the left/down arrow keys no longer repeated. The good news is that no one has produced this regression yet using the patched evdev packages in jaunty, but it is something to look out for.
[Some further justification:]
This could close at least the following bugs:
bug 264196
bug 289951
bug 290050
bug 290674
Related branches
description: | updated |
Changed in xserver-xorg-input-evdev (Ubuntu): | |
assignee: | nobody → bryceharrington |
importance: | Undecided → High |
status: | Incomplete → Triaged |
summary: |
- Please include this fix for jaunty + [patch] Fix ability to modify keyboard repeat rate |
description: | updated |
Hi, I've attached a first attempt at a proposed debdiff. As original poster indicates, this debdiff essentially includes this upstream patch: cgit.freedeskto p.org/xorg/ driver/ xf86-input- evdev/patch/ ?id=ece72ce9e97 adae23b1932dc13 34f63669196d56
http://