Skip to contentSkip to conversation

serio_raw: add support for translated (SERIO_I8042XL) ports

PATCH Applied [email protected] 2 participants 2 messages Jan 9, 2009 – Jan 11, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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>.

---

 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
diff -puN drivers/input/serio/serio_raw.c~serio_raw-add-support-for-translated-serio_i8042xl-ports drivers/input/serio/serio_raw.c
@@ -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 }
 };
 

_

maintainer
#1 lore raw
Quoted 7 lines · On Fri, Jan 09, 2009 at 12:19:42PM -0800, [email protected] wrote:

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>.

Andrew, this one has been in mainline ofr a while, please drop from mm.

Thanks.

Signature · 1 line
Dmitry