mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Zbigniew Luszpinski <zbiggy@o2.pl>
To: linux-kernel@vger.kernel.org
Subject: [Patch] Logitech TrackMan trackball - unknown device
Date: Sun, 28 May 2006 16:46:05 +0200	[thread overview]
Message-ID: <200605281646.05765.zbiggy@o2.pl> (raw)

[-- Attachment #1: Type: text/plain, Size: 492 bytes --]

Hello!

When I connect to my linux 2.6.16.18 box a Logitech TrackMan trackball the 
kernel welcomes me with message:

logips2pp: Detected unknown logitech mouse model 79
input: ImExPS/2 Logitech Explorer Mouse as /class/input/input1

My patch makes TrackMan known for kernel 2.6.16.18. Other recent kernels 
should work with this patch too. After applying patch kenel 2.6.16.18 says:

input: PS2++ Logitech TrackMan Whell as /class/input/input1

have a nice day,
Zbigniew 'zbiggy' Luszpinski

[-- Attachment #2: logips2pp.c.patch --]
[-- Type: text/x-diff, Size: 921 bytes --]

--- linux-2.6.16.18/drivers/input/mouse/logips2pp.c	2006-03-20 06:53:29.000000000 +0100
+++ linux-2.6.16.18/drivers/input/mouse/logips2pp.c	2006-05-27 20:35:26.000000000 +0200
@@ -19,6 +19,7 @@
 #define PS2PP_KIND_WHEEL	1
 #define PS2PP_KIND_MX		2
 #define PS2PP_KIND_TP3		3
+#define PS2PP_KIND_TBW		4
 
 /* Logitech mouse features */
 #define PS2PP_WHEEL		0x01
@@ -223,6 +224,7 @@
 		{ 73,	0,			PS2PP_SIDE_BTN },
 		{ 75,	PS2PP_KIND_WHEEL,	PS2PP_WHEEL },
 		{ 76,	PS2PP_KIND_WHEEL,	PS2PP_WHEEL },
+		{ 79,	PS2PP_KIND_TBW,		PS2PP_WHEEL }, /* Trackball with wheel */
 		{ 80,	PS2PP_KIND_WHEEL,	PS2PP_SIDE_BTN | PS2PP_WHEEL },
 		{ 81,	PS2PP_KIND_WHEEL,	PS2PP_WHEEL },
 		{ 83,	PS2PP_KIND_WHEEL,	PS2PP_WHEEL },
@@ -298,6 +300,10 @@
 			psmouse->name = "TouchPad 3";
 			break;
 
+		case PS2PP_KIND_TBW:
+			psmouse->name = "TrackMan Wheel";
+			break;
+
 		default:
 			/*
 			 * Set name to "Mouse" only when using PS2++,

             reply	other threads:[~2006-05-28 14:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-28 14:46 Zbigniew Luszpinski [this message]
2006-05-30  3:48 ` Dmitry Torokhov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200605281646.05765.zbiggy@o2.pl \
    --to=zbiggy@o2.pl \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®