]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Input: serio_raw - allow attaching to translated (SERIO_I8042XL) ports
authorNiels de Vos <niels.devos@wincor-nixdorf.com>
Fri, 5 Sep 2008 02:20:11 +0000 (22:20 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 10 Sep 2008 16:12:31 +0000 (12:12 -0400)
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>
drivers/input/serio/serio_raw.c

index c9397c8ee97e8ea44c4f0edc4a6172bd022178ac..470770c09260334fd79c664c2a484ed0384a9f93 100644 (file)
@@ -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 }
 };