Răsfoiți Sursa

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 20 ani în urmă
părinte
comite
380e19e2d8
1 a modificat fișierele cu 0 adăugiri și 3 ștergeri
  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;