Skip to content

Commit

Permalink
Input: atkbd - disable softrepeat for dumb keyboards
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vojtech Pavlik authored and Dmitry Torokhov committed Mar 14, 2006
1 parent 9b104c1 commit 380e19e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/input/keyboard/atkbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 380e19e

Please sign in to comment.