Ver Fonte

Input: atkbd - disable softrepeat for dumb keyboards

Do not activate softrepeat by default on dumb keyboards as it clashes
with their own hardware repeat (for example Dell DRAC3). Softrepeat
can still be activated manually via module parameter or sysfs.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Vojtech Pavlik há 19 anos atrás
pai
commit
380e19e2d8
1 ficheiros alterados com 0 adições e 3 exclusões
  1. 0 3
      drivers/input/keyboard/atkbd.c

+ 0 - 3
drivers/input/keyboard/atkbd.c

@@ -863,9 +863,6 @@ static int atkbd_connect(struct serio *serio, struct serio_driver *drv)
 	atkbd->softrepeat = atkbd_softrepeat;
 	atkbd->scroll = atkbd_scroll;
 
-	if (!atkbd->write)
-		atkbd->softrepeat = 1;
-
 	if (atkbd->softrepeat)
 		atkbd->softraw = 1;