From: Niels de Vos Date: Fri, 5 Sep 2008 02:20:11 +0000 (-0400) Subject: Input: serio_raw - allow attaching to translated (SERIO_I8042XL) ports X-Git-Tag: v2.6.28-rc1~289^2^2~13 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d19497e2922cfe04bf0aa986bda6cf46c2b4705f;p=linux-2.6-omap-h63xx.git 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. Signed-off-by: Niels de Vos Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/serio/serio_raw.c b/drivers/input/serio/serio_raw.c index c9397c8ee97..470770c0926 100644 --- a/drivers/input/serio/serio_raw.c +++ b/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 } };