serio_raw: add support for translated (SERIO_I8042XL) ports
Subsystems (2)
PATCH 4/7 serio_raw: add support for translated (SERIO_I8042XL) ports
From: "Niels de Vos" <[email protected]>
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 <[email protected]>
Cc Dmitry Torokhov <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/input/serio/serio_raw.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/input/serio/serio_raw.c renamed from drivers/input/serio/serio_raw.c~serio_raw-add-support-for-translated-serio_i8042xl-ports +6 -0
@@ -379,6 +379,12 @@ static struct serio_device_id serio_raw_ .id = SERIO_ANY, .extra = SERIO_ANY, }, + { + .type = SERIO_8042_XL, + .proto = SERIO_ANY, + .id = SERIO_ANY, + .extra = SERIO_ANY, + }, { 0 } };
_