Messages in this thread | | | Date | Tue, 21 Feb 2006 16:32:21 -0500 | From | "Dmitry Torokhov" <> | Subject | Re: Suppressing softrepeat |
| |
On 2/21/06, Vojtech Pavlik <vojtech@suse.cz> wrote: > On Tue, Feb 21, 2006 at 12:43:08PM -0800, Pete Zaitcev wrote: > > > Add the "nosoftrepeat" parameter. This is useful if a "dumb" keyboard > > has (unswitcheable) hardware repeat, like in Dell DRAC3. > > The softrepeat code should properly ignore all autorepeated keys from a > 'dumb' keyboard. It's rather common that a keyboard we can't communicate > with is in autorepeat mode, because that's the mode AT keyboards wake up > in after power on.
Hmm, atkbd only detects "repeated" keystrokes if it is working in hard-repeat mode:
value = atkbd->release ? 0 : (1 + (!atkbd->softrepeat && test_bit(atkbd->keycode[code], atkbd->dev->key)));
Should we always recognize "repeats"? Then we woudl not need any workarounds, be it kbdrate or sysfs.
-- Dmitry - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |