serio_raw: add support for translated (SERIO_I8042XL) ports
Subsystems (2)
PATCH 3/17 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
@@ -378,6 +378,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 } };
_
Dmitry Torokhov
maintainerQuoted 7 lines · On Fri, Jan 09, 2009 at 12:19:42PM -0800, [email protected] wrote:
From: "Niels de Vos" <[email protected]>
serio_rawonly binds to non-translated devices. Enableserio_rawto 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>.
Andrew, this one has been in mainline ofr a while, please drop from mm.
Thanks.
Signature · 1 line
Dmitry