Răsfoiți Sursa

Input: serio_raw - allow attaching to translated (SERIO_I8042XL) ports

serio_raw only binds to non-translated devices. Enable serio_raw to
bind to normal (translated) keyboards which can have non-standard
extensions (like POS Keyboards). With this it is possible to send
commands to the device over /dev/serio_raw<n>.

Signed-off-by: Niels de Vos <niels.devos@wincor-nixdorf.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Niels de Vos 16 ani în urmă
părinte
comite
d19497e292
1 a modificat fișierele cu 6 adăugiri și 0 ștergeri
  1. 6 0
      drivers/input/serio/serio_raw.c

+ 6 - 0
drivers/input/serio/serio_raw.c

@@ -373,6 +373,12 @@ static struct serio_device_id serio_raw_serio_ids[] = {
 		.id	= SERIO_ANY,
 		.extra	= SERIO_ANY,
 	},
+	{
+		.type	= SERIO_8042_XL,
+		.proto	= SERIO_ANY,
+		.id	= SERIO_ANY,
+		.extra	= SERIO_ANY,
+	},
 	{ 0 }
 };